give up on sidebar, add normal nav menu
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
@import 'util';
|
||||
@import 'colors';
|
||||
@import 'fonts';
|
||||
@import 'mobile';
|
||||
|
||||
|
||||
.blue {
|
||||
@ -80,25 +81,11 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// HEADER
|
||||
|
||||
|
||||
header {
|
||||
|
||||
@media screen and (max-width: $mobile-width){
|
||||
top: 0;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
background-color: darken($background, 5%);
|
||||
|
||||
border-bottom: 1px solid $subtle;
|
||||
padding: {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 30px;
|
||||
}
|
||||
|
||||
line-height: 10px;
|
||||
}
|
||||
|
||||
#title {
|
||||
margin:0;
|
||||
padding: 10px;
|
||||
@ -107,10 +94,6 @@ header {
|
||||
font-weight: normal;
|
||||
font-size: 28px;
|
||||
|
||||
@media screen and (max-width: $mobile-width){
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
@ -128,10 +111,6 @@ header {
|
||||
font: {
|
||||
size: 36px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: $mobile-width){
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -159,6 +138,45 @@ header {
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: $mobile-width){
|
||||
header {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
background-color: darken($background, 5%);
|
||||
|
||||
|
||||
border-bottom: 1px solid $subtle;
|
||||
padding: {
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
|
||||
#title {
|
||||
font-size: $mobile-header-height * 0.5;
|
||||
text-align: center;
|
||||
padding: {
|
||||
top: 0;
|
||||
bottom: 5px;
|
||||
}
|
||||
|
||||
#path {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#page {
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#main {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user