1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
/* Set the style for the webkit scroll bar (Reading View) */
::-webkit-scrollbar {
width: 8px;
height: 7px;
background: $SCROLLBAR_BACKGROUND;
border-radius: 10px;
}
::-webkit-scrollbar:hover {
background: #7a7a7a;
}
::-webkit-scrollbar-track {
background: $SCROLLBAR_BACKGROUND;
}
::-webkit-scrollbar-track:hover {
background: #848484;
}
::-webkit-scrollbar-track-piece,
::-webkit-scrollbar-button {
display: none;
}
::-webkit-scrollbar-thumb {
background-color: $SCROLLBAR_BACKGROUND;
border-radius: 3ex;
border: 2px;
min-height: 40px;
}
::-webkit-scrollbar-thumb:hover {
background: $SCROLLBAR_BACKGROUND;
border: none;
}
/* Set style for the whole document */
*{
/* Set hyphenation */
/*-webkit-hyphens: auto; */
/* Control line spacing */
line-height: $READING_LINE_HEIGHT%;
/* Control page margins */
margin:auto !important;
max-width: $READING_WIDTH% !important;
/* Control fonts */
font-family: $FONT_FAMILY !important;
font-size: $FONT_SIZEpx !important;
/* Control text and background color */
$TEXT_AND_BACKGROUND_COLOR
/* Control text alignment */
text-align: $READING_TEXT_ALIGN;
}
/* Re-size and center cover images for the title page (first or second page)*/
$TITLE_PAGE_IMAGE {
margin-top: auto !important;
margin-bottom: auto !important;
margin-left: auto !important;
margin-right: auto !important;
width:auto;
height:auto;
max-width:50vh !important;
max-height:70vh !important;
}
/* Set style for two page view */
.two_page {
-webkit-column-count: 2;
-webkit-column-gap: 40px;
-webkit-column-rule-style: solid;
column-rule-style: solid;
-webkit-column-rule-width: 1px;
column-rule-color: lightgrey;
}
/* Set style for text highlight */
span.bookworm_search_result_highlight {
background-color: $HIGHLIGHT_COLOR !important;
}
span.bookworm_annotation_highlight {
background-color: $HIGHLIGHT_COLOR !important;
}
|