-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
141 lines (122 loc) · 3.18 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
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
p.caption {
color: #777;
margin-top: 10px;
}
/* This is to change the code to not be shaded. Not all req. */
/* I kept adding css until all the code was unshaded. */
/* Why not just apply to all code? because I wanted the output to be shaded */
p code { /* this fixes <code> in <p> elements */
white-space: inherit;
background-color: white !important;
}
h1 code { /* this fixes <code> in headers */
white-space: inherit;
background-color: white !important;
}
h2 code { /* this fixes <code> in headers */
white-space: inherit;
background-color: white !important;
}
h3 code { /* this fixes <code> in headers */
white-space: inherit;
background-color: white !important;
}
h4 code { /* this fixes <code> in headers */
white-space: inherit;
background-color: white !important;
}
pre {
word-break: normal;
word-wrap: normal;
}
.sourceCode { /* this fixes code blocks */
word-break: normal;
word-wrap: normal;
background-color: white !important;
}.sourceCode pre { /* this fixes code blocks */
word-break: normal;
word-wrap: normal;
background-color: white !important;
}
.sourceCode pre code { /* this fixes lines within code blocks */
white-space: inherit;
background-color: white !important;
}
.section .sourceCode code { /* seems to fix some more cases */
white-space: inherit;
background-color: white !important;
}
.section .sourceCode pre { /* seems to fix some more cases */
white-space: inherit;
background-color: white !important;
}
.section li code { /* fixes code in lists */
white-space: inherit;
background-color: white !important;
}
.section li pre { /* fixes code in lists */
white-space: inherit;
background-color: white !important;
}
/* This is to change the font. All these aren't req probably. */
/* The .section one is important. */
body p {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif !important;
}
.section {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif !important;
}
.book-summary {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif !important;
font-weight: bold;
}
h1, h2, h3, h4 {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif !important;
}
div.book-summary
{
background-color: #ccccff !important;
}
/* Fix spacing in nav bar */
.book .book-summary ul.summary li a
{
padding: 5px 15px; !important;
}
.book .book-summary ul.summary li span
{
padding: 5px 15px; !important;
}
/* the following is to try to fix problems with lists embedded in lists */
/* the :not(.chapter) is to not have this apply to the toc on left */
.book-body ul {
padding: 0;
margin: 20px !important;
}
.book-body ul li {
margin-top: 0em;
margin-bottom: 0em;
}
.book-body ul li p {
margin-bottom: 0px !important;
margin-top: 0px !important;
}
/* This is some futzing with the title page and author list */
.book .book-header h1 {
opacity: 1;
text-align: left;
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif !important;
}
#header .title {
margin-bottom: 0em;
}
#header h4.author {
margin: 0;
color: #666;
}
#header h4.author em {
font-style: normal;
}
/* Add some spacing in the ref list */
.csl-entry {
margin-bottom:10px;
}