diff --git a/seta_menu/frequenze/css/style.css b/seta_menu/frequenze/css/style.css index 05a57da..0c1e3bb 100644 --- a/seta_menu/frequenze/css/style.css +++ b/seta_menu/frequenze/css/style.css @@ -31,30 +31,6 @@ table{ margin-right: auto; } -#selettore-direzione { - border-collapse: collapse; - border-radius: 8px; - width: 100%; - margin: auto; -} - -table#selettore-direzione th:hover { - background-color: rgb(204, 132, 0); -} - -table#selettore-direzione th:active{ - background-color: rgb(255, 234, 196); -} - -table#selettore-direzione th { - border-left: 1px solid #282828; - border-right: 1px solid #282828; - padding: .7vw; - padding-top: .6vw; - padding-bottom: .6vw; - text-align: center; -} - th,td { border: none; padding: .7vw; @@ -163,6 +139,18 @@ img{ } @media (max-width: 768px) { + table#selettore-direzione th:first-child { + background-color: rgb(50, 50, 50); + border-top-left-radius: 8px; + } + table#selettore-direzione th:last-child { + background-color: rgb(50, 50, 50); + border-top-right-radius: 8px; + } + iframe{ + width: 100%; + height: 2200px; + } .search-result { display: block; width: 96.5%; @@ -201,13 +189,28 @@ img{ } } -@media (max-width: 512px) { - th,td { - font-size: 3.2vw; - } - table{ - margin-top:10px; - } +#selettore-direzione { + border-collapse: collapse; + border-radius: 8px; + width: 100%; + margin: auto; +} + +table#selettore-direzione th:hover { + background-color: rgb(204, 132, 0); +} + +table#selettore-direzione th:active{ + background-color: rgb(255, 234, 196); +} + +table#selettore-direzione th { + border-left: 1px solid #282828; + border-right: 1px solid #282828; + padding: 10.7px; + padding-top: 9.2px; + padding-bottom: 9.2px; + text-align: center; } footer { diff --git a/seta_menu/frequenze/js/infos.js b/seta_menu/frequenze/js/infos.js index 973530b..2b3e6ac 100644 --- a/seta_menu/frequenze/js/infos.js +++ b/seta_menu/frequenze/js/infos.js @@ -22,7 +22,6 @@ fetch(urlDesc) Destinazione Tempo di percorrenza (min) Frequenza (min) - Sabato dopo le 14 e domenica (min) `; const table = document.getElementById('desc-table'); if(data[0].linea==undefined){