Skip to content

Commit de91295

Browse files
committed
unify to single map
1 parent 1d058a7 commit de91295

8 files changed

Lines changed: 66 additions & 415 deletions

File tree

css/map.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ body { display: flex; flex-direction: column; height: 100dvh; overflow: hidden;
4545
font-size: 13px; color: #333;
4646
letter-spacing: 0.3px; font-weight: 600; display: block; margin-bottom: 4px;
4747
}
48+
.legend-other {
49+
margin-top: 10px; padding-top: 8px; border-top: 1px solid #e5e7eb;
50+
font-size: 12px; color: #555;
51+
}
4852

4953
#map { flex: 1; position: relative; width: 100%; will-change: transform; }
5054

@@ -71,6 +75,11 @@ body { display: flex; flex-direction: column; height: 100dvh; overflow: hidden;
7175
.popup-toggle:hover { color: #666; }
7276
.popup-section-body { padding-top: 4px; }
7377
.popup-meta { display: block; font-size: 11px; color: #888; margin-top: 2px; }
78+
.popup-trace {
79+
display: block; font-size: 11px; color: #92400e;
80+
background: #fef3c7; padding: 3px 6px; border-radius: 3px;
81+
margin-top: 4px;
82+
}
7483
.popup-signal-count {
7584
display: inline-block; background: #f3f4f6; color: #6b7280;
7685
font-size: 10px; font-weight: 600; padding: 0 5px; border-radius: 8px;

css/shared.css

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,13 @@ body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-
1919
}
2020
.header-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
2121
.header-disclaimer {
22-
flex: 1; text-align: center; font-size: 12px; color: #f6ed95;
22+
flex: 1; text-align: center; font-size: 12px; color: #fff37f;
2323
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
2424
padding: 0 12px;
2525
}
2626

2727
#nav { display: flex; align-items: center; gap: 8px; position: relative; margin-left: 6px; }
2828

29-
.nav-primary { display: flex; align-items: center; gap: 6px; }
30-
.nav-primary .header-link {
31-
font-size: 13px; padding: 5px 14px; border-radius: 4px; font-weight: 500;
32-
border: 1px solid rgba(255,255,255,0.3); color: #ccc; text-decoration: none;
33-
}
34-
.nav-primary .header-link:hover {
35-
background: rgba(255,255,255,0.15); color: #fff;
36-
}
37-
.nav-primary .header-link.active {
38-
background: rgba(255,255,255,0.2); color: #fff; font-weight: 600;
39-
border-color: rgba(255,255,255,0.5);
40-
}
41-
4229
.nav-menu-toggle {
4330
background: none; border: none; color: #a0a0b0; font-size: 18px;
4431
cursor: pointer; padding: 2px 4px; line-height: 1;
@@ -57,11 +44,7 @@ body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-
5744
.nav-menu .header-link:hover { color: #fff; }
5845
.nav-menu .header-link.active { color: #fff; font-weight: 600; }
5946
.nav-menu .header-link:last-child { border-bottom: none; }
60-
.nav-menu .nav-menu-mobile { display: none; }
6147

6248
@media (max-width: 600px) {
6349
.header-disclaimer { display: none; }
64-
.nav-primary .header-link { font-size: 11px; padding: 2px 8px; }
65-
.nav-primary { display: none; }
66-
.nav-menu .nav-menu-mobile { display: block; }
6750
}

datenschutz.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<meta name="robots" content="noindex, follow">
7-
<title>Datenschutzerklärung MXmap</title>
7+
<title>Datenschutzerklärung | MXmap</title>
88
<link rel="stylesheet" href="css/shared.css">
99
<link rel="stylesheet" href="css/content.css">
1010
<script defer src="js/nav.js"></script>
@@ -29,8 +29,8 @@ <h2>2. Hosting</h2>
2929
<h2>3. Externe Ressourcen (CDNs)</h2>
3030
<p>Zur Darstellung der Karte werden externe Ressourcen von Drittanbietern geladen. Dabei wird Ihre IP-Adresse an die jeweiligen Server übermittelt:</p>
3131
<ul>
32-
<li><code>unpkg.com</code> Leaflet-Kartenbibliothek und Schweizer Gemeindegrenzen (TopoJSON)</li>
33-
<li><code>basemaps.cartocdn.com</code> Kartenkacheln (CARTO)</li>
32+
<li><code>unpkg.com</code>: Leaflet-Kartenbibliothek und Schweizer Gemeindegrenzen (TopoJSON)</li>
33+
<li><code>basemaps.cartocdn.com</code>: Kartenkacheln (CARTO)</li>
3434
</ul>
3535

3636
<h2>4. Cookies</h2>

0 commit comments

Comments
 (0)