View Single Post
Old 12-17-2022, 08:17 PM   #1
Comfy.n
want to learn what I want
Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.Comfy.n ought to be getting tired of karma fortunes by now.
 
Posts: 1,641
Karma: 7908443
Join Date: Sep 2020
Device: none
CCS (Calibre Content Server) Userstyles

Hi everyone,

Userstyles provide a way to customise web pages layout.
In trying to apply them to CCS (Calibre Content Server) pages, I was able to style the FTS results page, by using this code:



PHP Code:
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document url-prefix(http://127.0.0.1:8080/#fts_panel)

{
div{background-color:#e8e5ed !important;}
body{background-color:#504e8b !important;max-width:1000px!important;margin-left:200px!important;}

By using that userstyle, I managed to get a results page that meets quite nicely my preferences:

Click image for larger version

Name:	MWSnap0997 2022-12-17, 22_02_22.png
Views:	177
Size:	102.9 KB
ID:	198475


However, achieving the same on the main CCS pages didn't seem that easy...

So I thought I'd ask, has anyone else fiddled with styling CCS pages, or willing to? If so, may we use this thread to share ideas about CCS user-styling?

The result I'm interested in, at the moment, would look similar to the old layout, particularly concerning the visibility of scrollbars in the book comments, as shown below:

Click image for larger version

Name:	MWSnap0996 2022-12-17, 21_50_52.png
Views:	162
Size:	99.6 KB
ID:	198476

Last edited by Comfy.n; 12-19-2022 at 11:20 PM.
Comfy.n is offline   Reply With Quote