Quote:
Originally Posted by DoctorOhh
Maybe something like this (see attached)? I used the latest calibre to setup the book viewer as shown.
|
Yes, thanks, like that!
Today I managed to get something similar (see the image attached), but now Calibre viewer is become very slow...
EDIT
No: I have changed something and now the speed is normal. This is my css code:
Code:
body {
counter-reset: section; /* Set a counter named 'section', and its initial value is 0. */
background-image: radial-gradient(white 20%, #e5e4dc 70%) !important;
}
h2 {
counter-reset: paragraph; /* Set a counter named 'section', and its initial value is 0. */
counter-increment: section; /* Increment the value of section counter by 1 */
}
p::before {
counter-increment: paragraph; /* Increment the value of parag counter by 1 */
content: "[cap." counter(section) ", para." counter(paragraph) "] ";
color: gray; font-size: 70%;
}
h2 {background: #B35A31 linear-gradient(to left, #B35A31 80%, #F4E492 105%); color: white !important; font-weight: bold !important; text-shadow: gray -1px -1px; border-radius: 8px; box-shadow: 5px 4px 4px gray; margin-bottom: 25px !important;}
h3, h4 {color: #B35A31 !important; border-bottom: thin white solid;}
div {max-width: 90vw !important; margin-left: auto; margin-right: auto;}