From a0f15caf590c542e78c17d834c441f3e7a1a5acc Mon Sep 17 00:00:00 2001 From: Kartik Gangavati Date: Mon, 21 Oct 2024 02:23:58 +0530 Subject: [PATCH] Added hover feature to the feature courses in dark mode --- assets/css/darkmode.css | 4 ++-- index.html | 25 +++++++++++-------------- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/assets/css/darkmode.css b/assets/css/darkmode.css index 8d2f86d..38febf9 100644 --- a/assets/css/darkmode.css +++ b/assets/css/darkmode.css @@ -586,7 +586,7 @@ body.nav-active { gap: 24px; } -.course-card:is(:hover, :focus-within) { +.card-container .course-card:is(:hover, :focus-within) { border-color: var(--light-coral); } @@ -928,7 +928,7 @@ body.nav-active { .live-count-emoji{ font-size: xx-large; } -@media + diff --git a/index.html b/index.html index 9a1b75e..cf71d3f 100644 --- a/index.html +++ b/index.html @@ -565,10 +565,9 @@

- - +
  • @@ -618,10 +617,9 @@

    - - +

  • @@ -671,10 +669,9 @@

    - - +

  • @@ -724,10 +721,9 @@

    - - +

  • @@ -777,10 +773,11 @@

    - + -