-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
121 lines (102 loc) · 1.77 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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
html {
font-size: 62.5%;
}
body {
font-family: "Josefin Sans", sans-serif;
background-color: #d3d3d3;
color: #0e0d0d;
}
.container {
max-width: 90rem;
padding: 6rem 0;
margin: 0 auto;
text-align: center;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8rem;
}
.game-title {
font-size: 6.4rem;
text-align: center;
letter-spacing: 1px;
}
.btn {
border-radius: 10px;
font-family: "Josefin Sans", sans-serif;
color: #fff;
border: none;
cursor: pointer;
}
.btn-newgame {
padding: 1.6rem 4.8rem;
background-color: #778699;
margin-bottom: 3.2rem;
font-size: 2.8rem;
}
.btn-guess {
background-color: #4f779d;
}
.instruction {
font-size: 2.8rem;
margin-bottom: 3.2rem;
}
.input-box {
display: flex;
gap: 10px;
justify-content: center;
margin-bottom: 2.4rem;
}
.btn-guess {
padding: 1.6rem;
}
.number-input {
border-radius: 10px;
font-size: 2.4rem;
font-family: "Josefin Sans", sans-serif;
display: block;
width: 190px;
padding: 10px;
}
.prediction-bar-box {
height: 3.6rem;
background-color: #d3d3d3;
border: 2px solid #0ca678;
margin-bottom: 3.2rem;
border-radius: 10px;
}
.prediction-bar {
background-color: #0ca678;
max-width: 100%;
height: 100%;
width: 0%;
transition: all 1s ease-in-out;
}
.text-result {
/* color: #7b788e; */
font-size: 2.8rem;
margin-bottom: 4.8rem;
transition: all 1s ease-in-out;
}
.last-record-message {
font-size: 1.6rem;
}
.last-guess {
transition: all 1s ease-in-out;
}
.secondary-heading {
margin-bottom: 10px;
font-size: 1.6rem;
transition: all 1s ease-in-out;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
display: none;
}