about summary refs log tree commit diff stats
path: root/death-zone.html
diff options
context:
space:
mode:
authorCase Duckworth2015-03-14 11:33:26 -0700
committerCase Duckworth2015-03-14 11:33:26 -0700
commit5685e1dba9b485939c833ba86f4e5c2e5e34453b (patch)
treef61602ba63e905e9bc7033ad06e790e7356e4dc6 /death-zone.html
parentMove test suite into its own folder (diff)
downloadautocento-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 'death-zone.html')
-rw-r--r--death-zone.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/death-zone.html b/death-zone.html index b38aaf8..d705dc7 100644 --- a/death-zone.html +++ b/death-zone.html
@@ -34,14 +34,16 @@
34 <h1 class="title">The Death Zone</h1> 34 <h1 class="title">The Death Zone</h1>
35 35
36 36
37 37 <div class="header-extra">
38 <!-- epigraph -->
39 <div class="epigraph">
40 <a href="http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death">And my life became death.</a>
41 38
42 <div class="attrib">Philip Gould</div> 39 <!-- epigraph -->
43 </div> 40 <div class="epigraph">
44 </header> 41 <a href="http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death">And my life became death.</a>
42
43 <div class="attrib">Philip Gould</div>
44 </div>
45 </div>
46 </header>
45 47
46 <div class="ekphrastic"> 48 <div class="ekphrastic">
47 <a href="http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death"> 49 <a href="http://www.npr.org/blogs/13.7/2013/11/19/245996903/embracing-life-and-death">