-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
100 lines (88 loc) · 1.56 KB
/
style.css
File metadata and controls
100 lines (88 loc) · 1.56 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
body {
font-family: Arial, sans-serif;
margin: 20px;
background: #f7f7f7;
color: #333;
}
h1 {
text-align: center;
color: #2c3e50;
margin-bottom: 30px;
}
section {
margin: 20px 0;
padding: 20px;
background: white;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
h2 {
color: #34495e;
margin-bottom: 15px;
border-bottom: 2px solid #3498db;
padding-bottom: 5px;
}
select, button, textarea {
margin: 10px 5px;
padding: 12px;
font-size: 14px;
border: 1px solid #ddd;
border-radius: 6px;
}
button {
background: #3498db;
color: white;
cursor: pointer;
transition: background 0.3s;
}
button:hover {
background: #2980b9;
}
#animation, #practice-animation {
display: flex;
gap: 8px;
margin: 20px 0;
min-height: 60px;
flex-wrap: wrap;
align-items: center;
}
.box {
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background: #ecf0f1;
border: 2px solid #bdc3c7;
border-radius: 8px;
font-weight: bold;
transition: all 0.3s ease;
}
.highlight {
background: #e74c3c;
color: white;
border-color: #c0392b;
transform: scale(1.1);
}
textarea {
width: calc(100% - 24px);
font-family: 'Courier New', monospace;
background: #2c3e50;
color: #ecf0f1;
border: none;
resize: vertical;
}
#explanation, #practice-explanation {
background: #f8f9fa;
padding: 15px;
border-left: 4px solid #3498db;
margin: 15px 0;
border-radius: 0 6px 6px 0;
font-style: italic;
}
.controls {
display: flex;
gap: 10px;
align-items: center;
flex-wrap: wrap;
}