contrast-hugo/static/css/sidebar.css

65 lines
808 B
CSS
Raw Normal View History

2020-02-03 14:44:17 -05:00
body {
2020-02-05 15:54:37 -05:00
font-size: 1.08em;
2020-02-03 14:44:17 -05:00
margin-left: 16em;
2020-02-07 15:20:47 -05:00
overscroll-behavior: none;
2020-02-03 14:44:17 -05:00
}
2020-02-07 15:20:47 -05:00
body > article, body > footer {
2020-02-16 08:17:20 -05:00
margin: 0 5em;
2020-02-03 14:44:17 -05:00
padding: 2em 0;
2020-02-16 08:17:20 -05:00
max-width: 50em;
2020-02-03 14:44:17 -05:00
}
body > header {
display: block;
position: fixed;
background: #17181c;
color: #fff;
border: none;
box-shadow: none;
2020-02-05 15:54:37 -05:00
opacity: .98;
2020-02-03 14:44:17 -05:00
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 {
2020-02-05 15:54:37 -05:00
background: #212228;
2020-02-03 14:44:17 -05:00
text-decoration: inherit;
}
2020-02-05 15:54:37 -05:00
body > header > a {
display: block;
2020-02-16 08:17:20 -05:00
font-size: 1.5em;
margin-bottom: 1em;
2020-02-03 14:44:17 -05:00
}
article header h1 {
font-size: 2em;
}
2020-02-18 11:55:14 -05:00
.icons svg {
margin-right: 1rem;
}
2020-02-18 11:49:01 -05:00
.description {
2020-02-05 15:54:37 -05:00
margin: 2em 0;
2020-02-03 14:44:17 -05:00
}
2020-02-05 15:54:37 -05:00
.hidden {
display: inline-block;
2020-02-03 14:44:17 -05:00
}