some styling

This commit is contained in:
cupcakearmy 2020-12-29 20:46:19 +01:00
parent d7243f3e96
commit 80cbf9790c
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
7 changed files with 31 additions and 5 deletions

7
.prettierrc Normal file
View File

@ -0,0 +1,7 @@
{
"tabWidth": 2,
"useTabs": false,
"semi": false,
"trailingComma": "es5",
"singleQuote": true
}

10
.vercelignore Normal file
View File

@ -0,0 +1,10 @@
# Node
/node_modules/
# Sapper
/src/node_modules/@sapper/
/__sapper__/
.vercel
data
backups

View File

@ -34,6 +34,8 @@
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
max-height: 100%;
overflow: auto;
} }
a { a {

View File

@ -7,7 +7,7 @@
<style> <style>
div { div {
margin-top: 8em; margin-top: calc(28vh - 3em);
margin-bottom: 3em; margin-bottom: 3em;
} }
</style> </style>

View File

@ -8,7 +8,7 @@
<style> <style>
a { a {
display: block; display: block;
margin-bottom: 8em; margin-bottom: 6em;
} }
a > :global(img) { a > :global(img) {
height: 12em; height: 12em;

View File

@ -76,6 +76,7 @@
div :global(code) { div :global(code) {
background: #00000012; background: #00000012;
padding: 0.25em; padding: 0.25em;
font-size: 0.8em;
} }
div :global(pre code) { div :global(pre code) {
background: initial; background: initial;

View File

@ -6,8 +6,8 @@
} }
:root { :root {
--ff: 'Jost', Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, --ff: 'Jost', Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen,
Helvetica Neue, sans-serif; Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
--ff-alt: 'Playfair Display', serif; --ff-alt: 'Playfair Display', serif;
--clr-light: #ffffff; --clr-light: #ffffff;
--clr-dark: #010101; --clr-dark: #010101;
@ -24,7 +24,7 @@ body {
background-color: var(--clr-light); background-color: var(--clr-light);
font-family: var(--ff); font-family: var(--ff);
font-size: 1em; font-size: 16px;
font-weight: lighter; font-weight: lighter;
color: var(--clr-dark); color: var(--clr-dark);
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
@ -33,6 +33,12 @@ body {
text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px; text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
} }
@media (min-width: 30em) {
body {
font-size: 18px;
}
}
h1, h1,
h2, h2,
h3, h3,