diff options
| author | 2024-01-18 12:20:35 +0800 | |
|---|---|---|
| committer | 2024-01-18 12:20:35 +0800 | |
| commit | 6964fbe73a986d999439e861b00cd0225cccec6d (patch) | |
| tree | 718c70dfc0d7095610c6c781bdde8f9564ecc28f /pydis_site/static | |
| parent | Dark: 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')
| -rw-r--r-- | pydis_site/static/css/content/page.css | 4 | ||||
| -rw-r--r-- | pydis_site/static/css/home/index.css | 6 | ||||
| -rw-r--r-- | pydis_site/static/css/home/timeline.css | 4 | 
3 files changed, 9 insertions, 5 deletions
diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css index b174e8d7..d4739d12 100644 --- a/pydis_site/static/css/content/page.css +++ b/pydis_site/static/css/content/page.css @@ -27,10 +27,6 @@ i.has-icon-padding {      flex-direction: column;  } -[data-theme="dark"] .card.github-card { -    border: solid 1px #4E4F51; -} -  [data-theme="dark"] .card-footer {      border-top: solid 1px #4E4F51;  } 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;  } diff --git a/pydis_site/static/css/home/timeline.css b/pydis_site/static/css/home/timeline.css index 369d5c8f..d4e445f7 100644 --- a/pydis_site/static/css/home/timeline.css +++ b/pydis_site/static/css/home/timeline.css @@ -3426,6 +3426,10 @@ mark {      background-color: hsl(var(--cd-color-2-h), var(--cd-color-2-s), calc(var(--cd-color-2-l)*1.05));  } +[data-theme="dark"] .cd-timeline { +    background-color: #2C2F33; +} +  .cd-timeline h2 {      font-weight: 700  }  |