From 162403ad3854cc04eabe7939948e39ee62837bdc Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sat, 12 Feb 2022 23:52:03 +0100 Subject: Try to fix language button "roundness" --- stylesheets/commun.css | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/stylesheets/commun.css b/stylesheets/commun.css index 161d5ba..9f1def9 100644 --- a/stylesheets/commun.css +++ b/stylesheets/commun.css @@ -82,6 +82,14 @@ footer.social a.contact:hover, footer.social a.contact:focus { } a.lang { + align-items: center; + justify-content: center; + + width: 1.2rem; + height: 1.2rem; + padding: 0.4rem; + font-size: 1rem; + border: 0.15rem solid black; border-radius: 50%; } @@ -91,12 +99,6 @@ a.lang:hover, a.lang:focus { border: 0.15rem solid var(--gold); } -footer.social a.lang { - display: block; - padding: 0.5rem; - font-size: 1rem; -} - footer.social { display: flex; flex-direction: column; @@ -217,7 +219,7 @@ footer.legal { } footer.social a { - display: block; + display: flex; margin: 1rem; } @@ -348,11 +350,6 @@ footer.legal { display: flex; align-self: center; justify-self: center; - align-items: center; - justify-content: center; - - padding: 0.4rem; - font-size: 1rem; } header.slidingmenu > .content > nav.menu, header.slidingmenu > .content > nav.social { -- cgit v1.2.3