-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsched_timetable.css
156 lines (116 loc) · 2.55 KB
/
sched_timetable.css
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
/*
* sched_timetable.css: Styling for HTML timetables (copied into resulting file)
* This file is from Minervac, a command-line client for Minerva
* <http://npaun.ca/projects/minervac>
* (C) Copyright 2016-2017 Nicholas Paun
*/
/* Page settings */
.sched-title, .sched-table, .sched-table * {
box-sizing: border-box;
}
.sched-title, .sched-table {
font-family: "CMU Serif", Palatino, serif;
background: #fdfdfd;
}
.sched-title {
text-align: center;
display: none;
margin: 0;
}
/* The table */
.sched-table {
border-spacing: 2px;
border-collapse: collapse;
width: 75%;
margin: auto;
border: #ccc solid 1.5px;
}
.sched-table tr {
border: #ccc solid 1px;
}
.sched-table td, .sched-table th {
height: 2vw;
}
.sched-table td {
width: 100vw;
}
.sched-table thead th {
padding: 1px;
}
.sched-table th {
background: #f5f5f5;
border-right: 1px solid #ccc;
width: 1vw;
}
.sched-blank {
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
/* Timeslots */
.sched-table tr:nth-child(2n) th {
text-indent: -99999px;
}
.sched-timeslot:after {
content: "h";
font-weight: normal;
}
/* Class block design */
.sched-entry div {
color: #222;
border-width: 1px;
border-style: solid;
margin: auto;
width: 100%;
height: 100%;
vertical-align: middle;
}
.sched-entry p {
margin: 0;
}
.sched-entry a {
color: navy;
text-decoration: none;
border-bottom: 1px dotted navy;
}
.registered {
background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.5) 35px, rgba(255, 255, 255, 0.5) 70px);
}
.waiting {
background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.1)), linear-gradient(-45deg, rgba(0, 0, 0, 0.1) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.1));
background-size: 60px 60px;
background-color: rgba(230, 230, 230, 0.5) !important;
font-style: italic;
}
/* Background colors */
.sched-entry-1 div {
border-color: #8CA0D4;
background-color: #CBD4EB;
}
.sched-entry-2 div {
border-color: #EC926E;
background-color: #F6C8B6;
}
.sched-entry-3 div {
border-color: #8FC77B;
background-color: #C0F4AE;
}
.sched-entry-4 div {
border-color: #CCCF79;
background-color: #FAFE92;
}
.sched-entry-5 div {
border-color: #C785BD;
background-color: #E8CAE3;
}
.sched-entry-6 div {
border-color: #7FD1B1;
background-color: #A6FCDD;
}
.sched-entry-7 div {
border-color: #896AD8;
background-color: #C0A6FC;
}
.sched-entry-8 div {
border-color: #AB5DA5;
background-color: #FCA6F3;
}