static/style.css

Mon, 24 Jun 2019 00:28:37 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Mon, 24 Jun 2019 00:28:37 +0300
changeset 79
eb93feb6d3a3
parent 72
62d0b5b9d797
permissions
-rw-r--r--

added a test for valid categories


body
{
    font-family: sans-serif;
    margin: 0;
}

.ldraw-code
{
    font-family: monospace;
}

.problems-list
{
    list-style: none;
}

.problems-list li
{
    padding: 5px;
    border: 1px solid black;
    border-radius: 10px;
    margin-bottom: 3px;
}

.problems-list li.problem-hold
{
    background-color: #b44;
    border-color: red;
    color: white;
    background-image: url(../static/hold.svg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 32px;
}

.problem-content
{
    display: inline-block;
    padding-left: 40px;
}

.problems-list li.problem-warning
{
    background-color: #def;
    border-color: #024;
    color: black;
    background-image: url(../static/warning.svg);
    background-repeat: no-repeat;
    background-position: left;
    background-size: 32px;
}

.problem-icon
{
    float: left;
    margin-right: 10px;
}

.top-form
{
    background: white;
    background: linear-gradient(
        to bottom,
        #cceecf 0%,
        #cceecf 85%,
        #163 100%
    );
    padding-bottom: 2vh;
    padding-top: 2vh;
    padding-left: 5%;
    padding-right: 5%;
    text-align: center;
}

.report-container
{
    background: linear-gradient(
        to bottom,
        #ccc 0,
        #fff 1vh,
        #fff 100%
    );
    min-height: 10vh;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 2vh;
}

.problem-description
{
    display: inline-block;
}

mercurial