From 1d4f30652e5cabbaca1958bb5c80679ee6bf17f5 Mon Sep 17 00:00:00 2001 From: maste9 Date: Mon, 14 Feb 2022 18:47:15 +0100 Subject: [PATCH] changed from dl in footer to ul --- style.css | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/style.css b/style.css index 84da7c4..6681762 100644 --- a/style.css +++ b/style.css @@ -62,31 +62,34 @@ article section { grid-area: content; } -article footer { +article > footer { grid-area: footer; - background: #282c37; + background: #282c37; } - -article footer dl { +article > footer > ul { width: 100%; - display: grid; grid-template-areas: - "replies-icon replies favs-icon favs boosts-icon boosts"; - grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr; + "replies favs boosts"; + grid-template-columns: 1fr 1fr 1fr; gap:0em; } -article footer dl > .replies { - grid-area: replies; +article > footer > ul > li { + width: 25%; } -article footer dl > .favs { +article > footer > ul > li.replies { + grid-area: replies; + +} + +article > footer > ul > li.favs { grid-area: favs; } -article footer dl > . boosts { +article > footer > ul > li.boosts { grid-area: boosts; }