view default/static/styles.css @ 29:494d740aa3d6

static/css.js: added clicked_cls function: this function toggle "clicked" class on each click, and remove "init" class on first click. Useful to make CSS react easily on clicks.
author Goffi <goffi@goffi.org>
date Sat, 24 Jun 2017 20:25:39 +0200
parents 9a77174abc1e
children 9abef4a23af0
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;
}