aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-10-06 02:41:19 +0100
committerGravatar GitHub <[email protected]>2021-10-06 02:41:19 +0100
commit02e1ce29956dec9d1937e29f29607ef274f2814e (patch)
tree359753616a306109b175cacfff4b429011fd85ed
parentMerge pull request #602 from python-discord/jb3/yes-to-www-take-two (diff)
parentMerge branch 'main' into netlify-logo (diff)
Merge pull request #600 from python-discord/netlify-logo
-rw-r--r--pydis_site/static/css/home/index.css12
-rw-r--r--pydis_site/static/images/sponsors/netlify.pngbin0 -> 177462 bytes
-rw-r--r--pydis_site/templates/home/index.html4
3 files changed, 14 insertions, 2 deletions
diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css
index ee6f6e4c..7ec8af74 100644
--- a/pydis_site/static/css/home/index.css
+++ b/pydis_site/static/css/home/index.css
@@ -215,12 +215,20 @@ h1 {
}
#sponsors .columns {
+ display: block;
justify-content: center;
margin: auto;
max-width: 80%;
}
+#sponsors a {
+ margin: auto;
+ display: inline-block;
+}
+
#sponsors img {
- height: 5rem;
- margin: auto 1rem;
+ width: auto;
+ height: auto;
+
+ max-height: 5rem;
}
diff --git a/pydis_site/static/images/sponsors/netlify.png b/pydis_site/static/images/sponsors/netlify.png
new file mode 100644
index 00000000..0f14f385
--- /dev/null
+++ b/pydis_site/static/images/sponsors/netlify.png
Binary files differ
diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html
index 8e52274d..77037ef8 100644
--- a/pydis_site/templates/home/index.html
+++ b/pydis_site/templates/home/index.html
@@ -187,6 +187,10 @@
</a>
<a href="https://streamyard.com" class="column is-narrow">
<img src="{% static "images/sponsors/streamyard.png" %}" alt="StreamYard"/>
+ </a>
+ <a href="https://www.netlify.com/" class="column is-narrow">
+ <img src="{% static "images/sponsors/netlify.png" %}" alt="Netlify"/>
+ </a>
<a href="https://www.cloudflare.com/" class="column is-narrow">
<img src="{% static "images/sponsors/cloudflare.png" %}" alt="Cloudflare"/>
</a>