diff --git a/static/css/style.css b/static/css/style.css index 3227124..1f70b8d 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,12 +1,16 @@ /* Dark Mode */ @media (prefers-color-scheme: dark) { body { - background-color: black; - color: white; + background-color: #1f2023; + color: #E7DBDA; } a { text-decoration: none; - color: #CC0C40; + color: #DB9181; + } + code { + background-color: #3B3C43; + color: #E7DBDA; } } @@ -17,7 +21,11 @@ } a { text-decoration: none; - color: #CC0C49; + color: #DB9181; + } + code { + background-color: #A9A2A2; + color: #1f2023; } } @@ -31,8 +39,6 @@ header h1 { } code { - background-color: lightslategrey; - color: white; border-radius: 5px; padding: 1pt; } @@ -48,17 +54,17 @@ footer { /* For header.html */ #nav { - background-color: #800080; + background-color: #F14B25; } #nav-button { - color: white; + color: #E7DBDA; padding: 0px 25px; text-decoration: none; } #nav-button:hover { - background-color: #CC0C49; + background-color: #DB691A; } /* For author.html */ @@ -68,7 +74,7 @@ footer { height: auto; } #pronouns { - color: maroon; + color: #FF535D; } /* For meta.html */ @@ -81,3 +87,66 @@ footer { max-width: 60px; height: auto; } + +/* Fonts */ +/* Remingtoned Type - latin */ +@font-face { + font-family: 'Remingtoned Type'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: local(''), + url('fonts/remingtonedtype.ttf'); + } + /* Liberation Sans - latin */ + @font-face { + font-family: 'Liberation Sans'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: local(''), + url('fonts/LiberationSans-Regular.ttf'); + } + /* Liberation Mono - latin */ + @font-face { + font-family: 'Liberation Mono'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: local(''), + url('fonts/LiberationMono-Regular.ttf'); + } + /* OpenDyslexic - latin */ + @font-face { + font-family: 'OpenDyslexic'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: local(''), + url('fonts/OpenDyslexic-Regular.otf') format('opentype'); + } + + h1, h2, h3 { + font-family: 'Remingtoned Type'; + } + + p, h4, h5 { + font-family: 'Liberation Sans'; + } + + p { + font-size: 16pt; + } + + body { + font-size: 14pt; + } + + nav { + font-size: 20pt; + } + + pre, code { + font-family: 'Liberation Mono', monospace; + } + \ No newline at end of file diff --git a/static/fonts/LiberationMono-Bold.ttf b/static/fonts/LiberationMono-Bold.ttf new file mode 100644 index 0000000..2e46737 Binary files /dev/null and b/static/fonts/LiberationMono-Bold.ttf differ diff --git a/static/fonts/LiberationMono-BoldItalic.ttf b/static/fonts/LiberationMono-BoldItalic.ttf new file mode 100644 index 0000000..d1f46d7 Binary files /dev/null and b/static/fonts/LiberationMono-BoldItalic.ttf differ diff --git a/static/fonts/LiberationMono-Italic.ttf b/static/fonts/LiberationMono-Italic.ttf new file mode 100644 index 0000000..954c394 Binary files /dev/null and b/static/fonts/LiberationMono-Italic.ttf differ diff --git a/static/fonts/LiberationMono-Regular.ttf b/static/fonts/LiberationMono-Regular.ttf new file mode 100644 index 0000000..e774859 Binary files /dev/null and b/static/fonts/LiberationMono-Regular.ttf differ diff --git a/static/fonts/LiberationSans-Bold.ttf b/static/fonts/LiberationSans-Bold.ttf new file mode 100644 index 0000000..dc5d57f Binary files /dev/null and b/static/fonts/LiberationSans-Bold.ttf differ diff --git a/static/fonts/LiberationSans-BoldItalic.ttf b/static/fonts/LiberationSans-BoldItalic.ttf new file mode 100644 index 0000000..158488a Binary files /dev/null and b/static/fonts/LiberationSans-BoldItalic.ttf differ diff --git a/static/fonts/LiberationSans-Italic.ttf b/static/fonts/LiberationSans-Italic.ttf new file mode 100644 index 0000000..25970d9 Binary files /dev/null and b/static/fonts/LiberationSans-Italic.ttf differ diff --git a/static/fonts/LiberationSans-Regular.ttf b/static/fonts/LiberationSans-Regular.ttf new file mode 100644 index 0000000..e633985 Binary files /dev/null and b/static/fonts/LiberationSans-Regular.ttf differ diff --git a/static/fonts/LiberationSerif-Bold.ttf b/static/fonts/LiberationSerif-Bold.ttf new file mode 100644 index 0000000..3c7c55b Binary files /dev/null and b/static/fonts/LiberationSerif-Bold.ttf differ diff --git a/static/fonts/LiberationSerif-BoldItalic.ttf b/static/fonts/LiberationSerif-BoldItalic.ttf new file mode 100644 index 0000000..6b35d9f Binary files /dev/null and b/static/fonts/LiberationSerif-BoldItalic.ttf differ diff --git a/static/fonts/LiberationSerif-Italic.ttf b/static/fonts/LiberationSerif-Italic.ttf new file mode 100644 index 0000000..54d5164 Binary files /dev/null and b/static/fonts/LiberationSerif-Italic.ttf differ diff --git a/static/fonts/LiberationSerif-Regular.ttf b/static/fonts/LiberationSerif-Regular.ttf new file mode 100644 index 0000000..5e5550c Binary files /dev/null and b/static/fonts/LiberationSerif-Regular.ttf differ diff --git a/static/fonts/OpenDyslexic-Bold.otf b/static/fonts/OpenDyslexic-Bold.otf new file mode 100644 index 0000000..4c492e2 Binary files /dev/null and b/static/fonts/OpenDyslexic-Bold.otf differ diff --git a/static/fonts/OpenDyslexic-BoldItalic.otf b/static/fonts/OpenDyslexic-BoldItalic.otf new file mode 100644 index 0000000..f71b430 Binary files /dev/null and b/static/fonts/OpenDyslexic-BoldItalic.otf differ diff --git a/static/fonts/OpenDyslexic-Italic.otf b/static/fonts/OpenDyslexic-Italic.otf new file mode 100644 index 0000000..fdead4d Binary files /dev/null and b/static/fonts/OpenDyslexic-Italic.otf differ diff --git a/static/fonts/OpenDyslexic-Regular.otf b/static/fonts/OpenDyslexic-Regular.otf new file mode 100644 index 0000000..1226d2a Binary files /dev/null and b/static/fonts/OpenDyslexic-Regular.otf differ diff --git a/static/fonts/remingtonedtype.ttf b/static/fonts/remingtonedtype.ttf new file mode 100644 index 0000000..501eec9 Binary files /dev/null and b/static/fonts/remingtonedtype.ttf differ