summaryrefslogtreecommitdiff
path: root/commun.css
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-03 22:30:22 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-11-17 21:21:51 +0100
commit9d0c584ffbd251b12e387f31d19d2c2201fbe46f (patch)
treed9308effd92cace91a63f84dd119c9f6281609a7 /commun.css
parentcdff8a8483ec50ac4277079ed31b9b653b1d96de (diff)
downloadquatuorbellefeuille.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.css12
1 files changed, 9 insertions, 3 deletions
diff --git a/commun.css b/commun.css
index ac84289..6f83f21 100644
--- a/commun.css
+++ b/commun.css
@@ -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;