From 40f8d6dc52934c8a47d44c2d3aa2d603c1e6936a Mon Sep 17 00:00:00 2001 From: Joshua Anto A <116860627+Joshua-Anto-07@users.noreply.github.com> Date: Tue, 19 Dec 2023 10:33:39 +0530 Subject: [PATCH] Updated --- Assignments/CB.EN.U4CYS22031/ui/css/temp.css | 40 +++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/Assignments/CB.EN.U4CYS22031/ui/css/temp.css b/Assignments/CB.EN.U4CYS22031/ui/css/temp.css index 0bc2075c..baecd19c 100644 --- a/Assignments/CB.EN.U4CYS22031/ui/css/temp.css +++ b/Assignments/CB.EN.U4CYS22031/ui/css/temp.css @@ -1,3 +1,41 @@ +header{ + position: fixed; + top: 0; + left: 0; + width: 100%; + margin-top: 1vh; + + padding: 30px, 100px; + display: flex; + justify-content: space-between; + align-items: center; + z-index: 1000; +} +header .logo{ + padding-left: 10px; + width: 65px; + height: 50px; +} +header ul{ + display: flex; + justify-content: center; + align-items: center; +} +header ul li{ + list-style: none; + margin-left: 10px; + padding-right: 10px; +} +header ul li a{ + color: black; + text-decoration: none; + border-radius: 2px; +} +header ul li a:hover, +header ul li a.active{ + color: rgb(44, 42, 42); + background: white; +} .data{ background: linear-gradient(to left, #d2cfcc, #1c1b1b); @@ -7,4 +45,4 @@ } p{ font-size: large; -} \ No newline at end of file +}