From 7720b1b3026543441a31979388ec494b4d99d0da Mon Sep 17 00:00:00 2001 From: Alveera Hafeez <90412499+alveerahafeez@users.noreply.github.com> Date: Fri, 26 May 2023 20:24:36 +0530 Subject: [PATCH] Update resource.css Little bit change is search box and font styles, padding and fixed navigation bar --- resource.css | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/resource.css b/resource.css index a2d0b41f..ac3a1d93 100644 --- a/resource.css +++ b/resource.css @@ -1,18 +1,18 @@ * { box-sizing: border-box; - padding: 0; + padding: 2px; margin: 0; } - /*To apply the navigation bar on the resource page*/ .topnav { - background-color: #5C4033; + background-color: black; overflow: auto; margin:0; width: 100%; top:0; left:0; - position:absolute; + position:fixed; + font-family:serif; } .topnav i { margin-right: 5px; /* Add space between icon and text */ @@ -81,6 +81,7 @@ html { h1 { color: wheat; font-weight: bold; + font-family:sans-serif; } h2 { @@ -144,13 +145,14 @@ nav { } */ .search-box-container{ display: flex; - justify-content: flex-end; + justify-content: flex-begin; } .search-box{ - border: 1px solid wheat; + border: 1.5px solid black; border-radius: 9px; - background-color: wheat; + width:100%; + background-color: white; padding: 8px; }