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 /joke.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 'joke.html')
-rw-r--r-- | joke.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/joke.html b/joke.html index cd4270a..9e2c839 100644 --- a/joke.html +++ b/joke.html | |||
@@ -34,8 +34,10 @@ | |||
34 | <h1 class="title">Joke</h1> | 34 | <h1 class="title">Joke</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>He wrote <em><strong>JOKES</strong></em> on the top of a page in his notebook. He had run out of notecards and hadn’t been able to convince his mother to go to the Office Supply Store for him. He left a space underneath it and wrote.</p> | 43 | <section class="content prose"><p>He wrote <em><strong>JOKES</strong></em> on the top of a page in his notebook. He had run out of notecards and hadn’t been able to convince his mother to go to the Office Supply Store for him. He left a space underneath it and wrote.</p> |