diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-12-28 15:21:39 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2020-12-28 15:21:39 +0100 |
| commit | 138a5a12823541416399338370e9fd91f872ade5 (patch) | |
| tree | 2fa810a70b3fe2806062d2bb44f05848f2e28f36 | |
| parent | 6d2295bff6cf4847a0d0ec6baae5a6cee7543274 (diff) | |
| download | quatuorbellefeuille.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.css | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -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; } |
