-
Notifications
You must be signed in to change notification settings - Fork 8
/
style.css
105 lines (86 loc) · 1.2 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
body {
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial,
sans-serif, Apple Color Emoji, Segoe UI Emoji;
color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
body {
color: #c9d1d9;
background-color: black;
}
a {
color: #58a6ff;
}
}
h1 {
margin: 0;
}
h2 {
margin: 0.5em 0;
}
main {
display: flex;
}
.explanation {
margin: 0.5em 0;
}
.range-1 {
width: 63px;
}
.range-2 {
width: 109px;
}
.range-3 {
width: 156px;
}
.range-5 {
width: 250px;
}
.input table {
height: min-content;
}
td.img {
position: relative;
width: 48px;
height: 48px;
}
td.num {
width: 48px;
text-align: center;
}
td.num-wide {
width: 96px;
text-align: center;
}
.icon,
.icon-bg {
image-rendering: pixelated;
}
.icon-bg {
width: 48px;
height: 48px;
}
.icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -60%) scale(2);
}
.result {
margin-left: 70px;
}
.result[data-cost-calc='old'] .hidden-when-old-calc {
display: none;
}
.result[data-cost-calc='new'] .hidden-when-new-calc {
display: none;
}
#old-version-warning {
color: red;
}
.hidden {
display: none;
}
.margin-left {
margin-left: 1em;
}