Repository navigation
Expand file tree
/
Copy pathSentenceFormation.css
More file actions
125 lines (104 loc) · 2.02 KB
/
Copy pathSentenceFormation.css
File metadata and controls
125 lines (104 loc) · 2.02 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
/* SentenceFormation.css */
.exercise-container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
font-family: Arial, sans-serif;
color: #333;
}
h2 {
font-size: 28px;
text-align: center;
color: #4A90E2;
}
.level-section {
margin-top: 20px;
}
h3 {
font-size: 24px;
margin-bottom: 10px;
color: #333;
}
.sentence-grid {
display: grid;
grid-template-columns: 1fr;
gap: 20px;
}
.sentence-card {
border: 1px solid #ddd;
border-radius: 8px;
padding: 15px;
background-color: #f9f9f9;
}
p {
margin: 8px 0;
color: #555;
}
.answer-input {
width: 100%;
padding: 8px;
margin-top: 8px;
border-radius: 5px;
border: 1px solid #ccc;
}
.answer-input.correct {
border: 2px solid #4CAF50;
background-color: #E8F5E9;
}
.answer-input.incorrect {
border: 2px solid #F44336;
background-color: #FFEBEE;
}
.option-button {
display: inline-block;
margin: 5px 5px 10px 0;
padding: 10px 15px;
border: 1px solid #bbb;
border-radius: 5px;
cursor: pointer;
background-color: #f0f0f0;
color: #333;
transition: background-color 0.2s, color 0.2s;
}
.option-button:hover {
background-color: #ddd;
}
.option-button.correct {
background-color: #4CAF50;
color: white;
}
button {
padding: 10px 15px;
margin-top: 10px;
border: none;
border-radius: 5px;
background-color: #4A90E2;
color: white;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #357ABD;
}
button[disabled] {
background-color: #ddd;
cursor: not-allowed;
}
button:disabled:hover {
background-color: #ddd;
}
.reset-button {
margin-top: 20px;
background-color: #F44336;
}
.reset-button:hover {
background-color: #D32F2F;
}
.correct-answer {
color: #4CAF50;
font-weight: bold;
}
.explanation {
font-size: 14px;
color: #777;
}