aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/home/index.css
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-01-18 12:20:35 +0800
committerGravatar hedy <[email protected]>2024-01-18 12:20:35 +0800
commit6964fbe73a986d999439e861b00cd0225cccec6d (patch)
tree718c70dfc0d7095610c6c781bdde8f9564ecc28f /pydis_site/static/css/home/index.css
parentDark: Possibly fix FOUC during theme switch (diff)
Dark: Use original light theme colors everywhere
Adjusted box-shadow for dark mode to be more readable, unfortunately this gave it a little neomorphism effect...
Diffstat (limited to 'pydis_site/static/css/home/index.css')
-rw-r--r--pydis_site/static/css/home/index.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css
index 5ecf7cd7..29111c32 100644
--- a/pydis_site/static/css/home/index.css
+++ b/pydis_site/static/css/home/index.css
@@ -112,7 +112,7 @@ h1 {
}
[data-theme="dark"] #showcase .box {
- box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0px 0 1px rgb(10 10 10 / 2%);
+ box-shadow: 0 0.5em 1em -0.125em rgb(0 0 0 / 30%), 0 0px 0 1px rgb(10 10 10 / 5%);
}
#showcase .mini-timeline {
@@ -186,6 +186,10 @@ h1 {
#projects .card-header-title {
padding: 0;
+ color: #7289DA;
+}
+
+[data-theme="dark"] #projects .card-header-title {
/* Link color from settings.py */
color: #99B0FF;
}