2022-01-02 20:24:06 +01:00
|
|
|
///////////////////
|
|
|
|
// //
|
|
|
|
// MEDIAS //
|
|
|
|
// //
|
|
|
|
///////////////////
|
|
|
|
|
2024-09-02 19:58:59 +02:00
|
|
|
|
|
|
|
@use "@picocss/pico/scss/colors/index" as *;
|
|
|
|
|
2024-11-22 18:24:14 +01:00
|
|
|
/* To remove the rounded corner of the webkit audio player */
|
|
|
|
audio::-webkit-media-controls-enclosure {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2020-12-26 19:59:54 +01:00
|
|
|
.audio,
|
|
|
|
.stream {
|
2024-10-28 09:09:40 +01:00
|
|
|
border: var(--pico-border-width) solid $purple-200 ;
|
2021-11-04 11:24:47 +01:00
|
|
|
|
2020-04-24 15:34:57 +02:00
|
|
|
audio {
|
2024-09-02 19:58:59 +02:00
|
|
|
border-radius: var(--pico-border-radius);
|
2020-12-26 19:59:54 +01:00
|
|
|
width: 100%;
|
2020-04-24 15:34:57 +02:00
|
|
|
}
|
2020-12-26 19:59:54 +01:00
|
|
|
|
2020-04-24 15:34:57 +02:00
|
|
|
figcaption p {
|
2024-09-02 19:58:59 +02:00
|
|
|
font-size: smaller;
|
2024-10-20 20:30:11 +02:00
|
|
|
padding-left: .5em;
|
2020-12-26 19:59:54 +01:00
|
|
|
text-align: left;
|
2020-04-24 15:34:57 +02:00
|
|
|
}
|
2020-12-26 19:59:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.audio-with-image {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2024-09-02 19:58:59 +02:00
|
|
|
@media (min-width: 768px) {
|
2020-12-26 19:59:54 +01:00
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
img {
|
2024-10-20 20:30:11 +02:00
|
|
|
width: 8em;
|
2020-12-26 19:59:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
align-content: space-between;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: wrap;
|
|
|
|
}
|
|
|
|
|
2020-04-24 15:34:57 +02:00
|
|
|
}
|
2020-12-26 19:59:54 +01:00
|
|
|
|
|
|
|
|
2024-09-02 19:58:59 +02:00
|
|
|
@media (min-width: 1024px) {
|
2020-12-26 19:59:54 +01:00
|
|
|
|
|
|
|
div {
|
|
|
|
flex-grow: 4;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
audio {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2020-04-24 15:34:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
figure {
|
2024-09-02 19:58:59 +02:00
|
|
|
border-radius: var(--pico-border-radius);
|
2024-10-20 20:30:11 +02:00
|
|
|
margin: var(--pico-spacing) auto;
|
|
|
|
padding: .4em;
|
2024-10-28 09:09:40 +01:00
|
|
|
border: var(--pico-border-width) solid $purple-200 ;
|
2024-09-02 19:58:59 +02:00
|
|
|
width: 80%;
|
2020-12-26 19:59:54 +01:00
|
|
|
|
2020-04-24 15:34:57 +02:00
|
|
|
img {
|
2020-12-26 19:59:54 +01:00
|
|
|
width: 100%;
|
2020-04-24 15:34:57 +02:00
|
|
|
}
|
2020-12-26 19:59:54 +01:00
|
|
|
|
2021-11-29 13:27:02 +01:00
|
|
|
figcaption {
|
2024-09-02 19:58:59 +02:00
|
|
|
font-size: smaller;
|
2021-11-29 13:27:02 +01:00
|
|
|
|
|
|
|
p {
|
2024-10-20 20:30:11 +02:00
|
|
|
margin: .2em 0;
|
2021-11-29 13:27:02 +01:00
|
|
|
text-align: center;
|
|
|
|
}
|
2020-04-24 15:34:57 +02:00
|
|
|
}
|
|
|
|
}
|
2022-01-02 20:24:06 +01:00
|
|
|
|
|
|
|
.post-image {
|
|
|
|
border: none;
|
2024-09-02 19:58:59 +02:00
|
|
|
width: 100%;
|
2022-01-02 20:24:06 +01:00
|
|
|
padding-left: 0;
|
|
|
|
|
2024-09-02 19:58:59 +02:00
|
|
|
@media (min-width: 768px) {
|
2022-01-02 20:24:06 +01:00
|
|
|
max-width: 97%;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|