From 595ca332030884424e1de9c7092edc9b7f805ead Mon Sep 17 00:00:00 2001 From: sudhanshu248 Date: Tue, 15 Oct 2024 18:57:23 +0530 Subject: [PATCH] Fixing the Tavel Forum --- index.html | 2 +- style.css | 44 +++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 42 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 20b869c5..1be1c533 100644 --- a/index.html +++ b/index.html @@ -344,7 +344,7 @@

BuddyTrail

localStorage.setItem('theme', 'light'); darkelem.forEach((elem) =>{ elem.style.color = 'gray'; - }) + }) h1dark.forEach((darkbtn) =>{ darkbtn.style.color='#0057B3' }) diff --git a/style.css b/style.css index 0a2e73ce..adcba9db 100644 --- a/style.css +++ b/style.css @@ -9,23 +9,61 @@ } .forum_1 { + display: flex; + flex-direction: column; + align-items: center; font-family: Arial, sans-serif; margin: 0; padding: 0; - background-color: #f4f4f4; + background-color: rgb(203, 229, 252); +} + +.forum_1 h1{ + font-size: 4.3rem; + margin: 20px; + padding: 18px; + color: rgb(1, 60, 124); + border-radius: 8px; } + .hi { - background: #35424a; + display: flex; + flex-direction: row; + justify-content: center; + max-width: 80vw;; color: #ffffff; - padding: 10px 0; + padding: 50px; text-align: center; + margin: 20px 0px 60px; + border-radius: 8px; } nav ul { + display: flex; + flex-direction: row; + width: 100%; + justify-content: space-evenly; + align-items: center; list-style-type: none; padding: 0; } +.hi ul li a{ + background-color: #fff; + color: blue; + font-size: 2.2rem; + font-weight: 600; + padding: 15px; + border-radius: 7px; + box-shadow: 0 3px 13px rgba(0, 0, 0, 0.35); +} + +.hi ul li a:hover{ + background-color: rgb(9, 9, 120); + color: white; + box-shadow: 4px 4px 14px whitesmoke; +} + nav ul li { display: inline; margin: 0 10px;