zola/docs/sass/_header.scss

34 lines
441 B
SCSS
Raw Normal View History

2017-09-08 09:59:51 +00:00
header {
.header__logo {
border-bottom: none;
}
2017-09-08 09:59:51 +00:00
nav a {
margin-right: 2rem;
2017-09-08 09:59:51 +00:00
}
.header__logo {
font-size: 2rem;
font-weight: bold;
&:hover {
text-decoration: none;
}
}
}
@media only screen and (max-width: 1000px) {
header {
padding: 1rem 0;
nav {
text-align: center;
}
.header__logo {
// to force menu links to be on a line below
display: block;
}
}
}