From e22ce50d4096891863b75e8fd3e8efe87b1db998 Mon Sep 17 00:00:00 2001 From: Junyi Hou Date: Sat, 18 Nov 2023 15:28:43 +0800 Subject: [PATCH] modify: the background and navbar. --- assets/css/light.css | 5 +++-- assets/css/main.css | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/assets/css/light.css b/assets/css/light.css index 8216e42..bcde6bb 100644 --- a/assets/css/light.css +++ b/assets/css/light.css @@ -1,7 +1,7 @@ :root { /* light.css */ --font-color: #333; - --bg-color: #fff; + --bg-color: #f5f5f5; --link-color:#1d60a3; --link-state-color:#a31d1d; @@ -10,8 +10,9 @@ --thead-bg-color: lightgrey; --table-border-color: lightgrey; - --nav-bg-color: #fafafa; + --nav-bg-color: #f1f1f1; --nav-link-color: #696969; + --nav-border-radius: 10px; --pre-color: #333; --pre-bg-color: #f1f1f1; diff --git a/assets/css/main.css b/assets/css/main.css index 399e6ae..eb69560 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -236,6 +236,7 @@ header nav:not(:empty){ max-width: 100%; text-align: center; padding: 0.5em 0; + border-radius: var(--nav-border-radius); } header nav a {