ed. 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 37be4e283d0cc98ff69254323efd269db8de0342
4
- data.tar.gz: 1527af3ac53694dedc1007d8dafeb1d908a5cbab
2
+ SHA256:
3
+ metadata.gz: 0ad0bc6735e305539c4a3b69db7293f87dd8916633cbcc06aa09a6a4a75e12bf
4
+ data.tar.gz: 1dcde27f9e590f14a6dc8731672c3978fbb4836103edfb62a51f9d3bcdde3fc1
5
5
  SHA512:
6
- metadata.gz: 204f08f573bec1a43dbd965eb1cdd8b19fc3eb17ec9cffa24377a9356649d8c3e99fd859f2c66a05acd8c584d5a79eeebe164610f69c6b4dcfe99097a390184f
7
- data.tar.gz: 61874ba9380a800071bbfcb903b84866a45268a33fd2190d6100f2489e658d8b8aa9103757b58a75c3d45aae3e2027acc7368c3162a865a8ea23151a3a91b7bf
6
+ metadata.gz: 80397358158dd8593665b109eaafa516170dc71f1e8feb00635f6e81d467057b73446997a5490850199618ef52e4960a83ba8b7929cce98bc3a9dc1359c058bd
7
+ data.tar.gz: 647181a35ac1933fb2b51944ca5df5477125700634e87fa8ce744808a827bdd5e0fd8d75f20ea1838a1743ac19f6c0ff8adafc05a0664ff663087f91369e5997
data/LICENSE.md CHANGED
@@ -16,4 +16,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
16
16
 
17
17
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
18
18
 
19
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -14,7 +14,7 @@ Ed is a [Jekyll](https://jekyllrb.com/) theme designed for textual editors based
14
14
 
15
15
  One of our most pressing and ever revolving needs as scholars is to pass on our textual artifacts from one generation to another. The art of textual editing, among other practices, has helped many cultures to remember and interpret for centuries. Alas, that art is practiced and encouraged in its highest form by a dwindling number of scholars. In a digital environment the problem is compounded by the difficulties of the medium. While vast repositories, and "e-publications" appear on the online scene yearly, very few manifest a textual scholar's disciplined attention to detail. In contrast, most textual scholars who have made the leap to a rigorous digital practice have focused on markup, relying on technical teams to deploy and maintain their work. This makes your average scholarly digital edition a very costly, and therefore limited affair.
16
16
 
17
- As we see it, a minimal edition is one that aims to reduce the size and complexity of the back and front end, and the learning curves for the user and the producer. Out of-the-box, this theme can help you build a simple reading edition, or a traditional scholarly edition with footnotes and a bibliography without breaking the bank. In our estimate, these are the two most immediately useful type of editions for editors and readers. An edition produced with Ed consists of static pages whose rate of decay is substantially lower than database-driven systems. As an added bonus, these static pages require less bandwith. Our hope is that our approach can help beginners or veterans deploy beautiful editions with less effort, that it can help us teach a 'full stack' [in one academic semester](https://github.com/susannalles/MinimalEditions/blob/master/index.md), allow us to care for our projects at less cost, and perhaps, just perhaps, allow us to generate high-quality editions on github.io in large quantities based on the [git-lit](http://jonreeve.com/2015/09/introducing-git-lit/) model by Jonathan Reeve. We're coming for you, Kindle!
17
+ As we see it, a minimal edition is one that aims to reduce the size and complexity of the back and front end, and the learning curves for the user and the producer. Out of-the-box, this theme can help you build a simple reading edition, or a traditional scholarly edition with footnotes and a bibliography without breaking the bank. In our estimate, these are the two most immediately useful type of editions for editors and readers. An edition produced with Ed consists of static pages whose rate of decay is substantially lower than database-driven systems. As an added bonus, these static pages require less bandwidth. Our hope is that our approach can help beginners or veterans deploy beautiful editions with less effort, that it can help us teach a 'full stack' [in one academic semester](https://github.com/susannalles/MinimalEditions/blob/master/index.md), allow us to care for our projects at less cost, and perhaps, just perhaps, allow us to generate high-quality editions on github.io in large quantities based on the [git-lit](http://jonreeve.com/2015/09/introducing-git-lit/) model by Jonathan Reeve. We're coming for you, Kindle!
18
18
 
19
19
 
20
20
  ## Sample Ed editions.
@@ -31,7 +31,7 @@ As we see it, a minimal edition is one that aims to reduce the size and complexi
31
31
  - Templates for narrative, drama and poetry
32
32
  - Responsive design for mobile phones, tablets and PCs.
33
33
  - Relatively easy to learn and teach
34
- - Works well in high- or low- bandwitdh scenarios
34
+ - Works well in high- or low- bandwidth scenarios
35
35
  - Easier for digital archives and libraries to preserve
36
36
  - Open source, open access
37
37
  - Unobtrusive footnotes
@@ -1,47 +1,46 @@
1
1
  <head>
2
2
  <!-- Canonical link to help search engines -->
3
- <link rel="canonical" href="{{ site.baseurl }}{{ page.url }}"/>
3
+ <link rel="canonical" href="{{ site.baseurl }}{{ page.url }}" />
4
4
 
5
5
  <!-- Basic meta elements -->
6
- <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
7
- <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
8
8
 
9
- <!-- Enable responsiveness on mobile devices-->
10
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"/>
9
+ <!-- Enable responsiveness on mobile devices -->
10
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1" />
11
11
 
12
- <!-- Dublin Core metadata for Zotero -->
12
+ <!-- Dublin Core metadata for Zotero -->
13
13
  <meta name="DC.title" content="{{ page.title }}" />
14
14
  <meta name="DC.creator" content="{{ page.author }}" />
15
15
  <meta name="DC.contributor" content="{{ page.editor }}" />
16
16
  <meta name="DC.date" content="{{ page.publication-date }}" />
17
17
  <meta name="DC.rights" content="{{ page.rights }}" />
18
18
  <meta name="DC.source" content="{{ site.title }}" />
19
-
20
- <!-- Open Graph metadata -->
21
19
 
20
+ <!-- Open Graph metadata -->
22
21
  {% if page.layout == "default" %}
23
- <meta property="og:title" content="{{page.title}}"/>
22
+ <meta property="og:title" content="{{page.title}}" />
24
23
  <meta property="og:description" content="{{site.description}}">
25
- <meta property="fb:admins" content="elotroalex"/>
24
+ <meta property="fb:admins" content="elotroalex" />
26
25
  <meta property="og:type" content="website" />
27
- <meta property="og:url" content="{{site.url}}{{site.baseurl}}{{page.url}}"/>
28
- <meta property="fb:app_id" content="589495744558280"/>
29
- <meta property="og:image" content="{{site.url}}{{site.baseurl}}/assets/open-graph-logo.png"/>
26
+ <meta property="og:url" content="{{site.url}}{{site.baseurl}}{{page.url}}" />
27
+ <meta property="fb:app_id" content="589495744558280" />
28
+ <meta property="og:image" content="{{site.url}}{{site.baseurl}}/assets/open-graph-logo.png" />
30
29
  <meta property="og:image:width" content="200" />
31
30
  <meta property="og:image:height" content="200" />
32
31
 
33
32
  {% else %}
34
- <meta property="og:title" content="{{page.title}}"/>
33
+ <meta property="og:title" content="{{page.title}}" />
35
34
  <meta property="og:description" content="An Ed edition">
36
- <meta property="fb:admins" content="elotroalex"/>
35
+ <meta property="fb:admins" content="elotroalex" />
37
36
  <meta property="og:type" content="article" />
38
- <meta property="og:url" content="{{site.url}}{{site.baseurl}}{{page.url}}"/>
39
- <meta property="fb:app_id" content="589495744558280"/>
40
- <meta property="og:image" content="{{site.url}}{{site.baseurl}}/assets/open-graph-logo.png"/>
37
+ <meta property="og:url" content="{{site.url}}{{site.baseurl}}{{page.url}}" />
38
+ <meta property="fb:app_id" content="589495744558280" />
39
+ <meta property="og:image" content="{{site.url}}{{site.baseurl}}/assets/open-graph-logo.png" />
41
40
  <meta property="og:image:width" content="200" />
42
41
  <meta property="og:image:height" content="200" />
43
42
  {% endif %}
44
-
43
+
45
44
  <title>
46
45
  {% if page.title == "Home" %}
47
46
  {{ site.title }}
@@ -51,13 +50,12 @@
51
50
  </title>
52
51
 
53
52
  <!-- CSS link -->
54
- <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css"/>
55
-
53
+ <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css" />
56
54
 
57
55
  <!-- Icons -->
58
- <link rel="apple-touch-icon-precomposed" sizes="180x180" href="{{ site.baseurl }}/assets/apple-touch-icon-precomposed.png"/>
59
- <link rel="shortcut icon" href="{{ site.baseurl }}/assets/favicon.ico"/>
56
+ <link rel="apple-touch-icon-precomposed" sizes="180x180" href="{{ site.baseurl }}/assets/apple-touch-icon-precomposed.png" />
57
+ <link rel="shortcut icon" href="{{ site.baseurl }}/assets/favicon.ico" />
60
58
 
61
59
  <!-- RSS -->
62
- <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.baseurl }}/atom.xml"/>
60
+ <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.baseurl }}/atom.xml" />
63
61
  </head>
