Fix all the fucking bugs that I created yesterday

This commit is contained in:
John O'Nolan 2017-06-14 10:41:30 +01:00
parent 834d14b204
commit eb84edae6d
4 changed files with 10 additions and 19 deletions

View file

@ -55,7 +55,7 @@ body {
.home-template .post-feed, .home-template .post-feed,
.tag-template .post-feed, .tag-template .post-feed,
.author-template .post-feed { .author-template .post-feed {
margin-top: -100px; margin-top: -110px;
} }
.home-template .site-nav { .home-template .site-nav {
position: relative; position: relative;
@ -196,21 +196,21 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
width: auto; width: auto;
} }
.nav-menu ul { .nav {
display: flex; display: flex;
margin: 0 0 0 -12px; margin: 0 0 0 -12px;
padding: 0; padding: 0;
list-style: none; list-style: none;
} }
.nav-item { .nav li {
display: block; display: block;
margin: 0; margin: 0;
padding: 0; padding: 0;
text-transform: uppercase; text-transform: uppercase;
} }
.nav-item a { .nav li a {
display: block; display: block;
margin: 0; margin: 0;
padding: 10px 12px; padding: 10px 12px;
@ -218,7 +218,7 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
opacity: 0.8; opacity: 0.8;
} }
.nav-item a:hover { .nav li a:hover {
opacity: 1; opacity: 1;
text-decoration: none; text-decoration: none;
} }
@ -314,8 +314,8 @@ The knock-on effect of this is ugly browser-scroll bars at the bottom, so 80px o
z-index: 200; z-index: 200;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin: 0 -15px; margin: 0 -20px;
padding: 30px 0 0 0; padding: 40px 0 0 0;
} }
.post-card { .post-card {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -8,16 +8,7 @@
{{/if}} {{/if}}
{{/is}} {{/is}}
{{#if @blog.navigation}} {{#if @blog.navigation}}
{{#navigation}} {{navigation}}
{{!-- Outputting nav links from Ghost admin settings/design --}}
<div class="nav-menu">
<ul>
{{#foreach navigation}}
<li class="nav-item nav-item-{{slug}}{{#if current}} nav-item-current{{/if}}"><a href="{{url absolute="true"}}">{{label}}</a></li>
{{/foreach}}
</ul>
</div>
{{/navigation}}
{{/if}} {{/if}}
</div> </div>
<div class="site-nav-right"> <div class="site-nav-right">