pinned investigation
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
This commit is contained in:
parent
05e49af352
commit
bee25e5922
11 changed files with 102 additions and 172 deletions
|
|
@ -182,93 +182,3 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DESKTOP ----------------------------------------------------------
|
||||
// ----------------------------------------------------------------
|
||||
|
||||
// @media #{$small-up} {
|
||||
// [data-template="investigation-summary"] main {
|
||||
// #banner--page {
|
||||
// height: calc(100vh - var(--header-h));
|
||||
// height: calc(100dvh - var(--header-h));
|
||||
// margin-bottom: calc((100vh - var(--header-h)) * -1);
|
||||
// margin-bottom: calc((100dvh - var(--header-h)) * -1);
|
||||
// padding: var(--padding-body);
|
||||
// padding-left: 0px;
|
||||
// padding-bottom: calc(var(--padding-body) * 2);
|
||||
// position: sticky;
|
||||
// top: var(--header-h);
|
||||
// width: var(--banner-medium);
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// justify-content: space-between;
|
||||
// }
|
||||
|
||||
// #banner--page .btn--group {
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// align-items: center;
|
||||
// gap: calc(var(--spacing) * 0.25);
|
||||
|
||||
// > button,
|
||||
// > label {
|
||||
// width: 100%;
|
||||
// max-width: 160px;
|
||||
// cursor: pointer;
|
||||
// }
|
||||
// }
|
||||
|
||||
// #hero {
|
||||
// margin-top: calc(var(--spacing) * 1);
|
||||
// margin-bottom: calc(var(--spacing) * 3);
|
||||
// }
|
||||
|
||||
// .section__article {
|
||||
// margin-left: var(--banner-medium);
|
||||
// margin-top: calc(var(--spacing) * 3);
|
||||
// margin-bottom: calc(var(--spacing) * 3);
|
||||
// }
|
||||
|
||||
// #section__short {
|
||||
// margin-top: var(--padding-body);
|
||||
// }
|
||||
|
||||
// header {
|
||||
// margin-top: calc(var(--spacing) * 1.5);
|
||||
// margin-bottom: calc(var(--spacing) * 0.5);
|
||||
// }
|
||||
|
||||
// .section__article {
|
||||
// .section__title {
|
||||
// font-size: var(--fs-medium);
|
||||
// margin-bottom: var(--spacing);
|
||||
// }
|
||||
// }
|
||||
|
||||
// #section__synthese {
|
||||
// font-size: var(--fs-medium);
|
||||
// }
|
||||
// }
|
||||
|
||||
// }
|
||||
|
||||
// @media #{$medium-up} {
|
||||
// [data-template="investigation-summary"] main {
|
||||
// #banner--page {
|
||||
// width: calc((100% - var(--max-w-content)) / 2);
|
||||
// }
|
||||
|
||||
// #hero {
|
||||
// margin-top: 0;
|
||||
// margin-bottom: calc(var(--spacing) * 3);
|
||||
// figcaption {
|
||||
// max-width: var(--max-w-content);
|
||||
// margin: 0 auto;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .section__article {
|
||||
// margin: calc(var(--spacing) * 3) auto;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
display: grid;
|
||||
column-gap: var(--padding-inner);
|
||||
row-gap: calc(var(--spacing)*1);
|
||||
grid-template-columns: 30% 70%;
|
||||
grid-template-columns: 65% 35%;
|
||||
grid-template-rows: auto auto 1fr;
|
||||
position: relative;
|
||||
|
||||
|
|
@ -37,6 +37,7 @@
|
|||
line-height: var(--leading-tight);
|
||||
font-weight: normal;
|
||||
margin-top: calc(var(--spacing)*1);
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.subtitle{
|
||||
|
|
@ -44,37 +45,28 @@
|
|||
line-height: var(--leading-tight);
|
||||
// margin-top: calc(var(--spacing)*0.25);
|
||||
font-weight: normal;
|
||||
text-wrap: balance;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.rapport__figure{
|
||||
width: 100%;
|
||||
aspect-ratio: 4/5;
|
||||
grid-row: span 2;
|
||||
grid-column: 1;
|
||||
|
||||
|
||||
img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
@include figure-16-9();
|
||||
|
||||
figure{
|
||||
grid-row: 2;
|
||||
grid-column: 2;
|
||||
}
|
||||
|
||||
.rapport__dl{
|
||||
grid-row: 2;
|
||||
grid-column: 2;
|
||||
align-self: start;
|
||||
|
||||
// align-self: start;
|
||||
grid-column: 1;
|
||||
align-self: end;
|
||||
font-size: var(--fs-small);
|
||||
border-bottom: var(--border-light);
|
||||
// flex-grow: 2;
|
||||
align-items: flex-start;
|
||||
// margin-top: calc(var(--spacing)*1);
|
||||
.dl__group{
|
||||
@include grid-content();
|
||||
border-top: var(--border-light);
|
||||
|
|
@ -91,47 +83,17 @@
|
|||
|
||||
|
||||
.btn--group{
|
||||
position: relative;
|
||||
grid-row: 3;
|
||||
grid-column: 1/3;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
flex-wrap: wrap;
|
||||
align-items: start;
|
||||
gap: calc(var(--spacing)*0.25);
|
||||
position: relative;
|
||||
grid-row: 3;
|
||||
grid-column: 2;
|
||||
|
||||
button, label{
|
||||
min-width: 28ch;
|
||||
justify-content: flex-start;
|
||||
a{
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
label{
|
||||
// position: relative;
|
||||
}
|
||||
|
||||
// .modal--share{
|
||||
// max-width: 240px;
|
||||
// position: absolute;
|
||||
// height: 250px;
|
||||
// top: calc(var(--h-block) * 1.5);
|
||||
// left: 260px;
|
||||
|
||||
|
||||
// &::before{
|
||||
// content: "◀";
|
||||
// transform: rotate(90deg);
|
||||
// font-size: 10px;
|
||||
// position: absolute;
|
||||
// top: -10px;
|
||||
// right: calc(var(--h-block) * 1.5);
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -140,7 +102,6 @@
|
|||
|
||||
.rapport__content{
|
||||
max-width: var(--max-w-content);
|
||||
// margin-top: calc(var(--spacing)*0.5);
|
||||
|
||||
|
||||
.section-content{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue