View Single Post
Old 12-21-2019, 04:27 AM   #266
duns
Connoisseur
duns began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Sep 2017
Device: PocketBook
Quote:
Originally Posted by DoctorOhh View Post
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;}
Attached Thumbnails
Click image for larger version

Name:	Calibre stilished.png
Views:	1254
Size:	404.4 KB
ID:	175776  

Last edited by duns; 12-21-2019 at 05:30 AM.
duns is offline   Reply With Quote