-
Notifications
You must be signed in to change notification settings - Fork 2
/
styles1.css
136 lines (120 loc) · 2.82 KB
/
styles1.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
body {
font-family: 'Roboto', sans-serif;
background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
color: #fff;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
header {
background: rgba(0, 0, 0, 0.8);
padding: 20px;
width: 100%;
text-align: center;
box-shadow: 0 0 5px rgba(0, 255, 255, 0.6);
}
header h1 {
font-size: 2.5em;
color: #44f865;
text-shadow: 0 0 4px #44f865, 0 0 20px #44f865, 0 0 30px #44f865;
}
main {
display: flex;
flex-direction: column;
align-items: center;
width: 90%;
max-width: 700px;
}
#quiz-container {
background: rgba(0, 0, 0, 0.8);
padding: 30px;
border-radius: 15px;
box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), inset 0 0 10px rgba(0, 255, 255, 0.3);
width: 100%;
}
h2 {
font-size: 2em;
margin-bottom: 20px;
color: #44f865;
text-align: center;
text-shadow: 0 0 10px #44f865, 0 0 20px #44f865;
}
.question-container {
margin-bottom: 20px;
}
.question-text {
font-size: 1.2em;
margin-bottom: 10px;
color: #44f865;
text-shadow: 0 0 5px #44f865;
}
.options-list {
list-style: none;
padding: 0;
}
.options-list li {
margin-bottom: 10px;
}
.options-list input[type="radio"] {
appearance: none;
background-color: #fff;
margin: 0;
font: inherit;
color: #44f865;
width: 1.5em;
height: 1.5em;
border-radius: 50%;
display: grid;
place-content: center;
border: 2px solid #44f865;
box-shadow: 0 0 10px #44f865;
transition: background 0.3s, box-shadow 0.3s;
}
.options-list input[type="radio"]::before {
content: "";
width: 0.75em;
height: 0.75em;
border-radius: 50%;
transform: scale(0);
box-shadow: inset 1em 1em #44f865;
transition: transform 0.3s ease-in-out;
}
.options-list input[type="radio"]:checked::before {
transform: scale(1);
}
#submit-btn {
background: linear-gradient(45deg, #37f456, #54f945);
color: #fff;
padding: 15px 30px;
border: none;
border-radius: 25px;
font-size: 1.5em;
cursor: pointer;
margin-top: 20px;
transition: background 0.3s, box-shadow 0.3s;
box-shadow: 0 0 15px rgba(110, 245, 105, 0.6), inset 0 0 5px rgba(7, 142, 56, 0.3);
}
#submit-btn:hover {
background: linear-gradient(45deg, #00bfa6, #00ffcc);
box-shadow: 0 0 20px rgba(0, 255, 255, 0.8), inset 0 0 10px rgba(0, 255, 255, 0.4);
}
#result-text {
margin-top: 20px;
font-size: 1.5em;
text-align: center;
color: #4dcb62;
text-shadow: 0 0 10px #2d9d58;
}
#result-text::before {
content: "";
display: block;
height: 2px;
width: 50%;
margin: 10px auto;
background: linear-gradient(90deg, #44f865, #44f865);
box-shadow: 0 0 10px #44f865;
}