mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
346 lines
5.1 KiB
CSS
346 lines
5.1 KiB
CSS
body { background-color: white; }
|
|
|
|
/*
|
|
** The following rules apply principally to the line items shown in the
|
|
** Authors, Titles, Genres, Series, and Recently Added sections. Rules for the
|
|
** Descriptions section are grouped together later in the file.
|
|
** ------------------------------------------------------------------------
|
|
*/
|
|
|
|
|
|
/*
|
|
** <div> grouping an author's works together
|
|
** Used in Sections:
|
|
** Authors
|
|
**
|
|
** Minimize widows and orphans by logically grouping chunks
|
|
** Some reports of problems with Sony (ADE) ereaders
|
|
** ADE: page-break-inside:avoid;
|
|
** iBooks: display:inline-block;
|
|
** width:100%;
|
|
*/
|
|
div.author_logical_group {
|
|
page-break-inside:avoid;
|
|
}
|
|
|
|
/*
|
|
** Force page break when starting new initial letter
|
|
** Used in Sections:
|
|
** Authors
|
|
** Titles
|
|
*/
|
|
div.initial_letter {
|
|
page-break-before:always;
|
|
}
|
|
|
|
/*
|
|
** Author name
|
|
** Used in Sections:
|
|
** Authors
|
|
** Genres
|
|
** Recently Added
|
|
*/
|
|
p.author_index {
|
|
clear:both;
|
|
font-size:large;
|
|
font-weight:bold;
|
|
text-align:left;
|
|
margin-top:0.25px;
|
|
margin-bottom:-2px;
|
|
text-indent: 0em;
|
|
}
|
|
|
|
/*
|
|
** Index letter
|
|
** Used in Sections:
|
|
** Authors
|
|
** Titles
|
|
*/
|
|
p.author_title_letter_index {
|
|
clear:both;
|
|
font-size:x-large;
|
|
text-align:center;
|
|
font-weight:bold;
|
|
margin-top:0px;
|
|
margin-bottom:0px;
|
|
}
|
|
|
|
/*
|
|
** Index letter
|
|
** Used in Sections:
|
|
** Series
|
|
*/
|
|
p.series_letter_index {
|
|
font-size:x-large;
|
|
text-align:center;
|
|
font-weight:bold;
|
|
margin-top:1em;
|
|
margin-bottom:0px;
|
|
}
|
|
|
|
|
|
/*
|
|
** Month-Year
|
|
** Used in Sections:
|
|
** Recently Added
|
|
*/
|
|
p.date_index {
|
|
clear:both;
|
|
font-size:x-large;
|
|
text-align:center;
|
|
font-weight:bold;
|
|
margin-top:1em;
|
|
margin-bottom:0px;
|
|
}
|
|
|
|
p.date_read {
|
|
clear:both;
|
|
text-align:left;
|
|
margin-top:0px;
|
|
margin-bottom:0px;
|
|
margin-left:6em;
|
|
text-indent:-6em;
|
|
}
|
|
|
|
/*
|
|
** Series name
|
|
** Used in Sections:
|
|
** Authors
|
|
** Series
|
|
** Genres
|
|
** Recently Added
|
|
** Optimized for ePub
|
|
*/
|
|
p.series {
|
|
clear:both;
|
|
font-style:italic;
|
|
margin-top:0.10em;
|
|
margin-bottom:0em;
|
|
margin-left:1.5em;
|
|
text-align:left;
|
|
text-indent:-1.25em;
|
|
}
|
|
|
|
/*
|
|
** Series name
|
|
** Used in Sections:
|
|
** Authors
|
|
** Series
|
|
** Genres
|
|
** Recently Added
|
|
** Optimized for mobi
|
|
*/
|
|
p.series_mobi {
|
|
clear:both;
|
|
font-style:italic;
|
|
margin-top:0em;
|
|
margin-bottom:0em;
|
|
margin-left:0em;
|
|
text-align:left;
|
|
text-indent:-30px;
|
|
}
|
|
|
|
/*
|
|
** Section title
|
|
** Used in Sections:
|
|
** Authors
|
|
** Titles
|
|
** Series
|
|
** Genres
|
|
** Recently Added
|
|
** Descriptions
|
|
*/
|
|
p.title {
|
|
margin-top:0em;
|
|
margin-bottom:0em;
|
|
text-align:center;
|
|
font-style:italic;
|
|
font-size:xx-large;
|
|
}
|
|
|
|
/*
|
|
** Line item book listing
|
|
** Used in Sections:
|
|
** Authors
|
|
** Titles
|
|
** Series
|
|
** Genres
|
|
** Recently Added
|
|
*/
|
|
p.line_item {
|
|
clear: both;
|
|
font-family:monospace;
|
|
margin-top:0px;
|
|
margin-bottom:0px;
|
|
margin-left:2em;
|
|
text-align:left;
|
|
text-indent:-2em;
|
|
}
|
|
|
|
/*
|
|
** Prefix
|
|
** Used in Sections:
|
|
** Authors
|
|
** Titles
|
|
** Series
|
|
** Genres
|
|
** Recently Added
|
|
*/
|
|
span.prefix {
|
|
float:left;
|
|
margin-left: 0.25em;
|
|
text-align: left;
|
|
vertical-align: middle;
|
|
width: 1.5em;
|
|
}
|
|
|
|
/*
|
|
** Book details entry
|
|
** Used in Sections:
|
|
** Authors
|
|
** Titles
|
|
** Series
|
|
** Genres
|
|
** Recently Added
|
|
*/
|
|
span.entry {
|
|
font-family: serif;
|
|
vertical-align:middle;
|
|
}
|
|
|
|
/*
|
|
** The following rules apply to Descriptions
|
|
** -----------------------------------------
|
|
*/
|
|
|
|
/*
|
|
** Link to Series
|
|
*/
|
|
a.series_id {
|
|
font-style:normal;
|
|
font-size:large;
|
|
}
|
|
|
|
/*
|
|
** Various dividers
|
|
*/
|
|
hr.annotations_divider {
|
|
width:50%;
|
|
margin-left:1em;
|
|
margin-top:0em;
|
|
margin-bottom:0em;
|
|
}
|
|
|
|
hr.description_divider {
|
|
width:90%;
|
|
margin-left:5%;
|
|
border-top: solid white 0px;
|
|
border-right: solid white 0px;
|
|
border-bottom: solid black 1px;
|
|
border-left: solid white 0px;
|
|
}
|
|
|
|
hr.header_divider {
|
|
width:100%;
|
|
border-top: solid white 1px;
|
|
border-right: solid white 0px;
|
|
border-bottom: solid black 2px;
|
|
border-left: solid white 0px;
|
|
}
|
|
|
|
hr.merged_comments_divider {
|
|
width:80%;
|
|
margin-left:10%;
|
|
border-top: solid white 0px;
|
|
border-right: solid white 0px;
|
|
border-bottom: dashed gray 2px;
|
|
border-left: solid white 0px;
|
|
}
|
|
|
|
/*
|
|
** Author name
|
|
*/
|
|
p.author {
|
|
clear:both;
|
|
font-size:large;
|
|
margin-top:0em;
|
|
margin-bottom:0.1em;
|
|
text-align: center;
|
|
text-indent: 0em;
|
|
}
|
|
|
|
/*
|
|
** Formats
|
|
*/
|
|
p.formats {
|
|
font-size:90%;
|
|
margin-top:0em;
|
|
margin-bottom:0.5em;
|
|
text-align: left;
|
|
text-indent: 0.0in;
|
|
}
|
|
|
|
/*
|
|
** Genres
|
|
*/
|
|
p.genres {
|
|
font-style:normal;
|
|
margin-top:0.5em;
|
|
margin-bottom:0em;
|
|
text-align: left;
|
|
text-indent: 0.0in;
|
|
}
|
|
|
|
|
|
/*
|
|
** Series name
|
|
*/
|
|
p.series_id {
|
|
margin-top:0em;
|
|
margin-bottom:0em;
|
|
text-align:center;
|
|
}
|
|
|
|
/*
|
|
** Publisher, Publication Date
|
|
*/
|
|
td.publisher, td.date {
|
|
font-weight:bold;
|
|
text-align:center;
|
|
}
|
|
|
|
/*
|
|
** Rating
|
|
*/
|
|
td.rating{
|
|
text-align:center;
|
|
}
|
|
|
|
/*
|
|
** Additional notes
|
|
*/
|
|
td.notes {
|
|
font-size: 100%;
|
|
text-align:center;
|
|
}
|
|
|
|
/*
|
|
** Thumbnail
|
|
*/
|
|
td.thumbnail img {
|
|
-webkit-box-shadow: 4px 4px 12px #999;
|
|
}
|
|
|
|
/*
|
|
** Comments
|
|
*/
|
|
div.description {
|
|
margin: 0 0 0 0;
|
|
text-indent: 1em;
|
|
}
|
|
div.description > p:first-child {
|
|
margin: 0 0 0 0;
|
|
text-indent: 0em;
|
|
}
|
|
|