softcover 1.1.8 → 1.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b8e44ecd6c9967e2606fd66a53ddd7a4de9dc58
4
- data.tar.gz: 538319dcf61ccdfbeed38d12399ca5caf6d7c9a3
3
+ metadata.gz: 566a1e8f0c8b1d1eac5299567f750a89d5fda218
4
+ data.tar.gz: c1bf1272b04434a9ad19d9e25100a0d69fd3785c
5
5
  SHA512:
6
- metadata.gz: c76f5b06c3ee07cc9469f6057b97b76a198f324b4584c31984464c555092369139a6a0e6dd33c5c82306d86bdc304fdd2d647344e5609dd38001ccdeaca32154
7
- data.tar.gz: 9b49a5568177604d4daad7f353490dc2414950f936e704538dd2ef27572c4cbbe7cc68cd6feb9c7d81934590698703b0f21994fe6b3caf12f43526595187a69a
6
+ metadata.gz: 3b49d68020cef08a827d3f1f9c611aefa773fd55956e3173a247c3bf9a5943fdf98112204c98f121a1384adda8d0fc61fecd6a332b3a283cdbf66c23c985fb83
7
+ data.tar.gz: 567b73b5ee17f2f3b90b43b91802bd9d0df22fd12c1846d53166fe412212d83d6f94511f5a2185bdd737d127bc5337be73e4568c16a9063209dc3030a3b1d7dd
@@ -18,4 +18,9 @@
18
18
 
19
19
  body {
20
20
  font-size: 80%;
21
- }
21
+ }
22
+
23
+ /* Needed to prevent red links in Kindle for iPad */
24
+ a span.undefined_ref {
25
+ color: #002f72;
26
+ }
@@ -184,7 +184,8 @@ body #book {
184
184
  #book .graphics.image.box img {
185
185
  border: 1px solid #666;
186
186
  }
187
- #book a .graphics img {
187
+
188
+ #book a.graphics img {
188
189
  display: block;
189
190
  margin: 2em auto auto;
190
191
  }
@@ -18,4 +18,9 @@
18
18
 
19
19
  body {
20
20
  font-size: 80%;
21
- }
21
+ }
22
+
23
+ /* Needed to prevent red links in Kindle for iPad */
24
+ a span.undefined_ref {
25
+ color: #002f72;
26
+ }
@@ -184,7 +184,8 @@ body #book {
184
184
  #book .graphics.image.box img {
185
185
  border: 1px solid #666;
186
186
  }
187
- #book a .graphics img {
187
+
188
+ #book a.graphics img {
188
189
  display: block;
189
190
  margin: 2em auto auto;
190
191
  }
@@ -380,7 +380,7 @@ module Softcover
380
380
  # For some reason, EPUB books hate the #book ids in the stylesheet
381
381
  # (i.e., such books fail to validate), so remove them.
382
382
  def clean_book_id(filename)
383
- File.read(filename).gsub(/#book/, '')
383
+ File.read(filename).gsub(/#book /, '')
384
384
  end
385
385
 
386
386
  # Copies the image files from the HTML version of the document.
@@ -1,3 +1,3 @@
1
1
  module Softcover
2
- VERSION = "1.1.8"
2
+ VERSION = "1.1.9"
3
3
  end
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.1.8
4
+ version: 1.1.9
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: 2015-07-10 00:00:00.000000000 Z
12
+ date: 2015-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: polytexnic