softcover 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/softcover/article_template/epub/OEBPS/styles/custom_epub.css +0 -20
- data/lib/softcover/article_template/epub/OEBPS/styles/epub.css +42 -1
- data/lib/softcover/article_template/html/stylesheets/softcover.css +8 -3
- data/lib/softcover/article_template/latex_styles/softcover.sty +1 -0
- data/lib/softcover/book_template/epub/OEBPS/styles/custom_epub.css +17 -1
- data/lib/softcover/book_template/epub/OEBPS/styles/epub.css +42 -1
- data/lib/softcover/book_template/html/stylesheets/softcover.css +8 -3
- data/lib/softcover/book_template/latex_styles/softcover.sty +1 -0
- data/lib/softcover/version.rb +1 -1
- data/softcover.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e410af1f92bb5277cd6b7f8346ba913a6dc34ad9
|
4
|
+
data.tar.gz: 711a0735d025ee1504312a59f5685a1d1430c206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b97a77ccaa2cdfdec0b60417cd35bd228bc8d6eb1801f6fc7bf8eb32be8fa4cae9924d67b159e79118afc3e87afff5986d099af0df5e1b2e067de800c13018f9
|
7
|
+
data.tar.gz: 066ade30101455fbae2e3d805434f80c188857dadf63f71e5ccdb1ea017cdd0a4e618ede43375bc99909a1d71cd9797a8610712e0c6bca93f2d8bf85a04e6eea
|
@@ -1,22 +1,2 @@
|
|
1
1
|
/* Custom styles specific to EPUB (and hence MOBI) books */
|
2
2
|
|
3
|
-
#title_page .title {
|
4
|
-
font-size: 200%;
|
5
|
-
}
|
6
|
-
|
7
|
-
#title_page .author {
|
8
|
-
font-size: 120%;
|
9
|
-
}
|
10
|
-
|
11
|
-
#title_page .date {
|
12
|
-
font-size: 120%;
|
13
|
-
}
|
14
|
-
|
15
|
-
#table_of_contents ul li {
|
16
|
-
padding-left: 2em;
|
17
|
-
}
|
18
|
-
|
19
|
-
body {
|
20
|
-
font-size: 80%;
|
21
|
-
line-height: 1.4;
|
22
|
-
}
|
@@ -1,17 +1,35 @@
|
|
1
1
|
/* Styles specific to EPUB books */
|
2
2
|
|
3
3
|
body {
|
4
|
+
font-size: 80%;
|
5
|
+
line-height: 1.2;
|
4
6
|
width: auto;
|
5
7
|
margin-left: 0.5em;
|
6
8
|
}
|
7
9
|
|
10
|
+
#title_page .title {
|
11
|
+
font-size: 200%;
|
12
|
+
}
|
13
|
+
|
14
|
+
#title_page .author {
|
15
|
+
font-size: 120%;
|
16
|
+
}
|
17
|
+
|
18
|
+
#title_page .date {
|
19
|
+
font-size: 120%;
|
20
|
+
}
|
21
|
+
|
22
|
+
#table_of_contents ul li {
|
23
|
+
padding-left: 2em;
|
24
|
+
}
|
25
|
+
|
8
26
|
.highlight pre {
|
9
27
|
font-size: 80%;
|
10
28
|
font-weight: bold;
|
11
29
|
}
|
12
30
|
|
13
31
|
code {
|
14
|
-
font-size:
|
32
|
+
font-size: 95%;
|
15
33
|
}
|
16
34
|
|
17
35
|
.code {
|
@@ -27,8 +45,31 @@ a span.undefined_ref {
|
|
27
45
|
color: #002f72;
|
28
46
|
}
|
29
47
|
|
48
|
+
p {
|
49
|
+
margin: 0;
|
50
|
+
padding: 0;
|
51
|
+
text-indent: 0.95em;
|
52
|
+
}
|
53
|
+
|
54
|
+
p.noindent {
|
55
|
+
text-indent: 0;
|
56
|
+
}
|
57
|
+
|
30
58
|
/* Needed for properly formatted blockquotes in Kindle for iPad */
|
31
59
|
p.quote {
|
32
60
|
margin-left: 1em;
|
33
61
|
margin-right: 1em;
|
62
|
+
text-indent: 0;
|
63
|
+
margin-top: 0em;
|
64
|
+
margin-bottom: 0.5em;
|
34
65
|
}
|
66
|
+
|
67
|
+
.footnotes p {
|
68
|
+
text-indent: 0;
|
69
|
+
margin-top: 0em;
|
70
|
+
margin-bottom: 0.5em;
|
71
|
+
}
|
72
|
+
|
73
|
+
.aside {
|
74
|
+
margin: 15px 0;
|
75
|
+
}
|
@@ -149,7 +149,7 @@ body #book {
|
|
149
149
|
margin-left: 0.3em;
|
150
150
|
}
|
151
151
|
|
152
|
-
#book .codelisting .heading
|
152
|
+
#book .codelisting .heading code.filepath {
|
153
153
|
display: block;
|
154
154
|
margin-left: 0.4em;
|
155
155
|
margin-top: 0.2em;
|
@@ -169,11 +169,16 @@ body #book {
|
|
169
169
|
|
170
170
|
#book .filepath {
|
171
171
|
font-family: Courier, monospace;
|
172
|
-
font-size:
|
172
|
+
font-size: 100%;
|
173
|
+
color: #070707;
|
174
|
+
font-weight: normal;
|
173
175
|
}
|
174
176
|
|
175
177
|
#book .inline_verbatim {
|
176
178
|
font-family: Courier, monospace;
|
179
|
+
color: #070707;
|
180
|
+
font-size: 100%;
|
181
|
+
font-weight: normal;
|
177
182
|
}
|
178
183
|
|
179
184
|
#book a.ref {
|
@@ -355,6 +360,7 @@ body #book {
|
|
355
360
|
#book a.heading {
|
356
361
|
color: #000;
|
357
362
|
text-decoration: none !important;
|
363
|
+
line-height: 1;
|
358
364
|
}
|
359
365
|
|
360
366
|
#book a:hover.heading {
|
@@ -471,4 +477,3 @@ body #book {
|
|
471
477
|
#book span.intersentencespace {
|
472
478
|
margin-right: 0.2em;
|
473
479
|
}
|
474
|
-
|
@@ -18,5 +18,21 @@
|
|
18
18
|
|
19
19
|
body {
|
20
20
|
font-size: 80%;
|
21
|
-
line-height: 1.
|
21
|
+
line-height: 1.2;
|
22
|
+
}
|
23
|
+
|
24
|
+
p {
|
25
|
+
margin: 0;
|
26
|
+
padding: 0;
|
27
|
+
text-indent: 0.95em;
|
28
|
+
}
|
29
|
+
|
30
|
+
p.noindent {
|
31
|
+
text-indent: 0;
|
32
|
+
}
|
33
|
+
|
34
|
+
blockquote p {
|
35
|
+
text-indent: 0;
|
36
|
+
margin-top: 0em;
|
37
|
+
margin-bottom: 0.5em;
|
22
38
|
}
|
@@ -1,17 +1,35 @@
|
|
1
1
|
/* Styles specific to EPUB books */
|
2
2
|
|
3
3
|
body {
|
4
|
+
font-size: 80%;
|
5
|
+
line-height: 1.2;
|
4
6
|
width: auto;
|
5
7
|
margin-left: 0.5em;
|
6
8
|
}
|
7
9
|
|
10
|
+
#title_page .title {
|
11
|
+
font-size: 200%;
|
12
|
+
}
|
13
|
+
|
14
|
+
#title_page .author {
|
15
|
+
font-size: 120%;
|
16
|
+
}
|
17
|
+
|
18
|
+
#title_page .date {
|
19
|
+
font-size: 120%;
|
20
|
+
}
|
21
|
+
|
22
|
+
#table_of_contents ul li {
|
23
|
+
padding-left: 2em;
|
24
|
+
}
|
25
|
+
|
8
26
|
.highlight pre {
|
9
27
|
font-size: 80%;
|
10
28
|
font-weight: bold;
|
11
29
|
}
|
12
30
|
|
13
31
|
code {
|
14
|
-
font-size:
|
32
|
+
font-size: 95%;
|
15
33
|
}
|
16
34
|
|
17
35
|
.code {
|
@@ -27,8 +45,31 @@ a span.undefined_ref {
|
|
27
45
|
color: #002f72;
|
28
46
|
}
|
29
47
|
|
48
|
+
p {
|
49
|
+
margin: 0;
|
50
|
+
padding: 0;
|
51
|
+
text-indent: 0.95em;
|
52
|
+
}
|
53
|
+
|
54
|
+
p.noindent {
|
55
|
+
text-indent: 0;
|
56
|
+
}
|
57
|
+
|
30
58
|
/* Needed for properly formatted blockquotes in Kindle for iPad */
|
31
59
|
p.quote {
|
32
60
|
margin-left: 1em;
|
33
61
|
margin-right: 1em;
|
62
|
+
text-indent: 0;
|
63
|
+
margin-top: 0em;
|
64
|
+
margin-bottom: 0.5em;
|
34
65
|
}
|
66
|
+
|
67
|
+
.footnotes p {
|
68
|
+
text-indent: 0;
|
69
|
+
margin-top: 0em;
|
70
|
+
margin-bottom: 0.5em;
|
71
|
+
}
|
72
|
+
|
73
|
+
.aside {
|
74
|
+
margin: 15px 0;
|
75
|
+
}
|
@@ -149,7 +149,7 @@ body #book {
|
|
149
149
|
margin-left: 0.3em;
|
150
150
|
}
|
151
151
|
|
152
|
-
#book .codelisting .heading
|
152
|
+
#book .codelisting .heading code.filepath {
|
153
153
|
display: block;
|
154
154
|
margin-left: 0.4em;
|
155
155
|
margin-top: 0.2em;
|
@@ -169,11 +169,16 @@ body #book {
|
|
169
169
|
|
170
170
|
#book .filepath {
|
171
171
|
font-family: Courier, monospace;
|
172
|
-
font-size:
|
172
|
+
font-size: 100%;
|
173
|
+
color: #070707;
|
174
|
+
font-weight: normal;
|
173
175
|
}
|
174
176
|
|
175
177
|
#book .inline_verbatim {
|
176
178
|
font-family: Courier, monospace;
|
179
|
+
color: #070707;
|
180
|
+
font-size: 100%;
|
181
|
+
font-weight: normal;
|
177
182
|
}
|
178
183
|
|
179
184
|
#book a.ref {
|
@@ -355,6 +360,7 @@ body #book {
|
|
355
360
|
#book a.heading {
|
356
361
|
color: #000;
|
357
362
|
text-decoration: none !important;
|
363
|
+
line-height: 1;
|
358
364
|
}
|
359
365
|
|
360
366
|
#book a:hover.heading {
|
@@ -471,4 +477,3 @@ body #book {
|
|
471
477
|
#book span.intersentencespace {
|
472
478
|
margin-right: 0.2em;
|
473
479
|
}
|
474
|
-
|
data/lib/softcover/version.rb
CHANGED
data/softcover.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
gem.add_dependency 'polytexnic', '~> 1.2.
|
21
|
+
gem.add_dependency 'polytexnic', '~> 1.2.8'
|
22
22
|
gem.add_dependency 'msgpack', '~> 0.4.2'
|
23
23
|
gem.add_dependency 'nokogiri', '~> 1.6.0'
|
24
24
|
gem.add_dependency 'thor', '~> 0.18.1'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: softcover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hartl
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-04-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: polytexnic
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 1.2.
|
20
|
+
version: 1.2.8
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 1.2.
|
27
|
+
version: 1.2.8
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: msgpack
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|