diff options
author | 2024-02-03 00:50:43 -0800 | |
---|---|---|
committer | 2024-02-03 00:50:43 -0800 | |
commit | ad2410ef24e97742bc22f0d8775a0f37a5bf2db5 (patch) | |
tree | cce3c380e6b695d11dcb65ee65411f6f654e2be3 /pydis_site/static/css/content/page.css | |
parent | Migrate mailing lists to their own API endpoints (diff) | |
parent | Merge pull request #1220 from python-discord/dependabot/pip/ruff-0.2.0 (diff) |
Merge branch 'main' into mailing-list-model
Diffstat (limited to 'pydis_site/static/css/content/page.css')
-rw-r--r-- | pydis_site/static/css/content/page.css | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pydis_site/static/css/content/page.css b/pydis_site/static/css/content/page.css index 239f2809..e80fdc13 100644 --- a/pydis_site/static/css/content/page.css +++ b/pydis_site/static/css/content/page.css @@ -10,6 +10,11 @@ #edit-on-github { display: none; } + + .dropdown-menu { + left: unset; + right: 0; + } } i.has-icon-padding { @@ -22,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; } @@ -96,3 +109,26 @@ ul.menu-list.toc { li img { margin-top: 0.5em; } + +.dropdown-menu { + min-width: 15rem; +} + +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; +} |