~bfiedler/website

9eb2b68944a4970072de2c7e8e64606879e3e691 — Ben Fiedler 5 months ago 6dc8605
fix image handling on safari, make images a bit wider by default
1 files changed, 8 insertions(+), 1 deletions(-)

M assets/style.scss
M assets/style.scss => assets/style.scss +8 -1
@@ 140,6 140,7 @@ time.post-time {

    figure.resizable img {
        width: 100%;
        height: 100%;
    }

    section { 


@@ 151,6 152,12 @@ time.post-time {
        figure {
            display: flex;
            justify-content: center;

            flex-direction: row;
        }

        figure.resizable {
            margin: 8px 4px;
        }

        .inline-math {


@@ 318,7 325,7 @@ section.webring {

@media (min-width: 640px) {
    .blogpost figure.resizable img {
        width: 544px; // 640 - 1em (= 16px) - 40px
        width: 616px; // 640 - 1em (= 16px) - 2 * 4px
    }
}