org-theme/scss/partials/_figures.scss

30 lines
503 B
SCSS
Raw Normal View History

2020-11-25 23:22:07 +01:00
/* Figures */
.figure {
margin-bottom:24px;
p {
2020-11-27 15:16:19 +01:00
color: $color-caption;
2020-12-13 22:48:06 +01:00
font-size: 0.85rem;
2020-11-27 15:16:19 +01:00
font-family: $serif;
font-style: italic;
2020-11-25 23:22:07 +01:00
text-align: center;
margin: 0;
}
img {
max-width:100%;
display: block;
margin: auto;
2020-11-27 15:16:19 +01:00
padding-bottom: 0.5em;
2020-11-25 23:22:07 +01:00
}
.figure-number {
2020-11-27 15:16:19 +01:00
font-weight: $bold;
color: $color-caption-num;
2020-11-25 23:22:07 +01:00
}
}
figcaption,figure,footer,header,hgroup,nav{
display:block;
}