-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
139 lines (139 loc) · 2.62 KB
/
style.css
File metadata and controls
139 lines (139 loc) · 2.62 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: system-ui, -apple-system, sans-serif;
background: #e8e6e1;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
color: #3d3d3d;
}
.container {
background: #f5f3ef;
border-radius: 16px;
padding: 40px;
box-shadow: 0 4px 24px rgba(0,0,0,0.06);
text-align: center;
max-width: 500px;
width: 90%;
}
h1 {
font-size: 1.4rem;
margin-bottom: 24px;
color: #5a5550;
font-weight: 600;
}
.score {
font-size: 0.95rem;
color: #8a8580;
margin-bottom: 24px;
}
.score span { font-weight: 700; color: #3d3d3d; }
.problem {
font-size: 2rem;
font-weight: 700;
margin-bottom: 8px;
min-height: 2.6rem;
line-height: 1.3;
}
.hint {
font-size: 0.85rem;
color: #9a9590;
margin-bottom: 20px;
min-height: 1.2rem;
}
.answer-row {
display: flex;
gap: 10px;
justify-content: center;
margin-bottom: 16px;
}
input[type="text"] {
font-size: 1.3rem;
padding: 10px 16px;
border: 2px solid #d5d0ca;
border-radius: 8px;
width: 180px;
text-align: center;
outline: none;
transition: border-color 0.2s;
}
input[type="text"]:focus { border-color: #7a9bb5; }
button {
font-size: 1rem;
padding: 10px 24px;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: background 0.2s;
}
#submitBtn {
background: #7a9bb5;
color: #fff;
}
#submitBtn:hover { background: #6889a3; }
#nextBtn {
background: #e0ddd8;
color: #5a5550;
}
#nextBtn:hover { background: #d5d0ca; }
.feedback {
font-size: 1.1rem;
font-weight: 600;
min-height: 1.5rem;
margin-bottom: 8px;
}
.feedback.correct { color: #4a9a5e; }
.feedback.incorrect { color: #c06060; }
.type-label {
font-size: 0.75rem;
color: #b5b0aa;
margin-top: 12px;
}
.back-link {
display: inline-block;
margin-bottom: 16px;
color: #7a9bb5;
text-decoration: none;
font-size: 0.95rem;
font-weight: 600;
align-self: flex-start;
}
.back-link:hover { color: #6889a3; }
.card-grid {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}
.card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #fff;
border: 2px solid #e0ddd8;
border-radius: 12px;
padding: 32px 28px;
width: 180px;
text-decoration: none;
color: #3d3d3d;
transition: border-color 0.2s, box-shadow 0.2s;
cursor: pointer;
}
.card:hover {
border-color: #7a9bb5;
box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.card-icon {
font-size: 1.6rem;
font-weight: 700;
margin-bottom: 12px;
color: #7a9bb5;
}
.card-title {
font-size: 1rem;
font-weight: 600;
color: #5a5550;
}