contrast-hugo/static/css/sidebar.css
Niklas Buschmann 0cd0d1235b merge upstream
2020-02-07 21:20:47 +01:00

64 lines
839 B
CSS

body {
font-size: 1.08em;
margin-left: 16em;
overscroll-behavior: none;
}
body > article, body > footer {
margin: 0 4em;
padding: 2em 0;
max-width: 55em;
}
body > header {
display: block;
position: fixed;
background: #17181c;
color: #fff;
border: none;
box-shadow: none;
opacity: .98;
margin: 0;
padding: 2.2em 2em;
width: 12em;
top: 0;
bottom: 0;
left: 0;
}
nav {
margin: 0 -2em;
}
nav a {
display: block;
margin: 0;
padding: .5em 2em;
}
nav a:hover, nav a.selected {
background: #212228;
text-decoration: inherit;
}
body > header > a {
font-family: "PT Serif", Georgia;
font-size: 2.2em;
display: block;
margin: 0 0 .8em;
}
article header h1 {
font-size: 2em;
}
header > div {
position: absolute;
margin: 2em 0;
bottom: 0;
}
.hidden {
display: inline-block;
}