aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-03-23 11:34:57 +0000
committerGravatar GitHub <[email protected]>2021-03-23 11:34:57 +0000
commit929181ba9f7c69a12ed82ece4f667abeb3d75af7 (patch)
tree95030c4eafd78084e994a21e76cb0f5f82f69bb3
parentMerge pull request #451 from python-discord/mbaruh/channel-activity (diff)
parentReduces The Width Of The Sponsors Tab (diff)
Merge pull request #460 from python-discord/add-streamyard
Adds Streamyard Banner To Homepage
-rw-r--r--pydis_site/static/css/home/index.css10
-rw-r--r--pydis_site/static/images/sponsors/streamyard.pngbin0 -> 86678 bytes
-rw-r--r--pydis_site/templates/home/index.html3
3 files changed, 12 insertions, 1 deletions
diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css
index 58ca8888..6cfbf69f 100644
--- a/pydis_site/static/css/home/index.css
+++ b/pydis_site/static/css/home/index.css
@@ -206,9 +206,17 @@ h1 {
#sponsors .hero-body {
padding-top: 2rem;
padding-bottom: 3rem;
+
+ text-align: center;
+}
+
+#sponsors .columns {
+ justify-content: center;
+ margin: auto;
+ max-width: 80%;
}
#sponsors img {
height: 5rem;
- margin-right: 2rem;
+ margin: auto 1rem;
}
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
--- /dev/null
+++ b/pydis_site/static/images/sponsors/streamyard.png
Binary files 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 @@
<a href="https://notion.so" class="column is-narrow">
<img src="{% static "images/sponsors/notion.png" %}" alt="Notion"/>
</a>
+ <a href="https://streamyard.com" class="column is-narrow">
+ <img src="{% static "images/sponsors/streamyard.png" %}" alt="StreamYard"/>
+ </a>
</div>
</div>
</div>