gardenserver/templates/main.css

98 lines
1.3 KiB
CSS
Raw Normal View History

body {
font-family: 'Montserrat', sans-serif;
}
h1, h2, h3, h4, h5 {
font-family: 'Merriweather', serif;
}
body {
display: flex;
}
img {
max-width: 100%;
max-height: 100vh;
}
blockquote {
margin: 0;
padding-left: 2em;
border-left: 3px solid lightgray;
}
aside h1 {
font-size: 16pt;
text-decoration: underline;
font-variant: small-caps;
}
main {
flex-grow: 1;
}
nav, main {
padding: 0 2em;
}
@media screen and (max-width: 800px) {
body {
flex-direction: column-reverse;
}
aside {
border-top: 1px solid gray;
}
aside h1 {
text-align: center;
}
aside li {
display: inline-block;
}
}
@media screen and (min-width: 800px) {
aside {
display: flex;
flex-direction: column;
justify-content: space-between;
min-width: 15em;
width: 15em;
min-height: 100vh;
border-right: 1px solid gray;
}
}
nav ul {
list-style: none;
padding-left: 0;
}
nav li {
margin: .5em 0;
}
nav .file {
font-style: italic;
opacity: .8;
}
footer {
padding: 1em 0;
color: gray;
}
aside footer {
text-align: center;
}
aside footer a {
color: gray;
}
main footer {
text-align: right;
}