-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.css
86 lines (74 loc) · 1.35 KB
/
app.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
html {
font-family: sans-serif;
}
body {
background: #2c2c2c;
}
h2 {
font-size: 1.25rem;
margin: 1rem 0.5rem;
}
progress {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
width: 80%;
height: 2rem;
color: #ff0062;
border: 1px solid #a927f5;
}
progress[value]::-webkit-progress-bar,
progress[value] {
background-color: #eee;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}
progress[value]::-webkit-progress-value {
background-color: #a927f5;
transition: all 0.2s ease-out;
}
progress[value]::-moz-progress-bar {
background-color: #a927f5;
transition: all 0.2s ease-out;
}
button {
font: inherit;
background: #ff0062;
border: 1px solid #ff0062;
color: white;
padding: 1rem 2rem;
border-radius: 6px;
cursor: pointer;
margin: 0.5rem;
}
button:focus {
outline: none;
}
button:hover,
button:active {
background: #a927f5;
border-color: #a927f5;
}
#health-levels,
#controls {
margin: 2rem auto;
width: 30rem;
text-align: center;
border-radius: 10px;
padding: 1rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
background: white;
}
#controls {
display: flex;
flex-direction: column;
}
#bonus-life {
font-weight: bold;
color: white;
background: #ff0062;
border: 1px solid #ff0062;
padding: 0.15rem 0.5rem;
border-radius: 10px;
text-align: center;
margin: 0 0.5rem;
}