From 5d87940c1dde34e1114bee5f2008d0c6fd6e25e6 Mon Sep 17 00:00:00 2001 From: Samuel Huang Date: Tue, 1 Oct 2024 02:04:02 -0700 Subject: [PATCH] Reduce duplicate selectors --- src/routes/style.css | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/routes/style.css b/src/routes/style.css index 317d4a9..baef472 100644 --- a/src/routes/style.css +++ b/src/routes/style.css @@ -20,6 +20,9 @@ footer { /* Support sticky footer */ flex-grow: 0; flex-shrink: 0; + /* Apply header and footer colors */ + background-color: black; + color: white; } main { @@ -76,13 +79,6 @@ html { } } -header, -footer { - /* Apply header and footer colors */ - background-color: black; - color: white; -} - header a { /* Apply header link color */ color: white;