Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 04:39 PM   #1
cgrapski
Connoisseur
cgrapski began at the beginning.
 
Posts: 55
Karma: 22
Join Date: Dec 2016
Device: Kindle
Formatting Fonts in Book Details Pane

Can I format the text in the Book Details Pane - particularly custom not system items - so I'd like to change for example the color of certain items that are listed there.

Is this possible? I have tried unsuccessfully a number of CSS options. Nothing works. In particular I am trying to change an item that is presented as a link.

I can change the "a" formatting options - and it changes color - but that is too much as it changes all links. I only want to change particular ones.
cgrapski is offline   Reply With Quote
Old Yesterday, 06:27 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 32,055
Karma: 65709392
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
There is a toolbar for the Comments pane. Select the text, then the Tool

Switch that pane to HTML source (tab) and you can see the code (and add your own if the tool does not have what you want)

Code:
<p><span style="background-color: #ffff00">Be careful what you wish for . . . </span></p>
theducks is offline   Reply With Quote
Old Yesterday, 06:29 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 32,055
Karma: 65709392
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
This is in the Metadata Editor. The details will reflect the changes
theducks is offline   Reply With Quote
Old Today, 12:48 AM   #4
cgrapski
Connoisseur
cgrapski began at the beginning.
 
Posts: 55
Karma: 22
Join Date: Dec 2016
Device: Kindle
I don't think I was as clear as I need to be. I am not talking about formatting in the comments.

I am talking about reformatting the text like "title" or more importantly - for custom fields. For example I have a column for Reading Lists - and I have it display in the Book Details pane. But it gets lost with all the other text - so I would like to change the color of it - so it stands out from the other text.

The Reaading List plug in - renders this as a link.

So I can change the color - by changing the color of links - but then that changes all the fields to the same color - and I am back to the same problem. I want to specificy the color for particular links/fields. So they stand out from the rest of the text.
cgrapski is offline   Reply With Quote
Old Today, 01:09 AM   #5
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: 2,486
Karma: 9656785
Join Date: Sep 2020
Device: Libra Colour
Code:
table   {font-size: 12px !important; }

td {background-color: transparent;}

table.fields td.title {color: #b4b5b5; text-align: right; line-height: 0.9;font-weight: bold; }

body {background-color: transparent;}

a { text-decoration: none;
font-weight: bold; }

a { text-decoration: none;
; font-weight: bold; }
#_tby_gr , #_tby_gr a{font-weight: bold !important;}

#comments  {  font-family: Chareink !important; font-size: 15px !important;}

#_read_progress, #_read_progress a {color:orange !important; font-weight: bold;}

/*#title_sort{ font-weight: bold; }*/

#title_sort a {color:#fbff17;text-decoration-line: underline !important;}

/*#author_sort{ font-weight: bold;}*/

#author_sort a {color:#d4ff39;}

#publisher {color:orange;font-weight: bold;}

#publisher a {color:orange;}

#_li2{color:#CCCDCA; font-weight: bold;   word-spacing: 1px;      }

/*#_li2, #_dates, #timestamp, #publisher, #title_sort, #author_sort, #pubdate{font-size: 11px;}*/

#_bio table {margin-top:-14px !important; width:500px !important; max-width:500px !important;}

#_bioc {font-family:chareink !important;  font-size: 15px !important;}

#pubdate a{color:orange !important;}

#formats  a{  font-weight: 900; font-family:LexiaDama !important;}

#_info{font-family: "Gadugi" !important;color:#FFFFCC ; word-spacing: 1px;}

#_sizes{font-family: arial narrow!important;color:#CCCDCA;   font-weight: bold; word-spacing: 1px;}

/*#_bio table, #_bio td{border: 1px solid red !important;transform-origin: center !important;
transform: scale(0.5) !important;}*/

#_tt, #_tt a {color:#fbff17 !important;   font-weight: bold;}

/*#rating, #rating a, #identifiers, #identifiers  a {font-size: 11px;}*/

 #tags, #tags a {color:#F578BE; font-family:arial narrow!important;font-weight: bold;}

#_tr, #_tr a, #_subtitle, #_subtitle a {
color:lime;   /* font-weight: bold;*/}

#_ot, #_ot a {color:lime;   /* font-weight: bold;*/}

#_rgstatus a {color:#ffff91;   /* font-weight: bold;*/}

#timestamp a, #path a{/*color:orange;*/
    font-weight: bold;}

/*body.horizontal table td.title { white-space: nowrap }*/

/*table.aaa { margin-left: -15; }*/

.series_name {    font-style: italic;}

/*table.fields {    margin-bottom: 0;  padding-bottom: 0;}*/

/*table.fields td {    vertical-align: top; margin-bottom: 0;  padding-bottom: 0; margin-top: 0;  padding-top: 0;}*/


