Librarian 1.8
[wolnelektury.git] / src / wolnelektury / static / css / new.book.css
index a5f4c06..a1d45c8 100644 (file)
@@ -10,6 +10,11 @@ a {
     text-decoration: none;
 }
 
+img {
+    max-width: 37.5rem;
+    margin-top: 1em;
+}
+
 /* ================================== */
 /* = Header with logo and menu      = */
 /* ================================== */
@@ -71,19 +76,23 @@ h2 {
     line-height: 1.5em;
 }
 
-h3 {
+h3, .subtitle2 {
     font-size: 1.5em;
     margin: 1.5em 0 0;
     font-weight: normal;
     line-height: 1.5em;
 }
 
-h4 {
+h4, .subtitle3 {
     font-size: 1em;
     margin: 1.5em 0 0;
     line-height: 1.5em;
 }
 
+.subtitle4 {
+    font-weight: bold;
+}
+
 p {
     margin: 0;
 }
@@ -99,6 +108,10 @@ p {
     padding-left: 2px;
     position: relative;
     top: -4px;
+    user-select: none;
+    -webkit-user-select: none;
+    -moz-user-select: none;
+    -ms-user-select: none;
 }
 
 #footnotes {
@@ -110,6 +123,10 @@ p {
     float: left;
     width: 2.5em;
     clear: both;
+    user-select: auto;
+    -webkit-user-select: text;
+    -moz-user-select: text;
+    -ms-user-select: text;
 }
 
 #footnotes div {
@@ -222,6 +239,13 @@ div.note p, div.dedication p, div.note p.paragraph, div.dedication p.paragraph {
     font-style: italic;
 }
 
+div.frame {
+    border: 1px darkgray solid;
+    padding: 1em;
+    margin-top: 1em;
+    margin-bottom: 1em;
+}
+
 hr.spacer {
     height: 3em;
     visibility: hidden;
@@ -261,10 +285,25 @@ em.person {
     font-variant: small-caps;
 }
 
+em.wieksze-odstepy {
+    font-style: normal;
+    word-spacing: 1em;
+}
+
 .verse:after {
     content: "\feff";
 }
 
+table {
+    border-collapse: collapse;
+    width: 100%;
+}
+
+table.border td, table.border th {
+    border: 1px solid black;
+    vertical-align: top;
+}
+
 
 /* =================================== */
 /* = Hide some elements for printing = */