aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css/events
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-01-17 20:09:33 +0800
committerGravatar hedy <[email protected]>2024-01-17 20:11:20 +0800
commit801e033a216117a4ee055631739ba9d1c64b82b2 (patch)
treefdc2e4a493eeb581a3d7e87aadba8db164808884 /pydis_site/static/css/events
parentConsistent 4-spaces CSS indent (diff)
Dark: Sponsors light background for code/gamejams
Diffstat (limited to 'pydis_site/static/css/events')
-rw-r--r--pydis_site/static/css/events/base.css28
1 files changed, 23 insertions, 5 deletions
diff --git a/pydis_site/static/css/events/base.css b/pydis_site/static/css/events/base.css
index 9e244ed9..dc6183d7 100644
--- a/pydis_site/static/css/events/base.css
+++ b/pydis_site/static/css/events/base.css
@@ -12,9 +12,27 @@ pre {
}
.panel .panel-heading {
- /*
- * Remove whitespace between the panel heading and the first item in a panel,
- * since it makes the first panel item taller than the others.
- */
- margin-bottom: 0 !important
+ /*
+ * Remove whitespace between the panel heading and the first item in a panel,
+ * since it makes the first panel item taller than the others.
+ */
+ margin-bottom: 0 !important
+}
+
+.sponsor {
+ border-radius: .1rem;
+ padding: .3rem;
+}
+
+.sponsor img {
+ display: block;
+ margin: auto;
+}
+
+.box .sponsor {
+ margin-bottom: 1rem;
+}
+
+[data-theme="dark"] .sponsor {
+ background-color: #EDEDED;
}