-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstle.css
More file actions
69 lines (60 loc) · 1.13 KB
/
stle.css
File metadata and controls
69 lines (60 loc) · 1.13 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
/* General Styling */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f9f9f9;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.timetable-container {
width: 90%;
max-width: 1200px;
margin: 20px auto;
padding: 10px;
background: #fff;
border: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
overflow-x: auto;
}
/* Table Styling */
table {
width: 100%;
border-collapse: collapse;
text-align: center;
}
th, td {
border: 1px solid #ccc;
padding: 8px;
font-size: 14px;
vertical-align: middle;
}
thead th {
background-color: #0074D9;
color: white;
font-weight: bold;
font-size: 16px;
text-transform: uppercase;
}
tbody tr:nth-child(even) {
background-color: #f3f3f3;
}
.break {
background-color: #FFDC00;
font-weight: bold;
}
td[colspan], td[rowspan] {
text-align: center;
vertical-align: middle;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
th, td {
font-size: 12px;
}
table {
font-size: 10px;
}
}