From d52c5cbf3278eb9cd713a25b7e2d6144257459c4 Mon Sep 17 00:00:00 2001 From: ByteCommander Date: Wed, 9 Oct 2019 01:26:07 +0200 Subject: Improve homepage flex responsiveness --- pydis_site/static/css/home/index.css | 19 +------------------ pydis_site/templates/home/index.html | 25 +++++++++++++++++-------- 2 files changed, 18 insertions(+), 26 deletions(-) (limited to 'pydis_site') diff --git a/pydis_site/static/css/home/index.css b/pydis_site/static/css/home/index.css index a90a60d7..4c36031b 100644 --- a/pydis_site/static/css/home/index.css +++ b/pydis_site/static/css/home/index.css @@ -71,15 +71,6 @@ span.repo-language-dot.javascript { } @media screen and (min-width: 1088px) { - .column.is-half, .column.is-half-tablet { - flex: none; - width: 50%; - } - - .columns:not(.is-desktop) { - display: flex; - } - .video-container iframe { height: calc(42vw * 0.5625); max-height: 371px; @@ -88,18 +79,10 @@ span.repo-language-dot.javascript { } @media screen and (max-width: 1087px) { - .column.is-half, .column.is-half-tablet { - flex: none; - width: 100%; - } - - .columns:not(.is-desktop) { - display: block; - } - .video-container iframe { height: calc(92vw * 0.5625); max-height: none; max-width: none; } } + diff --git a/pydis_site/templates/home/index.html b/pydis_site/templates/home/index.html index 205e92ff..2174b149 100644 --- a/pydis_site/templates/home/index.html +++ b/pydis_site/templates/home/index.html @@ -15,8 +15,8 @@

Who are we?


-
-
+
+

We're a large community focused around the Python programming language. We believe anyone can learn programming, and are very dedicated to helping @@ -40,7 +40,7 @@

{# Intro video #} -
+
@@ -50,11 +50,11 @@ {# Projects #}

Projects


-
+
{# Display projects from HomeView.repos #} {% for repo in repo_data %} -
+
@@ -84,11 +84,20 @@

Sponsors

- Linode - JetBrains - Adafruit +
{% endblock %} + -- cgit v1.2.3