size point carte

This commit is contained in:
ouidade 2024-10-31 00:05:37 +01:00
parent bb18e7087f
commit 3287f67f90
3 changed files with 10 additions and 9 deletions

View File

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

View File

@ -2894,7 +2894,7 @@ body {
}
.node-type-site .layout-content {
margin-top: 3rem;
margin-top: 2rem;
max-width: 100vw;
}
.node-type-site .layout-content .content_container {
@ -3002,6 +3002,7 @@ body {
}
.node-type-site .layout--threecol-25-50-25 .layout__region--second {
flex: 0 1 55% !important;
margin-top: 1rem;
}
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second {
display: flex;
@ -3141,6 +3142,7 @@ body {
.node-type-site .layout--threecol-25-50-25 .layout__region--third {
flex: 0 1 15% !important;
height: fit-content;
margin-top: 1rem;
}
@media (max-width: 500px) {
.node-type-site .layout--threecol-25-50-25 .layout__region--third {

View File

@ -1,6 +1,6 @@
.node-type-site{
.layout-content{
margin-top: 3rem;
margin-top: 2rem;
max-width: 100vw;
.content_container{
width: 90% !important;
@ -116,6 +116,7 @@
}
.layout__region--second{
flex: 0 1 55% !important;
margin-top: 1rem;
// width: 60%;
.block-region-second{
display: flex;
@ -277,13 +278,11 @@
}
}
.layout__region--third{
flex: 0 1 15% !important;
height: fit-content;
margin-top: 1rem;
@media(max-width: 500px){
display: flex;
flex-direction: column;