Compare commits
4 commits
0e0397e591
...
4e4e64d5b2
Author | SHA1 | Date | |
---|---|---|---|
4e4e64d5b2 | |||
0d0b4cabbd | |||
49c3cd386b | |||
31286f5f0b |
1 changed files with 9 additions and 3 deletions
|
@ -13,6 +13,8 @@
|
|||
--color02_bright: #b88a5b;
|
||||
|
||||
--image-margin-side: 2.5em;
|
||||
|
||||
--content-width: 900px;
|
||||
}
|
||||
|
||||
/******************* Page *******************/
|
||||
|
@ -278,7 +280,7 @@ a:focus {
|
|||
}
|
||||
@media only screen and (min-width: 1000px) {
|
||||
.container {
|
||||
max-width: 900px;
|
||||
max-width: var(--content-width);
|
||||
}
|
||||
}
|
||||
.page-icon {
|
||||
|
@ -504,8 +506,8 @@ a:focus {
|
|||
.article-body figure {
|
||||
margin: 1em 0;
|
||||
max-width: 100%;
|
||||
width: fit-content;
|
||||
overflow: visible;
|
||||
min-width: calc(50% - 2 * var(--image-margin-side));
|
||||
}
|
||||
.article-body figure picture,
|
||||
.article-body figure figcaption {
|
||||
|
@ -515,6 +517,7 @@ a:focus {
|
|||
.article-body figure img {
|
||||
vertical-align: middle;
|
||||
padding-bottom: 0.3em;
|
||||
min-width: calc(50% - 2 * var(--image-margin-side));
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.article-body figure {
|
||||
|
@ -538,6 +541,9 @@ a:focus {
|
|||
}
|
||||
.article-body figure.inline {
|
||||
display: inline-block;
|
||||
min-width: auto;
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
.article-body figure.half {
|
||||
width: 100%;
|
||||
|
@ -548,7 +554,7 @@ a:focus {
|
|||
max-width: 33.33%;
|
||||
}
|
||||
.article-body figure.logo img {
|
||||
width: 100%;
|
||||
width: 100px;
|
||||
max-width: 100px;
|
||||
min-width: auto;
|
||||
vertical-align: bottom;
|
||||
|
|
Loading…
Reference in a new issue