Browse Source

Merge pull request #32 from Plume-org/h1

Remove h1 tag from sidebar
pull/39/head
Baptiste Gelez 4 years ago
committed by GitHub
parent
commit
d2b8468640
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      source/layouts/layout.erb
  2. 8
      source/stylesheets/site.css.scss

2
source/layouts/layout.erb

@ -20,7 +20,7 @@
<aside>
<i id="menu" data-feather="menu"></i>
<nav>
<h1><a href="/"><span>Plume documentation</span><img src="/images/logo.svg" alt="Plume logo"></a></h1>
<a href="/"><span>Plume documentation</span><img src="/images/logo.svg" alt="Plume logo"></a>
<% resources = sitemap.resources
.select{ |p| p.path =~ /\.html/ && p.path != "index.html" }
.sort { |a, b| a.path <=> b.path }

8
source/stylesheets/site.css.scss

@ -133,11 +133,9 @@ aside {
height: 100%;
overflow-y: auto;
h1 {
margin: 0;
}
h1 a {
& > a {
font-weight: bold;
font-size: 1.2em;
padding: 2em;
display: flex;
justify-content: space-between;

Loading…
Cancel
Save