This commit is contained in:
parent
70bd4f2f2c
commit
7dad587062
9 changed files with 157 additions and 120 deletions
|
|
@ -1,7 +1,8 @@
|
|||
#summary__hero{
|
||||
#investigation__hero{
|
||||
width: 100%;
|
||||
position: relative;
|
||||
left: 0;
|
||||
padding-top: calc(var(--spacing)*4);
|
||||
margin-bottom: calc(var(--spacing)*3);
|
||||
|
||||
|
||||
|
|
@ -17,13 +17,12 @@
|
|||
.site-header__inner{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
// border-bottom: 1px solid var(--color-bg);
|
||||
// transition: border-color ease-in .5s;
|
||||
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--gap);
|
||||
gap: calc(var(--gap)*0.25);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -36,8 +35,11 @@
|
|||
|
||||
|
||||
#site-title {
|
||||
flex-grow: 2;
|
||||
// opacity: 0;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
|
||||
width: 140px;
|
||||
|
||||
svg{
|
||||
width: 100px;
|
||||
@media #{$small}{
|
||||
|
|
@ -46,27 +48,30 @@
|
|||
}
|
||||
}
|
||||
|
||||
.header__title-page{
|
||||
display: none;
|
||||
flex-grow: 2;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: uppercase;
|
||||
font-size: var(--fs-small);
|
||||
line-height: 2;
|
||||
|
||||
}
|
||||
#nav-highlight,
|
||||
#nav-investigation{
|
||||
flex-grow: 2;
|
||||
ul{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--gap);
|
||||
list-style-type: none;
|
||||
|
||||
}
|
||||
}
|
||||
#nav-highlight ul{
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#nav-investigation{
|
||||
display: none;
|
||||
}
|
||||
|
||||
ul{
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--gap);
|
||||
text-transform: uppercase;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
|
||||
#theme-toggle{
|
||||
|
|
@ -85,8 +90,10 @@
|
|||
|
||||
#lang-toggle{
|
||||
display: flex;
|
||||
gap: 1ch;
|
||||
button{
|
||||
gap: 0.75ch;
|
||||
padding-right: 1.5ch;
|
||||
a{
|
||||
font-size: var(--fs-small);
|
||||
font-weight: 500;
|
||||
}
|
||||
button:disabled{ color: var(--color-txt-light); }
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ body.is-hidden .btn--back-to-top {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--gap);
|
||||
gap: calc(var(--gap) * 0.25);
|
||||
}
|
||||
#site-header a {
|
||||
text-decoration: none;
|
||||
|
|
@ -180,7 +180,9 @@ body.is-hidden .btn--back-to-top {
|
|||
color: var(--grey-200);
|
||||
}
|
||||
#site-header #site-title {
|
||||
flex-grow: 2;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
width: 140px;
|
||||
}
|
||||
#site-header #site-title svg {
|
||||
width: 100px;
|
||||
|
|
@ -190,24 +192,24 @@ body.is-hidden .btn--back-to-top {
|
|||
width: 80px;
|
||||
}
|
||||
}
|
||||
#site-header .header__title-page {
|
||||
display: none;
|
||||
#site-header #nav-highlight,
|
||||
#site-header #nav-investigation {
|
||||
flex-grow: 2;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: uppercase;
|
||||
font-size: var(--fs-small);
|
||||
line-height: 2;
|
||||
}
|
||||
#site-header ul {
|
||||
list-style-type: none;
|
||||
#site-header #nav-highlight ul,
|
||||
#site-header #nav-investigation ul {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--gap);
|
||||
text-transform: uppercase;
|
||||
list-style-type: none;
|
||||
}
|
||||
#site-header #nav-highlight ul {
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
#site-header #nav-investigation {
|
||||
display: none;
|
||||
}
|
||||
#site-header #theme-toggle {
|
||||
width: var(--h-block);
|
||||
|
|
@ -223,9 +225,11 @@ body.is-hidden .btn--back-to-top {
|
|||
}
|
||||
#site-header #lang-toggle {
|
||||
display: flex;
|
||||
gap: 1ch;
|
||||
gap: 0.75ch;
|
||||
padding-right: 1.5ch;
|
||||
}
|
||||
#site-header #lang-toggle button {
|
||||
#site-header #lang-toggle a {
|
||||
font-size: var(--fs-small);
|
||||
font-weight: 500;
|
||||
}
|
||||
#site-header #lang-toggle button:disabled {
|
||||
|
|
@ -607,99 +611,100 @@ button.sort[data-sort-type=up] .arrow {
|
|||
opacity: 0 !important;
|
||||
}
|
||||
}
|
||||
#summary__hero {
|
||||
#investigation__hero {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
left: 0;
|
||||
padding-top: calc(var(--spacing) * 4);
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
}
|
||||
#summary__hero figcaption {
|
||||
#investigation__hero figcaption {
|
||||
color: var(--color-txt-light);
|
||||
font-size: var(--fs-small);
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
#summary__hero figcaption {
|
||||
#investigation__hero figcaption {
|
||||
font-size: var(--fs-xsmall);
|
||||
}
|
||||
}
|
||||
#summary__hero figcaption {
|
||||
#investigation__hero figcaption {
|
||||
padding: calc(var(--spacing) * 0.5) var(--padding-body);
|
||||
padding-bottom: 0;
|
||||
text-align: center;
|
||||
width: var(--max-w-content);
|
||||
margin-inline: auto;
|
||||
}
|
||||
#summary__hero figure {
|
||||
#investigation__hero figure {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
#summary__hero figure img {
|
||||
#investigation__hero figure img {
|
||||
width: 100%;
|
||||
aspect-ratio: 2/1;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
#summary__hero .swiper-slide {
|
||||
#investigation__hero .swiper-slide {
|
||||
position: relative;
|
||||
}
|
||||
#summary__hero .swiper-button-prev, #summary__hero .swiper-button-next {
|
||||
#investigation__hero .swiper-button-prev, #investigation__hero .swiper-button-next {
|
||||
--swiper-navigation-sides-offset: 32px;
|
||||
--swiper-navigation-size: 32px;
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
#summary__hero .swiper-button-prev, #summary__hero .swiper-button-next {
|
||||
#investigation__hero .swiper-button-prev, #investigation__hero .swiper-button-next {
|
||||
--swiper-navigation-sides-offset: 15px;
|
||||
--swiper-navigation-size: 15px;
|
||||
}
|
||||
}
|
||||
#summary__hero .swiper-button-prev, #summary__hero .swiper-button-next {
|
||||
#investigation__hero .swiper-button-prev, #investigation__hero .swiper-button-next {
|
||||
opacity: 0.8;
|
||||
top: calc(450vw - var(--swiper-navigation-size) * 0.5);
|
||||
margin-top: 0;
|
||||
}
|
||||
#summary__hero .swiper-button-prev svg, #summary__hero .swiper-button-next svg {
|
||||
#investigation__hero .swiper-button-prev svg, #investigation__hero .swiper-button-next svg {
|
||||
color: white;
|
||||
}
|
||||
#summary__hero .swiper-pagination {
|
||||
#investigation__hero .swiper-pagination {
|
||||
position: static;
|
||||
margin-top: calc(var(--spacing) * 0.5);
|
||||
padding: 0 var(--padding-body);
|
||||
text-align: center;
|
||||
}
|
||||
#summary__hero .swiper-pagination .swiper-pagination-bullet {
|
||||
#investigation__hero .swiper-pagination .swiper-pagination-bullet {
|
||||
width: 15px;
|
||||
height: 4px;
|
||||
border-radius: 2px;
|
||||
background: var(--color-txt-light);
|
||||
}
|
||||
#summary__hero .swiper-pagination .swiper-pagination-bullet-active {
|
||||
#investigation__hero .swiper-pagination .swiper-pagination-bullet-active {
|
||||
background: var(--color-txt);
|
||||
opacity: 0.8;
|
||||
}
|
||||
#summary__hero .player-container {
|
||||
#investigation__hero .player-container {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
aspect-ratio: 2/1;
|
||||
}
|
||||
#summary__hero .player-container .extract, #summary__hero .player-container video {
|
||||
#investigation__hero .player-container .extract, #investigation__hero .player-container video {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
position: relative;
|
||||
}
|
||||
#summary__hero .player-container .video-full {
|
||||
#investigation__hero .player-container .video-full {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
#summary__hero .player-container .video-full iframe {
|
||||
#investigation__hero .player-container .video-full iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
#summary__hero .player-container .video-full {
|
||||
#investigation__hero .player-container .video-full {
|
||||
display: none;
|
||||
}
|
||||
#summary__hero .player-container #hero-play-video {
|
||||
#investigation__hero .player-container #hero-play-video {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
|
@ -710,7 +715,7 @@ button.sort[data-sort-type=up] .arrow {
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
#summary__hero .player-container #hero-play-video .btn--bold {
|
||||
#investigation__hero .player-container #hero-play-video .btn--bold {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
|
@ -718,15 +723,15 @@ button.sort[data-sort-type=up] .arrow {
|
|||
padding: 0 1ch;
|
||||
opacity: 0.8;
|
||||
}
|
||||
#summary__hero .player-container #hero-play-video .btn--bold:hover {
|
||||
#investigation__hero .player-container #hero-play-video .btn--bold:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
#summary__hero .player-container #hero-play-video .text {
|
||||
#investigation__hero .player-container #hero-play-video .text {
|
||||
color: black;
|
||||
line-height: 1;
|
||||
padding-top: 4px;
|
||||
}
|
||||
#summary__hero .player-container #hero-play-video svg {
|
||||
#investigation__hero .player-container #hero-play-video svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
fill: black;
|
||||
|
|
@ -2008,7 +2013,7 @@ button.sort[data-sort-type=up] .arrow {
|
|||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--gap);
|
||||
gap: calc(var(--gap) * 0.25);
|
||||
}
|
||||
#site-header a {
|
||||
text-decoration: none;
|
||||
|
|
@ -2017,7 +2022,9 @@ button.sort[data-sort-type=up] .arrow {
|
|||
color: var(--grey-200);
|
||||
}
|
||||
#site-header #site-title {
|
||||
flex-grow: 2;
|
||||
position: relative;
|
||||
top: -3px;
|
||||
width: 140px;
|
||||
}
|
||||
#site-header #site-title svg {
|
||||
width: 100px;
|
||||
|
|
@ -2027,24 +2034,24 @@ button.sort[data-sort-type=up] .arrow {
|
|||
width: 80px;
|
||||
}
|
||||
}
|
||||
#site-header .header__title-page {
|
||||
display: none;
|
||||
#site-header #nav-highlight,
|
||||
#site-header #nav-investigation {
|
||||
flex-grow: 2;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: uppercase;
|
||||
font-size: var(--fs-small);
|
||||
line-height: 2;
|
||||
}
|
||||
#site-header ul {
|
||||
list-style-type: none;
|
||||
#site-header #nav-highlight ul,
|
||||
#site-header #nav-investigation ul {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--gap);
|
||||
text-transform: uppercase;
|
||||
list-style-type: none;
|
||||
}
|
||||
#site-header #nav-highlight ul {
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
#site-header #nav-investigation {
|
||||
display: none;
|
||||
}
|
||||
#site-header #theme-toggle {
|
||||
width: var(--h-block);
|
||||
|
|
@ -2060,9 +2067,11 @@ button.sort[data-sort-type=up] .arrow {
|
|||
}
|
||||
#site-header #lang-toggle {
|
||||
display: flex;
|
||||
gap: 1ch;
|
||||
gap: 0.75ch;
|
||||
padding-right: 1.5ch;
|
||||
}
|
||||
#site-header #lang-toggle button {
|
||||
#site-header #lang-toggle a {
|
||||
font-size: var(--fs-small);
|
||||
font-weight: 500;
|
||||
}
|
||||
#site-header #lang-toggle button:disabled {
|
||||
|
|
@ -2449,6 +2458,10 @@ main .page__header .description {
|
|||
[data-template=investigation] main .page__header {
|
||||
margin-inline: auto;
|
||||
max-width: var(--max-w-content);
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
[data-template=investigation] main .page__header .description {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
[data-template=investigation] main .page__content {
|
||||
max-width: 100%;
|
||||
|
|
@ -2485,7 +2498,8 @@ main .page__header .description {
|
|||
}
|
||||
[data-template=investigation] main .investigation__aside {
|
||||
max-width: var(--max-w-cards);
|
||||
margin: calc(var(--spacing) * 4) auto;
|
||||
margin-inline: auto;
|
||||
padding-top: calc(var(--spacing) * 4);
|
||||
}
|
||||
[data-template=investigation] main .investigation__aside .aside__title {
|
||||
font-weight: 500;
|
||||
|
|
@ -2493,23 +2507,23 @@ main .page__header .description {
|
|||
margin-bottom: calc(var(--spacing) * 1);
|
||||
}
|
||||
|
||||
.investigation__content {
|
||||
margin-top: calc(var(--spacing) * 4);
|
||||
#investigation__content {
|
||||
padding-top: calc(var(--spacing) * 4);
|
||||
}
|
||||
.investigation__content .section-content {
|
||||
#investigation__content .section-content {
|
||||
padding-left: calc(var(--padding-body) * 1.5);
|
||||
padding-right: calc(var(--padding-body) * 1.5);
|
||||
margin-bottom: calc(var(--spacing) * 6);
|
||||
}
|
||||
.investigation__content .section-content:target {
|
||||
#investigation__content .section-content:target {
|
||||
padding-top: calc(var(--header-h) + var(--spacing) * 2);
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
.investigation__content .section-content:target {
|
||||
#investigation__content .section-content:target {
|
||||
padding-top: calc(var(--header-h) + var(--spacing) * 0.5);
|
||||
}
|
||||
}
|
||||
.investigation__content .section-title {
|
||||
#investigation__content .section-title {
|
||||
max-width: var(--max-w-content);
|
||||
margin-inline: auto;
|
||||
margin-bottom: calc(var(--spacing) * 2);
|
||||
|
|
@ -2518,11 +2532,11 @@ main .page__header .description {
|
|||
text-wrap: balance;
|
||||
max-width: var(--max-w-content);
|
||||
}
|
||||
.investigation__content .section-txt {
|
||||
#investigation__content .section-txt {
|
||||
max-width: var(--max-w-content);
|
||||
margin-inline: auto;
|
||||
}
|
||||
.investigation__content .subsection-w-media {
|
||||
#investigation__content .subsection-w-media {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: var(--padding-body);
|
||||
|
|
@ -2530,7 +2544,7 @@ main .page__header .description {
|
|||
margin-top: calc(var(--spacing) * 2);
|
||||
position: relative;
|
||||
}
|
||||
.investigation__content .subsection-w-media .media {
|
||||
#investigation__content .subsection-w-media .media {
|
||||
margin-inline: auto;
|
||||
max-width: var(--max-w-content);
|
||||
padding-left: var(--padding-inner);
|
||||
|
|
@ -2539,39 +2553,39 @@ main .page__header .description {
|
|||
top: calc(var(--header-h) + var(--spacing));
|
||||
align-self: start;
|
||||
}
|
||||
.investigation__content .subsection-txt {
|
||||
#investigation__content .subsection-txt {
|
||||
min-height: calc(100vh - var(--header-h));
|
||||
max-width: var(--max-w-content);
|
||||
padding-left: var(--padding-inner);
|
||||
padding-right: var(--padding-inner);
|
||||
padding-bottom: calc(var(--spacing) * 6);
|
||||
}
|
||||
.investigation__content .subsection-w-hscroll {
|
||||
#investigation__content .subsection-w-hscroll {
|
||||
position: relative;
|
||||
margin-bottom: calc(var(--spacing) * 4);
|
||||
}
|
||||
.investigation__content .subsection-w-hscroll .horizontal-scroll {
|
||||
#investigation__content .subsection-w-hscroll .horizontal-scroll {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.investigation__content .subsection-w-hscroll .horizontal-scroll-wrapper {
|
||||
#investigation__content .subsection-w-hscroll .horizontal-scroll-wrapper {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
will-change: transform;
|
||||
}
|
||||
.investigation__content .subsection-w-hscroll .horizontal-scroll-slide {
|
||||
#investigation__content .subsection-w-hscroll .horizontal-scroll-slide {
|
||||
flex-shrink: 0;
|
||||
width: 90vw;
|
||||
max-width: 700px;
|
||||
padding: 0 calc(var(--spacing) * 1);
|
||||
}
|
||||
.investigation__content .subsection-w-hscroll .horizontal-scroll-slide figure, .investigation__content .subsection-w-hscroll .horizontal-scroll-slide img {
|
||||
#investigation__content .subsection-w-hscroll .horizontal-scroll-slide figure, #investigation__content .subsection-w-hscroll .horizontal-scroll-slide img {
|
||||
width: 100%;
|
||||
}
|
||||
.investigation__content .subsection-w-hscroll .horizontal-scroll-pagination {
|
||||
#investigation__content .subsection-w-hscroll .horizontal-scroll-pagination {
|
||||
position: fixed;
|
||||
bottom: calc(var(--spacing) * 2);
|
||||
left: 50%;
|
||||
|
|
@ -2580,13 +2594,13 @@ main .page__header .description {
|
|||
gap: 8px;
|
||||
z-index: 10;
|
||||
}
|
||||
.investigation__content p {
|
||||
#investigation__content p {
|
||||
margin: calc(var(--spacing) * 0.75) 0;
|
||||
}
|
||||
.investigation__content ul {
|
||||
#investigation__content ul {
|
||||
padding-left: 3ch;
|
||||
}
|
||||
.investigation__content ul li {
|
||||
#investigation__content ul li {
|
||||
margin: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -10,12 +10,12 @@
|
|||
@import "components/buttons";
|
||||
@import "components/tags";
|
||||
@import "components/keywords";
|
||||
@import "components/details-summary";
|
||||
// @import "components/details-summary";
|
||||
@import "components/sort";
|
||||
@import "components/btn-group-mobile";
|
||||
|
||||
@import "components/figures";
|
||||
@import "components/summary-hero";
|
||||
@import "components/investigation-hero";
|
||||
@import "components/form-newsletter";
|
||||
@import "components/search-form";
|
||||
@import "components/list-socials";
|
||||
|
|
|
|||
|
|
@ -7,6 +7,10 @@
|
|||
.page__header {
|
||||
margin-inline: auto;
|
||||
max-width: var(--max-w-content);
|
||||
margin-bottom: 0px;
|
||||
.description{
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.page__content{
|
||||
|
|
@ -94,7 +98,8 @@
|
|||
|
||||
.investigation__aside{
|
||||
max-width: var(--max-w-cards);
|
||||
margin: calc(var(--spacing)*4) auto;
|
||||
margin-inline: auto;
|
||||
padding-top: calc(var(--spacing)*4);
|
||||
|
||||
.aside__title{
|
||||
font-weight: 500;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
.investigation__content {
|
||||
#investigation__content {
|
||||
|
||||
margin-top: calc(var(--spacing) * 4);
|
||||
padding-top: calc(var(--spacing) * 4);
|
||||
|
||||
.section-content {
|
||||
// min-height: calc(100vh - var(--header-h));
|
||||
|
|
|
|||
|
|
@ -39,17 +39,27 @@
|
|||
</a>
|
||||
</h1>
|
||||
|
||||
<!-- Note: toujours mettre .header__title-page (j’en ai besoin pour la mise en forme) mais le laisser vide sur la plupart des pages sauf les pages enquêtes -->
|
||||
<p class="header__title-page">L’exécution de Nidal et Khaled ‘Amirah à Naplouse</p>
|
||||
|
||||
|
||||
<nav id="nav-highlight">
|
||||
<ul>
|
||||
<li><a href="/enquetes">Enquêtes</a></li>
|
||||
<li><a href="/impacts">Impact</a></li>
|
||||
<li><a href="/investigation__content">Enquête</a></li>
|
||||
<li><a href="/impacts">Laboratoire</a></li>
|
||||
<li class="soutenir"><a targer="_blank" href="https://soutenir.index.ngo/">Soutenez-nous</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<nav id="nav-investigation">
|
||||
<ul>
|
||||
<li><a href="#investigation__hero">Vidéo</a></li>
|
||||
<li><a href="#investigation__content">Enquête</a></li>
|
||||
<li><a href="#methodo">Méthodologies</a></li>
|
||||
<li><a href="#impacts">Impact</a></li>
|
||||
<li><a href="#related-investigations">En lien</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<button id="theme-toggle">
|
||||
<svg style="fill: var(--color-txt)" class="switch" width="24" height="24" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M22 41C32.4934 41 41 32.4934 41 22C41 11.5066 32.4934 3 22
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
<?php if ($page->heroType()->value() == 'image'): ?>
|
||||
<?php if ($heroImage = $page->heroImages()->toFile()): ?>
|
||||
<!-- HERO IMAGE SIMPLE -->
|
||||
<div id="summary__hero">
|
||||
<div id="investigation__hero">
|
||||
<figure>
|
||||
<img src="<?= $heroImage->url() ?>" alt="<?= $page->title()->esc() ?>">
|
||||
</figure>
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
<?php elseif ($page->heroType()->value() == 'video'): ?>
|
||||
<!-- HERO VIDEO -->
|
||||
<div id="summary__hero" class="hero-video">
|
||||
<div id="investigation__hero" class="hero-video">
|
||||
<div class="player-container">
|
||||
|
||||
<?php if ($videoPreview = $page->videoPreview()->toFile()): ?>
|
||||
|
|
@ -170,7 +170,7 @@
|
|||
<?php endif ?>
|
||||
</dl>
|
||||
|
||||
<div class="investigation__content">
|
||||
<div id="investigation__content">
|
||||
<?php foreach ($page->body()->toLayouts() as $layout): ?>
|
||||
<?php
|
||||
$columns = $layout->columns();
|
||||
|
|
@ -282,7 +282,7 @@
|
|||
<?php endforeach ?>
|
||||
</div>
|
||||
|
||||
<div class="investigation__aside" id="aside__impacts">
|
||||
<div class="investigation__aside" id="impacts">
|
||||
<h3 class="aside__title">Impacts</h3>
|
||||
|
||||
<!-- Contenu statique temporaire - sera dynamique quand les pages impacts seront créées -->
|
||||
|
|
@ -339,7 +339,7 @@ if ($relatedInvestigations->isEmpty()) {
|
|||
|
||||
|
||||
|
||||
<aside class="investigation__aside" id="aside__package">
|
||||
<aside class="investigation__aside" id="package">
|
||||
<h3 class="aside__title">Dans le dossier</h3>
|
||||
|
||||
<article class="card--package">
|
||||
|
|
@ -379,7 +379,7 @@ if (!empty($packageSlug) && site()->find('dossiers')) {
|
|||
|
||||
if ($package):
|
||||
?>
|
||||
<aside class="investigation__aside" id="aside__package">
|
||||
<aside class="investigation__aside" id="package">
|
||||
<h3 class="aside__title">Dans le dossier</h3>
|
||||
|
||||
<article class="card--package">
|
||||
|
|
@ -425,7 +425,7 @@ if ($package):
|
|||
|
||||
|
||||
<?php if ($relatedInvestigations->isNotEmpty()): ?>
|
||||
<aside class="investigation__aside" id="aside__related-articles">
|
||||
<aside class="investigation__aside" id="related-investigations">
|
||||
<h3 class="aside__title">Voir aussi</h3>
|
||||
|
||||
<?php foreach ($relatedInvestigations as $related): ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue