forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
108 lines (91 loc) · 1.86 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
.path-mod-book .navtop img.icon,
.path-mod-book .navbottom img.icon {
margin-right: 4px;
margin-left: 4px;
border: 0;
padding: 0;
}
.path-mod-book .navbottom,
.path-mod-book .navtop {
text-align: right;
}
.path-mod-book .navtop {
margin-bottom: 0.5em;
}
.path-mod-book .navbottom {
margin-top: 0.5em;
}
/* == Fake toc block == */
.path-mod-book .book_toc .action-list img.smallicon {
margin: 0 3px;
}
/* toc style INDENTED*/
.path-mod-book .book_toc ul {
display: flex;
flex-direction: column;
}
.path-mod-book .book_toc li {
flex: 1 1 100%;
}
.path-mod-book .book_toc_indented > ul {
margin-left: 0;
padding-left: 0;
}
.path-mod-book .book_toc_indented li {
list-style: none;
}
/* toc style BULLETED*/
.path-mod-book .book_toc_bullets > ul {
margin-left: 0;
padding-left: 1.3rem;
}
.path-mod-book .book_toc_bullets li {
list-style: disc;
}
/* toc style NUMBERED*/
.path-mod-book .book_toc_numbered > ul {
margin-left: 0;
padding-left: 0;
}
.path-mod-book .book_toc_numbered li {
list-style: none;
}
/* toc style NONE*/
.path-mod-book .book_toc_none ul {
margin-left: 0;
padding-left: 0;
}
.path-mod-book .book_toc_none li {
list-style: none;
}
/* Text style links */
.navtop.navtext .chaptername,
.navbottom.navtext .chaptername {
font-weight: bolder;
}
.navtop.navtext a,
.navbottom.navtext a {
display: inline-block;
max-width: 45%;
}
.navtop.navtext a.bookprev,
.navbottom.navtext a.bookprev {
float: left;
text-align: left;
}
@media (max-width: 480px) {
.path-mod-book .navbottom,
.path-mod-book .navtop {
text-align: center;
}
.navtop.navtext a,
.navbottom.navtext a {
display: block;
max-width: 100%;
margin: auto;
}
.navtop.navtext a.bookprev,
.navbottom.navtext a.bookprev {
float: none;
}
}