Debian Codegraph @

resources/catalog/stylesheet.css

raw
1 body { background-color: white; }
2
3 /*
4 ** The following rules apply principally to the line items shown in the
5 ** Authors, Titles, Genres, Series, and Recently Added sections. Rules for the
6 ** Descriptions section are grouped together later in the file.
7 ** ------------------------------------------------------------------------
8 */
9
10
11 /*
12 ** <div> grouping an author's works together
13 ** Used in Sections:
14 ** Authors
15 **
16 ** Minimize widows and orphans by logically grouping chunks
17 ** Some reports of problems with Sony (ADE) ereaders
18 ** ADE: page-break-inside:avoid;
19 ** iBooks: display:inline-block;
20 ** width:100%;
21 */
22 div.author_logical_group {
23 page-break-inside:avoid;
24 }
25
26 /*
27 ** Force page break when starting new initial letter
28 ** Used in Sections:
29 ** Authors
30 ** Titles
31 */
32 div.initial_letter {
33 page-break-before:always;
34 }
35
36 /*
37 ** Author name
38 ** Used in Sections:
39 ** Authors
40 ** Genres
41 ** Recently Added
42 */
43 p.author_index {
44 clear:both;
45 font-size:large;
46 font-weight:bold;
47 text-align:left;
48 margin-top:0.25px;
49 margin-bottom:-2px;
50 text-indent: 0em;
51 }
52
53 /*
54 ** Index letter
55 ** Used in Sections:
56 ** Authors
57 ** Titles
58 */
59 p.author_title_letter_index {
60 clear:both;
61 font-size:x-large;
62 text-align:center;
63 font-weight:bold;
64 margin-top:0px;
65 margin-bottom:0px;
66 }
67
68 /*
69 ** Index letter
70 ** Used in Sections:
71 ** Series
72 */
73 p.series_letter_index {
74 font-size:x-large;
75 text-align:center;
76 font-weight:bold;
77 margin-top:1em;
78 margin-bottom:0px;
79 }
80
81
82 /*
83 ** Month-Year
84 ** Used in Sections:
85 ** Recently Added
86 */
87 p.date_index {
88 clear:both;
89 font-size:x-large;
90 text-align:center;
91 font-weight:bold;
92 margin-top:1em;
93 margin-bottom:0px;
94 }
95
96 p.date_read {
97 clear:both;
98 text-align:left;
99 margin-top:0px;
100 margin-bottom:0px;
101 margin-left:6em;
102 text-indent:-6em;
103 }
104
105 /*
106 ** Series name
107 ** Used in Sections:
108 ** Authors
109 ** Series
110 ** Genres
111 ** Recently Added
112 ** Optimized for ePub
113 */
114 p.series {
115 clear:both;
116 font-style:italic;
117 margin-top:0.10em;
118 margin-bottom:0em;
119 margin-left:1.5em;
120 text-align:left;
121 text-indent:-1.25em;
122 }
123
124 /*
125 ** Series name
126 ** Used in Sections:
127 ** Authors
128 ** Series
129 ** Genres
130 ** Recently Added
131 ** Optimized for mobi
132 */
133 p.series_mobi {
134 clear:both;
135 font-style:italic;
136 margin-top:0em;
137 margin-bottom:0em;
138 margin-left:0em;
139 text-align:left;
140 text-indent:-30px;
141 }
142
143 /*
144 ** Section title
145 ** Used in Sections:
146 ** Authors
147 ** Titles
148 ** Series
149 ** Genres
150 ** Recently Added
151 ** Descriptions
152 */
153 p.title {
154 margin-top:0em;
155 margin-bottom:0em;
156 text-align:center;
157 font-style:italic;
158 font-size:xx-large;
159 }
160
161 /*
162 ** Line item book listing
163 ** Used in Sections:
164 ** Authors
165 ** Titles
166 ** Series
167 ** Genres
168 ** Recently Added
169 */
170 p.line_item {
171 clear: both;
172 font-family:monospace;
173 margin-top:0px;
174 margin-bottom:0px;
175 margin-left:2em;
176 text-align:left;
177 text-indent:-2em;
178 }
179
180 /*
181 ** Prefix
182 ** Used in Sections:
183 ** Authors
184 ** Titles
185 ** Series
186 ** Genres
187 ** Recently Added
188 */
189 span.prefix {
190 float:left;
191 margin-left: 0.25em;
192 text-align: left;
193 vertical-align: middle;
194 width: 1.5em;
195 }
196
197 /*
198 ** Book details entry
199 ** Used in Sections:
200 ** Authors
201 ** Titles
202 ** Series
203 ** Genres
204 ** Recently Added
205 */
206 span.entry {
207 font-family: serif;
208 vertical-align:middle;
209 }
210
211 /*
212 ** The following rules apply to Descriptions
213 ** -----------------------------------------
214 */
215
216 /*
217 ** Link to Series
218 */
219 a.series_id {
220 font-style:normal;
221 font-size:large;
222 }
223
224 /*
225 ** Various dividers
226 */
227 hr.annotations_divider {
228 width:50%;
229 margin-left:1em;
230 margin-top:0em;
231 margin-bottom:0em;
232 }
233
234 hr.description_divider {
235 width:90%;
236 margin-left:5%;
237 border-top: solid white 0px;
238 border-right: solid white 0px;
239 border-bottom: solid black 1px;
240 border-left: solid white 0px;
241 }
242
243 hr.header_divider {
244 width:100%;
245 border-top: solid white 1px;
246 border-right: solid white 0px;
247 border-bottom: solid black 2px;
248 border-left: solid white 0px;
249 }
250
251 hr.merged_comments_divider {
252 width:80%;
253 margin-left:10%;
254 border-top: solid white 0px;
255 border-right: solid white 0px;
256 border-bottom: dashed gray 2px;
257 border-left: solid white 0px;
258 }
259
260 /*
261 ** Author name
262 */
263 p.author {
264 clear:both;
265 font-size:large;
266 margin-top:0em;
267 margin-bottom:0.1em;
268 text-align: center;
269 text-indent: 0em;
270 }
271
272 /*
273 ** Formats
274 */
275 p.formats {
276 font-size:90%;
277 margin-top:0em;
278 margin-bottom:0.5em;
279 text-align: left;
280 text-indent: 0.0in;
281 }
282
283 /*
284 ** Genres
285 */
286 p.genres {
287 font-style:normal;
288 margin-top:0.5em;
289 margin-bottom:0em;
290 text-align: left;
291 text-indent: 0.0in;
292 }
293
294
295 /*
296 ** Series name
297 */
298 p.series_id {
299 margin-top:0em;
300 margin-bottom:0em;
301 text-align:center;
302 }
303
304 /*
305 ** Publisher, Publication Date
306 */
307 td.publisher, td.date {
308 font-weight:bold;
309 text-align:center;
310 }
311
312 /*
313 ** Rating
314 */
315 td.rating{
316 text-align:center;
317 }
318
319 /*
320 ** Additional notes
321 */
322 td.notes {
323 font-size: 100%;
324 text-align:center;
325 }
326
327 /*
328 ** Thumbnail
329 */
330 td.thumbnail img {
331 -webkit-box-shadow: 4px 4px 12px #999;
332 }
333
334 /*
335 ** Comments
336 */
337 div.description {
338 margin: 0 0 0 0;
339 text-indent: 1em;
340 }
341 div.description > p:first-child {
342 margin: 0 0 0 0;
343 text-indent: 0em;
344 }
345