view default/static/styles.css @ 44:580670430fa2

blog/item: expand/reduce improvments: - only expand_box is now clickable, not the whole article anymore, avoiding unwanted click - when in .clicked state, message is "Click to reduce" instead of "expand" - in .clicked state, expand_box is only visible on :hover - in .clicked state, and expand_box is available at top and bottom
author Goffi <goffi@goffi.org>
date Thu, 13 Jul 2017 19:23:02 +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;
}