home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2011 January / maximum-cd-2011-01.iso / DiscContents / calibre-0.7.26.msi / file_3570 < prev    next >
Encoding:
Text File  |  2010-09-30  |  2.3 KB  |  117 lines

  1. /*
  2. **    Book Jacket generation
  3. **
  4. **    The template for Book Jackets is template.xhtml
  5. **    This CSS is inserted into the generated HTML at conversion time
  6. **
  7. **    Users can control parts of the presentation of a generated book jacket by
  8. **     editing this file and template.xhtml
  9. **
  10. **    The general form of a generated Book Jacket:
  11. **
  12. **                      Title
  13. **    Series: series [series_index]
  14. **    Published: year_of_publication
  15. **    Rating: #_of_stars
  16. **    Tags: tag1, tag2, tag3 ...
  17. **
  18. **    Comments
  19. **
  20. **    If a book does not have Series information, a date of publication, a rating or tags
  21. **    the corresponding row is automatically removed from the generated book jacket.
  22. */
  23.  
  24. /*
  25. **    Banner
  26. **    Only affects EPUB, kindle ignores this type of formatting
  27. */
  28. .cbj_banner {
  29.     background: #eee;
  30.     border: thin solid black;
  31.     margin: 1em;
  32.     padding: 1em;
  33.     -webkit-border-radius:8px;
  34.     }
  35.  
  36. /*
  37. **    Title
  38. */
  39. .cbj_title {
  40.     font-size: x-large;
  41.     text-align: center;
  42.     }
  43.  
  44. /*
  45. **    Table containing Series, Publication Year, Rating and Tags
  46. */
  47. table.cbj_header {
  48.     width: 100%;
  49.     }
  50.  
  51. /*
  52. **    General formatting for banner labels
  53. */
  54. table.cbj_header td.cbj_label {
  55.     font-family: sans-serif;
  56.     font-weight: bold;
  57.     text-align: right;
  58.     width: 40%;
  59.     }
  60.  
  61. /*
  62. **    General formatting for banner content
  63. */
  64. table.cbj_header td.cbj_content {
  65.     font-family: sans-serif;
  66.     text-align: left;
  67.     width:60%;
  68.     }
  69.  
  70. /*
  71. **    To skip a banner item (Series|Published|Rating|Tags),
  72. **    edit the appropriate CSS rule below.
  73. */
  74. table.cbj_header tr.cbj_series {
  75.     /* Uncomment the next line to remove 'Series' from banner section */
  76.     /* display:none; */
  77.     }
  78.  
  79. table.cbj_header tr.cbj_pubdate {
  80.     /* Uncomment the next line to remove 'Published' from banner section */
  81.     /* display:none; */
  82.     }
  83.  
  84. table.cbj_header tr.cbj_rating {
  85.     /* Uncomment the next line to remove 'Rating' from banner section */
  86.     /* display:none; */
  87.     }
  88.  
  89. table.cbj_header tr.cbj_tags {
  90.     /* Uncomment the next line to remove 'Tags' from banner section */
  91.     /* display:none; */
  92.     }
  93.  
  94. hr {
  95.     /* This rule controls formatting for any hr elements contained in the jacket */
  96.     border-top: 0px solid white;
  97.     border-right: 0px solid white;
  98.     border-bottom: 2px solid black;
  99.     border-left: 0px solid white;
  100.     margin-left: 10%;
  101.     width: 80%;
  102.     }
  103.  
  104. .cbj_footer {
  105.     font-family: sans-serif;
  106.     font-size: small;
  107.     margin-top: 8px;
  108.     text-align: center;
  109.     }
  110. .cbj_smallcaps {
  111.     font-size: 90%;
  112.     }
  113.  
  114. .cbj_comments {
  115.     font-family: sans-serif;
  116.     }
  117.