commit 138a5a12823541416399338370e9fd91f872ade5
parent 6d2295bff6cf4847a0d0ec6baae5a6cee7543274
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Mon, 28 Dec 2020 15:21:39 +0100
Simplify CSS a bit
Gets rid of the "display: flex" in list items, which annoyed me for
the next commit.
Diffstat:
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git 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;
}