2022-08-13 23:47:29 +00:00
|
|
|
@import "parts/_code.scss";
|
|
|
|
@import "../../themes/apollo/sass/parts/_header.scss";
|
|
|
|
@import "../../themes/apollo/sass/parts/_image.scss";
|
|
|
|
@import "../../themes/apollo/sass/parts/misc.scss";
|
|
|
|
@import "../../themes/apollo/sass/parts/table.scss";
|
|
|
|
@import "../../themes/apollo/sass/parts/tags.scss";
|
2022-08-10 20:15:30 +00:00
|
|
|
|
|
|
|
:root {
|
|
|
|
/* Used for: block comment, hr, ... */
|
|
|
|
--border-color: var(--bg-1);
|
|
|
|
|
|
|
|
/* Fonts */
|
|
|
|
--text-font: 'iA Writer Quattro';
|
|
|
|
--header-font: 'Pretendard Std';
|
|
|
|
--code-font: 'Fira Code';
|
|
|
|
|
2022-08-14 01:27:52 +00:00
|
|
|
// Disabling variable fonts to bring site weight down
|
|
|
|
// @supports(font-variation-settings: normal) {
|
|
|
|
// /* Variable fonts */
|
|
|
|
// --text-font: 'iA Writer Quattro var';
|
|
|
|
// --header-font: 'Pretendard Std Variable';
|
|
|
|
// --code-font: 'Fira Code VF';
|
|
|
|
// }
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.brand:hover img.logo {
|
|
|
|
filter: brightness(0) invert(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
img.logo {
|
|
|
|
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
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-height: 100vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.inner {
|
|
|
|
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-13 23:47:29 +00:00
|
|
|
|
|
|
|
code {
|
|
|
|
color: var(--text-0);
|
|
|
|
}
|
2022-08-14 17:05:50 +00:00
|
|
|
|
|
|
|
code:hover {
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
color: var(--hover-color);
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
2022-08-10 20:15:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Different sized headers
|
2022-08-13 23:47:29 +00:00
|
|
|
.page-header {
|
|
|
|
font-size: 2.5em;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 100%;
|
|
|
|
font-family: var(--header-font);
|
|
|
|
margin: 4rem 0px 1rem 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.page-header::before {
|
|
|
|
content: "";
|
2022-08-10 20:15:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.4rem;
|
|
|
|
margin-top: 1.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 1.3rem;
|
|
|
|
margin-top: 1.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
margin-top: 1.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
|
|
|
font-size: 1.1rem;
|
|
|
|
margin-top: 1.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h6 {
|
|
|
|
font-size: 1rem;
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Code fonts
|
|
|
|
pre,
|
|
|
|
code {
|
|
|
|
font-family: var(--code-font);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Page title width
|
|
|
|
.page-header {
|
|
|
|
max-width: 720px;
|
2022-08-13 04:47:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Tags
|
|
|
|
ul.tags {
|
|
|
|
margin: 0.5rem;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-right: 0.6rem;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
a {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-13 05:03:55 +00:00
|
|
|
// Header dot
|
|
|
|
.header-dot {
|
|
|
|
font-size: 1.6em;
|
2022-08-13 23:47:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Meta
|
|
|
|
.meta a:hover {
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Fixup grays
|
|
|
|
.meta,
|
|
|
|
time {
|
|
|
|
color: var(--text-1);
|
2022-08-14 16:06:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Post list
|
|
|
|
li.post-list-item {
|
|
|
|
list-style-type: none;
|
2022-08-21 21:29:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Rounded image
|
|
|
|
img {
|
|
|
|
border-radius: 5px;
|
2022-08-10 20:15:30 +00:00
|
|
|
}
|