-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject-gutenberg.css
More file actions
107 lines (90 loc) · 1.95 KB
/
project-gutenberg.css
File metadata and controls
107 lines (90 loc) · 1.95 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
@charset "utf-8";
/* Paperight typography for Project Gutenberg HTML books
* Author: Arthur Attwell arthur@paperight.com
* Updated: 1 Feb 2013 */
@font-face {
font-family: LinuxLibertine;
font-style: normal;
font-weight: normal;
src:url(http://media.paperight.com/fonts/linux-libertine/LinLibertine_Re-4.1.8.ttf);
}
@font-face {
font-family: LinuxLibertine;
font-style: italic;
font-weight: normal;
src:url(http://media.paperight.com/fonts/linux-libertine/LinLibertine_It-4.0.3.ttf);
}
@font-face {
font-family: LinuxLibertine;
font-style: normal;
font-weight: bold;
src:url(http://media.paperight.com/fonts/linux-libertine/LinLibertine_Bd-4.0.2.ttf);
}
@font-face {
font-family: LinuxLibertine;
font-style: italic;
font-weight: bold;
src:url(http://media.paperight.com/fonts/linux-libertine/LinLibertine_BI-4.0.3.ttf);
}
@page { margin: 5pt 5pt 5pt 5pt }
body {
font-family: LinuxLibertine, serif !important;
font-size: 1.2em;
background: white !important;
margin: 0 !important;
}
h1, h2, h3, h4, h5, h6 {
font-family: LinuxLibertine, serif !important;
font-weight: normal;
margin: 2em 0 1em 0;
text-align: left;
page-break-after: avoid;
page-break-inside: avoid;
}
h1 {
font-size: 3em;
page-break-before: always;
}
h2 {
font-size: 2em;
page-break-before: always;
}
h3 {
font-size: 1.5em;
}
h4 {
font-size: 1.2em;
font-style: italic;
}
h5 {
font-size: 1.2em;
font-style: italic;
margin: 1em 0 0.5em 0;
}
h6 {
font-size: 1em;
font-style: italic;
margin: 1em 0 0 0;
}
p {
font-family: LinuxLibertine, serif !important;
line-height: 1.3em;
text-indent: 1em;
margin: 0;
}
img {
margin: 1em 0 1em 0;
padding: 1em;
border: 1px solid grey;
}
.pagenum {
float: right;
color: grey;
}
pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}