From 15b07abd5dcd871c4bc7751ee9122ad096c12e97 Mon Sep 17 00:00:00 2001 From: SrijaVuppala295 Date: Sat, 9 Nov 2024 14:53:26 +0530 Subject: [PATCH] done --- lol.html | 145 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 110 insertions(+), 35 deletions(-) diff --git a/lol.html b/lol.html index 350e1458f..e2f5ef1d3 100644 --- a/lol.html +++ b/lol.html @@ -383,61 +383,136 @@ #chaps { margin-top: 150px; /* Adjust the margin-top value as needed */ } - + /* Ensure the card itself has a border and the container is defined */ +.chapter-card { + background-color: white; /* Initial background color */ + border-radius: 8px; + padding: 20px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow effect for depth */ + transition: all 0.3s ease; /* Smooth transition for all changes */ +} -
-
+/* Apply hover effect for color changes */ +.chapter-card:hover { + background-color: #ffb6b9; /* Change background color to pink on hover */ +} + +/* Apply hover effect for the heading to darken its color */ +.chapter-card:hover .card-title { + color: #b36b6b; /* Darker shade of the title */ +} -

+/* Bold and large heading */ +.card-title { + font-size: 2em; /* Increase font size */ + font-weight: bold; /* Make the title bold */ + color: #333; /* Default color */ + transition: color 0.3s ease; /* Smooth color transition */ +} -

- Explore New Worlds - -

+/* Apply hover effect for subtitle and text color */ +.chapter-card:hover .card-subtitle, +.chapter-card:hover .card-text { + color: #ffffff; /* Change text color to white */ +} + +/* Subtitle and text default colors */ +.card-subtitle { + color: #777; /* Subtitle color */ +} + +.card-text { + color: #444; /* Default text color */ +} +h2.section-title { + margin-top: -30px; /* Adjust upwards */ + margin-bottom: 20px; /* Adjust spacing below */ +} + .header { + position: fixed; + top: 0; + width: 100%; + z-index: 1000; /* Ensures it stays on top of other content */ + margin-top: 45px; + margin-left: 9rem; +} + .navbar-link { + color: black !important; +} -
+ - -
+ +