custom.css 1.81 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
/* Change heading font */
/*
h1,h2,h3 {
	font-weight: 700;
	font-family: "CherrySoda","ff-tisa-web-pro","Georgia",Arial,sans-serif;
}

@font-face {
	font-family: "CherrySoda";
	font-style: normal;
	font-weight: 700;
	src: url(../fonts/CherrySoda.ttf) format('truetype');
}
14

15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
*/
/* Extend page width size limit */
.wy-nav-content {
	max-width: 1600px;
}

/* Justified and slightly lower line interval for text */
li, p {
	text-align: justify;
	line-height: 20px;
}

/* Smaller caption text, further away from the figure */
.caption {
	font-size: smaller;
	margin-top: 1em;
}

/* Override responsive image scaling */
img {
	width: auto;
}

38
39
40
41
42
/* Override Mathjax colors forced to dark grey */
span[id*="MathJax-Span"] {
	color: inherit;
}

43
/* Move equation no to the right */
44
45
.math .eqno {
	position: relative;
46
47
	float: right;
	margin: 1em 0em;
48
	z-index: 10;
49
50
}

51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* Hide permalinks on equation numbers */
.section {
	position: relative
	z-index: 0;
}

.math {
	position: relative;
	z-index: 1;
}

.math .MathJax_Display {
	z-index: 2;
}

.math .eqno a.headerlink {
	visibility: hidden;
	position: absolute;
}

.math .eqno:hover a.headerlink {
	visibility: visible;
73
74
}

75
76
77
78
79
80
81
82
83
84
85
/* new param class */
@font-face {
 font-family: MathJax_Typewriter;
 src: url('https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff?V=2.7.1') format('woff'), url('https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/fonts/HTML-CSS/TeX/otf/MathJax_Typewriter-Regular.otf?V=2.7.1') format('opentype')
}

.targetparam .target, .param {
	font-family: "MathJax_Typewriter",monospace;
	font-size: 116%;
}

86
87
88
89
90
91
92
93
94
/* Hide permalinks on captions */
caption a.headerlink {
	visibility: hidden;
}

caption:hover a.headerlink {
	visibility: visible;
}

95
96
97
98
/* Remove space before muliline cells in tables */
td div.line-block {
	margin-left: 0px !important;
}