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); $x = round(($lon - $lonLeft) / ($lonRight - $lonLeft) * $vp_w);
$y = round(($latTop - $lat) / ($latTop - $latBottom) * $vp_h); $y = round(($latTop - $lat) / ($latTop - $latBottom) * $vp_h);
$r = 10; $r = 15;
$m = -$r+4; $m = -$r/1.5+3;
$l = $r*2-7; $l = $r/1.5 +4;
$sites_paths .= <<<SVGSITEPATH $sites_paths .= <<<SVGSITEPATH
<g <g
id="site-$index" id="site-$index"

View File

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

View File

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