2021-03-05 19:35:05 +01:00
|
|
|
* {
|
2022-04-07 22:34:28 +02:00
|
|
|
box-sizing: border-box;
|
2022-11-28 18:32:29 +01:00
|
|
|
scrollbar-color: var(--vriish-rose) var(--background);
|
2022-04-07 22:34:28 +02:00
|
|
|
scrollbar-width: thin;
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
background: var(--background);
|
|
|
|
width: 6px;
|
|
|
|
}
|
2022-11-28 18:32:29 +01:00
|
|
|
&::-webkit-scrollbar-thumb { background: var(--vriish-rose); }
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
2022-11-28 18:32:29 +01:00
|
|
|
margin: 0;
|
2022-04-07 22:34:28 +02:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: scroll;
|
2022-11-28 18:32:29 +01:00
|
|
|
padding: 0;
|
|
|
|
body {
|
|
|
|
background: var(--background);
|
|
|
|
color: var(--text);
|
|
|
|
display: grid;
|
|
|
|
font-family: system-ui, sans-serif;
|
|
|
|
font-size: 1.2em;
|
|
|
|
grid-template-areas:
|
|
|
|
"header header"
|
|
|
|
"sidebar content"
|
|
|
|
"sidebar footer";
|
2022-12-24 14:59:52 +01:00
|
|
|
grid-template-columns: 250px 1fr;
|
2023-01-06 22:44:54 +01:00
|
|
|
grid-template-rows: min-content;
|
2022-11-28 18:32:29 +01:00
|
|
|
line-height: 1.7;
|
|
|
|
margin: 0;
|
2022-12-24 14:59:52 +01:00
|
|
|
min-height: 100vh;
|
2022-11-28 18:32:29 +01:00
|
|
|
@media (max-width: 920px) {
|
2022-12-24 14:59:52 +01:00
|
|
|
font-size: 1em;
|
2022-11-28 18:32:29 +01:00
|
|
|
grid-template-areas:
|
2022-12-24 14:59:52 +01:00
|
|
|
"header"
|
2022-11-28 18:32:29 +01:00
|
|
|
"content"
|
|
|
|
"sidebar"
|
|
|
|
"footer";
|
2022-12-24 14:59:52 +01:00
|
|
|
grid-template-columns: 1fr;
|
2022-11-28 18:32:29 +01:00
|
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
line-height: 1em;
|
|
|
|
margin: .8em 0;
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
color: var(--text);
|
|
|
|
text-decoration: underline;
|
|
|
|
text-decoration-color: var(--vriish-rose);
|
|
|
|
text-underline-offset: 3px;
|
|
|
|
transition: text-decoration-color .2s;
|
|
|
|
&:hover { text-decoration-color: var(--text); }
|
|
|
|
}
|
|
|
|
pre {
|
|
|
|
border: 1px solid var(--vriish-rose);
|
|
|
|
border-radius: 4px;
|
|
|
|
overflow: auto;
|
|
|
|
padding: 10px 15px;
|
|
|
|
}
|
|
|
|
p {
|
|
|
|
hyphens: auto;
|
|
|
|
img {
|
2023-01-13 23:05:34 +01:00
|
|
|
border-radius: 1rem;
|
2022-11-28 18:32:29 +01:00
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
hr {
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
color: var(--border);
|
|
|
|
margin: 60px 0;
|
|
|
|
}
|
2022-04-07 22:34:28 +02:00
|
|
|
}
|
2021-05-15 20:55:56 +02:00
|
|
|
}
|
|
|
|
|
2022-11-28 18:32:29 +01:00
|
|
|
.global-header {
|
2023-01-06 22:44:54 +01:00
|
|
|
align-items: center;
|
2022-11-28 18:32:29 +01:00
|
|
|
grid-area: header;
|
2023-01-06 22:44:54 +01:00
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: .5em;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 3em 0;
|
|
|
|
z-index: 2;
|
|
|
|
h1, p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2022-11-28 18:32:29 +01:00
|
|
|
grid-area: content;
|
2022-04-07 22:34:28 +02:00
|
|
|
margin: 20px auto;
|
2022-11-28 18:32:29 +01:00
|
|
|
max-width: 1000px;
|
2022-04-07 22:34:28 +02:00
|
|
|
overflow: hidden;
|
|
|
|
padding: 30px;
|
|
|
|
width: 100%;
|
2023-03-05 23:03:10 +01:00
|
|
|
min-height: 85.6vh;
|
2022-04-07 22:34:28 +02:00
|
|
|
span { font-size: .8em; }
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
2021-05-15 21:16:03 +02:00
|
|
|
|
|
|
|
p.date-published {
|
2022-04-07 22:34:28 +02:00
|
|
|
margin-bottom: -1.5em;
|
|
|
|
font-size: smaller;
|
|
|
|
font-style: italic;
|
2021-05-15 21:16:03 +02:00
|
|
|
}
|
2021-05-30 10:45:46 +02:00
|
|
|
|