2021-02-11 15:55:26 +01:00
|
|
|
$color-primary: #e1327b;
|
|
|
|
$color-bg: #12042d;
|
|
|
|
$content-width: 800px;
|
|
|
|
|
|
|
|
* {
|
|
|
|
box-sizing: border-box; /* never gets old */
|
|
|
|
}
|
2021-02-11 01:38:11 +01:00
|
|
|
|
2021-02-19 20:45:49 +01:00
|
|
|
html, body {
|
|
|
|
background-color: $color-bg;
|
2021-02-11 01:38:11 +01:00
|
|
|
color: rgba(255, 255, 255, 0.8);
|
2021-04-21 17:40:38 +02:00
|
|
|
font-family: sans-serif;
|
2021-02-11 15:55:26 +01:00
|
|
|
margin: 0;
|
2021-04-21 17:40:38 +02:00
|
|
|
min-height: 100vh;
|
2021-02-11 15:55:26 +01:00
|
|
|
}
|
|
|
|
|
2021-02-11 16:19:37 +01:00
|
|
|
footer {
|
|
|
|
padding: 20px 0;
|
2021-02-11 15:55:26 +01:00
|
|
|
border-top: thin solid $color-primary;
|
2021-02-11 19:30:17 +01:00
|
|
|
|
|
|
|
.container {
|
|
|
|
max-width: $content-width;
|
|
|
|
margin: 0 auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: horizontal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container > * {
|
|
|
|
flex: 1;
|
|
|
|
margin: 0 20px;
|
|
|
|
}
|
2021-04-15 22:48:27 +02:00
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2021-02-11 19:30:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: 550px) {
|
|
|
|
footer .container {
|
|
|
|
display: block;
|
|
|
|
}
|
2021-02-11 23:35:03 +01:00
|
|
|
|
|
|
|
footer ul {
|
|
|
|
line-height: 2rem;
|
|
|
|
}
|
2021-02-11 15:55:26 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
color: $color-primary;
|
|
|
|
}
|
|
|
|
|
2021-02-11 19:58:15 +01:00
|
|
|
.page-title {
|
|
|
|
padding-bottom: 16px;
|
|
|
|
border-bottom: thin solid rgba(255, 255, 255, 0.2);
|
|
|
|
}
|
|
|
|
|
2021-02-11 21:23:00 +01:00
|
|
|
p, code, ul, ol {
|
2021-02-11 19:58:15 +01:00
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
2021-02-11 22:22:23 +01:00
|
|
|
@media(min-width: $content-width) {
|
|
|
|
main {
|
|
|
|
p, code, ul, ol {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
line-height: 1.8rem;
|
|
|
|
}
|
2021-02-11 21:56:49 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-11 19:58:15 +01:00
|
|
|
code {
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
2021-02-11 21:23:00 +01:00
|
|
|
pre {
|
|
|
|
display: block;
|
|
|
|
padding: 20px;
|
|
|
|
border-radius: 4px;
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
|
|
code {
|
|
|
|
background: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-02-19 20:45:49 +01:00
|
|
|
header {
|
|
|
|
padding-top: 20px;
|
2021-04-21 17:40:38 +02:00
|
|
|
border-bottom: thin solid $color-primary;
|
2021-02-19 20:45:49 +01:00
|
|
|
|
|
|
|
h1 {
|
|
|
|
text-align: center;
|
|
|
|
margin: 0;
|
|
|
|
font-weight: 400;
|
|
|
|
font-family: "Oleo Script", sans-serif;
|
|
|
|
}
|
2021-02-11 01:38:11 +01:00
|
|
|
}
|
2021-02-11 16:19:37 +01:00
|
|
|
|
2021-02-11 19:12:20 +01:00
|
|
|
main {
|
|
|
|
max-width: $content-width;
|
2021-02-11 19:30:17 +01:00
|
|
|
margin: 40px auto;
|
2021-02-11 19:12:20 +01:00
|
|
|
padding: 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.feed-item {
|
|
|
|
margin: 0 0 20px;
|
|
|
|
padding: 0 0 20px;
|
|
|
|
border-bottom: thin solid rgba(255, 255, 255, 0.2);
|
|
|
|
|
|
|
|
:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
article.feed-item:first-child {
|
2021-02-11 19:30:17 +01:00
|
|
|
margin-top: 0;
|
|
|
|
padding-top: 0;
|
2021-02-11 19:12:20 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
article.feed-item:last-child {
|
|
|
|
border-bottom: 0;
|
2021-02-11 19:30:17 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
padding-bottom: 0;
|
2021-02-11 19:12:20 +01:00
|
|
|
}
|
|
|
|
|
2021-02-11 16:19:37 +01:00
|
|
|
a {
|
|
|
|
color: $color-primary;
|
|
|
|
}
|
|
|
|
|
2021-06-11 09:58:34 +02:00
|
|
|
a.nostyle {
|
|
|
|
color: unset;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-02-11 16:19:37 +01:00
|
|
|
nav {
|
2021-02-25 22:09:32 +01:00
|
|
|
overflow-x: auto;
|
|
|
|
white-space: nowrap;
|
2021-02-11 16:19:37 +01:00
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0 auto;
|
|
|
|
max-width: $content-width;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 20px;
|
|
|
|
display: inline-block;
|
2021-02-11 18:45:38 +01:00
|
|
|
font-weight: 700;
|
2021-02-11 16:19:37 +01:00
|
|
|
}
|
|
|
|
}
|
2021-02-11 21:24:37 +01:00
|
|
|
|
2021-02-14 14:16:44 +01:00
|
|
|
li[aria-current] a {
|
2021-02-11 21:24:37 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2021-02-11 16:19:37 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|