93 lines
1.7 KiB
CSS
93 lines
1.7 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;
|
|
text-align: right;
|
|
font-family: "Comic Sans MS", Comic Sans, cursive; /* Comic Sans einfügen */
|
|
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);
|
|
padding: 16px 24px;
|
|
border-radius: 12px;
|
|
backdrop-filter: blur(4px);
|
|
|
|
}
|
|
|
|
|
|
#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;
|
|
}
|
|
|
|
.custom-zoom {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
padding: 6px;
|
|
}
|
|
|
|
.zoom-btn {
|
|
width: 28px;
|
|
height: 28px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
color: white;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.zoom-btn:hover {
|
|
background: rgba(0, 0, 0, 0.8);
|
|
}
|