view default/static/styles.css @ 14:9a77174abc1e

style: use sat-base-font + added .box class + use media queries for responsive design
author Goffi <goffi@goffi.org>
date Thu, 04 May 2017 00:55:02 +0200
parents e6de0e67c4c1
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;
}