aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/static/css
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/static/css')
-rw-r--r--pydis_site/static/css/home/index.css24
1 files changed, 18 insertions, 6 deletions
diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css
index 552961e7..e0dd1ebc 100644
--- a/pydis_site/static/css/home/index.css
+++ b/pydis_site/static/css/home/index.css
@@ -252,6 +252,11 @@ h1 {
#sponsors a {
border-radius: .2rem;
margin-bottom: .8rem;
+ position: relative;
+}
+
+#sponsors img {
+ max-height: 4rem;
}
[data-theme="dark"] #sponsors a {
@@ -283,18 +288,25 @@ h1 {
margin-right: -.8rem;
}
+ #sponsors a {
+ height: 5rem;
+ padding: .4rem;
+ }
+
#sponsors img {
- height: 4rem;
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ margin: auto;
+ max-width: calc(100% - 0.8rem);
}
+
}
@media (max-width: 800px) {
#sponsors .columns {
margin-bottom: 1.5rem;
}
-
- #sponsors img {
- max-height: 4rem;
- max-width: 50%;
- }
}