From ecc717c9fa6ee89533a94b902e67e06fb438b4dd Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Sun, 3 Sep 2023 12:17:32 +0200 Subject: [PATCH] Fixing styles for desktop. --- public/css/styles.css | 6 +++--- public/css/styles.scss | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/css/styles.css b/public/css/styles.css index c9e29f7..913ff8a 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -73,7 +73,8 @@ body { height: 100%; text-decoration: none; color: #f2eb8c; - margin: 0; } + margin: 0; + background: blueviolet; } body nav a:hover, body nav a:focus { background: #f2eb8c; color: blueviolet; } @@ -84,8 +85,7 @@ body { body nav.desktop { display: none; } body nav.desktop a { - vertical-align: middle; - background: blueviolet; } + vertical-align: middle; } body nav.mobile-foldable { display: none; background: blueviolet; diff --git a/public/css/styles.scss b/public/css/styles.scss index ddaa555..437c577 100644 --- a/public/css/styles.scss +++ b/public/css/styles.scss @@ -114,6 +114,7 @@ body { color: $color_div; margin: 0; + background: $background_div; &:hover, &:focus { background: $color_div; color: $background_div; @@ -132,7 +133,6 @@ body { a { vertical-align: middle; - background: $background_div; } }