responsive header nav et taille carte, fix css

This commit is contained in:
2024-11-21 10:42:14 +01:00
parent e50c8d95a2
commit bfb94ef05b
5 changed files with 18 additions and 44 deletions

View File

@ -7,7 +7,7 @@
text-align: center;
position: relative;
width: 155%;
max-width: 800px;
max-width: 600px;
margin: 0 auto;
height: auto;
}
@ -63,7 +63,7 @@
color: white;
background: black;
text-transform: uppercase;
font-size: 0.6rem;
font-size: 0.5rem;
padding-left: 0.5rem;
text-decoration: none;
margin-top: 0.7rem;
@ -83,9 +83,10 @@
#popup-content {
width: 300px;
padding-right: 30px;
font-size: 0.6rem !important;
}
#popup-content p {
font-size: 0.7rem;
font-size: 0.6rem !important;
}
@media (max-width: 810px) {
#popup-content {

View File

@ -61,9 +61,9 @@ class SitesMap extends BlockBase {
$x = round(($lon - $lonLeft) / ($lonRight - $lonLeft) * $vp_w);
$y = round(($latTop - $lat) / ($latTop - $latBottom) * $vp_h);
$r = 15;
$r = 12;
$m = -$r/1.5+3;
$l = $r/1.5 +4;
$l = $r/1.5 +2.5;
$sites_paths .= <<<SVGSITEPATH
<g
id="site-$index"