[THEME] Fix logo width

This commit is contained in:
Gregory Trolliet 2021-02-26 16:59:11 +01:00
parent 0d0b4cabbd
commit 4e4e64d5b2

View file

@ -13,6 +13,8 @@
--color02_bright: #b88a5b; --color02_bright: #b88a5b;
--image-margin-side: 2.5em; --image-margin-side: 2.5em;
--content-width: 900px;
} }
/******************* Page *******************/ /******************* Page *******************/
@ -278,7 +280,7 @@ a:focus {
} }
@media only screen and (min-width: 1000px) { @media only screen and (min-width: 1000px) {
.container { .container {
max-width: 900px; max-width: var(--content-width);
} }
} }
.page-icon { .page-icon {
@ -506,7 +508,6 @@ a:focus {
max-width: 100%; max-width: 100%;
width: fit-content; width: fit-content;
overflow: visible; overflow: visible;
min-width: calc(50% - 2 * var(--image-margin-side));
} }
.article-body figure picture, .article-body figure picture,
.article-body figure figcaption { .article-body figure figcaption {
@ -516,6 +517,7 @@ a:focus {
.article-body figure img { .article-body figure img {
vertical-align: middle; vertical-align: middle;
padding-bottom: 0.3em; padding-bottom: 0.3em;
min-width: calc(50% - 2 * var(--image-margin-side));
} }
@media only screen and (min-width: 768px) { @media only screen and (min-width: 768px) {
.article-body figure { .article-body figure {
@ -552,7 +554,7 @@ a:focus {
max-width: 33.33%; max-width: 33.33%;
} }
.article-body figure.logo img { .article-body figure.logo img {
width: 100%; width: 100px;
max-width: 100px; max-width: 100px;
min-width: auto; min-width: auto;
vertical-align: bottom; vertical-align: bottom;