diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-08-26 19:29:11 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-08-26 19:29:11 +0200 |
commit | 2c8a2699b7f28e485852d961039779af2c4ff87f (patch) | |
tree | 9470831bda2399dbb9ae30676b0c4c31dd7aba29 /style.css | |
parent | 27a5b369345620d9a6fa0a60469b20c90dd391a2 (diff) | |
download | harcdzielnia-2c8a2699b7f28e485852d961039779af2c4ff87f.tar.gz harcdzielnia-2c8a2699b7f28e485852d961039779af2c4ff87f.zip |
Nowy style
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/style.css b/style.css index f9d7843..d491fd4 100644 --- a/style.css +++ b/style.css @@ -1,8 +1,26 @@ +@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap'); + +:root { + --bg: #FDF4EA; + --fg: #282725; +} + +html { + background: var(--bg); + color: var(--fg); + font-family: 'Roboto Slab', serif; +} + body { max-width: 80ex; padding: 1ex; margin: auto; - font-family: sans-serif; +} + +header { + display: flex; + align-items: center; + text-align: center; } footer { @@ -13,3 +31,9 @@ footer { padding: 1ex; border: 1px solid gray; } + +@media (max-width: 720px) { + header { + flex-direction: column; + } +} |