-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
128 lines (111 loc) · 1.86 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
}
#app {
width: 400px;
height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
box-sizing: border-box;
}
.fields {
display: flex;
justify-content: center;
margin-bottom: 20px;
width: 100%;
}
.field-container {
display: flex;
flex-direction: column;
align-items: center;
margin: 0 20px;
}
.field {
width: 100px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
font-size: 24px;
font-weight: bold;
position: relative;
}
.fear {
background-color: black;
color: white;
border-radius: 10px;
}
.countdown {
background-color: white;
color: black;
border: 2px solid black;
border-radius: 10px;
}
.fear .counter,
.countdown .counter {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.countdown .counter {
color: black;
}
label {
margin-bottom: 5px;
color: white;
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.dot-fields {
display: flex;
justify-content: space-around;
width: 100%;
}
.dot-container {
display: flex;
flex-direction: column;
align-items: center;
margin: 0 7px;
}
.dot {
position: relative;
width: 42px;
height: 42px;
}
.dot img {
width: 100%;
height: 100%;
}
.counter {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 24px;
font-weight: bold;
color: white;
}
.dot .counter {
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}
.plus-minus {
display: flex;
justify-content: center;
margin-top: 8px;
}
.plus,
.minus {
width: 16px;
height: 16px;
cursor: pointer;
margin: 0 2px;
}