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 /about-the-author.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 'about-the-author.html')
-rw-r--r-- | about-the-author.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/about-the-author.html b/about-the-author.html index 71af41d..cbd82d3 100644 --- a/about-the-author.html +++ b/about-the-author.html | |||
@@ -34,13 +34,15 @@ | |||
34 | <h1 class="title">About the author</h1> | 34 | <h1 class="title">About the author</h1> |
35 | <h1 class="subtitle">(not pictured)</h1> | 35 | <h1 class="subtitle">(not pictured)</h1> |
36 | 36 | ||
37 | 37 | <div class="header-extra"> | |
38 | <!-- epigraph --> | ||
39 | <div class="epigraph"> | ||
40 | The body that surrounds him is his, but his insides are not. | ||
41 | 38 | ||
42 | </div> | 39 | <!-- epigraph --> |
43 | </header> | 40 | <div class="epigraph"> |
41 | The body that surrounds him is his, but his insides are not. | ||
42 | |||
43 | </div> | ||
44 | </div> | ||
45 | </header> | ||
44 | 46 | ||
45 | 47 | ||
46 | <section class="content prose"><table> | 48 | <section class="content prose"><table> |