ese-website/_includes/timetables.css

36 lines
632 B
CSS

.timetable {
border-spacing: 0;
}
.timetable td {
border-bottom: 1px solid black;
border-right: 1px solid black;
padding: 0.5em;
}
.timetable tr:not(:first-child) th {
border-right: 1px solid black;
border-left: 1px solid black;
position: sticky;
left: 0;
background: #fefefe;
}
.timetable th {
border-bottom: 1px solid black;
}
.timetable th:first-child {
position: sticky;
left: 0;
background: #fefefe;
}
.timetable tr {
position: relative;
height: 42px;
}
.timetable tr::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
border-bottom: 1px dotted rgba(0,0,0,0.5);
}