-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.css
More file actions
50 lines (46 loc) · 987 Bytes
/
custom.css
File metadata and controls
50 lines (46 loc) · 987 Bytes
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
/* Reduce header margins */
h1, h2, h3, h4, h5, h6 {
margin-block: 0.83em;
text-align: left;
}
/* Spectral font */
@font-face {
font-family: 'Spectral';
src: url('./assets/fonts/Spectral-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Spectral';
src: url('./assets/fonts/Spectral-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Spectral';
src: url('./assets/fonts/Spectral-Italic.ttf') format('truetype');
font-weight: normal;
font-style: italic;
}
/* Center cover image and title */
.cover {
display: block;
margin-left: auto;
margin-right: auto;
}
.title {
text-align: center;
}
/* Increase font of sidebar */
.chapter li a {
font-size: 1em;
text-align: left;
}
/* Root element styles */
:root {
--content-max-width: 900px;
font-family: 'Spectral', serif;
font-size: 0.7em;
text-align: justify;
text-justify: inter-word;
}