Radish alpha
r
rad:z371PVmDHdjJucejRoRYJcDEvD5pp
Radicle website including documentation and guides
Radicle
Git
More mobile friendliness
Alexis Sellier committed 1 year ago
commit 3332a7b445950d6bb9fa7e69b7f25cc40e4828e4
parent 47f6928
3 files changed +19 -10
modified _layouts/index.html
@@ -5,7 +5,7 @@
  <link rel="stylesheet" type="text/css" href="{{ "/assets/css/page.css" | relative_url }}"/>
</head>
<body>
-
  <img width="160" height="160" id="ribbon" src="/assets/images/ribbon.svg" usemap="#ribbon-map"/>
+
  <img class="desktop" width="160" height="160" id="ribbon" src="/assets/images/ribbon.svg" usemap="#ribbon-map"/>
  <map name="ribbon-map">
    <area shape="poly" coords="10,0,55,0,160,95,160,160,10,0" href="https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5" target="_blank">
  </map>
modified _pages/download.md
@@ -28,33 +28,33 @@ reproduce the binaries on this page from source.
<table class="hidden loading" id="releases">
  <thead>
    <th scope="col">OS</th>
-
    <th scope="col">Arch</th>
+
    <th scope="col" class="desktop">Arch</th>
    <th scope="col">File</th>
    <th scope="col">Signature</th>
    <th scope="col">Checksum</th>
  </thead>
  <tr data-release-arch="x86_64" data-release-binary="unknown-linux-musl">
    <th scope="row" rowspan="2">Linux</th>
-
    <td class="release-arch">Loading…</td>
+
    <td class="release-arch desktop">Loading…</td>
    <td>💾 <a class="release-url">Loading…</a></td>
    <td><a class="release-sig">Loading…</a></td>
    <td><a class="release-checksum">Loading…</a></td>
  </tr>
  <tr data-release-arch="aarch64" data-release-binary="unknown-linux-musl">
-
    <td class="release-arch">Loading…</td>
+
    <td class="release-arch desktop">Loading…</td>
    <td>💾 <a class="release-url">Loading…</a></td>
    <td><a class="release-sig">Loading…</a></td>
    <td><a class="release-checksum">Loading…</a></td>
  </tr>
  <tr data-release-arch="x86_64" data-release-binary="apple-darwin">
    <th scope="row" rowspan="2">macOS</th>
-
    <td class="release-arch">Loading…</td>
+
    <td class="release-arch desktop">Loading…</td>
    <td>💾 <a class="release-url">Loading…</a></td>
    <td><a class="release-sig">Loading…</a></td>
    <td><a class="release-checksum">Loading…</a></td>
  </tr>
  <tr data-release-arch="aarch64" data-release-binary="apple-darwin">
-
    <td class="release-arch">Loading…</td>
+
    <td class="release-arch desktop">Loading…</td>
    <td>💾 <a class="release-url">Loading…</a></td>
    <td><a class="release-sig">Loading…</a></td>
    <td><a class="release-checksum">Loading…</a></td>
modified assets/css/page.css
@@ -300,6 +300,7 @@ nav .cta {

.links {
  display: inline-flex;
+
  flex-wrap: wrap;
  margin-left: 1rem;
  gap: 2rem;
}
@@ -352,16 +353,24 @@ img.screenshot {
}

@media (max-width: 800px) {
+
  body > main {
+
    padding: 1rem;
+
  }
  nav {
    display: block;
  }
+
  p, ul, nav, pre.diagram, pre.highlight, #install, table {
+
    margin-left: 1rem !important;
+
  }
+
  pre.diagram {
+
    overflow: hidden;
+
  }
+
  .links {
+
    gap: 1.25rem !important;
+
  }
  .desktop {
    display: none;
  }
-
  #ribbon {
-
    width: 128px;
-
    height: 128px;
-
  }
  .links {
    display: flex;
    margin-left: 0;