-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
493 lines (403 loc) · 9.09 KB
/
Copy pathmain.css
File metadata and controls
493 lines (403 loc) · 9.09 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
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
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
<style><!--
/* Styles applying to overall site */
li.section .content {
margin: 0 0px !important;
}
#gridshadebox_content .activity { /* Hides ugly dotted lines seperating activities */
border-bottom: none !important;
}
#section-0 .sectionname{ /* Hides 'overview' title from appearing above the menubar */
display:none;
}
html {
font-size: 90%;
}
h2 {
font-size: 1.7rem;
}
h3 {
font-size: 1.7rem;
}
h4 {
font-size: 1.5rem;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 400;
}
h5 {
font-size: 1.4rem;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 400;
}
h6 {
font-size: 1.1rem;
}
p {
line-height: 1.3rem;
}
pre { /* overrides pre- style so we can use it as a sub-header/label */
font-size: 1.2rem;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 400;
background-color: #e6e6e6;
padding: 8px 15px;
box-shadow: 0px 1px 3px 0px rgba(107, 107, 107, 0.5);
white-space: pre-wrap;
display: inline-block;
margin-top: 1rem;
}
h3.sectionname { /* Style page titles */
font-size: 28px;
border-bottom: none !important;
}
.section li.activity {
margin-bottom: 0.5em;
}
#iframe { /* styles embedded iframes incl. dragdrop videos */
width: 100%;
max-width: 640px !important;
height: auto;
}
.contentafterlink { /* Puts activity descriptions in a blue bubble */
max-width: 600px;
margin-left: 0 !important;
margin-bottom: 10px;
background-color: #deeefb;
box-shadow: 0 1px 4px 0 rgba(8,52,104,.5);
border-radius: 14px;
padding: 3px 15px;
}
div.contentafterlink > div > div::before { /* Adds speech bubble tail to activity descriptions */
content: "";
position: absolute;
margin-left: 25px;
margin-top: -21px;
border-width: 9px;
border-style: solid;
border-color: transparent transparent #deeefb transparent;
}
a[title="Set or change image"]{ /* hides the change image button on grid icons */
display: none;
}
html.has-script #hiddenoverview {
display: none
}
html.has-script #staffonly { /* hides all instructions for staff from view EXCEPT in the editor window */
display: none
}
#staffonly { /* hides all instructions for staff from view EXCEPT in the editor window */
display: none
}
/* Anchor links on h2 and h3 headers */
.anchor-heading:target {
margin-top: -110px !important;
padding-top: 150px !important;
}
.anchor-heading .anchor-link {
display: inline-block;
padding-left: .25rem;
text-decoration: none;
opacity: 0;
transition: opacity ease-in-out .25s;
color: #007EA8;
scroll-margin-top: 150px;
}
.anchor-heading .anchor-link:hover {
opacity: 1 !important;
}
.anchor-heading:hover .anchor-link {
opacity: .5;
}
.single-section h2,h3:not(.sectionname) { /* Offset sticky menu on anchor jump and set font color for all h2 headers to blue*/
display: inline-block;
scroll-margin-top: 150px;
color: #007EA8
}
html{scroll-behavior:smooth}
/* Forums placeholders, headers */
#forumhead p{
margin-left: 88px
}
/* Weekly placeholders, headers */
.circleiconw { /* Normal header orange */
background: #db7c00;
background-image:linear-gradient(135deg, #db7c00, #db7c00 50%, #c26e00 50%);
display: inline-block;
border-radius: 50%;
width: 55px;
height: 55px;
padding-top: 11px;
padding-left: 9px;
margin-right: 30px;
border: none;
font-size: x-small;
color: #ffffff;
}
.circleicontask { /* Weekly task header blue */
background: #007EA8;
background-image:linear-gradient(135deg, #007EA8, #007EA8 50%, #006F94 50%);
display: inline-block;
border-radius: 50%;
width: 55px;
height: 55px;
padding-top: 12px;
padding-left: 9px;
margin-right: 25px;
border: none;
font-size: x-small;
color: #ffffff;
}
.jumbotron { /* Weekly main title grey BG */
background-color: #ECECEC !important;
padding: 1rem 2rem 2rem;
}
.weektitle h1{ /* Weekly main title font */
font-size: 2rem;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 400;
}
.weektitle h3, .weektitle h2{ /* Weekly main title font - makes sure that this title is always accessible if lecturers decide to use headers*/
font-size: 2rem;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 400;
color: #01506A
}
.weekthumb>img { /* Optional Image on right of Weekly Title */
float: right;
max-width: 300px;
max-height: 250px;
height: auto;
width: auto;
padding: 5px;
background-color: #FFFFFF;
margin: 0 0 5px 30px;
}
.weeklos p{
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1.4em;
font-weight: 400;
}
.fullwidthcon {
width: 100%;
}
.boxemphasis { /* Placeholder - grey text box */
background-color: #ECECEC;
padding: 1.5em 1.5em 1em;
margin-left: 75px;
}
.vidembed {
margin-left: 72px;
margin-right: auto;
padding-right: 15px;
padding-left: 15px;
}
/* Overview page thumbnail icons */
ul.gridicons li {
padding: 0 !important;
}
.icon_content {
color: #484848;
}
ul.gridicons li .icon_content {
padding: 18px 5px !important;
}
/* Responsive embedded h5p non-video */
.embed-responsive-5by3::before{
padding-top: 62.25%;
}
.embed-responsive-16by9::before{
padding-top: 62.25%;
}
/* Table (general) styles */
thead {
background-color: #007EA8;
}
thead td,th:not(#taskbar) {
color: #FFFFFF;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 600;
font-size: 15px;
text-decoration: none;
text-align: left;
padding: 10px
}
thead td a { color: inherit; }
table td, th {
padding: 10px;
margin: 0px;
text-align: left;
}
tbody tr:nth-child(odd) {
background-color: #eef1f2;
}
tbody tr:nth-child(even) {
background-color: #ffffff;
border-top: solid 1px #dee2e6;
border-bottom: solid 1px #dee2e6;
}
table {
width: 99.9%;
}
/* Table (taskbar) styles */
#taskbar {
margin-left: 70px; /* aligns taskbar with left indent */
width: auto;
}
#taskbar thead {
background-color: #FFFFFF;
}
#taskbar thead td {
color: #4a4a4a;
font-weight: 300;
font-size: 15px;
padding: 5px 8px 25px;
}
#taskbar td a { color: inherit; } /* disables the automatic blue colour on links in the taskbar */
#taskbar td,th {
padding: 0px 8px;
margin: 0px 8px;
text-align: center;
font-weight: 500;
}
#taskbar tbody tr:nth-child(odd) {
background-color: #ffffff;
}
#taskbar tbody tr:nth-child(even) {
background-color: #ffffff;
border: none;
}
@media screen and (max-width: 600px){
#taskbar {
margin-left: 0;
padding: 0;
}
}
/* Table (unit calendar) styles */
.caldark thead{
background-color: #343a40; /* determines color of header row */
}
.caldark th{
color: #ffffff;
font-weight: bold;
}
.caldark thead a{
color: inherit; /* disables the automatic blue colour on links in the header */
}
/*#calemphasis {
background-color: #007EA8; /* determines color of important dates row */
color: #ffffff;
font-weight: bold
}*/
.caldark .specialweek{
background-color: #007EA8;
color: #ffffff;
font-weight: bold
}
.caldark .normalweek{
background-color: #343a40;
color: #ffffff;
font-weight: bold
}
/* Responsive styles */
@media screen and (min-width: 768px) {
/* For tablets and larger */
div:not(.embed-responsive)>iframe[src*="panopto"] {
margin-left: 85px;
/* width:86%; */
/* height:350px; */
}
.section>li:not(.activity.modtype_label){
padding-left: 8em;
margin-top: 1em;
}
.readingbox {
max-width: 675px;
padding-left: 6.2em;
}
.mediaplugin {
padding-left: 86px;
}
.mediaplugin > div {
margin: 0;
max-width: 580px !important;
}
div.circleiconw~p { /* moves all normal p text inside headers */
margin-left: 85px;
}
div.circleiconw~ul, div.circleiconw~ol { /* moves all normal p text inside headers */
margin-left: 85px;
}
.policy-frame {
width: 100%;
height: 100%;
min-height: 1000px;
border: none;
}
.central-info {
margin: 40px 40px 40px 60px;
}
@media screen and (min-width: 1200px) {
/* For laptops and desktops only*/
div:not(.embed-responsive)>iframe[src*="panopto"] {
margin-left: 85px;
width:45%;
height:226px;
}
.policy-frame {
width: 100%;
min-height: 1100px;
border: none;
}
}
@media screen and (min-width: 1800px) {
/* For laptops and desktops only*/
div:not(.embed-responsive)>iframe[src*="panopto"] {
margin-left: 85px;
width:45%;
height:326px;
}
.policy-frame {
width: 100%;
min-height: 800px;
border: none;
}
}
@media only screen and (max-width: 768px) {
/* For mobile phones and smaller only */
li.section .content {
margin: 0 0px !important;
}
.boxemphasis {
padding: 0.5em;
margin-left: 0;
}
.jumbotron {
padding: 2rem 1rem 2rem;
}
ul#gtopics{
padding-left: 0 !important;
}
.vidembed {
margin-left: 0px;
margin-right: auto;
padding-right: 0px;
padding-left: 0px;
}
div:not(.embed-responsive)>iframe[src*="panopto"] {
width:100%;
height: 200px;
margin-left: 0;
}
path-site li.activity>div, .path-course-view li.activity>div {
padding: 0;
}
.section .label .contentwithoutlink, .section .label .activityinstance {
padding-right: 0;
}
.policy-frame {
width: 100%;
height: 100%;
min-height: 1800px;
border: none;
}
}
--></style>