From 2614df624216f77f1bb0f6fa2f2389e640ed1311 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Thu, 29 Aug 2024 14:22:50 +0300 Subject: [PATCH] added scrollable header --- static/css/style.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 75eef81..83c70b9 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -8,6 +8,7 @@ color: #ac9c6d; } header { + background: #2d2a2e; border-bottom: 2px dotted #f7f6f3; } header a { @@ -35,6 +36,7 @@ body { max-width: 60%; margin: auto; padding: .2em; + padding-top: 0; line-height: 1.5em; font-size: 19px; } @@ -73,8 +75,8 @@ a:hover { /* Adjust background at your leisure! */ header { - position: relative; - width: 100%; + position: fixed; + width: 60%; height: 1.75rem; font-size: 1rem; } @@ -146,7 +148,7 @@ main a { } .content-wrapper { - padding: 0px 12px 0px 12px; + padding: 40px 12px 0px 12px; } #personal {