blog/sass/main.scss

49 lines
831 B
SCSS
Raw Normal View History

2022-11-12 01:07:47 +00:00
@import "parts/_cards.scss";
@import "parts/_code.scss";
@import "parts/_header.scss";
@import "parts/_image.scss";
@import "parts/misc.scss";
@import "parts/table.scss";
@import "parts/tags.scss";
:root {
/* Used for: block comment, hr, ... */
--border-color: var(--bg-1);
/* Fonts */
--text-font: 'Jetbrains Mono';
--header-font: 'Space Grotesk';
--code-font: 'Jetbrains Mono';
}
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;
}
}