restyling nav bar for mobile

This commit is contained in:
2016-06-08 16:56:43 +02:00
parent 509df45ed9
commit 307e021da8
5 changed files with 23 additions and 12 deletions

View File

@@ -30,17 +30,8 @@
a {
display: block;
cursor: pointer;
color: #08288B;
padding:0 0.3em 0.3em 0;
margin-bottom: 0.3em;
&.hidden {
color:#666;
}
&.hidden:hover {
color: #08288B;
}
}
}
}

View File

@@ -28,7 +28,13 @@
/* Nav */
nav {
display:none;
padding:calc(2em / 2.5) calc(1em / 2.5);
line-height: 1em;
text-align: center;
}
nav a {
margin-right:calc(2em / 2.5);
}
/* Main */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -170,6 +170,20 @@ header .title time {
padding:1.5em 0 1.5em 0.75em;
}
/* Section - Nav */
nav a {
color: #08288B;
&.hidden {
color:#666;
}
&.hidden:hover {
color: #08288B;
}
}
/* Section - Main */
main {