diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-11-03 22:30:22 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-11-17 21:21:51 +0100 |
| commit | 9d0c584ffbd251b12e387f31d19d2c2201fbe46f (patch) | |
| tree | d9308effd92cace91a63f84dd119c9f6281609a7 /commun.css | |
| parent | cdff8a8483ec50ac4277079ed31b9b653b1d96de (diff) | |
| download | quatuorbellefeuille.com-9d0c584ffbd251b12e387f31d19d2c2201fbe46f.tar.xz | |
Crack open vertical alignment of flex items… again
"align-" ⇒ "along the cross-axis"
can get rid of that superstitious "margin: auto" now.
- add quatuor name
- allow nav items to wrap
- make background color less garish
Diffstat (limited to 'commun.css')
| -rw-r--r-- | commun.css | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -1,11 +1,16 @@ header { display: flex; - width: 100%; + align-items: center; } -header img { +header .brand { + display: flex; + align-items: center; + max-width: 40%; +} + +.brand img { height: 3em; - margin: auto; } nav { @@ -14,6 +19,7 @@ nav { nav ol { display: flex; + flex-wrap: wrap; padding-left: 0; text-align: center; list-style-type: none; |
