]> git.0d.be Git - chloro.git/blobdiff - chloro/phyll/static/css/style.scss
style: also limit image width on home
[chloro.git] / chloro / phyll / static / css / style.scss
index f4d4f7ada79707db697bc9c4f1b7a181bb41d6cf..874cd9b5d59f61003f411e8d29ddefb4a875bc40 100644 (file)
@@ -115,6 +115,8 @@ main {
                img {
                        border: 1px solid gray;
                        padding: 3px;
+                       max-width: 90%;
+                       max-height: 70vh;
                }
                .caption {
                        margin-top: 0;
@@ -260,10 +262,6 @@ main.post {
        div.figure {
                text-align: center;
                line-height: initial;
-               img {
-                       max-width: 90%;
-                       max-height: 70vh;
-               }
                span.empty::before {
                        min-height: 50px;
                        margin: 0 auto;