From 11ed7c509c0f816fd444741017671646f890e29d Mon Sep 17 00:00:00 2001 From: SreejaVeerappan <144646423+SreejaVeerappan@users.noreply.github.com> Date: Sat, 19 Oct 2024 06:31:55 +0530 Subject: [PATCH] Update index.css --- frontend/src/index.css | 101 ++++++++++++++++++++++++++++++++--------- 1 file changed, 79 insertions(+), 22 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 15175ed..db8430a 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -1,37 +1,94 @@ -@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); +/* Reset styles */ +html, body, h1, h2, h3, p, ul, li, button { + margin: 0; + padding: 0; + border: 0; + font-size: 100%; + font-family: Arial, sans-serif; +} +/* Global styles */ +body { + font-size: 16px; + line-height: 1.5; + color: #333; +} -@tailwind base; -@tailwind components; -@tailwind utilities; +h1, h2, h3 { + font-weight: bold; +} +ul { + list-style: none; +} +a { + text-decoration: none; + color: #007bff; +} -* { - /* font-family: "Montserrat", sans-serif; */ - font-family: "poppins"; - margin: 0; - box-sizing: border-box; +a:hover { + text-decoration: underline; } -body { - height: 100vh; +/* Header styles */ +header { + background-color: #f0f0f0; + padding: 1rem; +} + +nav { + display: flex; + justify-content: space-between; + align-items: center; } -/* Style the scrollbar */ -::-webkit-scrollbar { - width: 0px; +nav ul { + display: flex; + list-style: none; } -::-webkit-scrollbar-track { - background: #fff; +nav ul li { + margin-right: 1rem; } -::-webkit-scrollbar-thumb { - background: linear-gradient(#B3DAD9, #03565A); - border-radius: 10px; +nav a { + color: #333; + font-weight: bold; } -::-webkit-scrollbar-thumb:hover { - background: #03686b; -} \ No newline at end of file +/* Main content styles */ +main { + max-width: 800px; + margin: 0 auto; + padding: 2rem; +} + +h1 { + font-size: 2rem; + margin-bottom: 1rem; +} + +p { + margin-bottom: 1rem; +} + +/* Footer styles */ +footer { + background-color: #f0f0f0; + padding: 1rem; + text-align: center; +} + +/* Responsive styles */ +@media (max-width: 768px) { + nav ul { + flex-direction: column; + align-items: flex-start; + } + + nav ul li { + margin-right: 0; + margin-bottom: 1rem; + } +}