aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/content/page.css
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/static/css/content/page.css')
-rw-r--r--pydis_site/static/css/content/page.css36
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;
+}