diff --git a/themes/maik-blog/assets/scss/_main.scss b/themes/maik-blog/assets/scss/_main.scss index 3554d4c..bd12a4c 100644 --- a/themes/maik-blog/assets/scss/_main.scss +++ b/themes/maik-blog/assets/scss/_main.scss @@ -110,6 +110,7 @@ img { width: auto; height: auto; max-width: 100%; + max-height: 100%; &.left { margin-right: auto; @@ -134,7 +135,7 @@ img { figure { display: table; max-width: 100%; - margin: 25px 0; + margin: 1em 0; img { border-radius: 8px; @@ -145,6 +146,11 @@ figure { } } + picture { + max-height: 100%; + max-width: 100%; + } + &.left { margin-right: auto; } @@ -246,6 +252,10 @@ figure { background-color: transparentize(darken($dark-background, 5%), 0.08); z-index: 10000; + picture { + max-height: 90%; + } + figcaption { color: $dark-color; font-size: 1.5rem;