-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
319 lines (266 loc) · 6.05 KB
/
style.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
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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
* {
margin: 0;
font-family: Arial, sans-serif;
}
.html-mobile-background {
position: fixed;
z-index: -1;
top: 0;
left: 0;
width: 100%;
height: 125%; /* To compensate for mobile browser address bar space */
background: url("images/background.jpg") no-repeat;
background-size: 100% 100%;
}
@media (min-width: 600px) {
html {
background: url("images/background.jpg") no-repeat center center fixed;
background-size: cover;
}
.html-mobile-background {
display: none;
}
}
#navigation {
padding: 5px;
color: black;
background-color: white;
min-height: 30px;
z-index: 101;
}
#navigation-menu, #navigation-menu-mobile {
display: none;
}
#navigation-menu, #navigation-menu ul, #navigation-menu-mobile, #navigation-menu-mobile ul {
list-style: none;
padding-left: 0;
}
#navigation-overflow {
display: block;
width: 30px;
height: 30px;
background: url("images/ic-navigation-menu.png");
right: 10px;
position: absolute;
}
#navigation-menu a, #navigation-menu-mobile a {
color: black;
text-decoration: none;
}
#navigation-menu li, #navigation-menu-mobile li {
padding: 5px;
}
#navigation-menu > li, #navigation-menu-mobile > li {
display: block;
background-color: white;
z-index: 101;
}
#navigation-menu ul, #navigation-menu-mobile ul {
background-color: white;
padding-left: 20px;
}
#navigation-menu > li:hover, #navigation-menu-mobile > li:hover {
background-color: #ebebeb;
}
#navigation-menu > li:hover ul, #navigation-menu-mobile > li:hover ul {
display: block;
}
#navigation-menu > li li:hover, #navigation-menu-mobile > li li:hover {
background-color: #ebebeb;
}
#navigation-menu > li.menu-contact {
float: right;
width: auto;
border-left: #2d2d2d 2px solid;
}
/* min-width=170*amountOfMenuItems+50 */
@media (min-width: 1410px) {
#navigation-overflow {
display: none;
}
#navigation-menu {
display: block;
z-index: 101;
}
#navigation-menu li {
padding: 5px;
}
#navigation-menu > li {
display: inline;
float: left;
position: relative;
width: 150px;
margin-right: 10px;
transition: box-shadow 0.2s;
}
#navigation-menu ul {
padding-top: 10px;
padding-left: 0;
display: none;
position: relative;
}
#navigation-menu > li:hover {
box-shadow: black 0 2px 10px;
background-color: white;
}
#navigation-menu-mobile-container {
display: none;
}
}
#header {
padding: 15px;
background: linear-gradient(to right, rgba(95, 211, 228, 0.66), rgba(206, 255, 147, 0.66));
}
#header h1 {
font-size: 4em;
margin: 0;
}
#header h1 a {
text-decoration: none;
color: black;
}
#header-sticky {
position: absolute;
width: 100%;
!important;
z-index: 100;
}
#breadcrumbs {
color: white;
font-weight: bold;
box-shadow: black 0 5px 10px;
position: absolute;
width: 100%;
background: #2d2d2d;
}
#breadcrumbs p {
padding: 5px;
margin: 0;
}
#breadcrumbs a, #bottom a {
color: white;
}
#body {
margin: 30px 10% 60px;
padding: 15px;
background-color: white;
box-shadow: black 0 10px 20px;
}
#bottom {
position: fixed;
bottom: 0;
z-index: 100;
width: 100%;
height: 20px;
padding: 5px;
color: white;
font-weight: bold;
background: #2d2d2d url("images/tue-logo-transparent.png") no-repeat;
background-position-x: right;
background-size: contain;
}
img {
max-width: 100%;
}
a {
color: black;
font-weight: bold;
}
h1 {
margin-top: 0.67em;
margin-bottom: 0.67em;
}
h2 {
margin-top: 0.83em;
margin-bottom: 0.83em;
}
p {
margin-top: 1em;
margin-bottom: 1em;
}
div.table {
overflow-x: auto;
width: 100%;
display: inline-block;
vertical-align: top;
min-width: 49%;
}
table {
border-collapse: collapse;
text-align: center;
}
table thead {
color: white;
background-color: #2d2d2d;
}
table tbody tr {
border-top: 1px solid #2d2d2d;
}
table#masters tbody tr td:first-child {
border-right: 1px solid #2d2d2d;
}
.table-curriculum td {
height: 50px;
border-right: 1px solid #2d2d2d;
}
.table-curriculum tbody tr td:last-child {
border-right: none;
}
a[name]:before {
content: '';
display: block;
position: relative;
width: 0;
height: 80px;
margin-top: -80px;
}
@media (min-width: 1500px) {
#col-left {
display: inline-block;
width: 75%;
}
#col-right {
display: inline-block;
width: 25%;
vertical-align: top;
}
}
#col-right {
padding-top: 50px;
}
.related-link {
width: 100%;
display: inline-block;
min-height: 50px;
background: linear-gradient(to right, rgba(0, 0, 0, .75), rgba(0, 0, 0, .25)), url("images/related-links-background.jpg") no-repeat;
line-height: 50px;
font-size: 40px;
color: white;
text-decoration: none;
margin-bottom: 10px;
}
.related-link-1 {
background: linear-gradient(to right, rgba(0, 0, 0, .75), rgba(0, 0, 0, .25)), url("images/related-links-background.jpg") no-repeat;
!important;
background-position: 0px 0px;
}
.related-link-2 {
background: linear-gradient(to right, rgba(0, 0, 0, .75), rgba(0, 0, 0, .25)), url("images/related-links-background.jpg") no-repeat;
!important;
background-position: 0px -60px;
}
.related-link-3 {
background: linear-gradient(to right, rgba(0, 0, 0, .75), rgba(0, 0, 0, .25)), url("images/related-links-background.jpg") no-repeat;
!important;
background-position: 0px -120px;
}
.related-link-4 {
background: linear-gradient(to right, rgba(0, 0, 0, .75), rgba(0, 0, 0, .25)), url("images/related-links-background.jpg") no-repeat;
!important;
background-position: 0px -180px;
}
.related-link-5 {
background: linear-gradient(to right, rgba(0, 0, 0, .75), rgba(0, 0, 0, .25)), url("images/related-links-background.jpg") no-repeat;
!important;
background-position: 0px -240px;
}