From 8113af2206b2730b061155b438c455cb26337881 Mon Sep 17 00:00:00 2001 From: SrijaVuppala295 Date: Sat, 9 Nov 2024 14:45:03 +0530 Subject: [PATCH 1/2] done --- historical-chronicals.html | 150 +++++++++++++++++++++++++++---------- 1 file changed, 112 insertions(+), 38 deletions(-) diff --git a/historical-chronicals.html b/historical-chronicals.html index 1d3e68aa..8d0b431b 100644 --- a/historical-chronicals.html +++ b/historical-chronicals.html @@ -374,7 +374,66 @@ transform: scale(1.02); } + /* 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 */ +} + +/* 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; +} +.dark-mode .navbar-link { + color: white !important; +} @@ -384,59 +443,74 @@ } -
-
- -

- -

- Explore New Worlds - -

- -
+ - -
+ +

From f99e5b34023e3432e572e3ebd34059edff5ae527 Mon Sep 17 00:00:00 2001 From: SrijaVuppala295 Date: Sat, 9 Nov 2024 14:48:06 +0530 Subject: [PATCH 2/2] done --- historical-chronicals.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/historical-chronicals.html b/historical-chronicals.html index 8d0b431b..66a8a3ce 100644 --- a/historical-chronicals.html +++ b/historical-chronicals.html @@ -1,4 +1,4 @@ -s + SwapReads