-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
115 lines (102 loc) · 1.75 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
/* Global Reset */
* {
margin: 0;
padding: 0;
font-family: "Poppins", sans-serif;
box-sizing: border-box;
}
/* Body Styling */
/* Body Styling */
body {
background: linear-gradient(135deg, #1d2671, #c33764);
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
color: #dde4ee;
}
/* App Container */
.app {
background: rgba(0, 0, 0, 0.7);
width: 90%;
max-width: 600px;
border-radius: 10px;
padding: 30px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* Heading */
.app h1 {
font-size: 32px;
font-weight: 600;
color: #dde4ee;
margin-bottom: 20px;
border-bottom: 2px solid #333;
padding-bottom: 15px;
}
/* Quiz Section */
.quiz {
padding: 20px 0;
}
.quiz h2 {
font-size: 20px;
font-weight: 600;
color: #e90aa6;
margin-bottom: 15px;
}
/* Button Styles */
.btn {
background: rgba(0, 0, 0, 0.6);
color: #eaeeec;
font-size: 18px;
font-weight: 500;
width: 100%;
border: 1px solid #222;
margin: 10px 0;
padding: 12px;
border-radius: 5px;
text-align: left;
cursor: pointer;
transition: background 0.3s, color 0.3s;
}
.btn:hover:not([disabled]) {
background: #333;
color: #fff;
}
.btn:disabled {
cursor: not-allowed;
opacity: 0.6;
}
/* Next Button */
#next-btn {
background: #001e4d;
color: #fff;
font-weight: 600;
width: 150px;
border: none;
padding: 12px;
margin: 20px auto 0;
border-radius: 5px;
cursor: pointer;
text-align: center;
display: none;
transition: background 0.3s;
}
#next-btn:hover {
background: #003080;
}
/* Feedback Classes */
.correct {
background: #07f06c;
color: #003080;
}
.incorrect {
background: #ff9393;
color: #003080;
}
/* Timer */
#timer {
color: #dde4ee;
font-size: 18px;
margin-top: 10px;
text-align: right;
}