diff --git a/README.md b/README.md index 3614776..c645064 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ Soma is a blueprint for an ePub CSS compliant with all major Reading Systems (RS - Adobe RMSDK; - Readium; - iBooks; +- Kobo; +- Google Play Books; - Kindle. **Please note Soma was specifically designed for [Ulysses App](http://www.ulyssesapp.com) and can’t be used for other software AS-IS.** diff --git a/assets/Screen-caps/iBooks/iBooks1.png b/assets/Screen-caps/iBooks/iBooks1.png new file mode 100644 index 0000000..3292bd8 Binary files /dev/null and b/assets/Screen-caps/iBooks/iBooks1.png differ diff --git a/assets/Screen-caps/iBooks/iBooks2.png b/assets/Screen-caps/iBooks/iBooks2.png new file mode 100644 index 0000000..43a4388 Binary files /dev/null and b/assets/Screen-caps/iBooks/iBooks2.png differ diff --git a/assets/Screen-caps/iBooks/iBooks3.png b/assets/Screen-caps/iBooks/iBooks3.png new file mode 100644 index 0000000..f16ae9f Binary files /dev/null and b/assets/Screen-caps/iBooks/iBooks3.png differ diff --git a/assets/Screen-caps/iBooks/iBooks4.png b/assets/Screen-caps/iBooks/iBooks4.png new file mode 100644 index 0000000..75b1d10 Binary files /dev/null and b/assets/Screen-caps/iBooks/iBooks4.png differ diff --git a/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-1.png b/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-1.png new file mode 100644 index 0000000..bb38600 Binary files /dev/null and b/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-1.png differ diff --git a/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-2.png b/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-2.png new file mode 100644 index 0000000..a8b6749 Binary files /dev/null and b/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-2.png differ diff --git a/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-3.png b/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-3.png new file mode 100644 index 0000000..586ccd7 Binary files /dev/null and b/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-3.png differ diff --git a/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-4.png b/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-4.png new file mode 100644 index 0000000..a558f4a Binary files /dev/null and b/assets/Screen-caps/rmsdk_ePub2/rmsdk_epub2-4.png differ diff --git a/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-1.png b/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-1.png new file mode 100644 index 0000000..d4e2797 Binary files /dev/null and b/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-1.png differ diff --git a/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-2.png b/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-2.png new file mode 100644 index 0000000..4aaa143 Binary files /dev/null and b/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-2.png differ diff --git a/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-3.png b/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-3.png new file mode 100644 index 0000000..75426a7 Binary files /dev/null and b/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-3.png differ diff --git a/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-4.png b/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-4.png new file mode 100644 index 0000000..99fb8c0 Binary files /dev/null and b/assets/Screen-caps/rmsdk_epub3-Readium/rmsdk_epub3-4.png differ diff --git a/src/Soma.css b/src/Soma.css index 5368417..234c129 100644 --- a/src/Soma.css +++ b/src/Soma.css @@ -1,7 +1,7 @@ @charset "UTF-8"; /* - Soma + Soma version 1.1 by Jiminy Panoz for Chapal & Panoz Blueprint for an ePub CSS compliant with all major RSs. Visit http://www.ulyssesapp.com/styles for full reference @@ -29,6 +29,11 @@ nav[epub|type~='landmarks'],nav[epub|type~='page-list'] { display: none; } +/* We try to avoid blank pages when last-child has vertical margins +and is displayed at the bottom of the screen (e.g. list, figure, etc.) */ +body > section > :last-child { + margin-bottom: 0; +} /* Styles */ @page { @@ -70,6 +75,7 @@ h1 { line-height: 1.04347826; margin-top: 0; margin-bottom: 3.13043478em; + font-weight: bold; } h2 { @@ -226,6 +232,11 @@ aside { margin: 3.4285714286em 0 0 5%; } +/* In case there is more than one footnote */ +aside + aside { + margin-top: 0.857142857em; +} + div.cover { margin: 0; padding: 0; @@ -308,6 +319,6 @@ img.cover { aside { font-size: medium; - margin-top: 3em; + margin-top: 2em; } } \ No newline at end of file diff --git a/src/Soma.ulstyle b/src/Soma.ulstyle index d6b53c6..6e9ff61 100644 Binary files a/src/Soma.ulstyle and b/src/Soma.ulstyle differ