summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-28 15:21:39 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-12-28 15:21:39 +0100
commit138a5a12823541416399338370e9fd91f872ade5 (patch)
tree2fa810a70b3fe2806062d2bb44f05848f2e28f36
parent6d2295bff6cf4847a0d0ec6baae5a6cee7543274 (diff)
downloadquatuorbellefeuille.com-138a5a12823541416399338370e9fd91f872ade5.tar.xz
Simplify CSS a bit
Gets rid of the "display: flex" in list items, which annoyed me for the next commit.
-rw-r--r--commun.css10
1 files changed, 4 insertions, 6 deletions
diff --git a/commun.css b/commun.css
index 8d0e6dc..d26ac63 100644
--- a/commun.css
+++ b/commun.css
@@ -53,20 +53,18 @@ nav {
padding-right: 2vw;
}
-nav ol {
+nav > ol {
display: flex;
- align-items: stretch;
+ align-items: center;
+ align-content: stretch;
flex-wrap: wrap;
padding-left: 0;
text-align: center;
list-style-type: none;
}
-nav ol li {
+nav > ol > li {
flex: 1;
- display: flex;
- align-items: center;
- justify-content: center;
padding: 0.5em 0.1em;
}