-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
72 lines (64 loc) · 1.49 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
/* Import a modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(to bottom right, #6a11cb, #2575fc);
color: #fff;
}
.quiz-container {
background-color: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
padding: 40px;
border-radius: 12px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
width: 90%;
max-width: 600px;
}
.question {
margin: 20px 0;
font-size: 28px;
font-weight: 600;
color: #333;
text-align: center;
}
#answer {
padding: 12px 16px;
margin: 20px 0;
border: 2px solid #6a11cb;
border-radius: 8px;
font-size: 18px;
color: #333;
transition: border-color 0.3s ease-in-out;
width: 100%;
box-sizing: border-box;
}
#answer:focus {
outline: none;
border-color: #2575fc;
}
#submit-btn {
background-color: #6a11cb;
color: #fff;
border: none;
padding: 14px 28px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: background-color 0.3s ease-in-out;
font-family: 'Poppins', sans-serif;
}
#submit-btn:hover {
background-color: #2575fc;
}
p {
margin: 10px;
font-size: 16px;
color: #555;
text-align: center;
}