ios version
[wl-mobile.git] / www / css / book_text.css
diff --git a/www/css/book_text.css b/www/css/book_text.css
new file mode 100644 (file)
index 0000000..f9c7eff
--- /dev/null
@@ -0,0 +1,230 @@
+/*
+ * This file is part of WolneLektury-Mobile, licensed under GNU Affero GPLv3 or later.
+ * Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
+ */
+
+#book-text {
+       font-size: .75em;
+    line-height: 1.5em;
+    margin: 0;
+       max-width: 40em;
+}
+
+#book-text a {
+    color: blue;
+    text-decoration: none;
+}
+
+.night-mode #book-text a {
+    color: #88f;
+}
+
+
+/* ================================== */
+/* = Header with logo and menu      = */
+/* ================================== */
+#book-text #toc, #themes, #nota_red, #info {
+    display: none;
+}
+
+/* =================================================== */
+/* = Common elements: headings, paragraphs and lines = */
+/* =================================================== */
+#book-text h1 {
+    font-size: 2.5em;
+    margin: 1.5em 0;
+    text-align: center;
+    line-height: 1.5em;
+    font-weight: bold;
+}
+
+#book-text h2 {
+    font-size: 1.7em;
+    margin: 1.5em 0 0;
+    font-weight: bold;
+    line-height: 1.5em;
+}
+
+#book-text h3 {
+    font-size: 1.4em;
+    margin: 1.5em 0 0;
+    font-weight: normal;
+    line-height: 1.5em;
+}
+
+#book-text h4 {
+    font-size: 1em;
+    margin: 1.5em 0 0;
+    line-height: 1.5em;
+}
+
+#book-text p {
+    margin: 0;
+}
+
+/* ======================== */
+/* = Footnotes and themes = */
+/* ======================== */
+#book-text .theme-begin {
+       display:none;
+}
+
+#book-text .annotation {
+    font-style: normal;
+    font-weight: normal;
+    font-size: 12px;
+    padding-left: 2px;
+    position: relative;
+    top: -4px;
+}
+
+#book-text #footnotes {
+    margin-top: 3em;
+}
+
+#book-text #footnotes .annotation {
+    display: block;
+    float: left;
+    width: 2.5em;
+    clear: both;
+}
+
+#book-text #footnotes div {
+    margin: 1.5em 0 0 0;
+}
+
+#book-text #footnotes p, #footnotes ul {
+    margin-left: 2.5em;
+    font-size: 0.875em;
+}
+
+#book-text #footnotes .permalink {
+    font-size: .75em;
+}
+
+#book-text blockquote {
+    font-size: 0.875em;
+    margin: 0 0 0 1em;
+}
+
+/* ============= */
+/* = Numbering = */
+/* ============= */
+#book-text .anchor{display:none;}
+
+/* =================== */
+/* = Custom elements = */
+/* =================== */
+#book-text span.author {
+    font-size: 0.5em;
+    display: block;
+    line-height: 1.5em;
+    margin-bottom: 0.25em;
+}
+
+#book-text span.collection {
+    font-size: 0.375em;
+    display: block;
+    line-height: 1.5em;
+    margin-bottom: -0.25em;
+}
+
+#book-text span.subtitle {
+    font-size: 0.5em;
+    display: block;
+    line-height: 1.5em;
+    margin-top: -0.25em;
+}
+
+#book-text span.translator {
+    font-size: 0.375em;
+    display: block;
+    line-height: 1.5em;
+    margin-top: 0.25em;
+}
+
+#book-text div.didaskalia {
+    font-style: italic;
+    margin: 0.5em 0 0 1.5em;
+}
+
+#book-text div.kwestia {
+    margin: 0.5em 0 0;
+}
+
+#book-text div.stanza {
+    margin: 1.5em 0 0;
+}
+
+#book-text div.kwestia div.stanza {
+    margin: 0;
+}
+
+#book-text p.paragraph {
+    text-align: justify;
+    margin: 1.5em 0 0;
+}
+
+#book-text p.motto {
+    text-align: justify;
+    font-style: italic;
+    margin: 1.5em 0 0;
+}
+
+#book-text p.motto_podpis {
+    font-size: 0.875em;
+    text-align: right;
+}
+
+#book-text div.fragment {
+    border-bottom: 0.1em solid #999;
+    padding-bottom: 1.5em;
+}
+
+#book-text div.note p, div.dedication p, div.note p.paragraph, div.dedication p.paragraph {
+    text-align: right;
+    font-style: italic;
+}
+
+#book-text hr.spacer {
+    height: 3em;
+    visibility: hidden;
+}
+
+#book-text hr.spacer-line {
+    margin: 1.5em 0;
+    border: none;
+    border-bottom: 0.1em solid #000;
+}
+
+#book-text p.spacer-asterisk {
+    padding: 0;
+    margin: 1.5em 0;
+    text-align: center;
+}
+
+#book-text div.person-list ol {
+    list-style: none;
+    padding: 0 0 0 1.5em;
+}
+
+#book-text p.place-and-time {
+    font-style: italic;
+}
+
+#book-text em.math, em.foreign-word, em.book-title, em.didaskalia {
+    font-style: italic;
+}
+
+#book-text em.author-emphasis {
+    letter-spacing: 0.1em;
+}
+
+#book-text em.person {
+    font-style: normal;
+    font-variant: small-caps;
+}
+
+#book-text .verse:after {
+    content: "\feff";
+}