forked from danielringel4/Data-Science-I-Biomathematik-Quiz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
123 lines (109 loc) · 2.46 KB
/
style.css
File metadata and controls
123 lines (109 loc) · 2.46 KB
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
:root {
--bg-color: #f4f7f6;
--text-color: #2c3e50;
--primary: #3498db;
--primary-hover: #2980b9;
--secondary: #ecf0f1;
--accent: #27ae60;
--white: #ffffff;
}
body {
background-color: var(--bg-color);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: var(--text-color);
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
#title-test {
margin-bottom: 40px;
font-weight: 300;
letter-spacing: 1px;
}
#topic-selection {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
width: 100%;
max-width: 900px;
}
.topic-btn {
background-color: var(--white);
color: var(--text-color);
border: 2px solid var(--primary);
border-radius: 8px;
padding: 15px;
font-size: 1.1rem;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.topic-btn:hover {
background-color: var(--primary);
color: var(--white);
transform: translateY(-3px);
box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
#quiz-area {
background: var(--white);
padding: 30px;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0,0,0,0.05);
max-width: 600px;
width: 100%;
}
#question-text {
font-size: 1.3rem;
margin-bottom: 25px;
line-height: 1.5;
}
.answer-btn {
background-color: var(--secondary);
color: var(--text-color);
border: none;
border-radius: 6px;
padding: 15px 20px;
margin-bottom: 12px;
width: 100%;
font-size: 1rem;
cursor: pointer;
transition: background 0.2s;
text-align: left;
}
.answer-btn:hover {
background-color: #bdc3c7;
}
.return-btn {
margin-top: 20px;
background-color: var(--primary);
color: white;
border: none;
padding: 12px 30px;
border-radius: 6px;
cursor: pointer;
font-size: 1rem;
}
#progress {
font-size: 0.9rem;
color: var(--primary);
font-weight: bold;
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 1px;
}
.correct {
background-color: #27ae60 !important;
color: white !important;
}
.wrong {
background-color: #e74c3c !important;
color: white !important;
}