[THEME] Fix image size

This commit is contained in:
Gregory Trolliet 2021-02-15 13:02:37 +01:00
parent c1de04160e
commit 0e0397e591

View file

@ -400,7 +400,7 @@ a:focus {
margin-bottom: 2em;
}
.article-body img {
max-width: calc(100% - 5em);
max-width: 100%;
}
.article-body h1 {
font-size: 2.55rem;
@ -524,8 +524,7 @@ a:focus {
.article-body figure.inline {
margin: 0;
}
.article-body figure.border img,
.article-body figure.border figcaption {
.article-body figure.border img {
min-width: calc(100% - 2 * var(--image-margin-side)) !important;
}
}
@ -540,6 +539,14 @@ a:focus {
.article-body figure.inline {
display: inline-block;
}
.article-body figure.half {
width: 100%;
max-width: 50%;
}
.article-body figure.third {
width: 100%;
max-width: 33.33%;
}
.article-body figure.logo img {
width: 100%;
max-width: 100px;