-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathquiz.css
More file actions
85 lines (74 loc) · 1.23 KB
/
quiz.css
File metadata and controls
85 lines (74 loc) · 1.23 KB
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
/*Quiz CSS*/
.container{
background: rgb(158, 108, 204);
width: 90%;
max-width: 600px;
border-radius: 10px;
padding: 30px;
margin-bottom: 3vh;
}
.container h1{
font-size: 25px;
color: black;
font-weight: 600;
padding-bottom: 15px;
display: flex;
}
.quiz{
padding: 20px 0;
}
.quiz h2{
font-size: 19px;
color: black;
font-weight: 600;
}
.btn{
background: white;
color: #222;
font-weight: 500;
width: 100%;
border: 1px solid #222;
padding: 10px;
margin: 10px 0;
text-align: left;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s;
}
.btn:hover:not([disabled]){
background: #222;
color: white;
}
.btn:disabled{
cursor: no-drop;
}
#next{
background: white;
color: black;
font-weight: 500;
width: 150px;
border: 0;
padding: 10px;
margin: 20px auto 0;
border-radius: 4px;
cursor: pointer;
display: none;
}
.btn.correct{
background: rgb(98, 179, 98);
opacity: 1;
}
.btn.wrong{
background: rgb(184, 81, 81);
opacity: 1;
}
#timer{
display: flex;
float: right;
font-size: 20px;
}
.custom-container{
margin-top: 6vh;
margin-bottom: 4vh;
text-align: center;
}