Merge branch 'MDL-72707' of https://github.com/stronk7/moodle
[moodle.git] / mod / book / styles.css
blobeb646f4e3be2bf8a847c0a7744a50ab79fe593e7
1 .path-mod-book .navtop img.icon,
2 .path-mod-book .navbottom img.icon {
3 margin-right: 4px;
4 margin-left: 4px;
5 border: 0;
6 padding: 0;
9 .path-mod-book .navbottom,
10 .path-mod-book .navtop {
11 text-align: right;
14 .path-mod-book .navtop {
15 margin-bottom: 0.5em;
18 .path-mod-book .navbottom {
19 margin-top: 0.5em;
22 /* == Fake toc block == */
23 .path-mod-book .book_toc .action-list img.smallicon {
24 margin: 0 3px;
27 /* toc style INDENTED*/
28 .path-mod-book .book_toc ul {
29 display: flex;
30 flex-direction: column;
32 .path-mod-book .book_toc li {
33 flex: 1 1 100%;
35 .path-mod-book .book_toc_indented > ul {
36 margin-left: 0;
37 padding-left: 0;
40 .path-mod-book .book_toc_indented li {
41 list-style: none;
44 /* toc style BULLETED*/
45 .path-mod-book .book_toc_bullets > ul {
46 margin-left: 0;
47 padding-left: 1.3rem;
49 .path-mod-book .book_toc_bullets li {
50 list-style: disc;
53 /* toc style NUMBERED*/
54 .path-mod-book .book_toc_numbered > ul {
55 margin-left: 0;
56 padding-left: 0;
59 .path-mod-book .book_toc_numbered li {
60 list-style: none;
63 /* toc style NONE*/
64 .path-mod-book .book_toc_none ul {
65 margin-left: 0;
66 padding-left: 0;
69 .path-mod-book .book_toc_none li {
70 list-style: none;
73 /* Text style links */
74 .navtop.navtext .chaptername,
75 .navbottom.navtext .chaptername {
76 font-weight: bolder;
79 .navtop.navtext a,
80 .navbottom.navtext a {
81 display: inline-block;
82 max-width: 45%;
85 .navtop.navtext a.bookprev,
86 .navbottom.navtext a.bookprev {
87 float: left;
88 text-align: left;
91 @media (max-width: 480px) {
92 .path-mod-book .navbottom,
93 .path-mod-book .navtop {
94 text-align: center;
97 .navtop.navtext a,
98 .navbottom.navtext a {
99 display: block;
100 max-width: 100%;
101 margin: auto;
104 .navtop.navtext a.bookprev,
105 .navbottom.navtext a.bookprev {
106 float: none;