TP_JO2024/home/dist/component/content/content.main.css
2024-03-27 17:19:37 +01:00

140 lines
3 KiB
CSS

/*!
* DSFR v1.11.2 | SPDX-License-Identifier: MIT | License-Filename: LICENSE.md | restricted use (see terms and conditions)
*/
@charset "UTF-8";
/* ¯¯¯¯¯¯¯¯¯ *\
CONTENT
\* ˍˍˍˍˍˍˍˍˍ */
.fr-content-media {
width: 100%;
margin: 2.5rem 0;
display: flex;
flex-direction: column;
align-items: center;
--text-spacing: 0;
--title-spacing: 0;
}
.fr-content-media__img {
width: 100%;
}
.fr-content-media [class^=fr-responsive-img],
.fr-content-media [class*=" fr-responsive-img"],
.fr-content-media [class^=fr-responsive-vid],
.fr-content-media [class*=" fr-responsive-vid"] {
aspect-ratio: 1.7777777778;
}
.fr-content-media__caption {
display: flex;
flex-direction: column;
width: 100%;
margin-top: 0.75rem;
font-size: 0.75rem;
line-height: 1.25rem;
}
.fr-content-media__caption .fr-link {
font-size: 0.75rem;
line-height: 1.25rem;
padding: 0 0;
margin-right: auto;
}
.fr-content-media__caption .fr-link::before,
.fr-content-media__caption .fr-link::after {
--icon-size: 0.75rem;
}
.fr-content-media .fr-transcription {
margin-top: 1.5rem;
}
.fr-content-media--sm .fr-content-media__img,
.fr-content-media--sm .fr-responsive-vid {
width: 83.3333333333%;
}
.fr-content-media--lg .fr-content-media__img,
.fr-content-media--lg .fr-responsive-vid {
width: 116.6666666667%;
max-width: 100vw;
}
.fr-content-media__transcription .fr-link {
font-size: 0.875rem;
line-height: 1.5rem;
min-height: 2rem;
padding: 0.25rem 0.75rem;
overflow: initial;
max-width: 100%;
max-height: none;
--underline-img: none;
--hover-tint: var(--hover);
background-color: transparent;
--hover: inherit;
--active: inherit;
color: var(--text-action-high-blue-france);
}
.fr-content-media__transcription .fr-link::after {
--icon-size: 1rem;
margin-right: -0.125rem;
margin-left: 0.5rem;
flex: 0 0 auto;
display: inline-block;
vertical-align: calc((0.75em - var(--icon-size)) * 0.5);
background-color: currentColor;
width: var(--icon-size);
height: var(--icon-size);
-webkit-mask-size: 100% 100%;
mask-size: 100% 100%;
-webkit-mask-image: url("../../icons/system/menu-2-fill.svg");
mask-image: url("../../icons/system/menu-2-fill.svg");
content: "";
}
.fr-content-media__transcription .fr-link::before {
content: none;
}
.fr-content-media__caption,
.fr-content-media .fr-link {
color: var(--text-mention-grey);
}
.fr-content-media__transcription .fr-link:disabled,
.fr-content-media__transcription a.fr-link:not([href]) {
color: var(--text-disabled-grey);
background-color: transparent;
--hover: inherit;
--active: inherit;
}
@media (min-width: 36em) {
/*! media sm */
}
@media (min-width: 48em) {
/*! media md */
.fr-content-media--sm .fr-content-media__img,
.fr-content-media--sm .fr-responsive-vid {
width: 75%;
}
.fr-content-media--lg .fr-content-media__img,
.fr-content-media--lg .fr-responsive-vid {
width: 125%;
}
}
@media (min-width: 62em) {
/*! media lg */
}
@media (min-width: 78em) {
/*! media xl */
}