/
styles.css
85 lines (78 loc) · 2.6 KB
/
styles.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
/* ADDED */
/* Course header */
body.format-multitopic:not([class*=" cmid-"]) .page-header-headings {
display: none;
}
body.format-multitopic #course-header {
width: 100%;
}
body.format-multitopic div#course-header > div#course-header-banner {
background-size: cover;
}
body.format-multitopic div#course-header > div#course-header-banner > div#course-header-banner-text {
padding: 1em;
background: rgba(255, 255, 255, 0.5);
}
body.format-multitopic div#course-header > p#course-header-banner_attribution {
text-align: right;
margin: 0;
font-size: xx-small;
}
/* Tabs */
body.format-multitopic .course-content ul.nav-tabs li a div.tab_content.marker::before {
content: "";
border-left: solid 3px #0f6cbf;
padding-right: 5px;
}
body.format-multitopic .course-content ul.nav-tabs li a div.tab_content.dimmed {
color: #6a737b;
}
body.format-multitopic .course-content ul.nav-tabs li a.draggable {
cursor: move;
}
body.format-multitopic.dragging.dir-ltr .course-content ul.nav-tabs li.drop-before,
body.format-multitopic.dragging.dir-rtl .course-content ul.nav-tabs li.drop-after {
border-left: 1px solid #212529;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
body.format-multitopic.dragging.dir-ltr .course-content ul.nav-tabs li.drop-after,
body.format-multitopic.dragging.dir-rtl .course-content ul.nav-tabs li.drop-before {
border-right: 1px solid #212529;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
/* Section */
body.format-multitopic ul.sections li.section .sectionname .inplaceeditable {
display: inline;
}
body.format-multitopic ul.sections li.section .course-section-header .section_subtitle {
font-size: small;
}
body.format-multitopic ul.sections li.section .summarytext .section_image_holder {
float: right;
width: 240px;
text-align: right;
font-size: xx-small;
}
body.format-multitopic ul.sections li.section .summarytext .section_image_holder img {
width: 240px;
height: 180px;
object-fit: cover;
}
/* Section Anchor Jump Fix */
body.format-multitopic ul.sections li.section .course-section-header .sectionname {
scroll-margin-top: 70px;
}
/* Hide activity navigation */
body.format-multitopic.path-mod.pagelayout-incourse #page #page-content .activity-navigation {
display: none;
}
/* Course Index */
body.format-multitopic .courseindex .courseindex-section.dropready .courseindex-item-content {
padding-bottom: 0;
}
body.format-multitopic.editing .courseindex .courseindex-section.dropready .courseindex-item-content .courseindex-sectioncontent {
padding-bottom: 1em;
}
/* END ADDED */