-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
137 lines (134 loc) · 2.32 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
body{
background-color: #001E4D;
}
.info-container{
background-color: rgb(88, 116, 12);
margin-top: 0px;
padding: 5px;
overflow: hidden;
}
.info{
font-size: 20px;
color: whitesmoke;
padding: 2px;
animation: moving 15s linear infinite;
}
.info span{
color: rgb(15, 15, 88);
}
.info:hover{
animation-play-state: paused;
}
@keyframes moving{
0%{transform: translateX(-100%);}
100%{transform: translateX(100%);}
}
.app{
background-color: #FFF;
width: 90%;
max-width: 650px;
margin: 40px auto;
border-radius: 10px;
padding: 30px;
/* text-align: center;*/
}
.counter-container{
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
background: #CCE5FF;
border: 1px solid #B8DAFF;
border-radius: 5px;
padding: 5px 8px;
}
.totalQuest{
font-size: 13px;
font-weight: 700;
}
.timer{
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
}
.time-label{
font-weight: 600;
font-size: 17px;
user-select: none;
margin-right: 10px;
}
.time-val{
font-weight: 500;
font-size: 18px;
background: #FFF;
height: 30px;
width: 45px;
text-align: center;
color: #343A40;
line-height: 30px;
border-radius: 5px;
border: 1px solid #343A40;
user-select: none;
}
.app h1{
font-size: 25px;
color: #001E4D;
font-weight: 600;
border-bottom: 1px solid #333;
padding: 30px;
text-align: center;
}
.quiz{
padding: 20px 0;
}
#question{
color: #001E4D;
font-size: 18px;
margin-left: 2px;
font-weight: 600;
padding:8px;
}
.btn{
background: #FFF;
font-weight: 500;
width: 100%;
padding: 10px;
border: 1px solid #222;
margin: 10px 0;
text-align: left;
border-radius: 4px;
cursor: pointer;
transition: all 0.3s;
}
.btn:hover:not([disabled]){
background: #222;
color: #FFF;
}
.btn:disabled{
cursor: no-drop;
}
#next-btn {
background: #001E4D;
color: #FFF;
font-weight: 500;
width: 150px;
border: 0;
margin: 20px auto 0;
padding: 10px;
border-radius: 4px;
cursor: pointer;
display: none;
}
.correct{
background: #9AEABC;
}
.incorrect{
background: #FF9393;
}