Newer
Older
website / org / gpx / 20260927_biciclettata / css / stylesheet.css
@lagfra lagfra 11 days ago 3 KB fix tooltip
/* 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;
    color: purple;
}
pre {
    text-align: center;
    margin: auto;
    color: purple;
}
#map {
    width: 100%;
    margin: auto;
}
/* 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;
}