Compare commits

...

2 Commits

Author SHA1 Message Date
Leocraft1
c22af6b12f br 2025-10-20 16:51:29 +02:00
Leocraft1
9cb4a39963 Fix grafica mobile 2025-10-20 16:50:15 +02:00
3 changed files with 35 additions and 33 deletions

View File

@@ -32,7 +32,7 @@
<hr class="solid">
<h1 class="nospazio">Novità sito:</h1>
<p class="novitasito">
ATTENZIONE! Abbiamo cambiato provider email, clicca su "Contattaci" nel footer qui sotto o in <a class="novita" href="chisiamo.html">chi siamo</a><br>per vedere il nuovo indirizzo.
ATTENZIONE! Abbiamo cambiato provider email, clicca su "Contattaci" nel footer qui sotto o in <a class="novita" href="chisiamo.html">chi siamo</a> per vedere il nuovo indirizzo.
</p>
<div class="container">
<div class="riga">

View File

@@ -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 {

View File

@@ -22,7 +22,6 @@ fetch(urlDesc)
<th>Destinazione</th>
<th>Tempo di percorrenza (min)</th>
<th>Frequenza (min)</th>
<th>Sabato dopo le 14 e domenica (min)</th>
</table>`;
const table = document.getElementById('desc-table');
if(data[0].linea==undefined){