With Kovid's help I've made some progress with tuning fonts and sizes in my first recipe attempt. Now I'm trying to cut down on the space between paragraphs (margin, I think), which ends up being a bit excessive on my tablet.
My source has unclassed paragraphs, but they are descendants inside a containing div:
so I've tried extra_css for the story-body ID, the eza-body class, and paragraph as a descendant selector of both of these, setting zero margin and padding.
Doesn't seem to have made any difference. The markup I see from a test ebook-convert is:
so it has classed the paragraphs. However the generated stylesheet.css doesn't ever have styling for the story-body ID even when I add this to extra_css. When my recipe has extra_css for the eza-body class the generated stylesheet does contain this styling, and my margin/padding/text-indent = 0 have been added, but nothing I've tried seems to cause a modification to the calibre8 class, which consistently has a 1em top margin.
Any thoughts on what I need in my recipe to actually reach to the style being applied to the paragraphs would be appreciated.
Thanks,
Alan
My source has unclassed paragraphs, but they are descendants inside a containing div:
Code:
<div id="story-body" class="eza-body clearfix">
<span class="sLoc">PARIS</span>
<p>With a military parade on the Champs-Elysees and a gilded tour of France's most storied monuments, French President Emmanuel Macron laid on the charm as he positioned himself as the indispensable intermediary between Europe and President Trump.</p><p>The Bastille Day demonstration on Friday capped two days of Parisian glitz for Mr. Trump and his wife, who were Mr. Macron's guests of honor in commemoration of the 100th anniversary of America's entry into World War I.</p> ...
Doesn't seem to have made any difference. The markup I see from a test ebook-convert is:
Code:
<div id="story-body" class="eza-body">
<span>PARIS</span>
<p class="calibre8">With a military parade on the Champs-Elysees and a gilded tour of France's most storied monuments, French President Emmanuel Macron laid on the charm as he positioned himself as the indispensable intermediary between Europe and President Trump.</p><p class="calibre8">The Bastille Day demonstration on Friday capped two days of Parisian glitz for Mr. Trump and his wife, who were Mr. Macron's guests of honor in commemoration of the 100th anniversary of America's entry into World War I.</p> ...
Any thoughts on what I need in my recipe to actually reach to the style being applied to the paragraphs would be appreciated.
Thanks,
Alan