diff options
author | Francesco <tomaselli.fr@gmail.com> | 2024-04-22 18:15:45 +0200 |
---|---|---|
committer | Francesco <tomaselli.fr@gmail.com> | 2024-04-22 18:15:45 +0200 |
commit | 37e82d2dd9e50e5cd0c2ad1a0cede9c7b30815ac (patch) | |
tree | 0a66964833c4a314e1c37a5c7960c78ca9f02a5c /assets/css/main.css | |
parent | b34fd641941143b856d5721b89d6233d5dbbe3d3 (diff) |
Theme Update
Diffstat (limited to 'assets/css/main.css')
-rw-r--r-- | assets/css/main.css | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/assets/css/main.css b/assets/css/main.css index e43e93b..768ab1b 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,8 +1,5 @@ -/* BASE */ - html { scroll-behavior: smooth; - padding: 0; } body { @@ -14,6 +11,8 @@ body { max-width: var(--main-width); padding-left: var(--main-padding); padding-right: var(--main-padding); + color: var(--content); + background: var(--background); } .content { @@ -101,7 +100,6 @@ hr { margin-bottom: 2rem; } - /* Header */ .header { @@ -283,11 +281,29 @@ footer a { content: counter(h2-counter) "." counter(h3-counter) "." counter(h4-counter) "\00a0\00a0"; } -/* Dark mode */ +/* light and dark images */ + .dark .img-light { display: none !important; } .light .img-dark { display: none !important; +} + +/* 404 */ + +.not-found { + display: flex; + align: center; + align-items: center; + justify-content: center; +} + +.not-found div { + text-align: center; +} + +.not-found div h1 { + font-size: 6rem; }
\ No newline at end of file |