-
Notifications
You must be signed in to change notification settings - Fork 1
/
aoc-html.css
142 lines (125 loc) · 2.28 KB
/
aoc-html.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
138
139
140
141
142
/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
background-color: #0d1117;
color: #c9d1d9;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
padding: 20px;
}
h1, p {
margin-bottom: 20px;
}
/* Header */
.header {
background-color: #161b22;
width: 100%;
padding: 20px;
text-align: center;
color: #58a6ff;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
border-bottom: 2px solid #30363d;
}
.logo {
font-size: 2rem;
font-weight: 600;
letter-spacing: 3px;
text-transform: uppercase;
text-shadow: 0px 4px 8px rgba(88, 166, 255, 0.8);
}
/* Quiz Section */
.quiz-section {
background-color: #21262d;
border-radius: 15px;
padding: 30px;
text-align: center;
max-width: 500px;
width: 100%;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.5);
border: 2px solid #30363d;
}
.quiz-section h1 {
font-size: 2rem;
color: #58a6ff;
text-shadow: 0px 4px 8px rgba(88, 166, 255, 0.8);
}
.quiz-section p {
font-size: 1.2rem;
color: #8b949e;
margin-bottom: 30px;
}
.question {
margin-bottom: 20px;
}
.question label {
font-size: 1.1rem;
display: block;
margin-bottom: 8px;
color: #58a6ff;
}
input {
width: 100%;
padding: 10px;
border: none;
border-radius: 5px;
margin-top: 5px;
background-color: #30363d;
color: #c9d1d9;
outline: none;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus {
background-color: #21262d;
box-shadow: 0px 0px 10px #58a6ff;
}
input::placeholder {
color: #8b949e;
}
.btn {
background-color: #238636;
color: white;
padding: 12px 25px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1rem;
text-transform: uppercase;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
margin-top: 20px;
}
.btn:hover {
background-color: #2ea043;
box-shadow: 0px 0px 10px rgba(46, 160, 67, 0.8);
}
/* Result */
.result {
margin-top: 20px;
font-size: 1.3rem;
font-weight: 600;
color: #58a6ff;
animation: fadeIn 0.5s ease-in-out;
}
/* Footer */
.footer {
text-align: center;
margin-top: 50px;
font-size: 0.9rem;
color: #8b949e;
}
/* Animations */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}