Radish alpha
r
rad:z371PVmDHdjJucejRoRYJcDEvD5pp
Radicle website including documentation and guides
Radicle
Git
layout: Harmonize guide, blog with other pages
Lorenz Leutgeb committed 7 days ago
commit 4abda6cabea44b1c1a4541d4e39d43f70c62b43b
parent 3d352f2
4 files changed +16 -34
modified _layouts/blog.html
@@ -6,16 +6,6 @@
    <link rel="stylesheet" type="text/css" href="{{ "/assets/css/blog.css" | relative_url }}"/>
  </head>
  <body>
-
    <header>
-
      <div class="title">
-
        <a href="/">
-
          <img src="{{ "/assets/images/radicle.svg" | relative_url }}" alt="" />
-
          <span>Blog</span>
-
        </a>
-
      </div>
-
      <nav>
-
      </nav>
-
    </header>
    <main>
      <h1>{{ page.title }}</h1>
      <p class="subtitle">{{ page.subtitle }}</p>
@@ -29,6 +19,7 @@
      {% include toc.html html=content class="toc" item_class="toc-h%level%" %}
      {{ content }}
    </main>
+
    {% include fixed.html %}
    <footer>
      <span><small>© <span class="desktop">2018–{{ 'now' | date: "%Y" }}</span> The Radicle Team</small></span>
    </footer>
modified _layouts/guide.html
@@ -5,16 +5,6 @@
    <link rel="stylesheet" type="text/css" href="{{ "/assets/css/guide.css" | relative_url }}"/>
  </head>
  <body>
-
    <header>
-
      <div class="title">
-
        <a href="/guides">
-
          <img src="{{ "/assets/images/radicle.svg" | relative_url }}" alt="" />
-
          <span>Guides</span>
-
        </a>
-
      </div>
-
      <nav>
-
      </nav>
-
    </header>
    <main>
      <h1>{{ page.title }}</h1>
      <p class="subtitle">{{ page.subtitle }}</p>
@@ -23,6 +13,7 @@
      <hr />
      {{ content }}
    </main>
+
    {% include fixed.html %}
    <footer>
      <span><small>© <span class="desktop">2018–{{ 'now' | date: "%Y" }}</span> The Radicle Team</small></span>
    </footer>
modified assets/css/common.css
@@ -46,6 +46,20 @@ body, html {
  height: 100%;
}

+
#logo {
+
  position: fixed;
+
  top: 0.5rem;
+
  left: 0.5rem;
+
  z-index: 99;
+
}
+

+
#theme {
+
  position: fixed;
+
  bottom: 0.5rem;
+
  right: 0.5rem;
+
  z-index: 99;
+
}
+

#toggle-theme {
  border: none;
  color: var(--color-fg-contrast);
modified assets/css/page.css
@@ -331,20 +331,6 @@ nav .cta {
  align-items: center;
}

-
#logo {
-
  position: fixed;
-
  top: 0.5rem;
-
  left: 0.5rem;
-
  z-index: 99;
-
}
-

-
.toggle {
-
  position: fixed;
-
  bottom: 0.5rem;
-
  right: 0.5rem;
-
  z-index: 99;
-
}
-

#ribbon {
  position: absolute;
  float: right;