View Single Post
Old 07-16-2024, 01:58 PM   #9748
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,039
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by TaviCalderon View Post
hi, back again already, sorry.

how would someone make the work summary italicized?
The default title page HTML isn't very easily customized like that.

But it's not terrible difficult to add custom HTML for that purpose.
The default is very basic:
Code:
## Default:
## ${id}, ${label}, ${value}
titlepage_entry:<b>${label}:</b> ${value}<br />
You can pretty easily add classes and IDs for CSS. But there is a twist: For Summary and a few others, you need to also clear wide_titlepage_entries, otherwise they'll use titlepage_wide_entry.

Here's one possibility:
Code:
[epub]
#include_tocpage:true
titlepage_entry:<b class="fff_tp_label" id="${id}_label">${label}:</b> <span class="fff_tp_value" id="${id}_value">${value}</span><br />
wide_titlepage_entries:

add_to_output_css:
 #description_value {
    font-style:italic;
 }
Years ago, FFF made the title page using <table> tags and Summary(description) was a 'wide' entry that spanned two columns. FFF has special code for titlepage_use_table from before you could customize the HTML.

I'm looking at how that code could be 'fixed' to be more intuitive.
JimmXinu is online now   Reply With Quote