2022-08-13 23:47:29 +00:00
|
|
|
@import "parts/_code.scss";
|
2022-08-27 18:27:41 +00:00
|
|
|
@import "parts/_header.scss";
|
|
|
|
@import "parts/_image.scss";
|
|
|
|
@import "parts/misc.scss";
|
|
|
|
@import "parts/table.scss";
|
|
|
|
@import "parts/tags.scss";
|
2022-08-10 20:15:30 +00:00
|
|
|
|
|
|
|
:root {
|
|
|
|
/* Used for: block comment, hr, ... */
|
|
|
|
--border-color: var(--bg-1);
|
|
|
|
|
2022-08-25 07:32:34 +00:00
|
|
|
// Fonts defined via fonts.nix
|
2022-08-27 18:27:41 +00:00
|
|
|
--system-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
2022-08-10 20:15:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
background-color: var(--bg-0);
|
|
|
|
color: var(--text-0);
|
|
|
|
font-family: var(--text-font);
|
|
|
|
line-height: 1.6em;
|
2022-09-20 06:03:36 +00:00
|
|
|
scrollbar-color: var(--primary-color) var(--bg-0);
|
2022-08-10 20:15:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
|
|
|
max-width: 944px;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0 24px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (min-width:640px) {
|
|
|
|
html {
|
|
|
|
font-size: 16.5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (min-width:720px) {
|
|
|
|
html {
|
|
|
|
font-size: 17px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (min-width:960px) {
|
|
|
|
html {
|
|
|
|
font-size: 18px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-13 05:03:55 +00:00
|
|
|
// Logo
|
2022-08-10 20:15:30 +00:00
|
|
|
div.brand>* {
|
|
|
|
padding: 0 0.25em;
|
|
|
|
}
|
|
|
|
|
2022-08-28 06:41:20 +00:00
|
|
|
div.brand:hover img#logo {
|
2022-08-10 20:15:30 +00:00
|
|
|
filter: brightness(0) invert(1);
|
|
|
|
}
|
|
|
|
|
2022-08-28 06:41:20 +00:00
|
|
|
img#logo {
|
2022-08-10 20:15:30 +00:00
|
|
|
border: none;
|
|
|
|
height: 0.75em;
|
|
|
|
width: 0.75em;
|
|
|
|
padding-right: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Nav links
|
|
|
|
nav a {
|
|
|
|
margin-left: 0.7em;
|
|
|
|
font-family: var(--code-font);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Footer
|
2023-01-28 18:22:25 +00:00
|
|
|
html, body {
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2022-08-10 20:15:30 +00:00
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-01-28 18:22:25 +00:00
|
|
|
min-height: 100%;
|
|
|
|
box-sizing: border-box;
|
2022-08-10 20:15:30 +00:00
|
|
|
}
|
|
|
|
|
2023-01-28 18:22:25 +00:00
|
|
|
main.inner {
|
2022-08-10 20:15:30 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
header,
|
|
|
|
footer {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
margin: 2em;
|
2022-08-13 23:47:29 +00:00
|
|
|
color: var(--text-1);
|
2022-08-10 20:15:30 +00:00
|
|
|
font-size: 0.75em;
|
2022-08-27 18:27:41 +00:00
|
|
|
display: flex;
|
2022-08-13 23:47:29 +00:00
|
|
|
|
2022-08-28 06:41:20 +00:00
|
|
|
#site-info {
|
2022-08-27 18:27:41 +00:00
|
|
|
flex: 1 0;
|
|
|
|
}
|
2022-08-13 04:47:49 +00:00
|
|
|
|
2022-08-28 06:41:20 +00:00
|
|
|
#copyright {
|
|
|
|
align-items: flex-end;
|
2022-08-13 04:47:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-14 16:06:03 +00:00
|
|
|
// Post list
|
|
|
|
li.post-list-item {
|
|
|
|
list-style-type: none;
|
2022-08-10 20:15:30 +00:00
|
|
|
}
|