-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
146 lines (122 loc) · 2.3 KB
/
style.css
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
:root, .light {
--background-color: #fafafa;
--text-color: #101010;
--table-head-bg-color: #009d81;
--table-row-bg-color: #99d8cc;
--button-color: #ccc;
--button-hover-color: #aaa;
}
.dark {
--background-color: #181818;
--text-color: #fefefe;
--table-head-bg-color: #009d81;
--table-row-bg-color: #304440;
--button-color: #333;
--button-hover-color: #444;
}
@media print {
body, html {
padding: 0;
}
}
table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
font-size: 10pt;
}
.table {
border: 3px solid var(--text-color);
grid-gap: 0;
font-family: sans-serif;
}
.table thead {
background-color: var(--table-head-bg-color);
color: var(--text-color);
}
.table th {
text-align: left;
}
.table tbody td:nth-child(3),
.table thead th:nth-child(3),
.table tbody td:nth-child(4),
.table thead th:nth-child(4) {
text-align: right;
}
.table td, th {
padding: 0.2rem 0.7rem;
}
.table thead th:nth-child(1) {
text-align: left;
}
.table tbody td:nth-child(2) {
max-width: 20rem;
}
.table thead tr th {
height: 3rem;
}
.table tbody tr td {
height: 2.5rem;
}
.table tbody tr:nth-child(2n) {
background-color: var(--table-row-bg-color);
}
.name + .name::before {
content: ", ";
}
.info {
display: inline-block;
border: 3px solid var(--text-color);
padding: 0.7rem;
margin-bottom: 0;
width: 100%;
box-sizing: border-box;
}
body {
print-color-adjust: exact;
height: 100vh;
background: var(--background-color);
}
#app {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
color: var(--text-color);
}
#home {
display: flex;
flex-direction: column;
}
#home > a, #theme-button {
padding: 0.75em 2em;
margin: 0.75em;
background-color: var(--button-color);
text-align: center;
color: var(--text-color);
text-decoration: none;
position: relative;
}
#home > a:hover, #theme-button:hover {
background-color: var(--button-hover-color);
}
#home > a::before, #theme-button::before {
content: "";
position: absolute;
z-index: -1;
transition: inset 0.25s ease;
inset: 0;
}
#home > a:hover::before, #theme-button:hover::before {
background: linear-gradient(45deg, #00d061, #0000, #0000, #0061d0);
inset: -3px;
}
#theme-button {
font-size: inherit;
margin-bottom: 3em;
padding: 0.5em 1em;
margin-left: auto;
margin-right: auto;
border: none;
}