modifs version web, demande alexandre
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
All checks were successful
Deploy / Build and Deploy to Production (push) Successful in 22s
This commit is contained in:
parent
0eb6152db1
commit
87c08bc529
2 changed files with 32 additions and 26 deletions
|
|
@ -100,6 +100,7 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nw-sidenav__link:hover .nw-sidenav__label,
|
.nw-sidenav__link:hover .nw-sidenav__label,
|
||||||
|
|
@ -412,7 +413,7 @@
|
||||||
PROSE (writer fields)
|
PROSE (writer fields)
|
||||||
─────────────────────────────────────────── */
|
─────────────────────────────────────────── */
|
||||||
.nw-prose {
|
.nw-prose {
|
||||||
font-size: 1.3rem;
|
font-size: 1.4rem;
|
||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
color: var(--nw-ink-soft);
|
color: var(--nw-ink-soft);
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
|
|
@ -439,16 +440,22 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.nw-section--map__wrapper{
|
.nw-section--map__wrapper{
|
||||||
display: flex;
|
margin: 0 auto;
|
||||||
|
max-width: var(--nw-max-w);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*.nw-section--map__wrapper{
|
||||||
|
display: flex;
|
||||||
|
}*/
|
||||||
|
|
||||||
.nw-section__header__wrapper{
|
.nw-section__header__wrapper{
|
||||||
width: 33.3333%;
|
/*width: 33.3333%;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.nw-map-part{
|
.nw-map-part{
|
||||||
width: 66.6666%;
|
/*width: 66.6666%;*/
|
||||||
margin: 1.5rem 4rem 4rem 0;
|
margin: 1.5rem 0rem 4rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nw-map-wrap {
|
.nw-map-wrap {
|
||||||
|
|
@ -640,7 +647,7 @@
|
||||||
|
|
||||||
/* Corps texte du marqueur */
|
/* Corps texte du marqueur */
|
||||||
.nw-map-marker__body {
|
.nw-map-marker__body {
|
||||||
padding: 2rem 0 2rem 3rem;
|
padding: 1rem 0 2rem 3rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
@ -982,7 +989,7 @@
|
||||||
.nw-hero__content { padding: 4rem 1.25rem 2.5rem; }
|
.nw-hero__content { padding: 4rem 1.25rem 2.5rem; }
|
||||||
.nw-container { padding: 0 1.25rem; }
|
.nw-container { padding: 0 1.25rem; }
|
||||||
.nw-section__header__wrapper {width: 100%;}
|
.nw-section__header__wrapper {width: 100%;}
|
||||||
.nw-map-part {width: 100%; margin: 1.5rem 1rem;}
|
.nw-map-part {width: 100%;}
|
||||||
.nw-map-wrap { height: 320px; }
|
.nw-map-wrap { height: 320px; }
|
||||||
.nw-chapitre__body figure { margin: 1.5rem 0; }
|
.nw-chapitre__body figure { margin: 1.5rem 0; }
|
||||||
.nw-geoformat-hero { min-height: 35vh; }
|
.nw-geoformat-hero { min-height: 35vh; }
|
||||||
|
|
|
||||||
|
|
@ -146,8 +146,8 @@ foreach ($subpages as $subpage) {
|
||||||
───────────────────────────────────────── -->
|
───────────────────────────────────────── -->
|
||||||
<?php if ($tpl === 'map'): ?>
|
<?php if ($tpl === 'map'): ?>
|
||||||
<section class="nw-section nw-section--map" id="section-<?= $subpage->uid() ?>">
|
<section class="nw-section nw-section--map" id="section-<?= $subpage->uid() ?>">
|
||||||
<div class="nw-section--map__wrapper">
|
<div class="nw-section--map__wrapper nw-container">
|
||||||
<div class="nw-container nw-section__header__wrapper">
|
<!-- <div class="nw-container nw-section__header__wrapper"> -->
|
||||||
<header class="nw-section__header">
|
<header class="nw-section__header">
|
||||||
<h2 class="nw-section__title"><?= html($subpage->title()) ?></h2>
|
<h2 class="nw-section__title"><?= html($subpage->title()) ?></h2>
|
||||||
<?php if ($subpage->tags()->isNotEmpty()): ?>
|
<?php if ($subpage->tags()->isNotEmpty()): ?>
|
||||||
|
|
@ -158,12 +158,6 @@ foreach ($subpages as $subpage) {
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<?php if ($subpage->intro()->isNotEmpty()): ?>
|
|
||||||
<div class="nw-prose"><?= $subpage->intro() ?></div>
|
|
||||||
<?php endif ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Carte MapLibre inline -->
|
<!-- Carte MapLibre inline -->
|
||||||
<?php
|
<?php
|
||||||
$markers = $subpage->children()->listed()->filterBy('intendedTemplate', 'marker');
|
$markers = $subpage->children()->listed()->filterBy('intendedTemplate', 'marker');
|
||||||
|
|
@ -185,8 +179,13 @@ foreach ($subpages as $subpage) {
|
||||||
</div>
|
</div>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<?php if ($subpage->intro()->isNotEmpty()): ?>
|
||||||
|
<div class="nw-prose"><?= $subpage->intro() ?></div>
|
||||||
|
<?php endif ?>
|
||||||
|
<!-- </div> -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- ── Liste des marqueurs sous la carte ── -->
|
<!-- ── Liste des marqueurs sous la carte ── -->
|
||||||
<?php if ($markers->isNotEmpty()): ?>
|
<?php if ($markers->isNotEmpty()): ?>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue