Mercurial > hg > documentViewer
comparison css/docuviewer.css @ 611:e18ef3786753
CSS for new footnotes.
author | casties |
---|---|
date | Tue, 29 Jan 2013 17:56:47 +0100 |
parents | 7962e6891d99 |
children | d6eca930a534 |
comparison
equal
deleted
inserted
replaced
610:0488cd12355b | 611:e18ef3786753 |
---|---|
285 text-align: center; | 285 text-align: center; |
286 margin-bottom: 1em; | 286 margin-bottom: 1em; |
287 } | 287 } |
288 /* note */ | 288 /* note */ |
289 div.col.main div.content.text span.note span.noteBody { | 289 div.col.main div.content.text span.note span.noteBody { |
290 /* noteBody as block */ | |
290 display: block; | 291 display: block; |
291 /* float: left; */ | 292 /* float: left; */ |
292 margin-top: 0.5em; | 293 margin-top: 0.5em; |
293 margin-bottom: 0.5em; | 294 margin-bottom: 0.5em; |
294 padding: 5px; | 295 padding: 5px; |
295 border: 1px dashed silver; | 296 border: 1px dashed silver; |
296 } | 297 } |
297 div.col.main div.content.text span.note span.noteSign { | 298 div.col.main div.content.text span.note span.noteSign { |
299 /* noteSign invisible */ | |
298 display: none; | 300 display: none; |
299 /* font-size: 70%; | 301 } |
300 vertical-align: super; */ | 302 div.col.main div.content.text span.note.right span.noteBody { |
303 text-align: right; | |
304 } | |
305 /* footnote */ | |
306 div.col.main div.content.text div.notes.foot { | |
307 /* footnote separator */ | |
308 border-top: 1px solid silver; | |
309 } | |
310 div.col.main div.content.text div.notes.foot span.note.foot { | |
311 /* footnote with sign as block */ | |
312 display: block; | |
313 /* float: left; */ | |
314 margin-top: 0.5em; | |
315 margin-bottom: 0.5em; | |
316 padding: 5px; | |
317 } | |
318 div.col.main div.content.text div.notes.foot span.note.foot span.noteBody { | |
319 /* footnote body not block */ | |
320 display: inline; | |
321 margin: 0; | |
322 border: 0; | |
323 } | |
324 div.col.main div.content.text span.note.foot span.noteSign { | |
325 /* footnote sign superscript */ | |
326 display: inline; | |
327 font-size: 70%; | |
328 vertical-align: super; | |
329 } | |
330 div.col.main div.content.text div.notes.foot span.note.foot span.noteBody span.noteSign { | |
331 /* noteSign in noteBody invisible */ | |
332 display: none; | |
301 } | 333 } |
302 /* figure */ | 334 /* figure */ |
303 div.col.main div.content.text span.figure { | 335 div.col.main div.content.text span.figure { |
304 display: block; | 336 display: block; |
305 width: 200px; | 337 width: 200px; |