-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
191 lines (180 loc) · 3.81 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
* {
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
background-color: #c0d6ed;
}
body, .quote-input {
font-family: cursive;
}
select {
width: 200px;
padding: 5px;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-color: #a7c5e3;
}
select:focus,
button:focus {
outline: 0;
}
.settings-btn {
position: absolute;
bottom: 30px;
left: 30px;
}
.settings {
position: absolute;
top: 0;
left: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.3);
height: 70px;
color: #fff;
display: flex;
justify-content: space-evenly;
align-items: center;
transform: translateY(0);
transition: transform 0.3s ease-in-out;
}
.settings > div > a {
font-size: 30px;
text-decoration: none;
color: #fff;
border-radius: 10px;
padding: 8px;
transition: background-color 0.5s ease-out;
}
.settings > div > a:hover {
background-color: #5E6873;
}
#settings-form{
color: white;
font-size: 30px;
}
#difficulty {
font-size: 25px; /* or any other value you prefer */
font-family: Arial, sans-serif; /* or any other font you prefer */
color: #333; /* or any other color you prefer */
border: 2px solid #ccc; /* or any other border style you prefer */
border-radius: 5px; /* or any other border-radius you prefer */
padding: 10px; /* or any other padding you prefer */
background-color: #f9f9f9; /* or any other background-color you prefer */
}
.flex{
display: flex;
align-items: center;
justify-content: center;
}
.ranOut{
color: rgb(234, 76, 76);
font-size: 50px;
}
.buttonReload{
/* border-radius: 10px; */
padding: 10px;
padding-inline: 20px;
outline: transparent;
font-family: cursive;
font-size: 30px;
/* margin-top: 30px; */
border-radius: 20px;
border: #fff 2px solid;
transition: background-color 0.5s ease-out;
}
.buttonReload:hover{
background-color: #5E6873;
color: white;
border: transparent 2px solid;
}
.settings.hide {
transform: translateY(-100%);
}
.settings div h2 {
padding: 8px;
border-radius: 10px;
cursor: pointer;
font-size: 30px;
}
.settings div h2:hover{
background-color: rgba(0, 0, 0, 0.3);
}
.container {
background-color: #01464e;
padding: 20px;
border-radius: 4px;
box-shadow: 0 15px 17px rgba(0, 0, 0, 0.5);
color: #fff;
position: relative;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 70%;
border-radius: 20px;
height: 50vh;
max-width: 90%;
}
.settings-btn {
position: absolute;
bottom: 30px;
left: 30px;
}
.settings.hide {
transform: translateY(-100%);
}
.timer {
position: absolute;
top: 15vh;
font-size: 3rem;
color: rgb(234, 76, 76);
font-weight: bold;
}
.quote-display {
margin-bottom: 1rem;
font-size: 35px;
margin-left: calc(1rem + 2px);
margin-right: calc(1rem + 2px);
}
.end-game-container {
background-color: inherit;
display: none;
align-items: center;
justify-content: center;
flex-direction: column;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
}
.quote-input {
background-color: white;
border: 2px solid #A1922E;
outline: none;
width: 100%;
height: 15vh;
margin: auto;
resize: none;
padding: .5rem 1rem;
font-size: 35px;
border-radius: .5rem;
}
.quote-input:focus {
border-color: black;
}
.correct {
color: green;
}
.incorrect {
color: red;
text-decoration: underline;
}