From 7e05e56d7e650adbaf2e8f552408368d1ff55521 Mon Sep 17 00:00:00 2001 From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> Date: Tue, 23 Mar 2021 13:09:46 +0300 Subject: Centers Sponsor Logos Center justifies sponsor logos on the home page to make wrapping look cleaner. --- pydis_site/static/css/home/index.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pydis_site/static/css') diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css index 58ca8888..106feb7c 100644 --- a/pydis_site/static/css/home/index.css +++ b/pydis_site/static/css/home/index.css @@ -208,7 +208,11 @@ h1 { padding-bottom: 3rem; } +#sponsors .columns { + justify-content: center; +} + #sponsors img { height: 5rem; - margin-right: 2rem; + margin: auto 1rem; } -- cgit v1.2.3 From 20737ab238719ce7a2df78b0ca5101884f28db0d Mon Sep 17 00:00:00 2001 From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> Date: Tue, 23 Mar 2021 13:42:14 +0300 Subject: Centers Sponsor Title --- pydis_site/static/css/home/index.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pydis_site/static/css') diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css index 106feb7c..808c0517 100644 --- a/pydis_site/static/css/home/index.css +++ b/pydis_site/static/css/home/index.css @@ -206,6 +206,8 @@ h1 { #sponsors .hero-body { padding-top: 2rem; padding-bottom: 3rem; + + text-align: center; } #sponsors .columns { -- cgit v1.2.3 From c7c571ae404fe6f0ffba53713d86c14090366f0b Mon Sep 17 00:00:00 2001 From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> Date: Tue, 23 Mar 2021 13:43:00 +0300 Subject: Reduces The Width Of The Sponsors Tab Reduces the width of the sponsor tab to reduce the chance of one logo ending up on a new line by itself. --- pydis_site/static/css/home/index.css | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pydis_site/static/css') diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css index 808c0517..6cfbf69f 100644 --- a/pydis_site/static/css/home/index.css +++ b/pydis_site/static/css/home/index.css @@ -212,6 +212,8 @@ h1 { #sponsors .columns { justify-content: center; + margin: auto; + max-width: 80%; } #sponsors img { -- cgit v1.2.3 From c244fea3bc7c9560b3ff5cd4bd40f9e19cf62ae1 Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Wed, 24 Mar 2021 22:46:05 +0100 Subject: Remove the 100K user banner. --- pydis_site/static/css/home/index.css | 4 ++++ pydis_site/templates/home/index.html | 8 +------- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'pydis_site/static/css') diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css index 6cfbf69f..ee6f6e4c 100644 --- a/pydis_site/static/css/home/index.css +++ b/pydis_site/static/css/home/index.css @@ -45,6 +45,10 @@ h1 { box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22); } +#wave-hero-centered { + margin: auto auto; +} + #wave-hero-right img{ border-radius: 10px; box-shadow: 0 1px 6px rgba(0,0,0,0.16), 0 1px 6px rgba(0,0,0,0.23); diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html index c35af2aa..f3470a83 100644 --- a/pydis_site/templates/home/index.html +++ b/pydis_site/templates/home/index.html @@ -29,7 +29,7 @@
{# Embedded Welcome video #} -
+
- - {# Right side content #} -
- 100K members! -
-
-- cgit v1.2.3