add two more themes

This commit is contained in:
mivinci 2023-04-10 21:37:53 +08:00
parent 144b197c31
commit d8d9a04b4f
8 changed files with 93 additions and 49 deletions

View file

@ -4,6 +4,7 @@
@import "./md.scss";
@import "./syntax.scss";
:root {
--max-w: 640px;
--font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
@ -23,6 +24,8 @@ body {
margin: 0 16px;
font-family: var(--font);
font-weight: 400;
line-height: 1.6;
background-image: var(--back-image);
background-color: var(--back);
color: var(--text);
transition-property: background-color, border-color, color;
@ -53,3 +56,8 @@ main p a:hover {
}
}
@media (min-width: 640px) {
body {
margin-top: calc(1rem + 2vh);
}
}