2024-01-24 10:48:34 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');
|
2024-01-24 13:52:33 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
|
2024-08-15 08:19:51 +00:00
|
|
|
|
2024-01-24 10:48:34 +00:00
|
|
|
$h1_font_size: 2.0rem;
|
|
|
|
$h2_font_size: 1.7rem;
|
|
|
|
$header_size: 1.2rem;
|
|
|
|
|
2024-05-27 14:05:54 +00:00
|
|
|
$font_size: 18px;
|
2024-01-24 13:52:33 +00:00
|
|
|
$code_font_size: 14px;
|
2024-01-24 10:48:34 +00:00
|
|
|
$code_line_height: 17px;
|
|
|
|
$line-height: 1.6;
|
|
|
|
|
2024-08-15 08:19:51 +00:00
|
|
|
$mobile-width: 600px;
|
2024-01-24 10:48:34 +00:00
|
|
|
|
|
|
|
html, body {
|
|
|
|
color: $text;
|
|
|
|
font-family: "Mulish", sans-serif;
|
|
|
|
font-size: $font_size;
|
|
|
|
line-height: $line-height;
|
|
|
|
-moz-osx-font-smoothing: grayscale;
|
2024-05-27 14:05:54 +00:00
|
|
|
|
2024-08-15 09:53:30 +00:00
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
2024-08-15 08:19:51 +00:00
|
|
|
html {
|
|
|
|
background:
|
|
|
|
conic-gradient(from 0deg at calc(500%/6) calc(100%/3),#485a73 0 120deg,#0000 0),
|
|
|
|
conic-gradient(from -120deg at calc(100%/6) calc(100%/3),#778caa 0 120deg,#0000 0),
|
|
|
|
conic-gradient(from 120deg at calc(100%/3) calc(500%/6),#b6c1d1 0 120deg,#0000 0),
|
|
|
|
conic-gradient(from 120deg at calc(200%/3) calc(500%/6),#b6c1d1 0 120deg,#0000 0),
|
|
|
|
conic-gradient(from -180deg at calc(100%/3) 50%,#778caa 60deg,#b6c1d1 0 120deg,#0000 0),
|
|
|
|
conic-gradient(from 60deg at calc(200%/3) 50%,#b6c1d1 60deg,#485a73 0 120deg,#0000 0),
|
|
|
|
conic-gradient(from -60deg at 50% calc(100%/3),#b6c1d1 120deg,#778caa 0 240deg,#485a73 0);
|
|
|
|
background-size: 222px 128px;
|
|
|
|
}
|
|
|
|
|
2024-01-24 10:48:34 +00:00
|
|
|
code, pre {
|
2024-01-24 13:52:33 +00:00
|
|
|
font-family: "Roboto Mono", monospace;
|
|
|
|
font-optical-sizing: auto;
|
|
|
|
font-weight: 600;
|
|
|
|
font-style: normal;
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.important {
|
2024-01-24 13:24:41 +00:00
|
|
|
display: block;
|
|
|
|
border-left: 5px solid $important_border;
|
|
|
|
padding-left: 1rem;
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
2024-08-15 08:19:51 +00:00
|
|
|
background-color: rgba(255, 255, 255, 0.85);
|
2024-05-27 14:05:54 +00:00
|
|
|
|
2024-01-24 10:48:34 +00:00
|
|
|
padding: 1rem 1.5rem;
|
2024-08-15 08:19:51 +00:00
|
|
|
margin: 2rem auto;
|
2024-01-24 10:48:34 +00:00
|
|
|
max-width: 1200px;
|
|
|
|
min-height: 100vh;
|
2024-08-15 08:19:51 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
margin: 0.5rem auto;
|
|
|
|
}
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a, a:hover {
|
|
|
|
color: $links;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
|
|
font-family: "Mulish", sans-serif;
|
|
|
|
font-size: $header_size;
|
|
|
|
font-weight: 900;
|
|
|
|
line-height: $header_size * 1.9;
|
|
|
|
color: $header;
|
|
|
|
margin: 0.67rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: $h1_font_size;
|
|
|
|
color: $text;
|
|
|
|
margin-bottom: 1.6rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: $h2_font_size;
|
|
|
|
}
|
|
|
|
|
|
|
|
b,
|
|
|
|
strong {
|
2024-01-24 14:42:58 +00:00
|
|
|
font-weight: 900;
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2024-01-24 11:20:57 +00:00
|
|
|
border-left: 5px solid $blockquote_border;
|
2024-01-24 10:48:34 +00:00
|
|
|
padding-left: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-width img {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 98%;
|
2024-08-15 09:53:30 +00:00
|
|
|
border-radius: 0.4rem;
|
2024-01-24 10:48:34 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.img--caption {
|
|
|
|
display: block;
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 0.92rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gallery-view {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
|
|
|
|
figure {
|
|
|
|
max-width: 48%;
|
|
|
|
min-width: 48%;
|
|
|
|
margin: 0.5rem 0;
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
img {
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.img--caption {
|
|
|
|
margin: 0 auto;
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
max-width: 80%;
|
|
|
|
line-height: 1.1rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2024-02-08 09:58:32 +00:00
|
|
|
figure.side-image {
|
|
|
|
width: 24%;
|
|
|
|
float: right;
|
|
|
|
margin-left: 1rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2024-01-24 10:48:34 +00:00
|
|
|
ol {
|
|
|
|
list-style-position: outside;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-position: outside;
|
|
|
|
}
|
|
|
|
|
|
|
|
span.begin-task-list + ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding-left: 1rem;
|
|
|
|
|
|
|
|
input[type="checkbox"] {
|
|
|
|
margin-right: 0.4rem;
|
|
|
|
list-style-image:url("/images/unchecked.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type="checkbox"]:checked {
|
|
|
|
list-style-image:url("/images/checked.png");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
margin-bottom: 1.5rem;
|
2024-08-15 09:53:30 +00:00
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.brand {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
button.hamburger {
|
|
|
|
flex: 1;
|
|
|
|
justify-content: flex-end;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nav.menu {
|
|
|
|
display: block;
|
|
|
|
flex: 2;
|
|
|
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 0.8rem;
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-end;
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 18px;
|
|
|
|
margin-bottom: 0.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
color: $footer;
|
2024-01-24 14:51:33 +00:00
|
|
|
margin: 6rem 0 4rem;
|
2024-01-24 11:20:57 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-01-24 10:48:34 +00:00
|
|
|
|
2024-08-15 09:53:30 +00:00
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
margin: 1.2rem 0;
|
|
|
|
}
|
|
|
|
|
2024-01-24 11:20:57 +00:00
|
|
|
.copyright {
|
|
|
|
flex: 1;
|
2024-01-24 14:51:33 +00:00
|
|
|
text-align: left;
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
2024-01-24 11:20:57 +00:00
|
|
|
.buymeacoffee {
|
|
|
|
flex: 1;
|
2024-01-24 14:51:33 +00:00
|
|
|
text-align: right;
|
2024-01-24 11:20:57 +00:00
|
|
|
}
|
2024-03-25 13:46:56 +00:00
|
|
|
}
|
2024-01-24 11:20:57 +00:00
|
|
|
|
2024-03-25 13:46:56 +00:00
|
|
|
.buymeacoffee {
|
|
|
|
img {
|
|
|
|
display: inline-block;
|
|
|
|
background-color: $accent;
|
|
|
|
padding: 4px 8px;
|
|
|
|
max-height: 32px;
|
|
|
|
height: auto;
|
|
|
|
width: auto;
|
|
|
|
}
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
small {
|
|
|
|
font-size: 100%;
|
|
|
|
color: $footer;
|
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
2024-01-24 13:52:33 +00:00
|
|
|
color: $text;
|
2024-08-15 08:19:51 +00:00
|
|
|
// background-color: $backdrop;
|
2024-01-24 13:52:33 +00:00
|
|
|
padding: 1px 4px 3px;
|
|
|
|
border-radius: 4px;
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pre, code {
|
|
|
|
font-size: $code_font_size;
|
|
|
|
line-height: $code_line_height;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre > code {
|
|
|
|
overflow-wrap: normal;
|
|
|
|
white-space: pre;
|
2024-01-24 13:52:33 +00:00
|
|
|
padding: 0;
|
2024-01-24 10:48:34 +00:00
|
|
|
color: $text;
|
2024-08-15 08:19:51 +00:00
|
|
|
// background-color: $backdrop !important;
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
2024-08-15 08:19:51 +00:00
|
|
|
// background-color: $backdrop !important;
|
2024-01-24 13:52:33 +00:00
|
|
|
padding: 12px;
|
2024-01-24 10:48:34 +00:00
|
|
|
overflow-x: auto;
|
|
|
|
overflow-y: hidden;
|
|
|
|
line-height: $line-height;
|
2024-08-15 08:19:51 +00:00
|
|
|
border-left: 6px solid $accent;
|
2024-01-24 13:52:33 +00:00
|
|
|
border-radius: 4px;
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
table td, table th {
|
|
|
|
padding: 0.2rem 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
img.about-avatar {
|
2024-01-24 14:42:58 +00:00
|
|
|
width: 128px;
|
2024-01-24 10:48:34 +00:00
|
|
|
float: right;
|
|
|
|
border-radius: 50%;
|
|
|
|
margin-left: 1rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fi {
|
|
|
|
font-size: $font_size * 1.2;
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
// bootstrap SVG-Icons
|
|
|
|
.bi {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
padding-bottom: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bi-link {
|
|
|
|
width: 1.4rem;
|
|
|
|
height: 1.4rem;
|
|
|
|
color: $links;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Front-page post feed
|
|
|
|
|
|
|
|
.main-page {
|
|
|
|
max-width: 1200px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.narrow {
|
|
|
|
max-width: 780px;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
article.post {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
line-height: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
padding: 0.1rem 0;
|
|
|
|
|
|
|
|
&+article.post {
|
|
|
|
border-top: 1px solid $separator;
|
|
|
|
}
|
|
|
|
|
|
|
|
.calendar {
|
|
|
|
text-transform: uppercase;
|
|
|
|
color: $links;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 600;
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
min-width: 50px;
|
2024-08-15 10:02:57 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
}
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
flex-grow: 1;
|
|
|
|
font-size: $font-size;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1.3;
|
2024-08-15 10:02:57 +00:00
|
|
|
overflow: visible;
|
2024-01-24 10:48:34 +00:00
|
|
|
padding-right: 1rem;
|
2024-08-15 10:02:57 +00:00
|
|
|
white-space: wrap;
|
|
|
|
|
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
font-size: 14px;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2024-08-15 08:19:51 +00:00
|
|
|
@media (max-width: $mobile-width) {
|
2024-01-24 10:48:34 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.permalink {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
outline: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
z-index: 50;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
article.full {
|
|
|
|
.created_on, .updated_on {
|
|
|
|
color: $subtext;
|
|
|
|
text-align: center;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 13px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.updated_on {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-head {
|
|
|
|
margin: 5rem 0;
|
2024-08-15 09:53:30 +00:00
|
|
|
|
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
margin: 0.4rem;
|
|
|
|
}
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-24 13:52:33 +00:00
|
|
|
.listing > h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2024-01-24 10:48:34 +00:00
|
|
|
a.tag {
|
2024-05-27 14:05:54 +00:00
|
|
|
background-color: $tag_background;
|
|
|
|
color: $tag_color;
|
2024-01-24 10:48:34 +00:00
|
|
|
padding: 2px 8px 4px;
|
|
|
|
margin: 0 2px;
|
|
|
|
border-radius: 6px;
|
|
|
|
font-size: 13px;
|
|
|
|
text-transform: lowercase;
|
2024-05-27 14:05:54 +00:00
|
|
|
|
|
|
|
transition: color 0.2s ease-in-out,
|
|
|
|
background-color 0.2s ease-in-out;
|
2024-01-24 10:48:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.article-about {
|
|
|
|
margin: 4rem 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
2024-08-15 09:53:30 +00:00
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
margin: 1.2rem 0;
|
|
|
|
}
|
|
|
|
|
2024-01-24 10:48:34 +00:00
|
|
|
& > * {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.previous-article, .next-article {
|
|
|
|
font-size: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.article-author {
|
|
|
|
flex: 4;
|
|
|
|
flex-grow: 999;
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 64px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
}
|
2024-01-24 13:24:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
|
|
|
fieldset {
|
|
|
|
border: 2px solid $separator;
|
|
|
|
padding: 12px 16px;
|
|
|
|
}
|
|
|
|
input, textarea {
|
|
|
|
width: 100%;
|
|
|
|
padding: 12px;
|
|
|
|
margin: 8px 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
border: 2px solid $separator;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
background-color: $backdrop;
|
|
|
|
color: $text;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
border: 2px solid $accent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=button], input[type=submit], input[type=reset] {
|
|
|
|
background-color: $accent;
|
|
|
|
border: none;
|
|
|
|
color: $text;
|
|
|
|
padding: 16px 32px;
|
|
|
|
text-decoration: none;
|
|
|
|
margin: 4px 2px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2024-01-24 14:42:58 +00:00
|
|
|
}
|
2024-05-27 14:05:54 +00:00
|
|
|
|
|
|
|
.btn-dark {
|
|
|
|
width: 1.25rem;
|
|
|
|
height: 1.25rem;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: 1rem;
|
|
|
|
display: block;
|
|
|
|
padding: 0.35rem;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $darkmode_icon;
|
|
|
|
|
|
|
|
transition: color 0.2s ease-in-out,
|
|
|
|
background-color 0.2s ease-in-out;
|
|
|
|
}
|
2024-08-15 09:53:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mobile-flex-break {
|
|
|
|
@media screen and (max-width: $mobile-width) {
|
|
|
|
flex-basis: 100%;
|
|
|
|
height: 0;
|
|
|
|
}
|
2024-05-27 14:05:54 +00:00
|
|
|
}
|