portfoligor/assets/scss/_medias.scss

91 lines
1.1 KiB
SCSS
Raw Normal View History

///////////////////
// //
// MEDIAS //
// //
///////////////////
@use "@picocss/pico/scss/colors/index" as *;
.audio,
.stream {
border: $purple-200 solid 1px;
audio {
border-radius: .5rem;
width: 100%;
}
figcaption p {
font-size: smaller;
padding-left: .5rem;
text-align: left;
}
}
.audio-with-image {
display: flex;
flex-direction: column;
@media (min-width: 768px) {
flex-direction: row;
img {
width: 8rem;
}
div {
align-content: space-between;
display: flex;
flex-flow: wrap;
}
}
@media (min-width: 1024px) {
div {
flex-grow: 4;
}
}
audio {
border-radius: 0;
}
}
figure {
border-radius: 5px;
margin: 1em auto;
padding: .4rem;
border: $purple-200 solid 1px;
width: 80%;
img {
width: 100%;
}
figcaption {
font-size: smaller;
p {
margin: .2rem 0;
text-align: center;
}
}
}
.post-image {
border: none;
margin-left: 0;
padding-left: 0;
@media(lg) {
max-width: 97%;
margin-right: 0;
padding-right: 0;
}
}