mirror of
https://github.com/getzola/zola
synced 2024-12-13 13:52:28 +00:00
606c2be425
* refactor: pattern to separate file causes a lot of lag and also probably isn't the best to inline since we have scss preprocessing * fix: escape quotes properly * feat: improve header styles
45 lines
694 B
SCSS
45 lines
694 B
SCSS
header {
|
|
padding: 2rem 3rem;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
column-gap: 2rem;
|
|
|
|
// Container is reused elsewhere, so this must be declared here
|
|
nav {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
flex-wrap: wrap;
|
|
align-items: baseline;
|
|
justify-content: center;
|
|
gap: 1rem 2rem;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.container {
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
@media only screen and (max-width: 1000px) {
|
|
header {
|
|
max-width: 90%;
|
|
margin-inline: auto;
|
|
justify-content: center;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
flex-grow: 1;
|
|
|
|
&--reversed {
|
|
background: $foreground;
|
|
color: $background;
|
|
}
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding: 2rem 3rem;
|
|
}
|