All the root styles so far
This commit is contained in:
parent
d18edef261
commit
1fac613c37
7 changed files with 251 additions and 210 deletions
|
@ -1,6 +1,5 @@
|
|||
@layer root {
|
||||
figcaption {
|
||||
margin-block-start: 0.2em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
@ -9,17 +8,25 @@
|
|||
}
|
||||
|
||||
figure {
|
||||
grid-column: content-start / content-end;
|
||||
margin: 0;
|
||||
margin-inline: 0;
|
||||
min-width: fit-content;
|
||||
overflow: hidden;
|
||||
max-width: var(--content-width);
|
||||
}
|
||||
|
||||
@media (max-width: 415px) {
|
||||
figure {
|
||||
grid-column: wide-content-start / wide-content-end;
|
||||
}
|
||||
}
|
||||
|
||||
figure > .container {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
gap: var(--body-item-spacing);
|
||||
justify-content: center;
|
||||
min-width: fit-content;
|
||||
}
|
||||
|
||||
figure.bordered {
|
||||
|
@ -38,6 +45,12 @@
|
|||
max-width: var(--content-width);
|
||||
}
|
||||
|
||||
@media (max-width: 414px) {
|
||||
figure img {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
figure svg {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue