MDL-50639 mod_book: Remove 0.8em font sizes
[moodle.git] / mod / book / styles.css
CommitLineData
02039379 1
bdb66a46 2.path-mod-book .navtop img.icon,
d8a6d49c 3.path-mod-book .navbottom img.icon {
8cb50b2a
PS
4 margin-right: 4px;
5 margin-left: 4px;
bdb66a46
FM
6 border: 0;
7 padding: 0;
dab784a3
PS
8}
9
bdb66a46
FM
10
11.path-mod-book .navbottom,
5b7e511e 12.path-mod-book .navtop {
8cb50b2a 13 text-align: right;
c6d2eda2 14}
bdb66a46
FM
15.dir-rtl.path-mod-book .navbottom,
16.dir-rtl.path-mod-book .navtop {
17 text-align: left;
18}
19.path-mod-book .navtop {
20 margin-bottom: 0.5em;
c6d2eda2 21}
f4de8461
DB
22.path-mod-book .navbottom {
23 margin-top: 0.5em;
24}
c6d2eda2 25
8cb50b2a 26/* == Fake toc block == */
c6d2eda2 27
bdb66a46
FM
28.path-mod-book .block_book_toc ul {
29 margin: 0 0 0 5px;
30 padding-left: 0;
31 padding-right: 0;
32}
33.dir-rtl.path-mod-book .block_book_toc ul { margin: 0 5px 0 0; }
34.path-mod-book .block_book_toc li {
35 clear: both;
02039379 36 list-style: none;
bdb66a46 37 margin-top: .5em;
02039379 38}
bdb66a46 39.path-mod-book .block_book_toc li li {
02039379
PS
40 list-style: none;
41}
bdb66a46
FM
42.path-mod-book .block_book_toc .action-list { float: right; }
43.dir-rtl.path-mod-book .block_book_toc .action-list { float: left; }
44.path-mod-book .block_book_toc .action-list img.smallicon {
45 margin: 0 3px;
46}
02039379 47
bdb66a46 48/* toc style NONE */
bdb66a46
FM
49.path-mod-book .book_toc_none ul ul,
50.dir-rtl.path-mod-book .book_toc_none ul ul {
51 margin-left: 0;
52 margin-right: 0;
53}
02039379 54
02039379 55/*toc style BULLETS */
fb909757 56.path-mod-book .book_toc_bullets ul ul {
02039379 57 margin-left: 20px;
02039379 58}
bdb66a46
FM
59.dir-rtl.path-mod-book .book_toc_bullets ul ul {
60 margin-left: 0;
61 margin-right: 20px;
02039379 62}
fb909757 63.path-mod-book .book_toc_bullets li li {
02039379
PS
64 list-style: circle;
65}
66
02039379 67/* toc style INDENTED*/
fb909757 68.path-mod-book .book_toc_indented ul {
02039379 69 margin-left: 5px;
bdb66a46
FM
70}
71.dir-rtl.path-mod-book .book_toc_indented ul {
72 margin-left: 0;
73 margin-right: 5px;
02039379 74}
fb909757 75.path-mod-book .book_toc_indented ul ul {
02039379 76 margin-left: 15px;
02039379 77}
bdb66a46
FM
78.dir-rtl.path-mod-book .book_toc_indented ul ul {
79 margin-left: 0;
80 margin-right: 15px;
02039379 81}
fb909757 82.path-mod-book .book_toc_indented li li {
02039379
PS
83 list-style: none;
84}
f4de8461
DB
85
86/* Text style links */
87.navtop.navtext .chaptername,
88.navbottom.navtext .chaptername {
89 font-weight: bolder;
90}
91.navtop.navtext a,
92.navbottom.navtext a {
93 display: inline-block;
94 max-width: 45%;
95}
96.navtop.navtext a.bookprev,
97.navbottom.navtext a.bookprev {
98 float: left;
99 text-align: left;
100}
101.dir-rtl .navtop.navtext a.bookprev,
102.dir-rtl .navbottom.navtext a.bookprev {
103 float: right;
104 text-align: right;
105}
106
107@media (max-width: 480px) {
108 .path-mod-book .navbottom,
109 .path-mod-book .navtop,
110 .dir-rtl.path-mod-book .navbottom,
111 .dir-rtl.path-mod-book .navtop {
112 text-align: center;
113 }
114 .navtop.navtext a,
115 .navbottom.navtext a {
116 display: block;
117 max-width: 100%;
118 margin: auto;
119 }
120 .navtop.navtext a.bookprev,
121 .navbottom.navtext a.bookprev,
122 .dir-rtl .navtop.navtext a.bookprev,
123 .dir-rtl .navbottom.navtext a.bookprev {
124 float: none;
125 }
126}