diff options
author | Adam Stück <adam@adast.xyz> | 2023-03-04 19:16:42 +0100 |
---|---|---|
committer | Adam Stück <adam@adast.xyz> | 2023-03-04 19:16:42 +0100 |
commit | ab41be00ede879e57608d05044d268098fb820a3 (patch) | |
tree | 54705b0065c11b8d95b4d9ceb80f5a29bbd48710 /src/styles | |
parent | 80f69003909e1f4362cd1bd4289668fd60d65820 (diff) |
Website redesign
Diffstat (limited to 'src/styles')
-rw-r--r-- | src/styles/style.css | 125 |
1 files changed, 0 insertions, 125 deletions
diff --git a/src/styles/style.css b/src/styles/style.css deleted file mode 100644 index 57ce6a4..0000000 --- a/src/styles/style.css +++ /dev/null @@ -1,125 +0,0 @@ -:root { - --bg: #fafafa; - --fg: #181a1b; - --link: #175db6; - --code: #efefef; - --footer: #828997; - --home-link: #c02c38; - --quote-border: #c678dd; -} - -.dark-mode { - --bg: #282c34; - --fg: #eceff4; - --link: #64d9a8; - --code: #363a45; - --footer: #828997; - --home-link: #89b4fa; - --quote-border: #c678dd; -} - -html { - background-color: var(--bg); - color: var(--fg); -} - -body { - font: 1em/1.6 'Open Sans', sans-serif; - margin: 0 auto; - max-width: 50em; - padding: 0em 1em; -} - -header { - overflow:hidden; - margin-top: 1em; - margin-bottom: 1em; - font-size: 2em; - color: var(--footer); -} - -footer { - margin-top: 3em; - margin-bottom: 2em; - text-align: center; - font-size: 0.9em; - color: var(--footer); -} - -a { - color: var(--link); - text-decoration: none; -} - -a:hover { - text-decoration: underline; -} - -pre, code { - font-family: 'Fira Code', monospace; - font-size: 0.98em; - background-color: var(--code); - border-radius: 5px; -} - -pre > code { - display: block; - padding: 10px 15px; - white-space: pre-wrap; - line-height: 1.4em; -} - -code { - padding: 3px 5px; - white-space: nowrap; -} - -p img, table { - max-width: 95%; - margin-top: 2.2em; - margin-bottom: 2.2em; -} - -img { - display: block; - margin-left: auto; - margin-right: auto; -} - -blockquote { - background-color: var(--code); - border-left: 5px solid var(--quote-border); - border-radius: 5px; - margin: 0em 1em; - padding-left: 1em; -} - -.homepage-link { - color: var(--home-link); -} - -#darkmodetoggle:hover { - cursor: pointer; - text-decoration: none; -} - -#title { - margin-top: 0; -} - -#date { - margin-bottom: 0; -} - -#article-list { - margin-top: 1.25em; - margin-bottom: 0.25em; -} -.article-title { - margin-bottom: 0; - margin-top: 12px; -} -.article-date { - margin-top: 0; - font-size: .9em; -} |