184 lines
3.6 KiB
SCSS
184 lines
3.6 KiB
SCSS
[data-template="investigation-summary"] main {
|
|
position: relative;
|
|
|
|
max-width: var(--max-w-cards);
|
|
margin-inline: auto;
|
|
|
|
#banner--page{
|
|
display: none;
|
|
}
|
|
|
|
header {
|
|
margin-top: calc(var(--spacing) * 1);
|
|
margin-bottom: calc(var(--spacing) * 2);
|
|
.page-title {
|
|
max-width: var(--max-w-content);
|
|
text-transform: uppercase;
|
|
font-weight: normal;
|
|
font-size: var(--fs-big);
|
|
line-height: var(--leading-tight);
|
|
margin-top: calc(var(--spacing) * 1);
|
|
margin-bottom: calc(var(--spacing) * 0.5);
|
|
text-wrap: balance;
|
|
|
|
}
|
|
.description{
|
|
max-width: 62ch;
|
|
}
|
|
}
|
|
|
|
.section__article {
|
|
margin-top: calc(var(--spacing) * 3);
|
|
margin-bottom: calc(var(--spacing) * 3);
|
|
|
|
a:hover {
|
|
color: var(--grey-200);
|
|
}
|
|
.section__title {
|
|
font-weight: normal;
|
|
text-transform: uppercase;
|
|
margin-bottom: calc(var(--spacing) * 1);
|
|
padding-right: 2ch;
|
|
text-wrap: balance;
|
|
}
|
|
}
|
|
|
|
#nav--page {
|
|
ul {
|
|
list-style: none;
|
|
li {
|
|
text-align: center;
|
|
color: var(--color-txt-light);
|
|
a {
|
|
display: block;
|
|
padding: 0.3em 0;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#section__dl {
|
|
margin-top: calc(var(--spacing) * 1.5);
|
|
border-bottom: var(--border-light);
|
|
|
|
.dl__group {
|
|
@include grid-content();
|
|
border-top: var(--border-light);
|
|
padding: calc(var(--spacing) * 0.5) 0;
|
|
}
|
|
|
|
dt {
|
|
color: var(--color-txt-light);
|
|
padding-right: 1ch;
|
|
}
|
|
|
|
ul:not(.keywords) {
|
|
list-style: none;
|
|
li {
|
|
padding-bottom: 0.2em;
|
|
}
|
|
}
|
|
}
|
|
|
|
#section__synthese {
|
|
|
|
max-width: var(--max-w-content);
|
|
p + p {
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
h4 {
|
|
margin-top: 2em;
|
|
margin-bottom: 1em;
|
|
font-size: var(--fs-normal);
|
|
font-weight: normal;
|
|
text-decoration: 1px underline var(--color-txt-light);
|
|
text-underline-offset: 3px;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
// SMALL ----------------------------------------------------------
|
|
// ----------------------------------------------------------------
|
|
|
|
@media #{$small} {
|
|
[data-template="investigation-summary"] main {
|
|
|
|
header {
|
|
margin-bottom: calc(var(--spacing) * 1);
|
|
}
|
|
|
|
.section__article {
|
|
margin-top: calc(var(--spacing) * 2);
|
|
margin-bottom: calc(var(--spacing) * 2);
|
|
}
|
|
|
|
|
|
#hero {
|
|
figcaption {
|
|
margin: 0 var(--padding-body);
|
|
}
|
|
}
|
|
|
|
#banner--page {
|
|
padding: calc(var(--spacing) * 0.5) 0;
|
|
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
padding: calc(var(--spacing) * 0.75) var(--padding-body);
|
|
padding-top: var(--spacing);
|
|
background-color: var(--color-bg);
|
|
background: linear-gradient(
|
|
0deg,
|
|
var(--color-bg) 0%,
|
|
var(--color-bg) 64%,
|
|
transparent 100%
|
|
);
|
|
z-index: 800;
|
|
|
|
#nav--page {
|
|
display: none;
|
|
}
|
|
.btn--group {
|
|
display: flex;
|
|
gap: calc(var(--spacing) * 0.25);
|
|
position: relative;
|
|
|
|
> button,
|
|
> label {
|
|
width: 50%;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
// action
|
|
|
|
#banner--page {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.2s ease-in;
|
|
}
|
|
|
|
#banner--page.is-visible {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media #{$x-small} {
|
|
[data-template="investigation-summary"] main {
|
|
#section__dl .dl__group {
|
|
column-gap: 1ch;
|
|
font-size: var(--fs-small);
|
|
padding: calc(var(--spacing) * 0.25) 0;
|
|
}
|
|
}
|
|
}
|