@@ -1,5 +1,7 @@
1
- <!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
2
- styles, `#sidebar-checkbox` for behavior. -->
1
+ <!--
2
+ Target for toggling the sidebar `.sidebar-checkbox` is for regular styles, `#sidebar-checkbox` for
3
+ behavior.
4
+ -->
3
5
  <input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
4
6
 
5
7
  <!-- Toggleable sidebar -->
@@ -10,11 +12,10 @@
10
12
 
11
13
  <nav class="sidebar-nav">
12
14
  <a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}/">Home</a>
13
- <a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="#" data-proofer-ignore>Return to Top</a>
15
+ <a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="#" data-proofer-ignore>Return to Top</a>
14
16
  {% for node in page.toc %}
15
17
  <a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %} sidebar-nav-item-toc" href="#{{ node | slugify }}">{{ node }}</a>
16
18
  {% endfor %}
17
-
18
19
  </nav>
19
20
 
20
21
  <div class="sidebar-item">
@@ -1,5 +1,7 @@
1
- <!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
2
- styles, `#sidebar-checkbox` for behavior. -->
1
+ <!--
2
+ Target for toggling the sidebar `.sidebar-checkbox` is for regular styles, `#sidebar-checkbox` for
3
+ behavior.
4
+ -->
3
5
  <input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
4
6
 
5
7
  <!-- Toggleable sidebar -->
@@ -26,14 +28,14 @@
26
28
  {% endfor %}
27
29
 
28
30
  <!-- The code below is used for manually entered links -->
29
-
30
31
  <span style='cursor:pointer;' onclick="javascript:var hypothesis = document.createElement('script');
