From 02a666c6ef82932b46a96f09a0684224b2d86e0a Mon Sep 17 00:00:00 2001 From: ator-dev Date: Mon, 13 May 2024 15:26:11 +0100 Subject: [PATCH] Adjust nav border radius, improve theme selector --- main.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/main.css b/main.css index 9e17274..6bd7ca2 100644 --- a/main.css +++ b/main.css @@ -166,12 +166,13 @@ header > *, article > * { white-space: nowrap; background: var(--bg-nav-button); border: 2px solid var(--border-header); - border-radius: 100px; + border-radius: 12px; transition: background-color 100ms, border-color 100ms; } #header nav a[href^="#"] { padding: 8px; + border-radius: 0; } #header nav a:hover { @@ -199,7 +200,13 @@ header > *, article > * { #header nav fieldset { position: absolute; width: 100%; + top: 140%; + left: 0; box-sizing: border-box; + margin: 0; + padding: 0; + border: 2px solid var(--border-nav-button); + border-top: none; background: var(--bg); } @@ -209,6 +216,8 @@ header > *, article > * { #header nav fieldset label { display: block; + margin-block: 2px; + margin-inline: 1px; } #header .logo-icon {