diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-01-15 23:16:24 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2021-01-17 22:16:28 +0100 |
| commit | dd7e28c45d3a1d29e5fc9bb00bd992a0bdaf0c26 (patch) | |
| tree | 22c3f9c78329f94634ad11e68042f1ab8c474e59 | |
| parent | 7d70d841205dba595193b77c6c6dc8fafbde8e47 (diff) | |
| download | quatuorbellefeuille.com-dd7e28c45d3a1d29e5fc9bb00bd992a0bdaf0c26.tar.xz | |
Tweak header sizes a bit
| -rw-r--r-- | commun.css | 29 |
1 files changed, 22 insertions, 7 deletions
@@ -214,27 +214,39 @@ footer.legal { grid-column: 1 / -1; } + header.menu { + --height: 2.4rem; + } + header.menu > label { + font-size: 1.2rem; + } + footer.social { + --height: 1.8rem; + } + footer.social > label { + font-size: 0.8rem; + } + .togglable { display: grid; position: relative; - grid-template-columns: 2rem auto; + grid-template-columns: 2.4rem auto; align-items: center; } .togglable > input.toggle { z-index: 2; grid-column: 1; position: absolute; - width: 2rem; - height: 2rem; + width: var(--height); + height: var(--height); margin: 0; opacity: 0; } .togglable > img.button.open { grid-column: 1; - position: absolute; - left: 0.2rem; - width: 1.6rem; - height: 1.6rem; + justify-self: center; + width: calc(0.8 * var(--height)); + height: calc(0.8 * var(--height)); object-fit: contain; object-position: center; } @@ -291,4 +303,7 @@ footer.legal { width: 4rem; height: 4rem; } + header.banner h1 { + font-size: 1.6rem; + } } |
