diff options
author | Case Duckworth | 2015-03-14 11:33:26 -0700 |
---|---|---|
committer | Case Duckworth | 2015-03-14 11:33:26 -0700 |
commit | 5685e1dba9b485939c833ba86f4e5c2e5e34453b (patch) | |
tree | f61602ba63e905e9bc7033ad06e790e7356e4dc6 /punch.html | |
parent | Move test suite into its own folder (diff) | |
download | autocento-5685e1dba9b485939c833ba86f4e5c2e5e34453b.tar.gz autocento-5685e1dba9b485939c833ba86f4e5c2e5e34453b.zip |
Mostly fix #11: Dedication/epigraph alignment
So the issue is solved in terms of how it looks, though it adds a gross extra div into every page and uses :only-child, which I don't think is super-supported. But it's the best I can do that I know of until we get to better flexbox support. Or you know, maybe later I can try doing some templating fixes-- injecting classes so that normally, .dedication is right-aligned but when an epigraph is present, change the class to .dedication-left or something. IDK. Either way is sort of ugly. :(
Diffstat (limited to 'punch.html')
-rw-r--r-- | punch.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/punch.html b/punch.html index abf2588..12712d8 100644 --- a/punch.html +++ b/punch.html | |||
@@ -34,8 +34,10 @@ | |||
34 | <h1 class="title">Punch</h1> | 34 | <h1 class="title">Punch</h1> |
35 | 35 | ||
36 | 36 | ||
37 | 37 | <div class="header-extra"> | |
38 | </header> | 38 | |
39 | </div> | ||
40 | </header> | ||
39 | 41 | ||
40 | 42 | ||
41 | <section class="content prose"><p>When he finally got back to work he was surprised they threw him a party. <em><strong>WELCOME BACK PAUL!</strong></em> was written on a big banner across the back wall. Someone had ordered a confectioner’s-sugar cake with <a href="big-dipper.html">frosting flowers</a> on the corners. It said the same thing as the banner. “Welcome back, Paul” said Jill as he was at the punch bowl. The cup was on the table as he ladled punch in with his right hand. His left was wrapped in <a href="100-lines.html">gauze</a>.</p> | 43 | <section class="content prose"><p>When he finally got back to work he was surprised they threw him a party. <em><strong>WELCOME BACK PAUL!</strong></em> was written on a big banner across the back wall. Someone had ordered a confectioner’s-sugar cake with <a href="big-dipper.html">frosting flowers</a> on the corners. It said the same thing as the banner. “Welcome back, Paul” said Jill as he was at the punch bowl. The cup was on the table as he ladled punch in with his right hand. His left was wrapped in <a href="100-lines.html">gauze</a>.</p> |