-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (72 loc) · 1.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
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,700');
* {
margin: 0;
padding: 0;
color: white;
font-family: "Open Sans", serif;
font-weight: 300;
-webkit-transition: all 200ms ease-in-out;
transition: all 200ms ease-in-out;
}
#game-canvas {
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#score-box, #game {
border: 4px solid white;
border-radius: 8px;
background-color: rgba(0, 0, 0, 0.5);
}
#score-box {
width: 320px;
height: 180px;
}
#score-box h1 {
font-size: 72px;
font-weight: 700;
text-align: center;
}
#tooltip {
text-align: center;
}
#previous-color {
font-weight: 700;
}
#game {
margin-top: 20px;
width: 320px;
height: 180px;
}
#color-hex {
text-align: center;
margin: 10px 0;
}
#user-guess {
color: black;
text-align: center;
font-size: 26px;
width: 80%;
margin: auto;
margin-top: 10px;
margin-bottom: 10px;
display: block;
}
#confirm-btn {
display: block;
font-size: 32px;
font-weight: 700;
border-style: none;
border-radius: 16px;
padding: 5px;
width: 50%;
margin: auto;
text-align: center;
box-shadow: 0px 5px 5px 3px rgba(0, 0, 0, 0.5);
}
#confirm-btn:hover {
cursor: pointer;
box-shadow: 0px 10px 10px 3px rgba(0, 0, 0, 0.5);
}