2024-06-10 14:42:50 -04:00
|
|
|
@use "sass:math";
|
2024-06-10 04:06:12 -04:00
|
|
|
@use "colors";
|
|
|
|
@use "fonts";
|
|
|
|
@use "mixins" as *;
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
VARIABLES
|
|
|
|
===============================================================================
|
|
|
|
|
|
|
|
*/
|
|
|
|
$gutter: 10px;
|
|
|
|
$max-width: 500px;
|
2024-06-10 14:42:50 -04:00
|
|
|
$max-height: math.div($max-width, 2);
|
|
|
|
$avatar-width: 256px;
|
2024-06-10 04:06:12 -04:00
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
COLORS
|
|
|
|
===============================================================================
|
|
|
|
|
|
|
|
*/
|
|
|
|
$fg: white;
|
2024-06-10 18:25:56 -04:00
|
|
|
$link-color: lighten(colors.$green-600, 15%);
|
|
|
|
$link-color-hover: lighten(colors.$green-600, 25%);
|
2024-06-10 04:06:12 -04:00
|
|
|
|
|
|
|
:root {
|
|
|
|
font: {
|
|
|
|
size: 14pt;
|
|
|
|
family: "Linux Libertine", "Times New Roman", Times, serif;
|
|
|
|
}
|
2024-06-10 14:42:50 -04:00
|
|
|
line-height: 1.5;
|
2024-06-10 04:06:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
background-color: #{colors.$bg};
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: $gutter;
|
2024-06-10 14:42:50 -04:00
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
@include breakpoint("md") {
|
2024-06-10 04:06:12 -04:00
|
|
|
flex-direction: row;
|
2024-06-10 14:42:50 -04:00
|
|
|
justify-content: center;
|
|
|
|
height: 100vh;
|
2024-06-10 04:06:12 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2024-06-10 14:42:50 -04:00
|
|
|
width: 100%;
|
|
|
|
gap: $gutter;
|
|
|
|
color: #{$fg};
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-06-10 04:06:12 -04:00
|
|
|
|
2024-06-10 18:25:56 -04:00
|
|
|
@include breakpoint("md") {
|
|
|
|
max-width: $max-width;
|
|
|
|
}
|
|
|
|
|
2024-06-10 14:42:50 -04:00
|
|
|
article {
|
|
|
|
background: #{colors.$base-950};
|
2024-06-10 18:41:15 -04:00
|
|
|
border-top: solid #{colors.$base-900};
|
|
|
|
border-bottom: solid #{colors.$base-900};
|
|
|
|
padding: 1em;
|
2024-06-10 04:06:12 -04:00
|
|
|
font-size: 1rem;
|
|
|
|
|
2024-06-10 18:41:15 -04:00
|
|
|
&:first-child {
|
2024-06-10 14:42:50 -04:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
2024-06-10 04:06:12 -04:00
|
|
|
|
2024-06-10 18:41:15 -04:00
|
|
|
@include breakpoint("md") {
|
|
|
|
border: solid #{colors.$base-900};
|
2024-06-10 18:53:23 -04:00
|
|
|
max-height: 300px;
|
2024-06-10 18:41:15 -04:00
|
|
|
overflow: scroll;
|
|
|
|
padding: 2em;
|
2024-06-10 18:53:23 -04:00
|
|
|
padding-bottom: 1em;
|
2024-06-10 18:41:15 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2024-06-10 14:42:50 -04:00
|
|
|
font-size: 2em;
|
|
|
|
a {
|
|
|
|
font-size: 0.5em;
|
2024-06-10 04:06:12 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-06-10 14:42:50 -04:00
|
|
|
h2 {
|
|
|
|
font-weight: bold;
|
2024-06-10 04:06:12 -04:00
|
|
|
}
|
|
|
|
|
2024-06-10 14:42:50 -04:00
|
|
|
*:not(li) + *:not(li) {
|
|
|
|
margin-top: 1em;
|
2024-06-10 04:06:12 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
ol,
|
|
|
|
ul {
|
|
|
|
all: revert;
|
2024-06-10 14:42:50 -04:00
|
|
|
margin: #{$gutter} 0;
|
2024-06-10 04:06:12 -04:00
|
|
|
padding-left: 1em;
|
|
|
|
}
|
2024-06-10 14:42:50 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #{$link-color};
|
|
|
|
text-decoration: underline #{$link-color} 2px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: #{$link-color-hover};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
aside {
|
|
|
|
margin-top: #{$gutter * 2};
|
2024-06-10 18:41:15 -04:00
|
|
|
margin-bottom: #{$gutter * 2};
|
2024-06-10 14:42:50 -04:00
|
|
|
width: #{$avatar-width};
|
|
|
|
|
|
|
|
@include breakpoint("md") {
|
|
|
|
margin-top: 0;
|
2024-06-10 18:41:15 -04:00
|
|
|
margin-right: #{$gutter};
|
2024-06-10 18:33:08 -04:00
|
|
|
}
|
|
|
|
|
2024-06-10 04:06:12 -04:00
|
|
|
img {
|
2024-06-10 14:42:50 -04:00
|
|
|
width: 100%;
|
2024-06-10 04:06:12 -04:00
|
|
|
image-rendering: pixelated;
|
2024-06-10 14:42:50 -04:00
|
|
|
max-width: #{$avatar-width};
|
2024-06-10 04:06:12 -04:00
|
|
|
}
|
2024-06-10 18:53:23 -04:00
|
|
|
|
|
|
|
max-height: $max-height;
|
2024-06-10 04:06:12 -04:00
|
|
|
}
|
|
|
|
|
2024-06-10 14:42:50 -04:00
|
|
|
.entry-button {
|
2024-06-10 18:53:23 -04:00
|
|
|
display: inline-block;
|
|
|
|
height: 2em;
|
2024-06-10 14:42:50 -04:00
|
|
|
margin: auto;
|
|
|
|
margin-bottom: #{$gutter};
|
2024-06-10 18:20:21 -04:00
|
|
|
image-rendering: pixelated;
|
|
|
|
font-size: 1.5em;
|
|
|
|
font-weight: bold;
|
2024-06-10 18:41:15 -04:00
|
|
|
|
2024-06-10 18:20:21 -04:00
|
|
|
&:hover {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2024-06-10 18:41:15 -04:00
|
|
|
|
2024-06-10 18:20:21 -04:00
|
|
|
&::after {
|
|
|
|
content: " >>";
|
|
|
|
color: #525252;
|
|
|
|
font-style: normal;
|
|
|
|
text-decoration: underline #{colors.$bg} 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint("md") {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2024-06-10 04:06:12 -04:00
|
|
|
}
|