31
32
  hypothesis.setAttribute('src','https://hypothes.is/embed.js');
32
33
  document.head.appendChild(hypothesis);"><a class="sidebar-nav-item">Annotate me</a></span>
33
34
 
34
- <!-- <a class="sidebar-nav-item" href="https://via.hypothes.is/{{ site.url }}{{ site.baseurl }}{{page.url}}/" data-proofer-ignore>Annotate me</a> -->
35
- <!-- -->
36
- <!-- <script src="https://hypothes.is/embed.js" async></script> -->
35
+ <!--
36
+ <a class="sidebar-nav-item" href="https://via.hypothes.is/{{ site.url }}{{ site.baseurl }}{{page.url}}/" data-proofer-ignore>Annotate me</a>
37
+ <script src="https://hypothes.is/embed.js" async></script>
38
+ -->
37
39
 
38
40
  <a class="sidebar-nav-item" href="https://github.com/minicomp/ed" target="_blank">GitHub project</a>
39
41
  </nav>
@@ -12,9 +12,10 @@
12
12
  {% include sidebar.html %}
13
13
  {% endif %}
14
14
 
15
-
16
-
17
- <!-- Wrap is the content to shift when toggling the sidebar. We wrap the content to avoid any CSS collisions with our real content. -->
15
+ <!--
16
+ Wrap is the content to shift when toggling the sidebar. We wrap the content to avoid any CSS
17
+ collisions with our real content.
18
+ -->
18
19
  <div class="wrap">
19
20
  <div class="masthead">
20
21
  <div class="container">
@@ -48,7 +49,7 @@
48
49
  document.getElementById("main").innerHTML = content.replace(regex, "<mark>$1</mark>");
49
50
  }
50
51
 
51
- // Toggle sidebar
52
+ // Toggle sidebar
52
53
  (function(document) {
53
54
  var toggle = document.querySelector('.sidebar-toggle');
54
55
  var sidebar = document.querySelector('#sidebar');
@@ -58,14 +59,15 @@
58
59
  var target = e.target;
59
60
 
60
61
  if(!checkbox.checked ||
61
- sidebar.contains(target) ||
62
+ !sidebar.contains(target) ||
62
63
  (target === checkbox || target === toggle)) return;
63
64
 
64
65
  checkbox.checked = false;
65
66
  }, false);
66
67
  })(document);
67
68
  </script>
68
- <!-- Facebook SDK for JavaScript -->
69
+
70
+ <!-- Facebook SDK for JavaScript -->
69
71
  <script>
70
72
  window.fbAsyncInit = function() {
71
73
  FB.init({
@@ -5,4 +5,4 @@ layout: default
5
5
  <div class="drama">
6
6
  <h1 class="text-title">{{ page.title }}</h1>
7
7
  {{ content }}
8
- </div>
8
+ </div>
@@ -6,4 +6,4 @@ layout: default
6
6
  <h1 class="text-title">{{ page.title }}</h1>
7
7
  <p class="citation"> by {{ page.author }}</p>
8
8
  {{ content }}
9
- </div>
9
+ </div>
@@ -6,4 +6,4 @@ layout: default
6
6
  <h1 class="text-title">{{ page.title }}</h1>
7
7
  <p class="byline">{{ page.author }}</p>
8
8
  {{ content }}
9
- </div>
9
+ </div>
@@ -5,4 +5,4 @@ layout: default
5
5
  <div class="post">
6
6
  <h1 class="text-title">{{ page.title }}</h1>
7
7
  {{ content }}
8
- </div>
8
+ </div>
@@ -1,26 +1,26 @@
1
1
  /* Ed: the minimal edition theme.
2
- * ___________________
3
- * \_ _____/\______ \
4
- * | __)_ | | \
2
+ * ___________________
3
+ * \_ _____/\______ \
4
+ * | __)_ | | \
5
5
  * | \ | ` \
6
6
  * /_______ //_______ /
7
- * \/ \/
8
- * Designed, built, and released under an MIT license by @elotroalex and brill friends. See credits for more info.
7
+ * \/ \/
8
+ * Designed, built, and released under an MIT license by @elotroalex and brill friends. See credits
9
+ * for more info.
9
10
  * Based on the Poole and Lanyon theme by @mdo. Learn more at
10
11
  * https://github.com/minicomp/ed.
11
- */
12
-
13
-
12
+ */
14
13
 
14
+ /*
15
+ To apply a different color scheme to the whole scroll down to the themes section for instructions
16
+ */
15
17
 
16
- /* To apply a different color scheme to the whole scroll down to the themes section for instructions */
17
18
 
19
+ /*
20
+ General
18
21
 
19
- /*
20
- * General
21
- *
22
- * Update the foundational and global aspects of the page.
23
- */
22
+ Update the foundational and global aspects of the page.
23
+ */
24
24
 
25
25
  * {
26
26
  -webkit-box-sizing: border-box;
@@ -55,27 +55,28 @@ body {
55
55
  }
56
56
 
57
57
  .content {
58
- margin-bottom: 4rem;
58
+ margin-bottom: 4rem;
59
59
  }
60
60
 
61
+
61
62
  /*
62
- * Wrapper
63
- *
64
- * The wrapper is used to position site content when the sidebar is toggled. We
65
- * use an outter wrap to position the sidebar without interferring with the
66
- * regular page content.
67
- */
63
+ Wrapper
64
+
65
+ The wrapper is used to position site content when the sidebar is toggled. We use an outter wrap to
66
+ position the sidebar without interferring with the regular page content.
67
+ */
68
68
 
69
69
  .wrap {
70
70
  position: relative;
71
71
  width: 100%;
72
72
  }
73
73
 
74
+
74
75
  /*
75
- * Container
76
- *
77
- * Center the page content.
78
- */
76
+ Container
77
+
78
+ Center the page content.
79
+ */
79
80
 
80
81
  .container {
81
82
  max-width: 38rem;
@@ -90,27 +91,26 @@ body {
90
91
  max-width: 32rem;
91
92
  }
92
93
  }
94
+
93
95
  @media (min-width: 56em) {
94
96
  .container {
95
97
  max-width: 38rem;
96
98
  }
97
99
  }
98
100
 
99
- /* Links */
100
-
101
+ /* Links*/
101
102
  a, .text-title a {
102
103
  color: $link-color;
103
104
  text-decoration: none;
104
105
  }
105
106
 
106
- /* `:focus` is linked to `:hover` for basic accessibility */
107
+ /* `:focus` is linked to `:hover` for basic accessibility*/
107
108
  a:hover,
108
109
  a:focus {
109
110
  text-decoration: underline;
110
111
  }
111
112
 
112
- /* Headings */
113
-
113
+ /* Headings*/
114
114
  h1, h2, h3, h4, h5, h6 {
115
115
  font-family: $heading-font;
116
116
  margin-bottom: .5rem;
@@ -122,42 +122,39 @@ h1, h2, h3, h4, h5, h6 {
122
122
  }
123
123
 
124
124
  h1 {
125
- font-size: 1.4rem;
125
+ font-size: 1.4rem;
126
126
  }
127
127
 
128
128
  h1.text-title {
129
- font-size: 1.4rem;
129
+ font-size: 1.4rem;
130
130
  }
131
131
 
132
132
  h2 {
133
- margin-top: 1rem;
134
- font-size: 1.2rem;
133
+ margin-top: 1rem;
134
+ font-size: 1.2rem;
135
135
  }
136
136
 
137
137
  h3, h4, h5 {
138
- font-size: 1rem;
138
+ font-size: 1rem;
139
139
  }
140
140
 
141
141
  h3 {
142
142
  margin-top: 1.5rem;
143
-
144
143
  }
145
144
 
146
145
  h4, h5, h6 {
147
146
  margin-top: 1rem;
148
147
  }
149
148
 
150
-
151
- /* Body text */
149
+ /* Body text*/
152
150
  p {
153
151
  margin-top: 0;
154
152
  margin-bottom: 1rem;
155
153
  }
156
154
 
157
-
158
- /* Lists */
155
+ /* Lists*/
159
156
  ul {
160
- list-style: circle;
157
+ list-style: circle;
161
158
  }
162
159
 
163
160
  ul, ol {
@@ -165,9 +162,7 @@ ul, ol {
165
162
  margin-bottom: 1rem;
166
163
  }
167
164
 
168
-
169
- /* Horizontal ruler */
170
-
165
+ /* Horizontal ruler*/
171
166
  hr {
172
167
  margin-top: 60px;
173
168
  position: relative;
@@ -177,23 +172,19 @@ hr {
177
172
  border-bottom: 1px solid #fff;
178
173
  }
179
174
 
180
-
181
- /* Search Highlihting */
182
-
175
+ /* Search Highlihting*/
183
176
  mark {
184
- color: white;
185
- background-color: $link-color;
177
+ color: white;
178
+ background-color: $link-color;
186
179
  }
187
180
 
188
-
189
- /* Quotes */
190
-
181
+ /* Quotes*/
191
182
  blockquote {
192
- padding: 0rem 1.5rem 0rem 2rem;
193
- margin: 0 0 20px 0;
183
+ padding: 0rem 1.5rem 0rem 2rem;
184
+ margin: 0 0 20px 0;
194
185
  color: $text-color;
195
- border-left: none;
196
- font-style: italic;
186
+ border-left: none;
187
+ font-style: italic;
197
188
  }
198
189
 
199
190
  blockquote p:last-child {
@@ -207,21 +198,16 @@ blockquote p:last-child {
207
198
  }
208
199
  }
209
200
 
210
- /*
211
- * To add an attribution make sure to make a
212
- * line with the attribution class
213
- */
214
-
201
+ /* To add an attribution make sure to make a line with the attribution class*/
215
202
  li.attribution {
216
203
  text-align: right;
217
204
  list-style: none;
218
205
  padding: 0rem 1.5rem 0rem 2rem;
219
- margin: 0 0 20px 0;
206
+ margin: 0 0 20px 0;
220
207
  color: $text-color;
221
208
  }
222
209
 
223
- /* Images */
224
-
210
+ /* Images*/
225
211
  img {
226
212
  display: block;
227
213
  max-width: 100%;
@@ -229,18 +215,20 @@ img {
229
215
  border-radius: 5px;
230
216
  }
231
217
 
232
- /* Tables */
218
+ /* Tables*/
233
219
  table {
234
220
  margin-bottom: 1rem;
235
221
  width: 100%;
236
222
  border: 1px solid #e5e5e5;
237
223
  border-collapse: collapse;
238
224
  }
225
+
239
226
  td,
240
227
  th {
241
228
  padding: .25rem .5rem;
242
229
  border: 1px solid #e5e5e5;
243
230
  }
231
+
244
232
  tbody tr:nth-child(odd) td,
245
233
  tbody tr:nth-child(odd) th {
246
234
  background-color: #f9f9f9;
@@ -248,17 +236,16 @@ tbody tr:nth-child(odd) th {
248
236
 
249
237
 
250
238
  /*
251
- * Masthead
252
- *
253
- * Super small header above the content for site name and short description.
254
- *
255
- */
239
+ Masthead
240
+
241
+ Super small header above the content for site name and short description.
242
+ */
256
243
 
257
244
  .masthead {
258
- margin-bottom: 3rem;
259
- text-align: center;
260
- padding-top: 26px;
261
- padding-bottom: 1rem;
245
+ margin-bottom: 3rem;
246
+ text-align: center;
247
+ padding-top: 26px;
248
+ padding-bottom: 1rem;
262
249
  border-bottom: 1px solid #eee;
263
250
  }
264
251
 
@@ -268,8 +255,9 @@ tbody tr:nth-child(odd) th {
268
255
  color: #505050;
269
256
  line-height: .777em;
270
257
  }
258
+
271
259
  .masthead-title a {
272
- color: $link-color;
260
+ color: $link-color;
273
261
  }
274
262
 
275
263
  .masthead-title small {
@@ -282,12 +270,11 @@ tbody tr:nth-child(odd) th {
282
270
  }
283
271
 
284
272
  h3.masthead-title {
285
- font-family: $main-font;
286
- font-size: 1.8rem;
287
- margin-top: 2px;
273
+ font-family: $main-font;
274
+ font-size: 1.8rem;
275
+ margin-top: 2px;
288
276
  }
289
277
 
290
-
291
278
  @media (max-width: 48em) {
292
279
  .masthead-title {
293
280
  text-align: center;
@@ -311,8 +298,7 @@ h3.masthead-title {
311
298
  }
312
299
  }
313
300
 
314
- /* Page and Posts */
315
-
301
+ /* Page and Posts*/
316
302
  .page {
317
303
  margin-bottom: 4em;
318
304
  }
@@ -324,21 +310,20 @@ h3.masthead-title {
324
310
 
325
311
 
326
312
  /*
327
- * Sidebar
328
- *
329
- * The sidebar is the drawer, the item we are toggling with our handy hamburger
330
- * button in the corner of the page.
331
- *
332
- * This particular sidebar implementation was inspired by Chris Coyier's
333
- * "Offcanvas Menu with CSS Target" article, and the checkbox variation from the
334
- * comments by a reader. It modifies both implementations to continue using the
335
- * checkbox (no change in URL means no polluted browser history), but this uses
336
- * `position` for the menu to avoid some potential content reflow issues.
337
- *
338
- * Source: http://css-tricks.com/off-canvas-menu-with-css-target/#comment-207504
339
- */
340
-
341
- /* Style and "hide" the sidebar */
313
+ Sidebar
314
+
315
+ The sidebar is the drawer, the item we are toggling with our handy hamburger button in the corner
316
+ of the page.
317
+
318
+ This particular sidebar implementation was inspired by Chris Coyier's "Offcanvas Menu with CSS
319
+ Target" article, and the checkbox variation from the comments by a reader. It modifies both
320
+ implementations to continue using the checkbox (no change in URL means no polluted browser
321
+ history), but this uses `position` for the menu to avoid some potential content reflow issues.
322
+
323
+ Source: http://css-tricks.com/off-canvas-menu-with-css-target/#comment-207504
324
+ */
325
+
326
+ /* Style and "hide" the sidebar*/
342
327
  .sidebar {
343
328
  position: fixed;
344
329
  top: 0;
@@ -348,20 +333,20 @@ h3.masthead-title {
348
333
  visibility: hidden;
349
334
  overflow-y: auto;
350
335
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
351
- font-size: .875rem; /* 15px */
336
+ font-size: .875rem;/* 15px*/
352
337
  color: rgba(255,255,255,.6);
353
338
  background-color: #202020;
354
339
  -webkit-transition: all .3s ease-in-out;
355
340
  transition: all .3s ease-in-out;
356
341
  }
342
+
357
343
  @media (min-width: 30em) {
358
344
  .sidebar {
359
- font-size: .75rem; /* 14px */
345
+ font-size: .75rem;/* 14px*/
360
346
  }
361
347
  }
362
348
 
363
- /* Sidebar content */
364
-
349
+ /* Sidebar content*/
365
350
  .sidebar {
366
351
  background-color: $link-color;
367
352
  }
@@ -370,17 +355,20 @@ h3.masthead-title {
370
355
  font-weight: normal;
371
356
  color: #fff;
372
357
  }
358
+
373
359
  .sidebar-item {
374
360
  padding: 1rem;
375
361
  }
362
+
376
363
  .sidebar-item p:last-child {
377
364
  margin-bottom: 0;
378
365
  }
379
366
 
380
- /* Sidebar nav */
367
+ /* Sidebar nav*/
381
368
  .sidebar-nav {
382
369
  border-bottom: 1px solid rgba(255,255,255,.1);
383
370
  }
371
+
384
372
  .sidebar-nav-item {
385
373
  display: block;
386
374
  padding: .5rem 1rem;
@@ -403,18 +391,19 @@ a.sidebar-nav-item:focus {
403
391
  .sidebar-item {
404
392
  padding: 1.5rem;
405
393
  }
394
+
406
395
  .sidebar-nav-item {
407
396
  padding-left: 1.5rem;
408
397
  padding-right: 1.5rem;
409
398
  }
410
399
  }
411
400
 
412
- /* Hide the sidebar checkbox that we toggle with `.sidebar-toggle` */
401
+ /* Hide the sidebar checkbox that we toggle with `.sidebar-toggle`*/
413
402
  .sidebar-checkbox {
414
- display: none;
403
+ display: none;
415
404
  }
416
405
 
417
- /* Style the `label` that we use to target the `.sidebar-checkbox` */
406
+ /* Style the `label` that we use to target the `.sidebar-checkbox`*/
418
407
  .sidebar-toggle {
419
408
  position: absolute;
420
409
  top: .8rem;
@@ -466,18 +455,19 @@ a.sidebar-nav-item:focus {
466
455
  }
467
456
  }
468
457
 
469
- /* Slide effect
470
- *
471
- * Handle the sliding effects of the sidebar and content in one spot, seperate
472
- * from the default styles.
473
- *
474
- * As an a heads up, we don't use `transform: translate3d()` here because when
475
- * mixed with `position: fixed;` for the sidebar toggle, it creates a new
476
- * containing block. Put simply, the fixed sidebar toggle behaves like
477
- * `position: absolute;` when transformed.
478
- *
479
- * Read more about it at http://meyerweb.com/eric/thoughts/2011/09/12/.
480
- */
458
+
459
+ /*
460
+ Slide effect
461
+
462
+ Handle the sliding effects of the sidebar and content in one spot, seperate from the default
463
+ styles.
464
+
465
+ As an a heads up, we don't use `transform: translate3d()` here because when mixed with
466
+ `position: fixed;` for the sidebar toggle, it creates a new containing block. Put simply, the
467
+ fixed sidebar toggle behaves like `position: absolute;` when transformed.
468
+
469
+ Read more about it at http://meyerweb.com/eric/thoughts/2011/09/12/.
470
+ */
481
471
 
482
472
  .wrap,
483
473
  .sidebar,
@@ -486,6 +476,7 @@ a.sidebar-nav-item:focus {
486
476
  -ms-backface-visibility: hidden;
487
477
  backface-visibility: hidden;
488
478
  }
479
+
489
480
  .wrap,
490
481
  .sidebar-toggle {
491
482
  -webkit-transition: -webkit-transform .3s ease-in-out;
@@ -496,6 +487,7 @@ a.sidebar-nav-item:focus {
496
487
  z-index: 10;
497
488
  visibility: visible;
498
489
  }
490
+
499
491
  #sidebar-checkbox:checked ~ .sidebar,
500
492
  #sidebar-checkbox:checked ~ .wrap,
501
493
  #sidebar-checkbox:checked ~ .sidebar-toggle {
@@ -504,17 +496,19 @@ a.sidebar-nav-item:focus {
504
496
  transform: translateX(14rem);
505
497
  }
506
498
 
499
+
507
500
  /*
508
- * Reverse layout
509
- *
510
- * Flip the orientation of the page by placing the `.sidebar` and sidebar toggle
511
- * on the right side.
512
- */
501
+ Reverse layout
502
+
503
+ Flip the orientation of the page by placing the `.sidebar` and sidebar toggle
504
+ on the right side.
505
+ */
513
506
 
514
507
  .layout-reverse .sidebar {
515
508
  left: auto;
516
509
  right: -14rem;
517
510
  }
511
+
518
512
  .layout-reverse .sidebar-toggle {
519
513
  left: auto;
520
514
  right: 1rem;
@@ -530,108 +524,118 @@ a.sidebar-nav-item:focus {
530
524
 
531
525
 
532
526
  /*
533
- * Overlay sidebar
534
- *
535
- * Make the sidebar content overlay the viewport content instead of pushing it
536
- * aside when toggled.
537
- */
527
+ Overlay sidebar
528
+
529
+ Make the sidebar content overlay the viewport content instead of pushing it
530
+ aside when toggled.
531
+ */
538
532
 
539
533
  .sidebar-overlay #sidebar-checkbox:checked ~ .wrap {
540
534
  -webkit-transform: translateX(0);
541
535
  -ms-transform: translateX(0);
542
536
  transform: translateX(0);
543
537
  }
538
+
544
539
  .sidebar-overlay #sidebar-checkbox:checked ~ .sidebar-toggle {
545
540
  box-shadow: 0 0 0 .25rem #fff;
546
541
  }
542
+
547
543
  .sidebar-overlay #sidebar-checkbox:checked ~ .sidebar {
548
544
  box-shadow: .25rem 0 .5rem rgba(0,0,0,.1);
549
545
  }
550
546
 
551
- /* Only one tweak for a reverse layout */
547
+ /* Only one tweak for a reverse layout*/
552
548
  .layout-reverse.sidebar-overlay #sidebar-checkbox:checked ~ .sidebar {
553
549
  box-shadow: -.25rem 0 .5rem rgba(0,0,0,.1);
554
550
  }
555
551
 
552
+
556
553
  /*
557
- * Themes
558
- *
559
- * Applies custom color schemes by adding the appropriate class to the `body`. Based on colors from Base16: http://chriskempson.github.io/base16/#default.
560
- */
554
+ Themes
555
+
556
+ Applies custom color schemes by adding the appropriate class to the `body`. Based on colors from
557
+ Base16: http://chriskempson.com/projects/base16/
558
+ */
561
559
 
562
- /* Red */
560
+ /* Red*/
563
561
  .theme-base-red .sidebar,
564
562
  .theme-base-red .sidebar-toggle:active,
565
563
  .theme-base-red #sidebar-checkbox:checked ~ .sidebar-toggle {
566
564
  background-color: #ac4142;
567
565
  }
566
+
568
567
  .theme-base-red .container a,
569
568
  .theme-base-red .sidebar-toggle,
570
569
  .theme-base-red .related-posts li a:hover {
571
570
  color: #ac4142;
572
571
  }
573
572
 
574
- /* Orange */
573
+ /* Orange*/
575
574
  .theme-base-orange .sidebar,
576
575
  .theme-base-orange .sidebar-toggle:active {
577
576
  background-color: #d28445;
578
577
  }
578
+
579
579
  .theme-base-orange .container a,
580
580
  .theme-base-orange .sidebar-toggle,
581
581
  .theme-base-orange .related-posts li a:hover {
582
582
  color: #d28445;
583
583
  }
584
584
 
585
-
586
- /* Green */
585
+ /* Green*/
587
586
  .theme-base-green .sidebar,
588
587
  .theme-base-green .sidebar-toggle:active {
589
588
  background-color: #90a959;
590
589
  }
590
+
591
591
  .theme-base-green .container a,
592
592
  .theme-base-green .sidebar-toggle,
593
593
  .theme-base-green .related-posts li a:hover {
594
594
  color: #90a959;
595
595
  }
596
596
 
597
- /* Cyan */
597
+ /* Cyan*/
598
598
  .theme-base-cyan .sidebar,
599
599
  .theme-base-cyan .sidebar-toggle:active {
600
600
  background-color: #75b5aa;
601
601
  }
602
+
602
603
  .theme-base-cyan .container a,
603
604
  .theme-base-cyan .sidebar-toggle,
604
605
  .theme-base-cyan .related-posts li a:hover {
605
606
  color: #75b5aa;
606
607
  }
607
608
 
608
- /* Blue */
609
+ /* Blue*/
609
610
  .theme-base-blue .sidebar,
610
611
  .theme-base-blue .sidebar-toggle:active {
611
612
  background-color: #6a9fb5;
612
613
  }
614
+
613
615
  .theme-base-blue .container a,
614
616
  .theme-base-blue .sidebar-toggle,
615
617
  .theme-base-blue .related-posts li a:hover {
616
618
  color: #6a9fb5;
617
619
  }
618
620
 
619
- /* Magenta */
621
+ /* Magenta*/
620
622
  .theme-base-magenta .sidebar,
621
623
  .theme-base-magenta .sidebar-toggle:active {
622
624
  background-color: #aa759f;
623
625
  }
626
+
624
627
  .theme-base-magenta .container a,
625
628
  .theme-base-magenta .sidebar-toggle,
626
629
  .theme-base-magenta .related-posts li a:hover {
627
630
  color: #aa759f;
628
631
  }
629
632
 
630
- /* Brown */
633
+ /* Brown*/
631
634
  .theme-base-brown .sidebar,
632
635
  .theme-base-brown .sidebar-toggle:active {
633
636
  background-color: #8f5536;
634
637
  }
638
+
635
639
  .theme-base-brown .container a,
636
640
  .theme-base-brown .sidebar-toggle,
637
641
  .theme-base-brown .related-posts li a:hover {
@@ -639,9 +643,9 @@ a.sidebar-nav-item:focus {
639
643
  }
640
644
 
641
645
 
642
- /* */
643
- /* ED SPECIAL LAYOUTS */
644
- /* */
646
+ /*
647
+ ED SPECIAL LAYOUTS
648
+ */
645
649
 
646
650
  p.centered {
647
651
  text-align: center;
@@ -659,7 +663,8 @@ p.small {
659
663
  font-size: 0.8rem;
660
664
  }
661
665
 
662
- div.poem, div.narrative {
666
+ div.poem,
667
+ div.narrative {
663
668
  margin-bottom: 5rem;
664
669
  }
665
670
 
@@ -668,74 +673,81 @@ div.toc {
668
673
  }
669
674
 
670
675
 
671
- /* Poem styles */
676
+ /*
677
+ Poem styles
672
678
 
673
- /* If you want your lines not to wrap on small screens, add the rule "white-space: nowrap;"; If you want you want to remove the hanging indent, reset the padding-left to 0 and erase text-indent */
679
+ If you want your lines not to wrap on small screens, add the rule "white-space: nowrap;"; If you
680
+ want you want to remove the hanging indent, reset the padding-left to 0 and erase text-indent
681
+ */
674
682
 
675
- .poetry ul, ul.poetry {
676
- list-style: none;
677
- list-style-type: none;
678
- padding-left: 1rem;
679
- text-indent: -1rem;
683
+ .poetry ul,
684
+ ul.poetry {
685
+ list-style: none;
686
+ list-style-type: none;
687
+ padding-left: 1rem;
688
+ text-indent: -1rem;
680
689
  }
681
690
 
682
691
 
683
- /* This snippet helps us reset the margin for all spans with the indent- class */
684
-
692
+ /* This snippet helps us reset the margin for all spans with the indent- class*/
685
693
  .poetry span[class^='indent-']{
686
- margin: 0; /* reset browsers default margin styles*/
694
+ margin: 0;/* reset browsers default margin styles*/
687
695
  }
688
696
 
689
- /* To set line indentation for poetry wrap the line in a span, with a class="indent-x" attribute. The x is represents an rem (root em) value */
697
+
698
+ /*
699
+ To set line indentation for poetry wrap the line in a span, with a class="indent-x" attribute.
700
+ The x is represents an rem (root em) value
701
+ */
690
702
 
691
703
  .indent-1 {
692
- font-style: normal;
693
- padding-left: 1rem;
704
+ font-style: normal;
705
+ padding-left: 1rem;
694
706
  }
695
707
 
696
708
  .indent-2 {
697
- font-style: normal;
698
- padding-left: 2rem;
709
+ font-style: normal;
710
+ padding-left: 2rem;
699
711
  }
700
712
 
701
713
  .indent-3 {
702
- font-style: normal;
703
- padding-left: 3rem;
714
+ font-style: normal;
715
+ padding-left: 3rem;
704
716
  }
705
717
 
706
718
  .indent-4 {
707
- font-style: normal;
708
- padding-left: 4rem;
719
+ font-style: normal;
720
+ padding-left: 4rem;
709
721
  }
710
722
 
711
723
  .indent-5 {
712
- font-style: normal;
713
- padding-left: 5rem;
724
+ font-style: normal;
725
+ padding-left: 5rem;
714
726
  }
715
727
 
716
728
  .indent-6 {
717
- font-style: normal;
718
- padding-left: 6rem;
729
+ font-style: normal;
730
+ padding-left: 6rem;
719
731
  }
720
732
 
721
733
  .indent-7 {
722
- font-style: normal;
723
- padding-left: 7rem;
734
+ font-style: normal;
735
+ padding-left: 7rem;
724
736
  }
725
737
 
726
738
  .indent-8 {
727
- font-style: normal;
728
- padding-left: 8rem;
739
+ font-style: normal;
740
+ padding-left: 8rem;
729
741
  }
730
742
 
731
743
  .indent-9 {
732
- font-style: normal;
733
- padding-left: 9rem;
744
+ font-style: normal;
745
+ padding-left: 9rem;
734
746
  }
735
747
 
736
748
  .indent-10 {
737
- font-style: normal;
738
- padding-left: 10rem;
749
+ font-style: normal;
750
+ padding-left: 10rem;
739
751
  }
740
752
 
741
753
  .poetry .byline {
@@ -745,10 +757,9 @@ div.toc {
745
757
  margin-top: -.5rem;
746
758
  }
747
759
 
748
-
749
- /* Footnotes styles */
750
-
751
- sub, sup {
760
+ /* Footnotes styles*/
761
+ sub,
762
+ sup {
752
763
  font-size: 75%;
753
764
  line-height: 0;
754
765
  position: relative;
@@ -760,64 +771,61 @@ sup {
760
771
  }
761
772
 
762
773
  .footnotes {
763
- line-height: 1.2rem;
764
- font-size: 0.9rem;
765
- letter-spacing: .01rem;
774
+ line-height: 1.2rem;
775
+ font-size: 0.9rem;
776
+ letter-spacing: .01rem;
766
777
  }
767
778
 
768
779
  .footnotes .foot-block {
769
- display: inline-block;
770
- padding: 0 4rem 0 2rem;
771
- margin-bottom: .8rem;
772
- font-style: italic;
780
+ display: inline-block;
781
+ padding: 0 4rem 0 2rem;
782
+ margin-bottom: .8rem;
783
+ font-style: italic;
773
784
  }
774
785
 
775
786
  a.footnote {
776
- padding-left: .1rem;
777
- font-size: .66rem;
787
+ padding-left: .1rem;
788
+ font-size: .66rem;
778
789
  }
779
790
 
780
791
  /*Bibliography styles*/
781
-
782
792
  ol.bibliography {
783
- list-style-type:none;
784
- padding-left: 1rem;
785
- text-indent: -1rem;
793
+ list-style-type:none;
794
+ padding-left: 1rem;
795
+ text-indent: -1rem;
786
796
  }
787
797
 
788
- /* Diplomatic editions */
789
-
790
-
798
+ /* Diplomatic editions*/
791
799
  .add {
792
- color:#288828;
793
- font-style: italic;
800
+ color:#288828;
801
+ font-style: italic;
794
802
  }
795
803
 
796
804
  .delete {
797
- text-decoration: line-through;
798
- color: #AA3232;
805
+ text-decoration: line-through;
806
+ color: #AA3232;
799
807
  }
800
808
 
801
809
  .underline {
802
- text-decoration: underline;
810
+ text-decoration: underline;
803
811
  }
804
812
 
805
813
 
806
- /* Line layouts for prose-poetry and theater
807
- *
808
- * To use these layouts you need to add the classes to
809
- * your markdown or HTML lines. (ex. "- {:.centered} hello!")
810
- *
811
- */
814
+ /*
815
+ Line layouts for prose-poetry and theater
812
816
 
817
+ To use these layouts you need to add the classes to your markdown or HTML lines.
818
+ (ex. "- {:.centered} hello!")
819
+ */
813
820
 
814
821
  li.centered {
815
- text-align: center;
822
+ text-align: center;
816
823
  }
817
824
 
818
- li.speaker, li.speakerGroup {
819
- text-align: center;
820
- padding-top: 1.2em;
825
+ li.speaker,
826
+ li.speakerGroup {
827
+ text-align: center;
828
+ padding-top: 1.2em;
821
829
  }
822
830
 
823
831
  li.speakerGroup {
@@ -828,11 +836,11 @@ li.attribution {
828
836
  text-align: right;
829
837
  list-style: none;
830
838
  padding: 0rem 1.5rem 0rem 2rem;
831
- margin: 0 0 20px 0;
839
+ margin: 0 0 20px 0;
832
840
  color: #454545;
833
841
  }
834
842
 
835
- li.prose {
843
+ li.prose {
836
844
  list-style-position: inside;
837
845
  margin-left: -1em;
838
846
  text-indent: 0;
@@ -841,6 +849,3 @@ li.prose {
841
849
  li.prose-indent {
842
850
  text-indent: 2rem;
843
851
  }
844
-
845
-
846
-