104 lines
1.9 KiB
SCSS
104 lines
1.9 KiB
SCSS
* {
|
|
box-sizing: border-box;
|
|
scrollbar-color: var(--vriish-rose) var(--background);
|
|
scrollbar-width: thin;
|
|
&::-webkit-scrollbar {
|
|
background: var(--background);
|
|
width: 6px;
|
|
}
|
|
&::-webkit-scrollbar-thumb { background: var(--vriish-rose); }
|
|
&::selection {
|
|
color: var(--white);
|
|
background-color: var(--vriish-rose);
|
|
}
|
|
}
|
|
|
|
html {
|
|
margin: 0;
|
|
overflow-x: hidden;
|
|
overflow-y: scroll;
|
|
padding: 0;
|
|
body {
|
|
background: var(--background);
|
|
color: var(--text);
|
|
display: flex;
|
|
font-family: system-ui, sans-serif;
|
|
font-size: 1.2rem;
|
|
flex-direction: column;
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
@media (max-width: 920px) {
|
|
font-size: 1em;
|
|
grid-template-areas:
|
|
"header"
|
|
"content"
|
|
"footer";
|
|
grid-template-columns: 1fr;
|
|
}
|
|
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 {
|
|
border-radius: 1rem;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
hr {
|
|
border: 1px solid var(--border);
|
|
color: var(--border);
|
|
margin: 60px 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.global-header {
|
|
align-items: center;
|
|
grid-area: header;
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: .5em;
|
|
justify-content: center;
|
|
padding: 3em 0;
|
|
z-index: 2;
|
|
h1, p {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
main {
|
|
grid-area: content;
|
|
margin: 20px auto;
|
|
max-width: 1000px;
|
|
overflow: hidden;
|
|
padding: 30px;
|
|
width: 100%;
|
|
min-height: 85.6vh;
|
|
span { font-size: .8em; }
|
|
}
|
|
|
|
p.date-published {
|
|
margin-bottom: -1.5em;
|
|
font-size: smaller;
|
|
font-style: italic;
|
|
}
|
|
|