From 138a5a12823541416399338370e9fd91f872ade5 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Mon, 28 Dec 2020 15:21:39 +0100 Subject: Simplify CSS a bit Gets rid of the "display: flex" in list items, which annoyed me for the next commit. --- commun.css | 10 ++++------ 1 file 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; } -- cgit v1.2.3