diff options
author | 2024-01-28 21:03:44 +0800 | |
---|---|---|
committer | 2024-01-28 21:08:17 +0800 | |
commit | 86ec2108527f300433bbb642e492c95726fa0ae5 (patch) | |
tree | c229802cdfeda13e9d6fd53ab4ccd2cd31930788 /pydis_site/static/css/content/page.css | |
parent | Add section about dark mode in guide for contributing a page (diff) | |
parent | Merge pull request #1176 from hedyhli/gdwr-dark-theme (diff) |
Merge branch 'main' into docs/dark-theme
Diffstat (limited to 'pydis_site/static/css/content/page.css')
-rw-r--r-- | pydis_site/static/css/content/page.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css index 58fad0f8..e80fdc13 100644 --- a/pydis_site/static/css/content/page.css +++ b/pydis_site/static/css/content/page.css @@ -27,6 +27,14 @@ i.has-icon-padding { flex-direction: column; } +[data-theme="dark"] .card-footer { + border-top: solid 1px #4E4F51; +} + +[data-theme="dark"] .card-footer-item:not(:last-child) { + border-right: solid 1px #4E4F51; +} + .card.github-card .card-content { flex: 1; } @@ -110,3 +118,17 @@ a.dropdown-item { white-space: normal; padding-right: 0; } + +[data-theme="dark"] .card.github-card { + border: solid 1px #4E4F51; +} + +[data-theme="dark"] hr { + background-color: #4c515a; +} + +[data-theme="dark"] .has-dark-mode-background { + background-color: #EDEDED; + border-radius: .1rem; + padding: .3rem; +} |