From 90c5e62d1c0e8e347d1f16df4849ea942086affe Mon Sep 17 00:00:00 2001
From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com>
Date: Tue, 23 Mar 2021 09:43:32 +0300
Subject: Adds Streamyard Banner To Homepage
---
pydis_site/static/images/sponsors/streamyard.png | Bin 0 -> 86678 bytes
pydis_site/templates/home/index.html | 3 +++
2 files changed, 3 insertions(+)
create mode 100644 pydis_site/static/images/sponsors/streamyard.png
diff --git a/pydis_site/static/images/sponsors/streamyard.png b/pydis_site/static/images/sponsors/streamyard.png
new file mode 100644
index 00000000..a1527e8d
Binary files /dev/null and b/pydis_site/static/images/sponsors/streamyard.png differ
diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html
index 04815b7f..c35af2aa 100644
--- a/pydis_site/templates/home/index.html
+++ b/pydis_site/templates/home/index.html
@@ -204,6 +204,9 @@
+
+
+
--
cgit v1.2.3
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(-)
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(+)
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(+)
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