-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
113 lines (95 loc) · 1.47 KB
/
styles.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
html {
font-size: 10px;
font-weight: 300;
}
body {
width: 90vw;
margin: 0 auto;
background: radial-gradient(#343e63, #2a3352);
}
main {
text-align: center;
background: #f8f1e9;
border: solid #ef7b54;
border-width: 0 8px 8px 8px;
min-height: 80vh;
border-radius: 0 0 3rem 3rem;
padding: 1rem;
color: #1f2933;
}
h2 {
font-size: 2.2rem;
margin: 8rem 0;
}
p {
font-size: 1.8rem;
}
.button-wrapper {
display: flex;
flex-direction: column;
}
button {
border: none;
cursor: pointer;
background: #83e1d0;
padding: 2rem;
border-radius: 1rem 1rem 0 0;
}
button:last-child {
background: #ef7b54;
border-radius: 0 0 1rem 1rem;
}
h3 {
font-size: 2rem;
}
input {
border: 1px solid lightgrey;
background: transparent;
margin: 2rem;
padding: 1rem 0;
width: 16rem;
text-align: center;
}
#range {
display: flex;
background: #83e1d0;
height: 50px;
padding: 0;
margin: 0 0 4rem 0;
}
#rangeOutput {
font-size: 1.6rem;
}
.stats {
text-align: left;
}
.info {
display: flex;
justify-content: space-between;
align-content: center;
}
@media (min-width: 800px) {
body {
width: 60vw;
}
}
#newGameButton {
border-radius: 0;
}
.info span {
font-size: 1.6rem;
}
.flash {
animation: 1s infinite;
}
@keyframes flash {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 1;
}
}