wider html book view
[librarian.git] / scripts / master.plain.css
1 /*
2  *  This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
3  *  Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
4  *
5  */
6 body {
7     font-size: 16px;
8     font-family: Georgia, "Times New Roman", serif;
9     line-height: 1.5em;
10     margin: 3em;
11     max-width: 48em;
12 }
13
14 a {
15     color: blue;
16     text-decoration: none;
17 }
18
19 /* =================================================== */
20 /* = Common elements: headings, paragraphs and lines = */
21 /* =================================================== */
22 h1 {
23     font-size: 3em;
24     margin: 1.5em 0;
25     text-align: center;
26     line-height: 1.5em;
27     font-weight: bold;
28 }
29
30 h2 {
31     font-size: 2em;
32     margin: 1.5em 0 0;
33     font-weight: bold;
34     line-height: 1.5em;
35 }
36
37 h3 {
38     font-size: 1.5em;
39     margin: 1.5em 0 0;
40     font-weight: normal;
41     line-height: 1.5em;
42 }
43
44 h4 {
45     font-size: 1em;
46     margin: 1.5em 0 0;
47     line-height: 1.5em;
48 }
49
50 p {
51     margin: 0;
52 }
53
54 /* ======================== */
55 /* = Footnotes and themes = */
56 /* ======================== */
57 .theme-begin {
58     border-left: 0.1em solid #DDDDDD;
59     color: #666;
60     float: right;
61     margin: 0 -9.5em 0 0;
62     padding: 0 0.5em;
63     width: 7.5em;
64     font-style: normal;
65     font-weight: normal;
66     font-size: 16px;
67     display: none;
68 }
69
70 .annotation {
71     font-style: normal;
72     font-weight: normal;
73     font-size: 16px;
74     display: none;
75 }
76
77 #footnotes {
78     display: none;
79 }
80
81 #footnotes .annotation {
82     display: block;
83     float: left;
84     width: 2.5em;
85     clear: both;
86 }
87
88 #footnotes div {
89     margin: 1.5em 0 0 0;
90 }
91
92 #footnotes p {
93     margin-left: 2.5em;
94 }
95
96 /* =================== */
97 /* = Custom elements = */
98 /* =================== */
99 span.author {
100     font-size: 0.75em;
101     display: block;
102     line-height: 1.5em;
103     margin-bottom: 0.25em;
104 }
105
106 span.collection {
107     font-size: 0.75em;
108     display: block;
109     line-height: 1.5em;
110     margin-bottom: -0.25em;
111 }
112
113 span.subtitle {
114     font-size: 0.75em;
115     display: block;
116     line-height: 1.5em;
117     margin-top: -0.25em;
118 }
119
120 div.didaskalia {
121     font-style: italic;
122     margin: 0.5em 0 0;
123 }
124
125 div.kwestia {
126     margin: 0.5em 0 0;
127 }
128
129 div.stanza {
130     margin: 1.5em 0 0;
131 }
132
133 div.kwestia div.stanza {
134     margin: 0;
135 }
136
137 p.paragraph {
138     text-align: justify;
139     margin: 1.5em 0 0;
140 }
141
142 p.motto {
143     text-align: justify;
144     font-style: italic;
145     margin: 1.5em 0 0;
146 }
147
148 p.motto_podpis {
149     font-size: 0.875em;
150 }
151
152 div.fragment {
153     border-bottom: 0.1em solid #999;
154     padding-bottom: 1.5em;
155 }
156
157 div.note p, div.note p.paragraph {
158     text-align: right;
159     font-style: italic;
160 }
161
162 hr.spacer {
163     height: 3em;
164     visibility: hidden;
165 }