/*
The HTML that this stylesheet applies to looks like this:

<table class="fields">
    <tr id="formats" class="datatype_text"><td class="title">Formats:</td><td><a href="format:572:EPUB">EPUB</a>, <a href="format:572:LIT">LIT</a></td></tr>
    <tr id="series" class="datatype_series"><td class="title">Series:</td><td>Book II of <a href="..."><span class="series_name">The Sea Beggars</span></a></td></tr>
    <tr id="tags" class="datatype_text"><td class="title">Tags:</td><td><a href="...">Fantasy</a>, <a href="...">Fiction</a></td></tr>
    <tr id="path" class="datatype_text"><td class="title">Path:</td><td><a href="path:572" title="/home/kovid/test library/Paul Kearney/This Forsaken Earth (572)">Click to open</a></td></tr>
</table>

<div id="comments" class="comments"><h3>From Publishers Weekly</h3><p>At the start of Kearney's rousing sequel to <em>The Mark of Ran</em> (2005), Rol Cortishane, the youthful captain of the privateer <em>Revenant</em>, captures a slaver and frees its chained slaves. Back in the harbor of Ganesh Ka in the land of Umer, Rol encounters an untrustworthy acquaintance he hasn't seen in years, Canker, a former king of thieves, who urges Rol to join in the fight to save Rowen, a darkly beautiful queen, whose throne is at risk in mountainous Bionar. That Rowen is Rol's half-sister for whom he has lusted in the past doesn't make Rol's decision to help an easy one. If as in <em>The Mark of Ran</em> the action is more lively at sea than on land, Kearney's solid storytelling and nautical detail worthy of C.S. Forester or Patrick O'Brian will keep readers turning the pages. <em>(Dec.)</em> <br />Copyright © Reed Business Information, a division of Reed Elsevier Inc. All rights reserved. </p><h3>From</h3><p>The sequel to <em>The Mark of Ran</em> (2005) finds heroic young Rol Cortishane grown to be a much-feared sea captain. Deciding to ignore his mysterious past, he spends his energy on ship and crew. He is still an outlaw, however, and the only port he can call home is Ganesh Ka, the endangered city of exiles. When word comes from Rowan, his half-sister, asking him to fight on her behalf, he must weigh the safety of Ganesh Ka against Rowan's treachery in the past. Finally persuaded to aid Rowan, he learns more of betrayal and his heritage in the ensuing battles than he had wanted to know. Kearney's characters are much better developed here than they were in <em>The Mark of Ran</em>, and since the book tells a single story, the plot is tighter. Moreover, because almost all the action transpires in the here and now, the sequel can be read without reference to the predecessor. Since it ends hanging on a particularly bloody cliff, expect to see more of Kearney's excellent maritime fantasy. <em>Frieda Murray</em><br /><em>Copyright © American Library Association. All rights reserved</em></p>
</div>

<h3 class="comments-heading">Custom comments column heading</h3>
<div id="_customcolname" class="comments">...</div>
*/
Hi, the above is what I have on my Book Details styling section. Note that custom column elements must be prefixed with an underscore.

I recommend doing changes one CSS rule at a time until you're happy with the outcome, and use this plugin, since it provides quick access to the styling section:

https://www.mobileread.com/forums/sh...d.php?t=372670
Attached Thumbnails
Click image for larger version

Name:	2026-11-12 02_07_31-calibre — __ mylib __  Library Path_ C__mylib.png
Views:	2
Size:	369.7 KB
ID:	227338  
Comfy.n is online now   Reply With Quote
Old Today, 02:03 AM   #6
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,922
Karma: 9600930
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by cgrapski View Post
I am talking about reformatting the text like "title" or more importantly - for custom fields. For example I have a column for Reading Lists - and I have it display in the Book Details pane. But it gets lost with all the other text - so I would like to change the color of it - so it stands out from the other text.
It sounds to me like Column Colouring rules is what @cgrapski needs?
Preferences ► Look & Feel ► Column colouring. Add a rule here to colour the entries.

=Edit=
Just realised Book Details Pane was mentioned.
I'll leave the above in case it is useful anyway.

Last edited by Karellen; Today at 02:19 AM.
Karellen is offline   Reply With Quote
Reply

Tags
book details, font, format

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Goodreads ID missing from book details pane mdclanahan Calibre 2 06-25-2021 02:22 PM
Book Details Pane Missing RainIntoRainbows Calibre 3 08-15-2018 03:41 AM
book details pane tracis035 Calibre 7 11-04-2016 01:00 AM
Is it possible to show the ISBN in the book details pane? iridius Library Management 3 03-22-2011 08:39 PM


All times are GMT -4. The time now is 03:50 AM.


MobileRead.com is a privately owned, operated and funded community.