diff --git a/org/gpx/20260314_london_italy/css/stylesheet.css b/org/gpx/20260314_london_italy/css/stylesheet.css index 4ece4e7..a658e49 100644 --- a/org/gpx/20260314_london_italy/css/stylesheet.css +++ b/org/gpx/20260314_london_italy/css/stylesheet.css @@ -1,7 +1,101 @@ -html { - font-family:sans-serif; - color: white +/* html { */ +/* font-family:sans-serif; */ +/* color: white */ +/* } */ +/* h1 { */ +/* text-align: center; */ +/* margin: auto; */ +/* color: purple; */ +/* } */ +/* pre { */ +/* text-align: center; */ +/* margin: auto; */ +/* color: purple; */ +/* } */ +/* #map { */ +/* width: 1280px; */ +/* height: 720px; */ +/* margin: auto; */ +/* } */ +/* body { */ +/* background-color: #F6F1EC; */ +/* } */ + +/* /\* TOOLTIP formatting *\/ */ +/* .maptooltip { */ +/* font-size: 14px; */ +/* background-color: black; */ +/* color: #F6F1EC; */ +/* padding: 20px; */ +/* margin: 0px 5px 0px 5px; */ +/* border-radius: 5px; */ +/* width: 110%; */ +/* height: 100%; */ +/* } */ + +/* .maptooltip-left { */ +/* float: left; */ +/* text-align: left; */ +/* width: 50%; */ +/* height: 50%; */ +/* text-wrap: wrap; */ +/* } */ + +/* .maptooltip-right { */ +/* float: right; */ +/* text-align: right; */ +/* width: 50%; */ +/* height: 50%; */ +/* text-wrap: wrap; */ +/* } */ + +/* .maptooltip h3 { */ +/* text-align: center; */ +/* margin-top: 0px; */ +/* margin-bottom: 0px; */ +/* } */ + +/* .maptooltip h4 { */ +/* text-align: center; */ +/* margin-top: 5px; */ +/* margin-bottom: 0px; */ +/* } */ + +/* /\* override default leaflet formatting *\/ */ +/* .leaflet-tooltip { */ +/* background-color: transparent; */ +/* border: 5px; */ +/* box-shadow: none; */ +/* } */ + +/* /\* hide tooltip arrow *\/ */ +/* .leaflet-tooltip-top:before, */ +/* .leaflet-tooltip-bottom:before, */ +/* .leaflet-tooltip-left:before, */ +/* .leaflet-tooltip-right:before { */ +/* border: none !important; */ +/* } */ + +/* div to clear float style */ +.clear { + clear: both; } + +@media (min-width: 768px) { + #map { + min-width: 640px; + min-height: 840px; + } +} + +@media(max-width:768px) { + #map { + min-width: 480px; + min-height: 640px; + + } +} + h1 { text-align: center; margin: auto; @@ -13,10 +107,94 @@ color: purple; } #map { - width: 1280px; - height: 720px; + width: 100%; margin: auto; } -body { - background-color: #F6F1EC; +/* TOOLTIP formatting */ +.maptooltip { + font-size: 14px; + background-color: black; + color: #F6F1EC; + padding: 20px; + margin: 0px 5px 0px 5px; + border-radius: 5px; + width: 110%; + height: 100%; +} + +.maptooltip-left { + float: left; + text-align: left; + width: 50%; + height: 50%; + text-wrap: wrap; +} + +.maptooltip-right { + float: right; + text-align: right; + width: 50%; + height: 50%; + text-wrap: wrap; +} + +.maptooltip h3 { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; +} + +.maptooltip h4 { + text-align: center; + margin-top: 5px; + margin-bottom: 0px; +} + +/* override default leaflet formatting */ +.leaflet-tooltip { + background-color: transparent; + border: 5px; + box-shadow: none; +} + +/* hide tooltip arrow */ +.leaflet-tooltip-top:before, +.leaflet-tooltip-bottom:before, +.leaflet-tooltip-left:before, +.leaflet-tooltip-right:before { + border: none !important; +} + +/* track list */ +.tracks { + display: inline-block; + text-align: center; + /* width: 60%; */ + /* margin-left: 20%; */ + list-style: none; +} +.tracks .track a { + display: flex; + padding: 1em; + color: black; + cursor: pointer; +} +.tracks .track a:hover, +.tracks .track a:focus, +.tracks .track a:active { + text-decoration: none; + background: #f9e197; +} +.tracks .track date { + vertical-align: middle; + padding-right: 1rem; + color: grey; +} + +.tracks .track span { + text-align: left; +} + +.tracks p { + font-size: 14px; } diff --git a/org/gpx/20260927_biciclettata/css/stylesheet.css b/org/gpx/20260927_biciclettata/css/stylesheet.css index 4ece4e7..a658e49 100644 --- a/org/gpx/20260927_biciclettata/css/stylesheet.css +++ b/org/gpx/20260927_biciclettata/css/stylesheet.css @@ -1,7 +1,101 @@ -html { - font-family:sans-serif; - color: white +/* html { */ +/* font-family:sans-serif; */ +/* color: white */ +/* } */ +/* h1 { */ +/* text-align: center; */ +/* margin: auto; */ +/* color: purple; */ +/* } */ +/* pre { */ +/* text-align: center; */ +/* margin: auto; */ +/* color: purple; */ +/* } */ +/* #map { */ +/* width: 1280px; */ +/* height: 720px; */ +/* margin: auto; */ +/* } */ +/* body { */ +/* background-color: #F6F1EC; */ +/* } */ + +/* /\* TOOLTIP formatting *\/ */ +/* .maptooltip { */ +/* font-size: 14px; */ +/* background-color: black; */ +/* color: #F6F1EC; */ +/* padding: 20px; */ +/* margin: 0px 5px 0px 5px; */ +/* border-radius: 5px; */ +/* width: 110%; */ +/* height: 100%; */ +/* } */ + +/* .maptooltip-left { */ +/* float: left; */ +/* text-align: left; */ +/* width: 50%; */ +/* height: 50%; */ +/* text-wrap: wrap; */ +/* } */ + +/* .maptooltip-right { */ +/* float: right; */ +/* text-align: right; */ +/* width: 50%; */ +/* height: 50%; */ +/* text-wrap: wrap; */ +/* } */ + +/* .maptooltip h3 { */ +/* text-align: center; */ +/* margin-top: 0px; */ +/* margin-bottom: 0px; */ +/* } */ + +/* .maptooltip h4 { */ +/* text-align: center; */ +/* margin-top: 5px; */ +/* margin-bottom: 0px; */ +/* } */ + +/* /\* override default leaflet formatting *\/ */ +/* .leaflet-tooltip { */ +/* background-color: transparent; */ +/* border: 5px; */ +/* box-shadow: none; */ +/* } */ + +/* /\* hide tooltip arrow *\/ */ +/* .leaflet-tooltip-top:before, */ +/* .leaflet-tooltip-bottom:before, */ +/* .leaflet-tooltip-left:before, */ +/* .leaflet-tooltip-right:before { */ +/* border: none !important; */ +/* } */ + +/* div to clear float style */ +.clear { + clear: both; } + +@media (min-width: 768px) { + #map { + min-width: 640px; + min-height: 840px; + } +} + +@media(max-width:768px) { + #map { + min-width: 480px; + min-height: 640px; + + } +} + h1 { text-align: center; margin: auto; @@ -13,10 +107,94 @@ color: purple; } #map { - width: 1280px; - height: 720px; + width: 100%; margin: auto; } -body { - background-color: #F6F1EC; +/* TOOLTIP formatting */ +.maptooltip { + font-size: 14px; + background-color: black; + color: #F6F1EC; + padding: 20px; + margin: 0px 5px 0px 5px; + border-radius: 5px; + width: 110%; + height: 100%; +} + +.maptooltip-left { + float: left; + text-align: left; + width: 50%; + height: 50%; + text-wrap: wrap; +} + +.maptooltip-right { + float: right; + text-align: right; + width: 50%; + height: 50%; + text-wrap: wrap; +} + +.maptooltip h3 { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; +} + +.maptooltip h4 { + text-align: center; + margin-top: 5px; + margin-bottom: 0px; +} + +/* override default leaflet formatting */ +.leaflet-tooltip { + background-color: transparent; + border: 5px; + box-shadow: none; +} + +/* hide tooltip arrow */ +.leaflet-tooltip-top:before, +.leaflet-tooltip-bottom:before, +.leaflet-tooltip-left:before, +.leaflet-tooltip-right:before { + border: none !important; +} + +/* track list */ +.tracks { + display: inline-block; + text-align: center; + /* width: 60%; */ + /* margin-left: 20%; */ + list-style: none; +} +.tracks .track a { + display: flex; + padding: 1em; + color: black; + cursor: pointer; +} +.tracks .track a:hover, +.tracks .track a:focus, +.tracks .track a:active { + text-decoration: none; + background: #f9e197; +} +.tracks .track date { + vertical-align: middle; + padding-right: 1rem; + color: grey; +} + +.tracks .track span { + text-align: left; +} + +.tracks p { + font-size: 14px; }