From 8a296ae71891fda6ee4d79da8f44d6f299b666bc Mon Sep 17 00:00:00 2001 From: Daru13 Date: Sun, 28 Apr 2019 06:30:33 +0200 Subject: [PATCH] Fix the name of a bus stop (and related CSS). The CSS was fixed in order to avoid horizontal overflow for certain ranges of page width. --- css/style.css | 11 ++++------- index.html | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/css/style.css b/css/style.css index 6ff3a05..50fc7af 100644 --- a/css/style.css +++ b/css/style.css @@ -484,17 +484,14 @@ section.orange .button:hover { } @media only screen and (max-width: 580px) { - #public-transport-info { - line-height: 32px; - } -} - -@media only screen and (max-width: 480px) { #mailing-address { font-size: 1.1rem; } #public-transport-info { + grid-template-columns: 4fr 6fr; + + line-height: 32px; font-size: 1.1rem; } @@ -504,7 +501,7 @@ section.orange .button:hover { } } -@media only screen and (max-width: 320px) { +@media only screen and (max-width: 380px) { #public-transport-info img { display: block; } diff --git a/index.html b/index.html index 6df4d95..6f2ebfd 100644 --- a/index.html +++ b/index.html @@ -83,7 +83,7 @@
Bus 24
- Panthéon + École Normale Supérieure
Bus 21