-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
153 lines (135 loc) · 3.05 KB
/
style.css
File metadata and controls
153 lines (135 loc) · 3.05 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
@import url('https://fonts.googleapis.com/css?family=Muli:400,400i,700&display=swap');
/* Figure caption */
p.caption {
color: #616161;
margin-top: 8px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
/* LOGO */
.toc-logo {
width: 110px !important;
object-fit: contain;
margin: 0 auto;
/*display: block;*/
}
.toc-logo img {
max-width: 100%;
margin-bottom: 10px;
}
/* Toc */
.book .book-summary {
background: #E3F2FD;
border-right: 1px #BBDEFB solid;
}
.book .book-summary ul.summary li a,
.book .book-summary ul.summary li span {
padding-top: 6px;
padding-bottom: 15px;
padding-left: 15px;
padding-right: 15px;
color: #1565C0;
}
.summary{
font-family: 'Muli', sans-serif;
}
.summary a:hover {
color: #0D47A1 !important;
}
.book .book-summary ul.summary li.active>a { /*active TOC links*/
color: #1A237E !important;
border-left: solid 4px;
border-color: #1A237E;
padding-left: 11px !important;
}
/* Parts and appendix titles in toc */
li.appendix span, li.part span { /* for TOC part names */
margin-top: 1em;
color: #1A237E !important;
opacity: 1 !important;
text-transform: uppercase;
}
/* Headings */
h1, h2, h3, h4 {
font-family: 'Muli', sans-serif;
color: #1A237E;
}
/* Title */
.title {
font-family: 'Muli', sans-serif;
font-size: 3em !important;
color: #1A237E;
}
/* Body and header text */
.book.font-family-1 {
font-family: 'Muli', sans-serif;
}
/* Body Links */
.book .book-body .page-wrapper .page-inner section.normal a {
color: #1565C0;
}
.book .book-body .page-wrapper .page-inner section.normal a:hover {
color: #0D47A1; /* darker color when hovering */
text-decoration: none;
}
/* Section anchor links */
.book .book-body .page-wrapper .page-inner section.normal {
overflow: visible !important; /*so anchor link doesnt get cut off */
}
a.anchor {
margin-left: -30px;
padding-right: 3px;
display:inline-block;
width: 30px;
height: 30px;
background-image: url(https://image.flaticon.com/icons/svg/34/34735.svg) !important;
background-repeat: no-repeat !important;
background-size: 20px 20px !important;
background-position: center bottom !important;
opacity: 0;
}
.hasAnchor:hover a.anchor, a.anchor:hover {
opacity: 0.6;
}
@media (max-width: 1144px) { /* dont show anchor link on small screens */
.hasAnchor:hover a.anchor {
visibility: hidden;
}
}
/* Code Chunks - pre and post spacing */
.sourceCode pre {
margin: 0 !important; /* makes space above and below symmetrical*/
}
.sourceCode {
margin-bottom: 0.85em; /* adds same amount of margin as a <p> would */
}
/* Align toolbar and toc line rgba(0,0,0,.07)*/
.summary > li:first-child {
height: 50px;
padding-top: 10px;
border-bottom: 1px solid #E3F2FD;
}
.book .book-summary ul.summary li.divider {
height: 0px;
}
/*--- TOC LOGO ---*/
.toc-logo {
width: 200px !important;
object-fit: contain;
margin: 0 auto;
}
.toc-logo img {
max-width: 100%;
margin-bottom: 1px;
}
.summary > li:first-child {
height: auto !important;
}