-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
85 lines (70 loc) · 1.46 KB
/
style.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
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
/* The next two rules make the horizontal line go straight across in top navbar */
.summary > li:first-child {
height: 50px;
padding-top: 10px;
border-bottom: 1px solid rgba(0,0,0,.07);
}
.book .book-summary ul.summary li.divider {
height: 0px;
}
/*--- LOGO ---*/
.toc-logo {
width: 200px !important;
object-fit: contain;
margin-left: auto;
margin-right: auto;
margin: 0 auto;
display: block;
}
.toc-logo img {
max-width: 100%;
margin-left: auto;
margin-right: auto;
margin-bottom: 10px;
}
.summary > li:first-child {
height: auto !important;
}
/*------------ TOC --------------*/
.book .book-summary {
background: white;
border-right: none;
}
/* all TOC list items, basically */
.book .book-summary ul.summary li a,
.book .book-summary ul.summary li span {
padding-top: 8px;
padding-bottom: 8px;
padding-left: 15px;
padding-right: 15px;
color: #2f5175;
}
.summary a:hover {
color: #778ca5 !important;
}
.book .book-summary ul.summary li.active>a { /*active TOC links*/
color: #778ca5 !important;
border-left: solid 4px;
border-color: #5699cc;
padding-left: 11px !important;
}
li.appendix span, li.part span { /* for TOC part names */
margin-top: 1em;
color: #1c3046 !important;
opacity: 1 !important;
text-transform: uppercase;
}