diff options
author | lucashemi <lucasxberger@gmail.com> | 2023-01-26 14:45:14 -0300 |
---|---|---|
committer | lucashemi <lucasxberger@gmail.com> | 2023-01-26 14:45:14 -0300 |
commit | 3e18114591e676d808510a5f1ee05afd67365991 (patch) | |
tree | bee9c1af7bc9701f39857cb9fe8c27507d310be6 /main.css | |
parent | 110967526d14068387cf1bc8d4e78efd505b5831 (diff) |
Diffstat (limited to 'main.css')
-rw-r--r-- | main.css | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -1,8 +1,13 @@ @import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); +:root { + --white: #eee; + --black: #111; +} + body { - background-color: #eee; - color: #111; + background-color: var(--white); + color: var(--black); font-family: 'Roboto', sans-serif; text-align: center; } @@ -23,13 +28,13 @@ h1 { min-width: 15vw; max-width: 30vw; overflow: auto; - border: 5px solid #111; + border: 5px solid var(--black); padding: 2rem 6rem; } input { - background-color: #eee; - color: #111; + background-color: var(--white); + color: var(--black); } .add { @@ -38,7 +43,7 @@ input { } .item { - border: 3px solid #111; + border: 3px solid var(--black); margin: 0.3rem; padding: 0.4em 3em; list-style-type: none; |