From a1d81718e11282964ff9e18e983b1d38b476258b Mon Sep 17 00:00:00 2001
From: Curry141 <135717077+Daniongithub@users.noreply.github.com>
Date: Tue, 9 Sep 2025 17:51:42 +0200
Subject: [PATCH] Sync files from main repo, new version.
---
css/style.css | 65 ++++++++++++++++++++++++--------
fermata.html | 6 ++-
index.html | 32 +++++++++++++---
info.html | 40 ++++++++++++++++++++
js/cercafermata.js | 92 ++++++++++++++++++++++++++++++++++++++++++----
js/fermata.js | 13 ++++---
6 files changed, 212 insertions(+), 36 deletions(-)
create mode 100644 info.html
diff --git a/css/style.css b/css/style.css
index f10d18b..caa4c6a 100644
--- a/css/style.css
+++ b/css/style.css
@@ -1,19 +1,19 @@
-:root {
- --primary-color: #afafaf;
- --accent-color: #0074d9;
- --bg-color: #2e2d2d;
- --white: #ffffff;
- --light-gray: #848991;
- --border-color: #727070;
- --text-color: #ffffff;
- --black: #000000;
-}
-
@media (max-width: 768px) {
.search-result {
display: block !important;
width: 95.5% !important;
}
+ #radios{
+ display: table !important;
+ margin-left: auto;
+ margin-right: auto;
+ }
+ #radios div{
+ margin-top: 8px;
+ }
+ #tabella-container{
+ overflow-x: scroll;
+ }
}
body {
@@ -23,6 +23,10 @@ body {
font-family: Titillium Web;
}
+input{
+ margin-top: 5px;
+}
+
.search-result {
border: 2px solid white;
border-radius: 8px;
@@ -33,11 +37,11 @@ body {
margin-top: 10px;
cursor: pointer;
display: inline-block;
+ padding: 2px;
}
table {
border-collapse: collapse;
- border-radius: 8px;
width: 85%;
margin: auto;
margin-top: 1rem;
@@ -47,8 +51,7 @@ th {
background-color: lightslategray;
}
-th,
-td {
+th, td {
border: 2px solid #444;
padding: 8px;
text-align: left;
@@ -59,7 +62,7 @@ tr:nth-child(even) {
}
.bus-card-red {
- background-color: rgb(241, 120, 120) !important;
+ background-color: red !important;
}
header {
@@ -114,7 +117,11 @@ a {
padding: 10px;
font-size: 16px;
border-radius: 6px;
- border: 1px solid var(--border-color);
+ border: 1px solid #727070;
+}
+
+#bacino{
+ margin-top: 10px;
}
footer {
@@ -122,4 +129,30 @@ footer {
bottom: 0;
left: 0;
width: 100%;
+}
+
+.info{
+ color: white;
+}
+
+.lista li{
+ list-style-type: disc;
+ list-style-position: inside;
+ margin-bottom: 10px;
+}
+#radios{
+ margin-top: 15px;
+ margin-bottom: 15px;
+ display: flex;
+ justify-content: center;
+}
+
+div#radios div{
+ display: flex;
+ align-items: center;
+ width: auto;
+ margin-left: 8px;
+ padding: 8px;
+ border: 2px #404040 solid;
+ border-radius: 8px;
}
\ No newline at end of file
diff --git a/fermata.html b/fermata.html
index ab732d1..0bd849a 100644
--- a/fermata.html
+++ b/fermata.html
@@ -14,16 +14,18 @@
Attenzione: i dati qui visualizzati sono direttamente ottenuti da Start Romagna,
pertanto eventuali imprecisioni o errori non sono a carico nostro.
Versione API: