view default/static/styles.css @ 42:0c6aa1c81252

blog/item: transition fix removed big value on max-height for transition workaround in favor of new clicked_mh_fix function + reduced transition time to 0.5 s
author Goffi <goffi@goffi.org>
date Thu, 13 Jul 2017 08:39:23 +0200
parents 9abef4a23af0
children 7d5cca978eeb
line wrap: on
line source

html {
    font-family: "sat-base-font";
}

body {
    display: flex;
    height: 100vh;
    flex-direction: column;
    box-sizing: border-box;
    margin: 0;
}

#body {
    flex: 1;
}

footer {
    text-align: center;
    font-size: 0.7em;
    font-weight: bold;
}

.box {
    background-color: #edf2ff;
    border-radius: 0;
}

@media (min-width: 500px) {
    html {
        background-size: auto;
    }
    body {
        padding: 8px;
    }
    .box {
        border-radius: 1em;
        box-shadow: 10px 10px 16px -5px rgba(0,0,0,0.5);
    }
}

.title {
    font-weight: bold;
    text-align: center;
}

.post_confirm {
    text-align: center;
    background-color: lightgreen;
    padding: 1em;
    font-size: 1.2em;
    font-weight: bold;
    width: 60%;
    margin: 1.5em auto;
}