diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-02-04 18:05:33 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-02-04 18:05:33 +0100 |
commit | 1782d93021ad6b4fcaed6ff7004ef41079398017 (patch) | |
tree | 77a488d98a381f2d114b6d73cb989002b85c0705 /style.css | |
parent | 9d21606dc4e2e500a1d19de95c2e65ad26e816f5 (diff) | |
download | gal-1782d93021ad6b4fcaed6ff7004ef41079398017.tar.gz gal-1782d93021ad6b4fcaed6ff7004ef41079398017.zip |
Add site title
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/style.css b/style.css index 9dc80d8..43ae13d 100644 --- a/style.css +++ b/style.css @@ -1,11 +1,16 @@ - body { margin: 0; - padding: 0; + padding: 6ex 16vw; + box-sizing: border-box; width: 100%; height: 100vh; font-family: sans-serif; } +h1, h3 { + width: 58vw; + margin: auto; +} +h3 { font-weight: 400; } footer { text-align: center; @@ -13,7 +18,7 @@ footer { } .tiles { - padding: 6vh 16vw; + padding: 6ex 0; display: flex; flex-wrap: wrap; flex-direction: row; @@ -21,7 +26,7 @@ footer { position: relative; } .tile { - margin: 15px; + margin: 1vw; cursor: pointer; overflow: hidden; min-width: 120px; @@ -42,8 +47,11 @@ footer { } @media only screen and (max-width: 442px) { - .tiles { - padding: 6vh 4vw; + body { + padding: 6ex 4vw; + } + h1, h3 { + width: 100%; } .tile { |