Mhdeusi commited on
Commit
cbfb57e
·
verified ·
1 Parent(s): c753ae1

Create ui/style.css

Browse files
Files changed (1) hide show
  1. ui/style.css +212 -0
ui/style.css ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ body {
8
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
9
+ line-height: 1.6;
10
+ color: #333;
11
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
12
+ min-height: 100vh;
13
+ }
14
+
15
+ .container {
16
+ max-width: 1200px;
17
+ margin: 0 auto;
18
+ padding: 20px;
19
+ }
20
+
21
+ header {
22
+ background: white;
23
+ border-radius: 15px;
24
+ padding: 20px;
25
+ margin-bottom: 20px;
26
+ box-shadow: 0 10px 30px rgba(0,0,0,0.1);
27
+ text-align: center;
28
+ }
29
+
30
+ header h1 {
31
+ color: #4a5568;
32
+ margin-bottom: 10px;
33
+ }
34
+
35
+ .score-display {
36
+ background: #48bb78;
37
+ color: white;
38
+ padding: 10px 20px;
39
+ border-radius: 25px;
40
+ font-weight: bold;
41
+ display: inline-block;
42
+ }
43
+
44
+ main {
45
+ display: grid;
46
+ grid-template-columns: 1fr 1fr;
47
+ gap: 20px;
48
+ }
49
+
50
+ section {
51
+ background: white;
52
+ border-radius: 15px;
53
+ padding: 25px;
54
+ box-shadow: 0 10px 30px rgba(0,0,0,0.1);
55
+ }
56
+
57
+ .lesson-section {
58
+ grid-column: 1 / -1;
59
+ }
60
+
61
+ .quiz-section, .exercise-section {
62
+ min-height: 400px;
63
+ }
64
+
65
+ h2 {
66
+ color: #4a5568;
67
+ border-bottom: 3px solid #667eea;
68
+ padding-bottom: 10px;
69
+ margin-bottom: 20px;
70
+ }
71
+
72
+ .lesson-content {
73
+ line-height: 1.8;
74
+ }
75
+
76
+ .lesson-text {
77
+ margin-bottom: 20px;
78
+ font-size: 16px;
79
+ }
80
+
81
+ .lesson-image {
82
+ max-width: 100%;
83
+ height: auto;
84
+ border-radius: 10px;
85
+ margin: 15px 0;
86
+ box-shadow: 0 5px 15px rgba(0,0,0,0.1);
87
+ }
88
+
89
+ .question {
90
+ margin-bottom: 25px;
91
+ padding: 15px;
92
+ background: #f7fafc;
93
+ border-radius: 10px;
94
+ border-left: 4px solid #667eea;
95
+ }
96
+
97
+ .question-text {
98
+ font-weight: 600;
99
+ margin-bottom: 15px;
100
+ color: #2d3748;
101
+ }
102
+
103
+ .options {
104
+ display: flex;
105
+ flex-direction: column;
106
+ gap: 10px;
107
+ }
108
+
109
+ .option-label {
110
+ display: flex;
111
+ align-items: center;
112
+ padding: 10px;
113
+ background: white;
114
+ border: 2px solid #e2e8f0;
115
+ border-radius: 8px;
116
+ cursor: pointer;
117
+ transition: all 0.3s ease;
118
+ }
119
+
120
+ .option-label:hover {
121
+ border-color: #667eea;
122
+ background: #f0f4ff;
123
+ }
124
+
125
+ .option-label input {
126
+ margin-right: 10px;
127
+ }
128
+
129
+ .exercise-question {
130
+ margin-bottom: 20px;
131
+ font-weight: 600;
132
+ color: #2d3748;
133
+ }
134
+
135
+ textarea {
136
+ width: 100%;
137
+ padding: 15px;
138
+ border: 2px solid #e2e8f0;
139
+ border-radius: 10px;
140
+ font-family: inherit;
141
+ font-size: 14px;
142
+ resize: vertical;
143
+ transition: border-color 0.3s ease;
144
+ }
145
+
146
+ textarea:focus {
147
+ outline: none;
148
+ border-color: #667eea;
149
+ }
150
+
151
+ button {
152
+ background: #667eea;
153
+ color: white;
154
+ border: none;
155
+ padding: 12px 30px;
156
+ border-radius: 25px;
157
+ font-size: 16px;
158
+ font-weight: 600;
159
+ cursor: pointer;
160
+ transition: all 0.3s ease;
161
+ margin-top: 15px;
162
+ }
163
+
164
+ button:hover {
165
+ background: #5a67d8;
166
+ transform: translateY(-2px);
167
+ box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
168
+ }
169
+
170
+ .feedback {
171
+ margin-top: 20px;
172
+ padding: 15px;
173
+ border-radius: 10px;
174
+ text-align: center;
175
+ font-weight: 600;
176
+ }
177
+
178
+ .feedback.success {
179
+ background: #c6f6d5;
180
+ color: #22543d;
181
+ border: 2px solid #48bb78;
182
+ }
183
+
184
+ .feedback.warning {
185
+ background: #fed7d7;
186
+ color: #742a2a;
187
+ border: 2px solid #f56565;
188
+ }
189
+
190
+ .hint {
191
+ background: #fffaf0;
192
+ border: 2px solid #ed8936;
193
+ border-radius: 8px;
194
+ padding: 10px;
195
+ margin: 10px 0;
196
+ font-size: 14px;
197
+ color: #744210;
198
+ }
199
+
200
+ @media (max-width: 768px) {
201
+ main {
202
+ grid-template-columns: 1fr;
203
+ }
204
+
205
+ .container {
206
+ padding: 10px;
207
+ }
208
+
209
+ section {
210
+ padding: 15px;
211
+ }
212
+ }