-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtimetable.css
More file actions
236 lines (197 loc) · 4.07 KB
/
Copy pathtimetable.css
File metadata and controls
236 lines (197 loc) · 4.07 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
/* Reset some default styles for consistency */
body,
h1,
h2,
h3,
p,
table {
margin: 0;
padding: 0;
}
/* Apply a background color and text color to the body */
body {
background-color: #ededed;
color: #333;
margin-top: 100px;
}
/* Style the navigation menu */
#nav {
background-color: #ff8330;
margin: 25px;
padding: 1px;
}
#nav ul {
list-style-type: none;
display: flex;
justify-content: center;
}
#nav li {
margin: 0px 20px;
position: relative;
}
#nav a {
text-decoration: none;
color: #fff;
font-weight: bold;
padding: 5px;
border-radius: 3px;
}
/* Style the semester list */
ul#semesterList {
display: none;
position: absolute;
background-color: rgb(255, 125, 50);
top: 100%;
/* Position below the parent li */
left: 0;
z-index: 1;
}
ul#semesterList li {
padding: 5px;
text-align: center;
margin: 5px;
}
/* Show the semester list on hover */
#a250tsOption:hover ul#semesterList {
display: block;
}
/* Center-align the text within list items */
ul#semesterList li a {
display: block;
text-align: center;
}
/* Center-align the text when hovering */
/*#allSubjectsOption:hover ul#semesterList li {
text-align: center;
}*/
/* ... (remaining styles) ... */
/* Show the semester list on hover */
#nav li:hover ul#semesterList {
display: block;
}
#nav a:hover {
color: #333;
background-color: #ffffff;
}
/* Style the main content section */
main {
padding: 20px;
}
section {
margin: 20px 0;
padding: 20px;
background-color: white;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
table {
width: 100%;
border-collapse: collapse;
}
table th,
table td {
border: 1px solid #ccc;
padding: 8px;
}
/* Style the footer */
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px;
}
#subjects {
position: relative;
background-color: white;
margin-top: 20px;
margin-bottom: 20px;
margin-left: 250px;
margin-right: 250px;
padding: 20px;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
.semester {
margin-bottom: 20px;
}
.semester h3 {
margin: 10px 0;
}
#subjects table {
width: 100%;
border-collapse: collapse;
}
#subjects table tbody tr:nth-child(2n + 1) {
background-color: rgba(225, 224, 211, 0.25);
}
#subjects table th {
border: 1px solid black;
padding: 8px;
background-color: rgb(247, 211, 190);
}
#subjects table td {
border: 1px solid black;
padding: 8px;
}
/* ... (remaining styles) ... */
#subjects ul {
list-style-type: disc;
margin-left: 20px;
}
/* ... (previous styles) ... */
#batch1 {
margin: 0px 250px;
}
/* Style the "Batch 1" time table */
#batch1 table {
width: 100%;
border-collapse: collapse;
text-align: center;
}
#batch1 table th,
#batch1 table td {
border: 1px solid black;
padding: 8px;
}
#batch1 table th {
background-color: rgb(247, 211, 190);
}
/* ... (remaining styles) ... */
#batch2 {
margin: 20px 250px;
}
#batch2 table {
width: 100%;
border-collapse: collapse;
text-align: center;
}
#batch2 table th,
#batch2 table td {
border: 1px solid black;
padding: 8px;
}
#batch2 table th {
background-color: rgb(247, 211, 190);
}
/* table {
margin: 20px; /* Adjust the value as needed */
#news {
margin-left: 100px;
margin-right: 100px;
/* Adjust the margin value as needed */
}
.side-column {
position: absolute;
top: 0px;
/* top: -300px; */
right: -400px;
width: 250px;
color: rgb(247, 211, 190);
margin: 40px 40px;
/* margin-left: 1000px; */
/* Adjust the width as needed */
/* height: 100%; */
/* This makes the column stretch to the full height of the content */
background-color: #006a9b;
padding: 25px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}