btaylor8 / james-branch-cabell_the-cords-of-vanity

Epub source for the Standard Ebooks edition of The Cords of Vanity, by James Branch Cabell
Other
0 stars 0 forks source link

Review #1

Closed vr8hub closed 9 months ago

vr8hub commented 9 months ago
btaylor8 commented 9 months ago

@vr8hub Thanks for the feedback; I've completed most of the tasks but have questions on the two remaining items:

vr8hub commented 9 months ago

Right, I've been burned by that core CSS more than once; I always forget it's there. I'll admit up front this could go either way, but I think this is a case for class. Let's put a class="story-header" (if you have a class name you prefer, that's fine, I'm not married to that, but it needs to be semantic, i.e. describe what it is rather than what it's doing) on the story headers (the <header>, not the p), and then the two CSS' can be just for .story-header.

For the Flowery Kingdom, that's how we do our poetry collections, but obviously they don't have mixed poetry and prose, like we do here. So, we need some CSS to mimic the formatting. The first selector duplicates the margins for a blockquote. The second selector is because the poem p selector is a higher specificity than the generic header selector (the latter assumes the p's inside it will be centered as well), so we have to override it to get a poem header p to be centered.

#chapter-10-1-1 {
    margin-bottom: 1em;
    margin-left: 2.5em;
}

#chapter-10-1-1 header > p {
    text-align: center;
}

I'll make a note of both of these to Alex when I turn it over to him, so he can blame me if he disagrees. :)

btaylor8 commented 9 months ago

Thanks, I made the updates per your reply.

vr8hub commented 9 months ago

One last nit: typogrify makes changes that should be accepted. (Adding the quotes back in the prologue needs some hair-spaces between the quotes.)

btaylor8 commented 9 months ago

Fixed; I could have sworn I did that before!