Files
Berlin-Live-Maps/VBB-Live-Maps-BG/style.css
T
2025-08-19 13:21:44 +02:00

68 lines
1.5 KiB
CSS

/* ==================== */
/* Grundlayout */
/* ==================== */
html, body, #map {
height: 100%;
margin: 0;
padding: 0;
}
.leaflet-marker-icon {
transition: transform 1s linear;
}
.line-label {
padding: 2px 6px;
border-radius: 3px;
font-weight: bold;
font-size: 10px;
display: inline-block;
color: white;
margin-top: 2px;
user-select: none;
font-family: Arial, sans-serif;
}
.user-location-icon {
background-color: #007bff;
border: 2px solid white;
border-radius: 50%;
width: 12px;
height: 12px;
box-shadow: 0 0 6px rgba(0, 123, 255, 0.6);
}
/* ==================== */
/* Uhr unten rechts */
/* ==================== */
#clock {
position: fixed;
right: 40px;
bottom: 40px;
z-index: 9999; /* immer über der Karte */
text-align: right;
font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
color: #ffffff;
text-shadow: 0 0 8px rgba(0,0,0,0.7);
user-select: none;
/* Hintergrund-Box */
background: rgba(0, 0, 0, 0.6); /* dunkel + durchsichtig */
padding: 16px 24px; /* Innenabstand */
border-radius: 12px; /* abgerundete Ecken */
backdrop-filter: blur(4px); /* leichter Glas-Effekt (falls Browser unterstützt) */
}
#clock .time {
font-size: clamp(42px, 6vw, 72px);
line-height: 1.1;
font-weight: 700;
}
#clock .date {
font-size: clamp(18px, 3vw, 28px);
line-height: 1.2;
opacity: 0.9;
}