about summary refs log tree commit diff stats
path: root/yellow.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 /yellow.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 'yellow.html')
-rw-r--r--yellow.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/yellow.html b/yellow.html index a0eeefd..b58b669 100644 --- a/yellow.html +++ b/yellow.html
@@ -34,8 +34,10 @@
34 <h1 class="title">Yellow</h1> 34 <h1 class="title">Yellow</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 would enter data at work for fifty minutes and then go on break. He would walk down the hallway to the breakroom, which had a white <a href="feedingtheraven.html">refrigerator</a>, a black microwave on a brown plyboard cart stocked with powdered creamer, sugar, and swizzle sticks, a dark red coffee maker, and yellow paint on the wall. He’d remember that somewhere he’d read an article about yellow walls being calming. “They use yellow in asylums” he’d say to himself.</p> 43 <section class="content prose"><p>He would enter data at work for fifty minutes and then go on break. He would walk down the hallway to the breakroom, which had a white <a href="feedingtheraven.html">refrigerator</a>, a black microwave on a brown plyboard cart stocked with powdered creamer, sugar, and swizzle sticks, a dark red coffee maker, and yellow paint on the wall. He’d remember that somewhere he’d read an article about yellow walls being calming. “They use yellow in asylums” he’d say to himself.</p>