From e8170c4327439b953441169bb62660e1454a24f0 Mon Sep 17 00:00:00 2001 From: Kroustouris Stauros Date: Tue, 10 Nov 2015 10:17:16 +0200 Subject: [PATCH] smaller map height in shorter screens --- djnro/templates/base.html | 2 +- static/css/style.css | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/djnro/templates/base.html b/djnro/templates/base.html index e059395..4e25dc8 100644 --- a/djnro/templates/base.html +++ b/djnro/templates/base.html @@ -5,7 +5,7 @@ {% block title %}eduroam | {{COUNTRY_CODE}}{% endblock %} : {% block currentpagetitle %}{% endblock %} - + diff --git a/static/css/style.css b/static/css/style.css index f5fcdca..ba8c313 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -103,3 +103,18 @@ footer.auth { .closest footer { display: none; } + + + +@media screen and ( max-height: 480px ){ + .home #map_wrapper { + position: relative; + height: 300px; + } + + .home .squares { + margin-top: 0; + } +} + + -- GitLab