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
|
|
|
}
|
|
|
|
|
|
|
|
// ------------------------
|
|
|
|
// - header / nav; footer -
|
|
|
|
// ------------------------
|
2022-11-28 18:32:29 +01:00
|
|
|
/*header, footer {
|
2022-04-07 22:34:28 +02:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
overflow: auto;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: 100%;
|
|
|
|
a {
|
|
|
|
padding: 17.6px 15px;
|
|
|
|
text-decoration-color: var(--background);
|
|
|
|
text-decoration-thickness: 2px !important;
|
|
|
|
text-underline-offset: 6px;
|
|
|
|
margin: 0 15px;
|
2022-11-28 18:32:29 +01:00
|
|
|
&:hover { text-decoration-color: var(--vriish-rose); }
|
2022-04-07 22:34:28 +02:00
|
|
|
}
|
2021-03-05 19:35:05 +01:00
|
|
|
}
|
|
|
|
header {
|
2022-04-10 13:07:40 +02:00
|
|
|
a {
|
|
|
|
color: var(--text-2);
|
|
|
|
}
|
2022-04-07 22:34:28 +02:00
|
|
|
h1 {
|
|
|
|
display: flex;
|
|
|
|
font-size: 1em;
|
|
|
|
margin: 0;
|
|
|
|
a {
|
2022-11-28 18:32:29 +01:00
|
|
|
color: var(--vriish-rose);
|
2022-04-07 22:34:28 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
nav {
|
|
|
|
display: flex;
|
2022-04-10 13:07:40 +02:00
|
|
|
margin-left: auto;
|
2022-04-07 22:34:28 +02:00
|
|
|
}
|
|
|
|
aside {
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
2022-11-28 18:32:29 +01:00
|
|
|
}*/
|
|
|
|
|
2021-03-05 19:35:05 +01:00
|
|
|
|
|
|
|
// --------
|
|
|
|
// - main -
|
|
|
|
// --------
|
|
|
|
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%;
|
|
|
|
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
|
|
|
|