-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
115 lines (101 loc) · 2.13 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
* {
margin: 0;
padding: 0;
font-family: 'Montserrat', sans-serif;
box-sizing: border-box;
border: none;
outline: none;
}
body {
background-color: rgb(73, 230, 236);
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
background-color: aliceblue;
transition: 1s ease;
width: 80%;
max-width: 40rem;
border-radius: 1rem;
overflow: hidden;
box-shadow: 1rem 1rem 10rem 2rem rgb(0 0 0 / 0.25);
padding: 2.5rem;
}
.question-card {
background-color: aquamarine;
border-radius: 1rem;
margin: 2rem auto;
padding: 2rem 0;
text-align: center;
}
.answer-card {
padding: 2rem 0 0;
display: flex;
flex-direction: column;
}
button {
transition: 0.3s;
cursor: pointer;
font-size: 1.5rem;
border-radius: 1rem;
text-align: center;
background-color: rgba(0, 0, 0, 0.1);
margin: 0.5rem 0;
padding: 1rem 0;
}
button:hover {
background-color: rgba(0, 0, 0, 0.25);
}
.game-data {
margin: 1rem auto;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
#start-game,
#end-game {
text-align: center;
display: flex;
flex-direction: column;
column-gap: 2rem;
}
#start-btn,
#restart-btn {
cursor: pointer;
border-radius: 1rem;
margin: 2rem auto 1rem;
padding: 1rem 3rem;
font-size: 2rem;
font-weight: 600;
color: rgb(255, 255, 255);
background-color: rgb(64, 107, 226);
}
#in-game,
#end-game {
display: none;
}
#start-game>p {
margin: 2rem auto;
}
#timer {
display: none;
text-align: left;
height: 0.5rem;
width: 100%;
background-color: rgb(250, 250, 250);
overflow: hidden;
border-radius: 1rem;
}
#progress {
transition: ease;
height: 100%;
background-color: rgba(255, 0, 0, 0.5);
}
#message {
font-size: 1.5rem;
}