CSS : remove doubles
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
This commit is contained in:
parent
770391fb52
commit
24c85a758a
3 changed files with 1 additions and 824 deletions
|
|
@ -2129,820 +2129,6 @@ body main {
|
|||
display: none;
|
||||
}
|
||||
|
||||
#rapport {
|
||||
--fig-outside: calc(var(--spacing)*2);
|
||||
}
|
||||
#rapport .container-figure {
|
||||
width: calc(100% + var(--fig-outside) * 2);
|
||||
position: relative;
|
||||
left: calc(var(--fig-outside) * -1);
|
||||
}
|
||||
#rapport .fig-simple {
|
||||
height: calc(100vh - var(--header-h) - var(--spacing) * 2);
|
||||
}
|
||||
#rapport .fig-simple figure {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
#rapport .fig-simple figure img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-o-object-fit: contain;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
@keyframes add-border {
|
||||
from {
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
to {
|
||||
border-bottom: var(--grey-800);
|
||||
}
|
||||
}
|
||||
#site-header {
|
||||
z-index: 900;
|
||||
--gap: 3ch;
|
||||
width: 100vw;
|
||||
height: var(--header-h);
|
||||
background-color: var(--color-bg);
|
||||
padding: 0 var(--padding-body);
|
||||
}
|
||||
#site-header .site-header__inner {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--gap);
|
||||
}
|
||||
#site-header a {
|
||||
text-decoration: none;
|
||||
}
|
||||
#site-header a:hover {
|
||||
color: var(--grey-200);
|
||||
}
|
||||
#site-header #site-title {
|
||||
flex-grow: 2;
|
||||
}
|
||||
#site-header #site-title svg {
|
||||
width: 100px;
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
#site-header #site-title svg {
|
||||
width: 80px;
|
||||
}
|
||||
}
|
||||
#site-header .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;
|
||||
}
|
||||
#site-header ul {
|
||||
list-style-type: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--gap);
|
||||
text-transform: uppercase;
|
||||
}
|
||||
#site-header #theme-toggle {
|
||||
width: var(--h-block);
|
||||
height: var(--h-block);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
#site-header #theme-toggle svg {
|
||||
width: 18px;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
#site-header #lang-toggle {
|
||||
display: flex;
|
||||
gap: 1ch;
|
||||
}
|
||||
#site-header #lang-toggle button:disabled {
|
||||
color: var(--color-txt-light);
|
||||
}
|
||||
#site-header #menu-toggle {
|
||||
cursor: pointer;
|
||||
}
|
||||
#site-header #menu-toggle svg {
|
||||
width: 30px;
|
||||
}
|
||||
#site-header #menu-toggle .close {
|
||||
display: none;
|
||||
}
|
||||
#site-header button:hover svg {
|
||||
fill: var(--grey-200) !important;
|
||||
}
|
||||
|
||||
#site-header.is-visible {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
}
|
||||
#site-header.is-visible .site-header__inner {
|
||||
border-bottom: var(--border-light);
|
||||
}
|
||||
#site-header.is-visible .site-header__inner #nav-highlight li:not(.soutenir) {
|
||||
display: none;
|
||||
}
|
||||
@media screen and (min-width: 768px) {
|
||||
#site-header.is-visible .site-header__inner #site-title {
|
||||
flex-grow: 0;
|
||||
width: calc((100vw - var(--max-w-content)) / 2 - var(--padding-body) * 2);
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1080px) {
|
||||
#site-header.is-visible .site-header__inner #site-title {
|
||||
width: calc(var(--banner-medium) - var(--padding-body));
|
||||
}
|
||||
}
|
||||
#site-header.is-visible .site-header__inner .header__title-page {
|
||||
flex-grow: 2;
|
||||
}
|
||||
@media screen and (min-width: 768px) {
|
||||
#site-header.is-visible .site-header__inner .header__title-page {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
#site-header.is-visible ~ main {
|
||||
margin-top: var(--header-h);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1080px) {
|
||||
#nav-highlight {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
#site-menu {
|
||||
position: fixed;
|
||||
width: var(--menu-w);
|
||||
height: calc(100dvh - var(--header-h));
|
||||
height: calc(100vh - var(--header-h));
|
||||
top: var(--header-h);
|
||||
right: calc(var(--menu-w) * -1);
|
||||
transition: right 0.3s ease-in;
|
||||
background-color: var(--color-bg);
|
||||
border-left: var(--border-light);
|
||||
padding: var(--padding-body);
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
#site-menu {
|
||||
width: 100vw;
|
||||
right: -100vw;
|
||||
}
|
||||
}
|
||||
#site-menu .search-form {
|
||||
margin-top: calc(var(--spacing) * 1);
|
||||
margin-bottom: calc(var(--spacing) * 1);
|
||||
}
|
||||
#site-menu nav {
|
||||
flex-grow: 1;
|
||||
}
|
||||
#site-menu nav ul {
|
||||
list-style-type: none;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
#site-menu nav ul li {
|
||||
font-size: var(--fs-normal);
|
||||
}
|
||||
#site-menu nav ul li a {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
padding: 0.5em 0;
|
||||
}
|
||||
#site-menu nav ul li a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
#site-menu nav ul .highlight {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
body.menu-open {
|
||||
overflow: hidden;
|
||||
}
|
||||
body.menu-open main, body.menu-open footer, body.menu-open #nav-highlight {
|
||||
transition: opacity 0.3s ease-in;
|
||||
opacity: 0.1;
|
||||
}
|
||||
body.menu-open #site-menu {
|
||||
right: 0;
|
||||
}
|
||||
body.menu-open #menu-toggle .open {
|
||||
display: none;
|
||||
}
|
||||
body.menu-open #menu-toggle .close {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
#site-footer {
|
||||
background-color: var(--dark);
|
||||
padding: calc(var(--padding-body) * 2) var(--padding-body);
|
||||
z-index: 500;
|
||||
}
|
||||
#site-footer .logo {
|
||||
margin-top: calc(var(--spacing) * 0.25);
|
||||
margin-bottom: calc(var(--spacing) * 1);
|
||||
}
|
||||
#site-footer .logo svg {
|
||||
width: 100px;
|
||||
}
|
||||
#site-footer p {
|
||||
margin: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
#site-footer p a {
|
||||
text-decoration: none;
|
||||
}
|
||||
#site-footer p a:hover {
|
||||
text-decoration: underline;
|
||||
color: currentColor;
|
||||
}
|
||||
#site-footer .p__small {
|
||||
font-size: var(--fs-xsmall);
|
||||
color: var(--grey-600);
|
||||
}
|
||||
#site-footer .footer__mentions p {
|
||||
font-size: var(--fs-small);
|
||||
color: var(--color-txt);
|
||||
}
|
||||
@media screen and (max-width: 768px) {
|
||||
#site-footer {
|
||||
margin-top: calc(var(--spacing) * 2);
|
||||
}
|
||||
#site-footer .footer__socials {
|
||||
margin-top: calc(var(--spacing) * 0.75);
|
||||
padding-top: calc(var(--spacing) * 0.25);
|
||||
border-top: var(--border-light);
|
||||
}
|
||||
#site-footer .footer__socials .list-socials {
|
||||
margin-top: calc(var(--spacing) * 0.5);
|
||||
margin-bottom: calc(var(--spacing) * 0.75);
|
||||
}
|
||||
#site-footer .footer__mentions {
|
||||
border-top: var(--border-light);
|
||||
padding-top: calc(var(--spacing) * 0.25);
|
||||
}
|
||||
#site-footer .footer__mentions p {
|
||||
font-size: var(--fs-small);
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 768px) {
|
||||
#site-footer .site-footer__container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
-moz-column-gap: calc(var(--spacing) * 2);
|
||||
column-gap: calc(var(--spacing) * 2);
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
#site-footer .footer__socials .socials {
|
||||
max-width: 400px;
|
||||
-moz-columns: 2;
|
||||
columns: 2;
|
||||
margin-top: calc(var(--spacing) * 1);
|
||||
}
|
||||
#site-footer .footer__mentions {
|
||||
grid-column: span 2;
|
||||
}
|
||||
#site-footer .footer__mentions p {
|
||||
margin-top: calc(var(--spacing) * 1);
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100dvh;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
body main {
|
||||
flex-grow: 1;
|
||||
padding: 0 var(--padding-body);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 560px) {
|
||||
[data-template=investigations] main #container-cards {
|
||||
max-width: var(--max-w-container);
|
||||
margin: 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
||||
grid-auto-rows: minmax(100px, auto);
|
||||
grid-gap: calc(var(--padding-body) * 1.5);
|
||||
margin-bottom: 10vh;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
[data-template=investigations] main #container-cards {
|
||||
margin-bottom: 10vh;
|
||||
}
|
||||
[data-template=investigations] main #container-cards .card--article {
|
||||
margin-bottom: calc(var(--spacing) * 1.5);
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
[data-template=investigations] main {
|
||||
margin-bottom: 10vh;
|
||||
}
|
||||
[data-template=investigations] main .card--article {
|
||||
margin-bottom: calc(var(--spacing) * 1.5);
|
||||
}
|
||||
}
|
||||
|
||||
.search-container {
|
||||
max-width: var(--max-w-content);
|
||||
margin: 0 auto;
|
||||
margin-bottom: calc(var(--spacing) * 2);
|
||||
}
|
||||
|
||||
.page__sort {
|
||||
max-width: var(--max-w-container);
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
grid-gap: var(--padding-inner);
|
||||
margin: 0 auto;
|
||||
margin-bottom: calc(var(--spacing) * 0.5);
|
||||
}
|
||||
|
||||
[data-template=investigation-summary] main {
|
||||
position: relative;
|
||||
}
|
||||
[data-template=investigation-summary] main header .page-title {
|
||||
text-transform: uppercase;
|
||||
font-weight: normal;
|
||||
font-size: var(--fs-big);
|
||||
line-height: var(--leading-tight);
|
||||
margin-top: calc(var(--spacing) * 1);
|
||||
}
|
||||
[data-template=investigation-summary] main .section__article a:hover {
|
||||
color: var(--grey-200);
|
||||
}
|
||||
[data-template=investigation-summary] main .section__article .section__title {
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: calc(var(--spacing) * 0.5);
|
||||
}
|
||||
[data-template=investigation-summary] main #nav--page ul {
|
||||
list-style: none;
|
||||
}
|
||||
[data-template=investigation-summary] main #nav--page ul li {
|
||||
text-align: center;
|
||||
color: var(--color-txt-light);
|
||||
}
|
||||
[data-template=investigation-summary] main #nav--page ul li a {
|
||||
display: block;
|
||||
padding: 0.3em 0;
|
||||
text-decoration: none;
|
||||
}
|
||||
[data-template=investigation-summary] main #section__short {
|
||||
font-size: var(--fs-medium);
|
||||
}
|
||||
[data-template=investigation-summary] main #section__dl {
|
||||
margin-top: calc(var(--spacing) * 1.5);
|
||||
border-bottom: var(--border-light);
|
||||
}
|
||||
[data-template=investigation-summary] main #section__dl .dl__group {
|
||||
display: grid;
|
||||
grid-gap: var(--padding-inner);
|
||||
grid-template-columns: 2fr 3fr;
|
||||
position: relative;
|
||||
border-top: var(--border-light);
|
||||
padding: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
[data-template=investigation-summary] main #section__dl dt {
|
||||
color: var(--color-txt-light);
|
||||
padding-right: 1ch;
|
||||
}
|
||||
[data-template=investigation-summary] main #section__dl ul:not(.keywords) {
|
||||
list-style: none;
|
||||
}
|
||||
[data-template=investigation-summary] main #section__dl ul:not(.keywords) li {
|
||||
padding-bottom: 0.2em;
|
||||
}
|
||||
[data-template=investigation-summary] main #section__synthese p + p {
|
||||
margin-top: 0.5em;
|
||||
}
|
||||
[data-template=investigation-summary] main #section__synthese h4 {
|
||||
margin-top: 2em;
|
||||
margin-bottom: 1em;
|
||||
font-size: var(--fs-normal);
|
||||
font-weight: normal;
|
||||
-webkit-text-decoration: 1px underline var(--color-txt-light);
|
||||
text-decoration: 1px underline var(--color-txt-light);
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
|
||||
#share-banner__desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#share-banner__desktop ~ .modal--share {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.2s ease-in;
|
||||
}
|
||||
|
||||
#share-banner__desktop:checked ~ .modal--share {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
[data-template=investigation-summary] main header {
|
||||
padding-top: calc(var(--spacing) * 1);
|
||||
}
|
||||
[data-template=investigation-summary] main header .page-type {
|
||||
font-size: var(--fs-small);
|
||||
}
|
||||
[data-template=investigation-summary] main .section__article {
|
||||
margin: calc(var(--spacing) * 1.5) 0;
|
||||
}
|
||||
[data-template=investigation-summary] main #section__impacts,
|
||||
[data-template=investigation-summary] main #section__en-lien {
|
||||
margin-top: 0px;
|
||||
}
|
||||
[data-template=investigation-summary] main #hero {
|
||||
margin: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
[data-template=investigation-summary] main #hero figcaption {
|
||||
margin: 0 var(--padding-body);
|
||||
}
|
||||
[data-template=investigation-summary] main .modal--share {
|
||||
position: absolute;
|
||||
width: calc(100% - var(--padding-body) * 2);
|
||||
bottom: calc(var(--spacing) * 2);
|
||||
}
|
||||
[data-template=investigation-summary] main #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;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page #nav--page {
|
||||
display: none;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page .btn--group {
|
||||
display: flex;
|
||||
gap: calc(var(--spacing) * 0.25);
|
||||
position: relative;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page .btn--group > button,
|
||||
[data-template=investigation-summary] main #banner--page .btn--group > label {
|
||||
width: 50%;
|
||||
cursor: pointer;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity 0.2s ease-in;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page.is-visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 560px) {
|
||||
[data-template=investigation-summary] main #section__dl .dl__group {
|
||||
-moz-column-gap: 1ch;
|
||||
column-gap: 1ch;
|
||||
font-size: var(--fs-small);
|
||||
padding: calc(var(--spacing) * 0.25) 0;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 768px) {
|
||||
[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;
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page .btn--group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: calc(var(--spacing) * 0.25);
|
||||
}
|
||||
[data-template=investigation-summary] main #banner--page .btn--group > button,
|
||||
[data-template=investigation-summary] main #banner--page .btn--group > label {
|
||||
width: 100%;
|
||||
max-width: 160px;
|
||||
cursor: pointer;
|
||||
}
|
||||
[data-template=investigation-summary] main #hero {
|
||||
margin-top: calc(var(--spacing) * 1);
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
}
|
||||
[data-template=investigation-summary] main .section__article {
|
||||
margin-left: var(--banner-medium);
|
||||
margin-top: calc(var(--spacing) * 3);
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
}
|
||||
[data-template=investigation-summary] main #section__short {
|
||||
margin-top: var(--padding-body);
|
||||
}
|
||||
[data-template=investigation-summary] main header {
|
||||
max-width: var(--max-w-content);
|
||||
margin-left: auto;
|
||||
margin-top: calc(var(--spacing) * 1.5);
|
||||
margin-bottom: calc(var(--spacing) * 0.5);
|
||||
}
|
||||
[data-template=investigation-summary] main .section__article .section__title {
|
||||
font-size: var(--fs-medium);
|
||||
margin-bottom: var(--spacing);
|
||||
}
|
||||
[data-template=investigation-summary] main #section__synthese {
|
||||
font-size: var(--fs-medium);
|
||||
}
|
||||
.modal--share {
|
||||
position: absolute;
|
||||
bottom: calc(var(--padding-body) * 2 + var(--h-block) + var(--spacing) * 0.25);
|
||||
width: calc(100% - var(--padding-body));
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1080px) {
|
||||
[data-template=investigation-summary] main #banner--page {
|
||||
width: calc((100% - var(--max-w-content)) / 2);
|
||||
}
|
||||
[data-template=investigation-summary] main #hero {
|
||||
margin-top: 0;
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
}
|
||||
[data-template=investigation-summary] main #hero figcaption {
|
||||
max-width: var(--max-w-content);
|
||||
margin: 0 auto;
|
||||
}
|
||||
[data-template=investigation-summary] main .section__article {
|
||||
max-width: var(--max-w-content);
|
||||
margin: calc(var(--spacing) * 3) auto;
|
||||
}
|
||||
}
|
||||
:root {
|
||||
--rapport-w: 290px;
|
||||
}
|
||||
|
||||
#rapport {
|
||||
margin-bottom: 20vh;
|
||||
padding-left: calc(var(--rapport-w) + var(--padding-body) * 1);
|
||||
padding-bottom: 10vh;
|
||||
margin: 0 auto;
|
||||
max-width: calc(var(--max-w-content) + var(--rapport-w) + var(--padding-body));
|
||||
margin-top: calc(var(--spacing) * -1);
|
||||
}
|
||||
|
||||
#rapport .rapport__header {
|
||||
margin-top: calc(var(--spacing) * 2);
|
||||
max-width: var(--max-w-content);
|
||||
margin-bottom: calc(var(--spacing) * 2.5);
|
||||
display: grid;
|
||||
-moz-column-gap: var(--padding-inner);
|
||||
column-gap: var(--padding-inner);
|
||||
row-gap: calc(var(--spacing) * 1);
|
||||
grid-template-columns: 30% 70%;
|
||||
grid-template-rows: auto auto 1fr;
|
||||
position: relative;
|
||||
}
|
||||
#rapport .rapport__header .rapport__title-group {
|
||||
grid-row: 1;
|
||||
grid-column: span 2;
|
||||
}
|
||||
#rapport .rapport__header .rapport__title-group .title {
|
||||
text-transform: uppercase;
|
||||
font-weight: normal;
|
||||
font-size: var(--fs-big);
|
||||
line-height: var(--leading-tight);
|
||||
font-weight: normal;
|
||||
margin-top: calc(var(--spacing) * 1);
|
||||
}
|
||||
#rapport .rapport__header .rapport__title-group .subtitle {
|
||||
font-size: var(--fs-big);
|
||||
line-height: var(--leading-tight);
|
||||
font-weight: normal;
|
||||
}
|
||||
#rapport .rapport__header .rapport__figure {
|
||||
width: 100%;
|
||||
aspect-ratio: 4/5;
|
||||
grid-row: span 2;
|
||||
grid-column: 1;
|
||||
}
|
||||
#rapport .rapport__header .rapport__figure img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-o-object-fit: cover;
|
||||
object-fit: cover;
|
||||
}
|
||||
#rapport .rapport__header .rapport__dl {
|
||||
grid-row: 2;
|
||||
grid-column: 2;
|
||||
align-self: start;
|
||||
font-size: var(--fs-small);
|
||||
border-bottom: var(--border-light);
|
||||
align-items: flex-start;
|
||||
}
|
||||
#rapport .rapport__header .rapport__dl .dl__group {
|
||||
display: grid;
|
||||
grid-gap: var(--padding-inner);
|
||||
grid-template-columns: 2fr 3fr;
|
||||
position: relative;
|
||||
border-top: var(--border-light);
|
||||
padding: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
#rapport .rapport__header .rapport__dl dt {
|
||||
color: var(--color-txt-light);
|
||||
padding-right: 1ch;
|
||||
}
|
||||
#rapport .rapport__header .btn--group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
align-items: start;
|
||||
gap: calc(var(--spacing) * 0.5);
|
||||
position: relative;
|
||||
grid-row: 3;
|
||||
grid-column: 2;
|
||||
}
|
||||
#rapport .rapport__header .btn--group button, #rapport .rapport__header .btn--group label {
|
||||
min-width: 28ch;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
#rapport .rapport__header .btn--group button a, #rapport .rapport__header .btn--group label a {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
#rapport .rapport__header .modal--share {
|
||||
max-width: 240px;
|
||||
position: absolute;
|
||||
height: 250px;
|
||||
top: calc(var(--h-block) * 1.5);
|
||||
left: 260px;
|
||||
}
|
||||
#rapport .rapport__header .modal--share::before {
|
||||
content: "◀";
|
||||
transform: rotate(90deg);
|
||||
font-size: 10px;
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
right: calc(var(--h-block) * 1.5);
|
||||
}
|
||||
|
||||
#rapport .rapport__content {
|
||||
max-width: var(--max-w-content);
|
||||
}
|
||||
#rapport .rapport__content .section-content {
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
}
|
||||
#rapport .rapport__content .section-title {
|
||||
font-size: var(--fs-medium);
|
||||
margin-bottom: var(--spacing);
|
||||
font-weight: normal;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
#rapport .rapport__content p {
|
||||
margin: calc(var(--spacing) * 0.5) 0;
|
||||
}
|
||||
#rapport .rapport__content ul {
|
||||
padding-left: 3ch;
|
||||
}
|
||||
#rapport .rapport__content:target {
|
||||
padding-top: calc(var(--header-h) * 2 + var(--spacing)) !important;
|
||||
}
|
||||
|
||||
#rapport__aside {
|
||||
width: var(--rapport-w);
|
||||
position: fixed;
|
||||
top: calc(var(--header-h) + var(--padding-body));
|
||||
left: var(--padding-body);
|
||||
--border-aside: var(--border-light);
|
||||
height: calc(100vh - var(--header-h) - var(--padding-body) * 4);
|
||||
}
|
||||
#rapport__aside .tabs {
|
||||
display: flex;
|
||||
border: var(--border-aside);
|
||||
height: calc(var(--h-block) * 1.25);
|
||||
}
|
||||
#rapport__aside .tabs .tab {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: var(--fs-small);
|
||||
font-weight: bold;
|
||||
padding-left: 2ch;
|
||||
padding-top: 3px;
|
||||
}
|
||||
#rapport__aside .tabs .tab[for=tab-print] {
|
||||
width: calc(var(--h-block) * 1.5);
|
||||
border-right: var(--border-aside);
|
||||
padding-left: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
#rapport__aside .tabs .tab[for=tab-print] .icon svg {
|
||||
width: 18px;
|
||||
fill: var(--color-txt);
|
||||
}
|
||||
#rapport__aside .content-aside {
|
||||
padding: var(--padding-body);
|
||||
height: calc(100% - var(--h-block) * 1.25);
|
||||
overflow: scroll;
|
||||
border: var(--border-aside);
|
||||
border-top: none;
|
||||
}
|
||||
#rapport__aside #toc ul {
|
||||
list-style: none;
|
||||
}
|
||||
#rapport__aside #toc li {
|
||||
font-size: var(--fs-small);
|
||||
color: var(--color-txt-light);
|
||||
}
|
||||
#rapport__aside #toc li a {
|
||||
display: block;
|
||||
padding: 5px 1ch;
|
||||
padding-top: 7px;
|
||||
}
|
||||
#rapport__aside #toc li.selected {
|
||||
background-color: var(--grey-800);
|
||||
color: var(--color-txt);
|
||||
}
|
||||
#rapport__aside #toc li:hover {
|
||||
background-color: var(--grey-800);
|
||||
}
|
||||
#rapport__aside #toc .toc-level-1 {
|
||||
margin-bottom: calc(var(--spacing) * 0.5);
|
||||
font-weight: bold;
|
||||
}
|
||||
#rapport__aside #toc .toc-level-2 {
|
||||
margin-bottom: calc(var(--spacing) * 0.25);
|
||||
padding-left: 4ch;
|
||||
}
|
||||
#rapport__aside #toc a {
|
||||
text-decoration: none;
|
||||
}
|
||||
#rapport__aside .btn--group {
|
||||
margin-top: calc(var(--spacing) * 0.5);
|
||||
display: flex;
|
||||
gap: var(--padding-inner);
|
||||
}
|
||||
#rapport__aside .btn--group [for=share-banner__aside] {
|
||||
cursor: pointer;
|
||||
}
|
||||
#rapport__aside .btn--group #download-pdf a {
|
||||
padding-left: 1ch;
|
||||
padding-right: 1ch;
|
||||
}
|
||||
#rapport__aside .modal--share {
|
||||
position: absolute;
|
||||
bottom: calc(var(--h-block) * -1.5);
|
||||
right: calc(-100% + var(--padding-inner));
|
||||
}
|
||||
#rapport__aside .modal--share::before {
|
||||
content: "◀";
|
||||
font-size: 10px;
|
||||
position: absolute;
|
||||
bottom: calc(var(--h-block) * 0.25);
|
||||
left: -9px;
|
||||
}
|
||||
|
||||
#tab-print, #tab-toc {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#tab-print:checked ~ .content-aside #toc {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#tab-print:checked ~ .content-aside #print-features {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#tab-toc:checked ~ .content-aside #toc {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#tab-toc:checked ~ .content-aside #print-features {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#rapport {
|
||||
--fig-outside: calc(var(--spacing)*2);
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -34,12 +34,3 @@
|
|||
@import "template/investigations";
|
||||
@import "template/investigation-summary";
|
||||
@import "template/rapport";
|
||||
|
||||
@import "partials/site-header";
|
||||
@import "partials/site-menu";
|
||||
@import "partials/site-footer";
|
||||
@import "partials/main-layout";
|
||||
|
||||
@import "template/investigations";
|
||||
@import "template/investigation";
|
||||
@import "template/rapport";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue