feat(shortcode): figure and figures flex box
This commit is contained in:
parent
eefff4e50b
commit
e326cdfc95
14 changed files with 158 additions and 58 deletions
29
assets/sass/figures.scss
Normal file
29
assets/sass/figures.scss
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
.fig-img {
|
||||
display: inline-block;
|
||||
figcaption {
|
||||
font-size: .9rem;
|
||||
color: $hidden;
|
||||
text-align: center;
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
img {
|
||||
max-height: 30rem;
|
||||
}
|
||||
margin: 0;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.figures-grid {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
|
||||
figure {
|
||||
max-width: 27rem;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue