From 8da745df3ecd872e3fe8e882b36a5c4feb4739bc Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 21 Nov 2020 00:13:37 +0100 Subject: Add language "button" Note sure I want to leave it in that standalone div. Either tuck it in the header (and figure how to set grid columns properly) or move it to the first footer. --- commun.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'commun.css') diff --git a/commun.css b/commun.css index e93e443..f131acc 100644 --- a/commun.css +++ b/commun.css @@ -7,7 +7,7 @@ body { } header.banner { - grid-column: 1 / -1; + grid-column: 1; display: flex; align-items: center; } @@ -57,6 +57,15 @@ nav ol li { flex: 1; } +.lang { + grid-column: 2; + background-color: black; + border-radius: 50% 50% 50% 0; + color: white; + padding: 0.5em; + margin: auto; +} + main { grid-row: 2; grid-column: 1; -- cgit v1.2.3