-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
105 lines (104 loc) · 1.8 KB
/
style.css
File metadata and controls
105 lines (104 loc) · 1.8 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
body {
margin: 0;
padding: 0;
font-family: sans-serif;
background: #fafafa;
}
header {
background: #336699;
color: #fff;
padding: 1.5rem;
text-align: center;
}
header h1 {
margin: 0;
font-size: 2.2rem;
}
nav a {
color: #fff;
text-decoration: none;
margin: 0 1.2rem;
font-size: 1.2rem;
}
nav a:hover {
text-decoration: underline;
}
main {
padding: 1.5rem;
max-width: 1200px;
margin: 0 auto;
}
/* Flex container for side-by-side tables */
.chart-container {
display: flex;
gap: 2rem;
justify-content: center;
}
table {
border-collapse: collapse;
background: #fff;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
margin-bottom: 2rem;
font-size: 1.2rem;
}
th, td {
border: 1px solid #ddd;
padding: 1rem;
text-align: center;
vertical-align: middle;
min-width: 100px;
}
thead th {
background: #eaecef;
font-weight: bold;
}
/* Row labels in the first column */
tbody th {
background: #f4f4f4;
width: 60px;
font-weight: normal;
}
/* For empty cells (e.g. non-existent syllables) */
.empty {
background: #f9f9f9;
color: #ccc;
}
table img {
max-width: 100px;
height: auto;
display: block;
margin: 0 auto;
}
/* Responsive adjustments for mobile */
@media (max-width: 600px) {
header {
padding: 1rem;
}
header h1 {
font-size: 1.8rem;
}
nav a {
margin: 0 0.5rem;
font-size: 1rem;
}
main {
padding: 1rem;
}
.chart-container {
flex-direction: column;
gap: 1rem;
align-items: center;
}
table {
font-size: 1rem;
margin-bottom: 1rem;
width: 100%;
}
th, td {
padding: 0.75rem;
min-width: auto;
}
table img {
max-width: 80px;
}
}