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 /deathstrumpet.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 'deathstrumpet.html')
-rw-r--r-- | deathstrumpet.html | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/deathstrumpet.html b/deathstrumpet.html index 7ff2309..1eff181 100644 --- a/deathstrumpet.html +++ b/deathstrumpet.html | |||
@@ -34,14 +34,16 @@ | |||
34 | <h1 class="title">Death’s trumpet</h1> | 34 | <h1 class="title">Death’s trumpet</h1> |
35 | 35 | ||
36 | 36 | ||
37 | 37 | <div class="header-extra"> | |
38 | <!-- epigraph --> | ||
39 | <div class="epigraph"> | ||
40 | <p>So Death plays his little <a href="apollo11.html">fucking</a> trumpet. So what, says the boy.</p> | ||
41 | 38 | ||
42 | <div class="attrib">Larry Levis</div> | 39 | <!-- epigraph --> |
43 | </div> | 40 | <div class="epigraph"> |
44 | </header> | 41 | <p>So Death plays his little <a href="apollo11.html">fucking</a> trumpet. So what, says the boy.</p> |
42 | |||
43 | <div class="attrib">Larry Levis</div> | ||
44 | </div> | ||
45 | </div> | ||
46 | </header> | ||
45 | 47 | ||
46 | 48 | ||
47 | <section class="content verse"><p>He didn’t have any polish so he spit-shined the whole thing,<br />top to bottom. It gleamed like maybe a tomato on the vine<br />begging to be picked and thrown on some caprese. Death loved caprese.</p> | 49 | <section class="content verse"><p>He didn’t have any polish so he spit-shined the whole thing,<br />top to bottom. It gleamed like maybe a tomato on the vine<br />begging to be picked and thrown on some caprese. Death loved caprese.</p> |