[THEME] Fix image size
This commit is contained in:
parent
c1de04160e
commit
0e0397e591
1 changed files with 10 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue