summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--css/common.css26
-rw-r--r--index.html8
-rw-r--r--src/index.txt7
3 files changed, 27 insertions, 14 deletions
diff --git a/css/common.css b/css/common.css index cef8a39..1156808 100644 --- a/css/common.css +++ b/css/common.css
@@ -24,8 +24,8 @@ body {
24 left: 0; 24 left: 0;
25 right: 0; 25 right: 0;
26 min-height: 100%; 26 min-height: 100%;
27 padding-left: 12px; 27 padding-left: 1em;
28 padding-right: 12px; 28 padding-right: 1em;
29} 29}
30header { 30header {
31 max-width: 39em; 31 max-width: 39em;
@@ -158,6 +158,17 @@ img {
158 margin: auto; 158 margin: auto;
159} 159}
160/* images }}} */ 160/* images }}} */
161/* HEADER-EXTRA {{{ */
162.header-extra {
163 text-align: right;
164}
165.dedication,.epigraph {
166 vertical-align: bottom;
167 display: inline-block;
168 margin-left: 2%;
169 margin-right: 2%;
170 width: 45%;
171}
161/* DEDICATION {{{ */ 172/* DEDICATION {{{ */
162.dedication { 173.dedication {
163 font-style: italic; 174 font-style: italic;
@@ -172,16 +183,6 @@ img {
172 text-align: right; 183 text-align: right;
173} 184}
174/* dedication }}} */ 185/* dedication }}} */
175.header-extra {
176 text-align: right;
177}
178.dedication,.epigraph {
179 vertical-align: bottom;
180 display: inline-block;
181 margin-left: 2%;
182 margin-right: 2%;
183 width: 45%;
184}
185/* EPIGRAPH {{{ */ 186/* EPIGRAPH {{{ */
186.epigraph { 187.epigraph {
187 text-align: right; 188 text-align: right;
@@ -202,6 +203,7 @@ img {
202 content: '– '; 203 content: '– ';
203} 204}
204/* epigraph }}} */ 205/* epigraph }}} */
206/* header-extra }}} */
205/* NAV {{{ */ 207/* NAV {{{ */
206nav a:link { border-bottom: none; } 208nav a:link { border-bottom: none; }
207nav a:active { border: none; } 209nav a:active { border: none; }
diff --git a/index.html b/index.html index 00f6672..8eb81ba 100644 --- a/index.html +++ b/index.html
@@ -32,10 +32,16 @@
32 <header> 32 <header>
33 <!-- title --> 33 <!-- title -->
34 <h1 class="title">Autocento of the breakfast table</h1> 34 <h1 class="title">Autocento of the breakfast table</h1>
35 <h1 class="subtitle">Index of first lines and common titles</h1> 35 <h1 class="subtitle">index of first lines and common titles</h1>
36 36
37 <div class="header-extra"> 37 <div class="header-extra">
38 38
39 <!-- epigraph -->
40 <div class="epigraph">
41 <a href="README.html">Read me.</a>
42
43 <div class="attrib">Case Duckworth</div>
44 </div>
39 </div> 45 </div>
40 </header> 46 </header>
41 47
diff --git a/src/index.txt b/src/index.txt index 79cd5e1..49ce18b 100644 --- a/src/index.txt +++ b/src/index.txt
@@ -1,8 +1,13 @@
1--- 1---
2title: Autocento of the breakfast table 2title: Autocento of the breakfast table
3subtitle: Index of first lines and common titles 3subtitle: index of first lines and common titles
4genre: verse 4genre: verse
5 5
6epigraph:
7 content: 'Read me.'
8 link: README.html
9 attrib: Case Duckworth
10
6project: 11project:
7 title: Autocento of the breakfast table 12 title: Autocento of the breakfast table
8 css: autocento 13 css: autocento