aboutsummaryrefslogtreecommitdiffstats
path: root/src/expense/static/style.css
blob: e1d746399f912500dd6b25f972c69378a743dfb8 (plain) (blame)
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    color-scheme: light dark;
    width: 100dvw;
    margin: auto;
}

nav {
    background: rgb(117, 117, 117);
    display: flex;
    align-items: center;
    padding: 0 3rem;
}

nav>h1 {
    flex: auto;
}

nav>* {
    display: inline;
    padding: 0.5rem;
    margin: 0;
}

.content {
    background: rgb(117, 117, 117);
    display: none;
    position: absolute;
    right: 0;
    min-width: 10rem;
}

nav :is(span, a):hover {
    font-style: italic;
}

.dropdown {
    position: relative;
    display: inline;
}

.dropdown>span {
    display: block;
    height: 100%;
    padding: 0 0.5rem;
}

.dropdown:hover .content {
    display: block;
}

.content>* {
    display: block;
    padding: 0.5rem;
    width: 100%;
    overflow: auto;
}

nav *:any-link {
    color: inherit;
    text-decoration: inherit;
}

form {
    display: grid;
    grid-gap: 2rem;
    margin: auto;
    width: max-content;
}

form>label {
    grid-column: 1;
}

form>* {
    grid-column: 2;
    width: auto;
}

form>button,
form>input[type="submit"] {
    width: max-content;
}

table,
th,
td {
    border: 1px solid;
    border-collapse: collapse;
    padding: 1rem;
}

thead th,
tfoot th,
tfoot td {
    background: rgb(117, 117, 117);
    border: 3px solid;
}

th,
td {
    padding: 1.5rem;
    border: 1px solid;
}

h1 {
    font-size: xxx-large;
}

h2 {
    font-size: xx-large;
}

main {
    margin: 0 auto;
    width: fit-content
}

.button-group>* {
    margin: 0 1rem;
}

textarea {
    min-height: 10rem;
}