gragt / charles-kingsley_the-water-babies Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Just a few minor things.
<div>
used for the former tables looks great, except for the page break before/after CSS. I'm not sure why that's there? It is, of course, causing page breaks before and after those lists, which aren't in the scans. I didn't think we want the avoid, either, but when I built the book I saw that it split half of a line on one page and half on the next. What's up with that? Anyway, looks like the avoid is needed. :)<p>
s in a single <li>
? It makes it simpler in structure, and eliminates all of the ol
CSS. A li p
selector has to be added to the existing li p:first-child
, but that's it. And maybe it better represents the data: the "list of things" in 3-5 are not a sub-list, but just a list of things which can be naturally expressed with multiple <p>
s. That seems clearer to me on the surface, but I can be talked out of it. :)span
is not wrong, but we have a lot of precedent in the corpus to use b
in that situation.p
, then just override what we need to for the last paragraph. (We don't need the margin-bottom: 0
in this particular case (there's nothing after it), but just for completeness…)section[epub|type~="dedication"] p{
font-variant: small-caps;
line-height: 2;
margin-bottom: 2.5em;
text-indent: 0;
}
section[epub|type~="dedication"] p:last-of-type{
font-size: .75em;
margin-bottom: 0;
}
section[epub|type~="dedication"] b{
font-size: 1.25em;
}
display:table
, and two, use multiple columns. Either one is going to need a container, which can be a <div>
(one of the rare instances when one might be OK), as it doesn't look like anything else is appropriate.<b>
is more appropriate?<div>
, which then lets us use a <header>
for the stanza header. See, e.g., Ameen Rihani's Poetry. You can then target the headers in CSS.Several corner cases here. I'm fairly confident in the following, but as always feel free to educate me in what I have missed or misunderstood. :) I'm going to ask Alex about at least one them myself, but I don't mind doing so for all of them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.