11-15-2017, 09:59 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2017
Device: none
|
Can't customize link colors for ebooks displayed in calibre
Hello, first-time calibre user here. I'm looking for some help customizing the colors for ebooks displayed in calibre.
I want to make a darker theme for easier-on-the-eyes reading. I find the default link colors to be jarringly bright, but changing the link colors doesn't appear to be working. I searched around for a little while and found other discussions of this, but didn't find a clear solution. I could probably do more thorough searching and problem-solving on my own attempting to get this to work, but I thought at this point it'd be worth asking for help in case there is a simple solution. If it matters, I'm using a macbook running OSX. Here's my user stylesheet: Code:
body { text-align:justify; line-spacing:1.8; margin-top:0px; margin-bottom:4px; margin-right:50px; margin-left:50px; text-indent:3em; } a:link, span a:link, a[href] { color: #2758a5; } a:visited { color: #935bb2; } a:hover { color: #2ae0ed; } a:active { color: #e01f1f; } Here's a screenshot of how the Quick Start Guide that comes with calibre looks using this stylesheet: Here's a (larger) screenshot of the "inspect element" page. |
11-15-2017, 10:12 PM | #2 |
creator of calibre
Posts: 43,744
Karma: 22446736
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Add !important to the CSS rules.
|
Advert | |
|
11-15-2017, 11:14 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Nov 2017
Device: none
|
Thank you so much, it works!
For the sake of completeness, here's the relevant parts of the updated user stylesheet: Code:
a:link, a:visited { color: #5d718c !important; } a:hover { color: #7a97ba !important; } a:active { color: #1151a0 !important; } |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre: customize advanced search dialog | Hasso | Library Management | 4 | 03-05-2016 03:22 AM |
How can you Customize Calibre's Look? | chilady1 | Calibre | 8 | 12-26-2012 10:50 PM |
Ability to customize recipes in Calibre GUI? | t3d | Recipes | 7 | 05-06-2011 03:59 PM |
how to customize viewer for calibre | tanyeun | Calibre | 9 | 05-28-2010 03:06 AM |
Customize Calibre Navbars | marcot | Calibre | 1 | 05-14-2010 11:49 PM |