58 lines
1,008 B
CSS
58 lines
1,008 B
CSS
|
@layer root {
|
||
|
figcaption {
|
||
|
margin-block-start: 0.2em;
|
||
|
text-align: center;
|
||
|
}
|
||
|
|
||
|
figure {
|
||
|
border-radius: 6px;
|
||
|
margin: 0;
|
||
|
margin-inline: 0;
|
||
|
overflow: hidden;
|
||
|
max-width: var(--content-width);
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
figure.bordered {
|
||
|
padding: 0.5rem;
|
||
|
border: 2px solid #eee;
|
||
|
}
|
||
|
|
||
|
figure a,
|
||
|
figure a:hover {
|
||
|
border: 0;
|
||
|
}
|
||
|
|
||
|
figure img {
|
||
|
display: block;
|
||
|
border-radius: 6px;
|
||
|
height: auto;
|
||
|
max-width: var(--content-width);
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
figure svg {
|
||
|
width: 100%;
|
||
|
height: auto;
|
||
|
}
|
||
|
|
||
|
figure .youtube {
|
||
|
border-radius: 6px;
|
||
|
overflow: hidden;
|
||
|
max-width: var(--content-width);
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.p5-sketch {
|
||
|
display: block;
|
||
|
position: relative;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
.youtube iframe {
|
||
|
aspect-ratio: 16 / 9;
|
||
|
margin-bottom: -3px;
|
||
|
width: 100%;
|
||
|
}
|
||
|
}
|