aboutsummaryrefslogtreecommitdiff
path: root/src/static/styles.css
blob: 984a43dd0214d3ef74ea33e6547e577cb3509e5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
td {
    border: 1px solid lightgrey;
    min-width: 3em;
}

table {
    max-width: 100%;
}

tr:nth-child(2n+1) {
    background-color: lightgray;
}
tr {
    width: 100%;
}

.bold {
    font-weight: bold;
}

#data {
    width: 100%;
}

.border {
    border: 1px solid lightgrey;
}

textarea {
    border-radius: 4px;
    width: 60%;
    height: 10em;
    display: block;
}

pre {
    white-space: pre-line;
}

.net-negative {
    background-color: lightcoral;
}
.net-positive {
    background-color: lightgreen
}

.summary {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.summary-panel {
    float:left;
    padding-right: 2em;
}

body {
    display: flex;
    flex-wrap: wrap;
}

.navigation {
    flex-grow: 1;
    max-width: 100px;
    border-left: 1px solid #333;
    padding-left: 10px;
}

.main {
    flex-grow: 3;
    max-width: 1000px;
    margin: auto;
}

p, li {
    max-width: 70ch;
}

a, a:visited {
    color: black;
}

@media (max-width: 600px) {
    .newItem td {
        display:block;
    }
    .table-index {
        display: none;
    }
    button {
        font-size: 32px;
    }
    input {
        font-size: 32px;
        display: block;
        width: 100%;
    }
    .navigation {
        border-left: none;
    }
}