ed. 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.md +19 -0
- data/README.md +47 -0
- data/_includes/head.html +63 -0
- data/_includes/sidebar-toc.html +25 -0
- data/_includes/sidebar.html +39 -0
- data/_layouts/default.html +87 -0
- data/_layouts/drama.html +8 -0
- data/_layouts/narrative.html +9 -0
- data/_layouts/page.html +8 -0
- data/_layouts/poem.html +8 -0
- data/_layouts/post.html +8 -0
- data/_sass/_ed.scss +814 -0
- data/_sass/_syntax.scss +129 -0
- data/assets/apple-touch-icon-precomposed.png +0 -0
- data/assets/css/style.scss +6 -0
- data/assets/favicon.ico +0 -0
- data/assets/js/elasticlunr.min.js +10 -0
- data/assets/js/search.js +78 -0
- data/assets/open-graph-logo.png +0 -0
- metadata +105 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: aa62f1b302ccc6ba845091ae64e8ae604f45a4fc
|
4
|
+
data.tar.gz: c0efd3b2a5c5a43a1a6173f9556a7bcdcca8f787
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 922620013dc8d2f96e94653146bb532273c8e0cec5c219ca000d7b5cfd8b4fcb3952ab92e80a19259627a05f096ba805ff07730af6abb6639d0b9ee8926bfcae
|
7
|
+
data.tar.gz: d4bafb5cb6faa206cb1df60a2c1715b544486d353cae9341a3b56ddba99dbc054cee4022666a2b971387195fcb1972f96312324f29aa88eeaa617881c7c3e0af
|
data/LICENSE.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Released under an MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2016 Alex Gil.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
6
|
+
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
|
+
|
9
|
+
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.
|
10
|
+
|
11
|
+
*This project incorporates code covered by the following terms:*
|
12
|
+
|
13
|
+
Copyright (c) 2014 Mark Otto.
|
14
|
+
|
15
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
16
|
+
|
17
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# Ed: A Jekyll Theme for Minimal Editions
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/elotroalex/ed.svg?branch=gh-pages)](https://travis-ci.org/elotroalex/ed)
|
4
|
+
|
5
|
+
|
6
|
+
![Sample Ed screenshot](https://github.com/elotroalex/ed/blob/master/assets/screenshot.png)
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
## Introduction
|
11
|
+
|
12
|
+
Ed is a [Jekyll](https://jekyllrb.com/) theme designed for textual editors based on [minimal computing](http://go-dh.github.io/mincomp/) principles, and focused on legibility, durability, ease and flexibility.
|
13
|
+
|
14
|
+
|
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
|
+
|
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!
|
18
|
+
|
19
|
+
|
20
|
+
## Sample Ed editions.
|
21
|
+
|
22
|
+
- [Our sample site](http://elotroalex.github.io/ed/) is the first edition built with Ed.
|
23
|
+
- [Fugitive Verses](http://fugitiverses.viraltexts.org/): Popular Reprinted Poetry from Nineteenth Century Newspapers
|
24
|
+
- [mini lazarillo](http://minilazarillo.github.io/): A minimal edition of the *Lazarillo de Tormes*
|
25
|
+
- [Making and Knowing](https://cu-mkp.github.io/GR8975-edition/): The BnF Ms Fr 640 in Translation
|
26
|
+
- [Daisy Miller: A Comedy in Three Acts](https://britaneeelizabeth.github.io/ed/texts/DaisyMillerPlay/)
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
## Current Features
|
31
|
+
- Templates for narrative, drama and poetry
|
32
|
+
- Responsive design for mobile phones, tablets and PCs.
|
33
|
+
- Relatively easy to learn and teach
|
34
|
+
- Works well in high- or low- bandwitdh scenarios
|
35
|
+
- Easier for digital archives and libraries to preserve
|
36
|
+
- Open source, open access
|
37
|
+
- Unobtrusive footnotes
|
38
|
+
- Metadata in Dublin Core and OpenGraph to play nice with Zotero, libraries and social media.
|
39
|
+
- Automatic table of content generation
|
40
|
+
- Simple search functionality
|
41
|
+
- Annotations via [hypothes.is](https://hypothes.is/)
|
42
|
+
- Optional: Ability to generate well-formatted bibliographies and linked citations
|
43
|
+
|
44
|
+
|
45
|
+
## Installing and using Ed
|
46
|
+
|
47
|
+
To learn how to install and begin using Ed, please visit our [documentation page](http://elotroalex.github.io/ed/documentation).
|
data/_includes/head.html
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
<head>
|
2
|
+
<!-- Canonical link to help search engines -->
|
3
|
+
<link rel="canonical" href="{{ site.baseurl }}{{ page.url }}"/>
|
4
|
+
|
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"/>
|
8
|
+
|
9
|
+
<!-- Enable responsiveness on mobile devices-->
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"/>
|
11
|
+
|
12
|
+
<!-- Dublin Core metadata for Zotero -->
|
13
|
+
<meta name="DC.title" content="{{ page.title }}" />
|
14
|
+
<meta name="DC.creator" content="{{ page.author }}" />
|
15
|
+
<meta name="DC.contributor" content="{{ page.editor }}" />
|
16
|
+
<meta name="DC.date" content="{{ page.publication-date }}" />
|
17
|
+
<meta name="DC.rights" content="{{ page.rights }}" />
|
18
|
+
<meta name="DC.source" content="{{ site.title }}" />
|
19
|
+
|
20
|
+
<!-- Open Graph metadata -->
|
21
|
+
|
22
|
+
{% if page.layout == "default" %}
|
23
|
+
<meta property="og:title" content="{{page.title}}"/>
|
24
|
+
<meta property="og:description" content="{{site.description}}">
|
25
|
+
<meta property="fb:admins" content="elotroalex"/>
|
26
|
+
<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"/>
|
30
|
+
<meta property="og:image:width" content="200" />
|
31
|
+
<meta property="og:image:height" content="200" />
|
32
|
+
|
33
|
+
{% else %}
|
34
|
+
<meta property="og:title" content="{{page.title}}"/>
|
35
|
+
<meta property="og:description" content="An Ed edition">
|
36
|
+
<meta property="fb:admins" content="elotroalex"/>
|
37
|
+
<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"/>
|
41
|
+
<meta property="og:image:width" content="200" />
|
42
|
+
<meta property="og:image:height" content="200" />
|
43
|
+
{% endif %}
|
44
|
+
|
45
|
+
<title>
|
46
|
+
{% if page.title == "Home" %}
|
47
|
+
{{ site.title }}
|
48
|
+
{% else %}
|
49
|
+
{{ page.title }}
|
50
|
+
{% endif %}
|
51
|
+
</title>
|
52
|
+
|
53
|
+
<!-- CSS link -->
|
54
|
+
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/style.css"/>
|
55
|
+
|
56
|
+
|
57
|
+
<!-- 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"/>
|
60
|
+
|
61
|
+
<!-- RSS -->
|
62
|
+
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ site.baseurl }}/atom.xml"/>
|
63
|
+
</head>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
|
2
|
+
styles, `#sidebar-checkbox` for behavior. -->
|
3
|
+
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
|
4
|
+
|
5
|
+
<!-- Toggleable sidebar -->
|
6
|
+
<div class="sidebar" id="sidebar">
|
7
|
+
<div class="sidebar-item">
|
8
|
+
<p>{{ page.title }}</p>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<nav class="sidebar-nav">
|
12
|
+
<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>
|
14
|
+
{% for node in page.toc %}
|
15
|
+
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %} sidebar-nav-item-toc" href="#{{ node | slugify }}">{{ node }}</a>
|
16
|
+
{% endfor %}
|
17
|
+
|
18
|
+
</nav>
|
19
|
+
|
20
|
+
<div class="sidebar-item">
|
21
|
+
<p>
|
22
|
+
Edited by {{ page.editor }}, {{ site.time | date: '%Y' }}.
|
23
|
+
</p>
|
24
|
+
</div>
|
25
|
+
</div>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<!-- Target for toggling the sidebar `.sidebar-checkbox` is for regular
|
2
|
+
styles, `#sidebar-checkbox` for behavior. -->
|
3
|
+
<input type="checkbox" class="sidebar-checkbox" id="sidebar-checkbox">
|
4
|
+
|
5
|
+
<!-- Toggleable sidebar -->
|
6
|
+
<div class="sidebar" id="sidebar">
|
7
|
+
<div class="sidebar-item">
|
8
|
+
<p>{{ site.description }}</p>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<nav class="sidebar-nav">
|
12
|
+
<a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}/">Home</a>
|
13
|
+
|
14
|
+
{% comment %}
|
15
|
+
The code below dynamically generates a sidebar nav of pages with
|
16
|
+
`layout: page` in the front-matter. See readme for usage.
|
17
|
+
{% endcomment %}
|
18
|
+
|
19
|
+
{% assign pages_list = site.pages | sort:"url" %}
|
20
|
+
{% for node in pages_list %}
|
21
|
+
{% if node.title != null %}
|
22
|
+
{% if node.layout == "page" %}
|
23
|
+
<a class="sidebar-nav-item{% if page.url == node.url %} active{% endif %}" href="{{ site.baseurl }}{{ node.url }}">{{ node.title }}</a>
|
24
|
+
{% endif %}
|
25
|
+
{% endif %}
|
26
|
+
{% endfor %}
|
27
|
+
|
28
|
+
<!-- The code below is used for manually entered links -->
|
29
|
+
|
30
|
+
|
31
|
+
<a class="sidebar-nav-item" href="https://cemmento.org/{{ site.url }}{{ site.baseurl }}{{page.url}}/" data-proofer-ignore>Annotate me</a>
|
32
|
+
|
33
|
+
<a class="sidebar-nav-item" href="https://github.com/elotroalex/ed" target="_blank">GitHub project</a>
|
34
|
+
</nav>
|
35
|
+
|
36
|
+
<div class="sidebar-item">
|
37
|
+
<p>Currently v0.1.0. Distributed with an MIT license.</p>
|
38
|
+
</div>
|
39
|
+
</div>
|
@@ -0,0 +1,87 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en-us">
|
3
|
+
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
<!-- This if statement decides which sidebar to use -->
|
9
|
+
{% if page.toc %}
|
10
|
+
{% include sidebar-toc.html %}
|
11
|
+
{% else %}
|
12
|
+
{% include sidebar.html %}
|
13
|
+
{% endif %}
|
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. -->
|
18
|
+
<div class="wrap">
|
19
|
+
<div class="masthead">
|
20
|
+
<div class="container">
|
21
|
+
<h3 class="masthead-title">
|
22
|
+
<a href="{{ site.baseurl }}/" title="Home">{{ site.title }}</a>
|
23
|
+
<br><small>{{ site.tagline }}</small>
|
24
|
+
</h3>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<div class="container content" id="main">
|
29
|
+
{{ content }}
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
|
34
|
+
|
35
|
+
<script>
|
36
|
+
|
37
|
+
// Highlight search Query
|
38
|
+
var url = window.location.href;
|
39
|
+
if (url.lastIndexOf("?q=") > 0) {
|
40
|
+
// get the index of the parameter, add three (to account for length)
|
41
|
+
var stringloc = url.lastIndexOf("?q=") + 3;
|
42
|
+
// get the substring (query) and decode
|
43
|
+
var searchquery = decodeURIComponent(url.substr(stringloc));
|
44
|
+
// regex matches at beginning of line, end of line or word boundary, useful for poetry
|
45
|
+
var regex = new RegExp("(?:^|\\b)(" + searchquery + ")(?:$|\\b)", "gim");
|
46
|
+
// get, add mark and then set content
|
47
|
+
var content = document.getElementById("main").innerHTML;
|
48
|
+
document.getElementById("main").innerHTML = content.replace(regex, "<mark>$1</mark>");
|
49
|
+
}
|
50
|
+
|
51
|
+
// Toggle sidebar
|
52
|
+
(function(document) {
|
53
|
+
var toggle = document.querySelector('.sidebar-toggle');
|
54
|
+
var sidebar = document.querySelector('#sidebar');
|
55
|
+
var checkbox = document.querySelector('#sidebar-checkbox');
|
56
|
+
|
57
|
+
document.addEventListener('click', function(e) {
|
58
|
+
var target = e.target;
|
59
|
+
|
60
|
+
if(!checkbox.checked ||
|
61
|
+
sidebar.contains(target) ||
|
62
|
+
(target === checkbox || target === toggle)) return;
|
63
|
+
|
64
|
+
checkbox.checked = false;
|
65
|
+
}, false);
|
66
|
+
})(document);
|
67
|
+
</script>
|
68
|
+
<!-- Facebook SDK for JavaScript -->
|
69
|
+
<script>
|
70
|
+
window.fbAsyncInit = function() {
|
71
|
+
FB.init({
|
72
|
+
appId : '589495744558280',
|
73
|
+
xfbml : true,
|
74
|
+
version : 'v2.6'
|
75
|
+
});
|
76
|
+
};
|
77
|
+
|
78
|
+
(function(d, s, id){
|
79
|
+
var js, fjs = d.getElementsByTagName(s)[0];
|
80
|
+
if (d.getElementById(id)) {return;}
|
81
|
+
js = d.createElement(s); js.id = id;
|
82
|
+
js.src = "//connect.facebook.net/en_US/sdk.js";
|
83
|
+
fjs.parentNode.insertBefore(js, fjs);
|
84
|
+
}(document, 'script', 'facebook-jssdk'));
|
85
|
+
</script>
|
86
|
+
</body>
|
87
|
+
</html>
|
data/_layouts/drama.html
ADDED
data/_layouts/page.html
ADDED
data/_layouts/poem.html
ADDED
data/_layouts/post.html
ADDED
data/_sass/_ed.scss
ADDED
@@ -0,0 +1,814 @@
|
|
1
|
+
/* Ed: the minimal edition theme.
|
2
|
+
* ___________________
|
3
|
+
* \_ _____/\______ \
|
4
|
+
* | __)_ | | \
|
5
|
+
* | \ | ` \
|
6
|
+
* /_______ //_______ /
|
7
|
+
* \/ \/
|
8
|
+
* Designed, built, and released under an MIT license by @elotroalex.
|
9
|
+
* Based on the Poole and Lanyon theme by @mdo. Learn more at
|
10
|
+
* https://github.com/elotroalex/ed.
|
11
|
+
*/
|
12
|
+
|
13
|
+
|
14
|
+
/*
|
15
|
+
* General
|
16
|
+
*
|
17
|
+
* Update the foundational and global aspects of the page.
|
18
|
+
*/
|
19
|
+
|
20
|
+
* {
|
21
|
+
-webkit-box-sizing: border-box;
|
22
|
+
-moz-box-sizing: border-box;
|
23
|
+
box-sizing: border-box;
|
24
|
+
}
|
25
|
+
|
26
|
+
html,
|
27
|
+
body {
|
28
|
+
margin: 0;
|
29
|
+
padding: 0;
|
30
|
+
overflow-x: hidden;
|
31
|
+
}
|
32
|
+
|
33
|
+
html {
|
34
|
+
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
|
35
|
+
font-size: 16px;
|
36
|
+
line-height: 1.5;
|
37
|
+
}
|
38
|
+
|
39
|
+
@media (min-width: 38em) {
|
40
|
+
html {
|
41
|
+
font-size: 20px;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
body {
|
46
|
+
color: #454545;
|
47
|
+
background-color: #fff;
|
48
|
+
-webkit-text-size-adjust: 100%;
|
49
|
+
-ms-text-size-adjust: 100%;
|
50
|
+
}
|
51
|
+
|
52
|
+
.content {
|
53
|
+
margin-bottom: 4rem;
|
54
|
+
}
|
55
|
+
|
56
|
+
/*
|
57
|
+
* Wrapper
|
58
|
+
*
|
59
|
+
* The wrapper is used to position site content when the sidebar is toggled. We
|
60
|
+
* use an outter wrap to position the sidebar without interferring with the
|
61
|
+
* regular page content.
|
62
|
+
*/
|
63
|
+
|
64
|
+
.wrap {
|
65
|
+
position: relative;
|
66
|
+
width: 100%;
|
67
|
+
}
|
68
|
+
|
69
|
+
/*
|
70
|
+
* Container
|
71
|
+
*
|
72
|
+
* Center the page content.
|
73
|
+
*/
|
74
|
+
|
75
|
+
.container {
|
76
|
+
max-width: 38rem;
|
77
|
+
padding-left: 1rem;
|
78
|
+
padding-right: 1rem;
|
79
|
+
margin-left: auto;
|
80
|
+
margin-right: auto;
|
81
|
+
}
|
82
|
+
|
83
|
+
@media (min-width: 38em) {
|
84
|
+
.container {
|
85
|
+
max-width: 32rem;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
@media (min-width: 56em) {
|
89
|
+
.container {
|
90
|
+
max-width: 38rem;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
/* links */
|
95
|
+
|
96
|
+
a, .post-title a {
|
97
|
+
color: #841212;
|
98
|
+
text-decoration: none;
|
99
|
+
}
|
100
|
+
|
101
|
+
a strong {
|
102
|
+
color: inherit;
|
103
|
+
}
|
104
|
+
|
105
|
+
/* `:focus` is linked to `:hover` for basic accessibility */
|
106
|
+
a:hover,
|
107
|
+
a:focus {
|
108
|
+
text-decoration: underline;
|
109
|
+
}
|
110
|
+
|
111
|
+
/* Headings */
|
112
|
+
|
113
|
+
h1, h2, h3, h4, h5, h6 {
|
114
|
+
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
|
115
|
+
margin-bottom: .5rem;
|
116
|
+
font-weight: 400;
|
117
|
+
font-size: 1.5rem;
|
118
|
+
color: #404040;
|
119
|
+
letter-spacing: -.025rem;
|
120
|
+
line-height: 1.25;
|
121
|
+
text-rendering: optimizeLegibility;
|
122
|
+
}
|
123
|
+
|
124
|
+
h1 {
|
125
|
+
font-size: 1.4rem;
|
126
|
+
}
|
127
|
+
|
128
|
+
h1.post-title {
|
129
|
+
font-size: 1.4rem;
|
130
|
+
}
|
131
|
+
|
132
|
+
h2 {
|
133
|
+
margin-top: 1rem;
|
134
|
+
font-size: 1.2rem;
|
135
|
+
}
|
136
|
+
|
137
|
+
h3, h4, h5 {
|
138
|
+
font-size: 1rem;
|
139
|
+
}
|
140
|
+
|
141
|
+
h3 {
|
142
|
+
margin-top: 1.5rem;
|
143
|
+
|
144
|
+
}
|
145
|
+
|
146
|
+
h4, h5, h6 {
|
147
|
+
margin-top: 1rem;
|
148
|
+
}
|
149
|
+
|
150
|
+
/* Body text */
|
151
|
+
p {
|
152
|
+
margin-top: 0;
|
153
|
+
margin-bottom: 1rem;
|
154
|
+
}
|
155
|
+
|
156
|
+
strong {
|
157
|
+
color: #303030;
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
/* Lists */
|
162
|
+
ul {
|
163
|
+
list-style: circle;
|
164
|
+
}
|
165
|
+
|
166
|
+
ul, ol, dl {
|
167
|
+
margin-top: 0;
|
168
|
+
margin-bottom: 1rem;
|
169
|
+
}
|
170
|
+
|
171
|
+
dt {
|
172
|
+
font-weight: bold;
|
173
|
+
}
|
174
|
+
dd {
|
175
|
+
margin-bottom: .5rem;
|
176
|
+
}
|
177
|
+
|
178
|
+
/* Misc */
|
179
|
+
|
180
|
+
hr {
|
181
|
+
margin-top: 60px;
|
182
|
+
position: relative;
|
183
|
+
margin: 1.5rem 0;
|
184
|
+
border: 0;
|
185
|
+
border-top: 1px solid #eee;
|
186
|
+
border-bottom: 1px solid #fff;
|
187
|
+
}
|
188
|
+
|
189
|
+
abbr {
|
190
|
+
font-size: 85%;
|
191
|
+
font-weight: bold;
|
192
|
+
color: #555;
|
193
|
+
text-transform: uppercase;
|
194
|
+
}
|
195
|
+
abbr[title] {
|
196
|
+
cursor: help;
|
197
|
+
border-bottom: 1px dotted #e5e5e5;
|
198
|
+
}
|
199
|
+
|
200
|
+
/* Search Highlihting */
|
201
|
+
|
202
|
+
mark {
|
203
|
+
color: white;
|
204
|
+
background-color: #841212;
|
205
|
+
}
|
206
|
+
|
207
|
+
/* Quotes */
|
208
|
+
|
209
|
+
blockquote {
|
210
|
+
padding: 0rem 1.5rem 0rem 2rem;
|
211
|
+
margin: 0 0 20px 0;
|
212
|
+
color: #454545;
|
213
|
+
border-left: none;
|
214
|
+
font-style: italic;
|
215
|
+
}
|
216
|
+
|
217
|
+
blockquote p:last-child {
|
218
|
+
margin-bottom: 0;
|
219
|
+
}
|
220
|
+
|
221
|
+
@media (min-width: 30em) {
|
222
|
+
blockquote {
|
223
|
+
padding-right: 5rem;
|
224
|
+
padding-left: 1.25rem;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
/* Images */
|
231
|
+
|
232
|
+
img {
|
233
|
+
display: block;
|
234
|
+
max-width: 100%;
|
235
|
+
margin: 0 0 1rem;
|
236
|
+
border-radius: 5px;
|
237
|
+
}
|
238
|
+
|
239
|
+
/* Tables */
|
240
|
+
table {
|
241
|
+
margin-bottom: 1rem;
|
242
|
+
width: 100%;
|
243
|
+
border: 1px solid #e5e5e5;
|
244
|
+
border-collapse: collapse;
|
245
|
+
}
|
246
|
+
td,
|
247
|
+
th {
|
248
|
+
padding: .25rem .5rem;
|
249
|
+
border: 1px solid #e5e5e5;
|
250
|
+
}
|
251
|
+
tbody tr:nth-child(odd) td,
|
252
|
+
tbody tr:nth-child(odd) th {
|
253
|
+
background-color: #f9f9f9;
|
254
|
+
}
|
255
|
+
|
256
|
+
/*
|
257
|
+
* Custom type
|
258
|
+
*
|
259
|
+
* Extend paragraphs with `.lead` for larger introductory text.
|
260
|
+
*/
|
261
|
+
|
262
|
+
.lead {
|
263
|
+
font-size: 1.25rem;
|
264
|
+
font-weight: 300;
|
265
|
+
}
|
266
|
+
|
267
|
+
|
268
|
+
/*
|
269
|
+
* Messages
|
270
|
+
*
|
271
|
+
* Show alert messages to users. You may add it to single elements like a `<p>`,
|
272
|
+
* or to a parent if there are multiple elements to show.
|
273
|
+
*/
|
274
|
+
|
275
|
+
.message {
|
276
|
+
margin-bottom: 1rem;
|
277
|
+
padding: 1rem;
|
278
|
+
color: #717171;
|
279
|
+
background-color: #f9f9f9;
|
280
|
+
}
|
281
|
+
|
282
|
+
/*
|
283
|
+
* Masthead
|
284
|
+
*
|
285
|
+
* Super small header above the content for site name and short description.
|
286
|
+
*/
|
287
|
+
|
288
|
+
.masthead {
|
289
|
+
margin-bottom: 3rem;
|
290
|
+
text-align: center;
|
291
|
+
padding-top: .8rem;
|
292
|
+
padding-bottom: .8rem;
|
293
|
+
border-bottom: 1px solid #eee;
|
294
|
+
}
|
295
|
+
|
296
|
+
.masthead-title {
|
297
|
+
margin-top: 0;
|
298
|
+
margin-bottom: 0;
|
299
|
+
color: #505050;
|
300
|
+
line-height: 1.5rem;
|
301
|
+
}
|
302
|
+
.masthead-title a {
|
303
|
+
color: #841212;
|
304
|
+
}
|
305
|
+
|
306
|
+
.masthead-title small {
|
307
|
+
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
|
308
|
+
font-size: 1rem;
|
309
|
+
font-weight: 400;
|
310
|
+
color: #c0c0c0;
|
311
|
+
letter-spacing: 0;
|
312
|
+
}
|
313
|
+
|
314
|
+
h3.masthead-title {
|
315
|
+
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
|
316
|
+
font-size: 1.8rem;
|
317
|
+
margin-top: 2px;
|
318
|
+
}
|
319
|
+
|
320
|
+
|
321
|
+
@media (max-width: 48em) {
|
322
|
+
.masthead-title {
|
323
|
+
text-align: center;
|
324
|
+
}
|
325
|
+
.masthead-title small {
|
326
|
+
display: none;
|
327
|
+
}
|
328
|
+
}
|
329
|
+
|
330
|
+
/* Page and Posts */
|
331
|
+
|
332
|
+
.page {
|
333
|
+
margin-bottom: 4em;
|
334
|
+
}
|
335
|
+
|
336
|
+
.page-title {
|
337
|
+
color: #404040;
|
338
|
+
margin-top: 0;
|
339
|
+
}
|
340
|
+
|
341
|
+
|
342
|
+
/*
|
343
|
+
* Sidebar
|
344
|
+
*
|
345
|
+
* The sidebar is the drawer, the item we are toggling with our handy hamburger
|
346
|
+
* button in the corner of the page.
|
347
|
+
*
|
348
|
+
* This particular sidebar implementation was inspired by Chris Coyier's
|
349
|
+
* "Offcanvas Menu with CSS Target" article, and the checkbox variation from the
|
350
|
+
* comments by a reader. It modifies both implementations to continue using the
|
351
|
+
* checkbox (no change in URL means no polluted browser history), but this uses
|
352
|
+
* `position` for the menu to avoid some potential content reflow issues.
|
353
|
+
*
|
354
|
+
* Source: http://css-tricks.com/off-canvas-menu-with-css-target/#comment-207504
|
355
|
+
*/
|
356
|
+
|
357
|
+
/* Style and "hide" the sidebar */
|
358
|
+
.sidebar {
|
359
|
+
position: fixed;
|
360
|
+
top: 0;
|
361
|
+
bottom: 0;
|
362
|
+
left: -14rem;
|
363
|
+
width: 14rem;
|
364
|
+
visibility: hidden;
|
365
|
+
overflow-y: auto;
|
366
|
+
font-family: "PT Sans", Helvetica, Arial, sans-serif;
|
367
|
+
font-size: .875rem; /* 15px */
|
368
|
+
color: rgba(255,255,255,.6);
|
369
|
+
background-color: #202020;
|
370
|
+
-webkit-transition: all .3s ease-in-out;
|
371
|
+
transition: all .3s ease-in-out;
|
372
|
+
}
|
373
|
+
@media (min-width: 30em) {
|
374
|
+
.sidebar {
|
375
|
+
font-size: .75rem; /* 14px */
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
/* Sidebar content */
|
380
|
+
|
381
|
+
.sidebar {
|
382
|
+
background-color: #841212;
|
383
|
+
}
|
384
|
+
|
385
|
+
.sidebar a {
|
386
|
+
font-weight: normal;
|
387
|
+
color: #fff;
|
388
|
+
}
|
389
|
+
.sidebar-item {
|
390
|
+
padding: 1rem;
|
391
|
+
}
|
392
|
+
.sidebar-item p:last-child {
|
393
|
+
margin-bottom: 0;
|
394
|
+
}
|
395
|
+
|
396
|
+
/* Sidebar nav */
|
397
|
+
.sidebar-nav {
|
398
|
+
border-bottom: 1px solid rgba(255,255,255,.1);
|
399
|
+
}
|
400
|
+
.sidebar-nav-item {
|
401
|
+
display: block;
|
402
|
+
padding: .5rem 1rem;
|
403
|
+
border-top: 1px solid rgba(255,255,255,.1);
|
404
|
+
}
|
405
|
+
|
406
|
+
a.sidebar-nav-item-toc {
|
407
|
+
color: rgba(255,255,255,.8);
|
408
|
+
}
|
409
|
+
|
410
|
+
.sidebar-nav-item.active,
|
411
|
+
a.sidebar-nav-item:hover,
|
412
|
+
a.sidebar-nav-item:focus {
|
413
|
+
text-decoration: none;
|
414
|
+
background-color: rgba(255,255,255,.1);
|
415
|
+
border-color: transparent;
|
416
|
+
}
|
417
|
+
|
418
|
+
@media (min-width: 48em) {
|
419
|
+
.sidebar-item {
|
420
|
+
padding: 1.5rem;
|
421
|
+
}
|
422
|
+
.sidebar-nav-item {
|
423
|
+
padding-left: 1.5rem;
|
424
|
+
padding-right: 1.5rem;
|
425
|
+
}
|
426
|
+
}
|
427
|
+
|
428
|
+
/* Hide the sidebar checkbox that we toggle with `.sidebar-toggle` */
|
429
|
+
.sidebar-checkbox {
|
430
|
+
display: none;
|
431
|
+
}
|
432
|
+
|
433
|
+
/* Style the `label` that we use to target the `.sidebar-checkbox` */
|
434
|
+
.sidebar-toggle {
|
435
|
+
position: absolute;
|
436
|
+
top: .8rem;
|
437
|
+
left: 1rem;
|
438
|
+
display: block;
|
439
|
+
padding: .25rem .75rem;
|
440
|
+
color: #505050;
|
441
|
+
background-color: #fff;
|
442
|
+
border-radius: .25rem;
|
443
|
+
cursor: pointer;
|
444
|
+
}
|
445
|
+
|
446
|
+
.sidebar-toggle:before {
|
447
|
+
display: inline-block;
|
448
|
+
width: 1rem;
|
449
|
+
height: .75rem;
|
450
|
+
content: "";
|
451
|
+
background-image: -webkit-linear-gradient(to bottom, #555, #555 20%, #fff 20%, #fff 40%, #555 40%, #555 60%, #fff 60%, #fff 80%, #555 80%, #555 100%);
|
452
|
+
background-image: -moz-linear-gradient(to bottom, #555, #555 20%, #fff 20%, #fff 40%, #555 40%, #555 60%, #fff 60%, #fff 80%, #555 80%, #555 100%);
|
453
|
+
background-image: -ms-linear-gradient(to bottom, #555, #555 20%, #fff 20%, #fff 40%, #555 40%, #555 60%, #fff 60%, #fff 80%, #555 80%, #555 100%);
|
454
|
+
background-image: linear-gradient(to bottom, #555, #555 20%, #fff 20%, #fff 40%, #555 40%, #555 60%, #fff 60%, #fff 80%, #555 80%, #555 100%);
|
455
|
+
}
|
456
|
+
|
457
|
+
.sidebar-toggle:active,
|
458
|
+
#sidebar-checkbox:focus ~ .sidebar-toggle,
|
459
|
+
#sidebar-checkbox:checked ~ .sidebar-toggle {
|
460
|
+
color: #fff;
|
461
|
+
background-color: #555;
|
462
|
+
}
|
463
|
+
|
464
|
+
.sidebar-toggle:active:before,
|
465
|
+
#sidebar-checkbox:focus ~ .sidebar-toggle:before,
|
466
|
+
#sidebar-checkbox:checked ~ .sidebar-toggle:before {
|
467
|
+
background-image: -webkit-linear-gradient(to bottom, #fff, #fff 20%, #555 20%, #555 40%, #fff 40%, #fff 60%, #555 60%, #555 80%, #fff 80%, #fff 100%);
|
468
|
+
background-image: -moz-linear-gradient(to bottom, #fff, #fff 20%, #555 20%, #555 40%, #fff 40%, #fff 60%, #555 60%, #555 80%, #fff 80%, #fff 100%);
|
469
|
+
background-image: -ms-linear-gradient(to bottom, #fff, #fff 20%, #555 20%, #555 40%, #fff 40%, #fff 60%, #555 60%, #555 80%, #fff 80%, #fff 100%);
|
470
|
+
background-image: linear-gradient(to bottom, #fff, #fff 20%, #555 20%, #555 40%, #fff 40%, #fff 60%, #555 60%, #555 80%, #fff 80%, #fff 100%);
|
471
|
+
}
|
472
|
+
|
473
|
+
@media (min-width: 30.1em) {
|
474
|
+
.sidebar-toggle {
|
475
|
+
position: fixed;
|
476
|
+
}
|
477
|
+
}
|
478
|
+
|
479
|
+
@media print {
|
480
|
+
.sidebar-toggle {
|
481
|
+
display: none;
|
482
|
+
}
|
483
|
+
}
|
484
|
+
|
485
|
+
/* Slide effect
|
486
|
+
*
|
487
|
+
* Handle the sliding effects of the sidebar and content in one spot, seperate
|
488
|
+
* from the default styles.
|
489
|
+
*
|
490
|
+
* As an a heads up, we don't use `transform: translate3d()` here because when
|
491
|
+
* mixed with `position: fixed;` for the sidebar toggle, it creates a new
|
492
|
+
* containing block. Put simply, the fixed sidebar toggle behaves like
|
493
|
+
* `position: absolute;` when transformed.
|
494
|
+
*
|
495
|
+
* Read more about it at http://meyerweb.com/eric/thoughts/2011/09/12/.
|
496
|
+
*/
|
497
|
+
|
498
|
+
.wrap,
|
499
|
+
.sidebar,
|
500
|
+
.sidebar-toggle {
|
501
|
+
-webkit-backface-visibility: hidden;
|
502
|
+
-ms-backface-visibility: hidden;
|
503
|
+
backface-visibility: hidden;
|
504
|
+
}
|
505
|
+
.wrap,
|
506
|
+
.sidebar-toggle {
|
507
|
+
-webkit-transition: -webkit-transform .3s ease-in-out;
|
508
|
+
transition: transform .3s ease-in-out;
|
509
|
+
}
|
510
|
+
|
511
|
+
#sidebar-checkbox:checked + .sidebar {
|
512
|
+
z-index: 10;
|
513
|
+
visibility: visible;
|
514
|
+
}
|
515
|
+
#sidebar-checkbox:checked ~ .sidebar,
|
516
|
+
#sidebar-checkbox:checked ~ .wrap,
|
517
|
+
#sidebar-checkbox:checked ~ .sidebar-toggle {
|
518
|
+
-webkit-transform: translateX(14rem);
|
519
|
+
-ms-transform: translateX(14rem);
|
520
|
+
transform: translateX(14rem);
|
521
|
+
}
|
522
|
+
|
523
|
+
/*
|
524
|
+
* Reverse layout
|
525
|
+
*
|
526
|
+
* Flip the orientation of the page by placing the `.sidebar` and sidebar toggle
|
527
|
+
* on the right side.
|
528
|
+
*/
|
529
|
+
|
530
|
+
.layout-reverse .sidebar {
|
531
|
+
left: auto;
|
532
|
+
right: -14rem;
|
533
|
+
}
|
534
|
+
.layout-reverse .sidebar-toggle {
|
535
|
+
left: auto;
|
536
|
+
right: 1rem;
|
537
|
+
}
|
538
|
+
|
539
|
+
.layout-reverse #sidebar-checkbox:checked ~ .sidebar,
|
540
|
+
.layout-reverse #sidebar-checkbox:checked ~ .wrap,
|
541
|
+
.layout-reverse #sidebar-checkbox:checked ~ .sidebar-toggle {
|
542
|
+
-webkit-transform: translateX(-14rem);
|
543
|
+
-ms-transform: translateX(-14rem);
|
544
|
+
transform: translateX(-14rem);
|
545
|
+
}
|
546
|
+
|
547
|
+
|
548
|
+
/*
|
549
|
+
* Themes
|
550
|
+
*
|
551
|
+
* Apply custom color schemes by adding the appropriate class to the `body`.
|
552
|
+
* Based on colors from Base16: http://chriskempson.github.io/base16/#default.
|
553
|
+
*/
|
554
|
+
|
555
|
+
/* Red */
|
556
|
+
.theme-base-08 .sidebar,
|
557
|
+
.theme-base-08 .sidebar-toggle:active,
|
558
|
+
.theme-base-08 #sidebar-checkbox:checked ~ .sidebar-toggle {
|
559
|
+
background-color: #ac4142;
|
560
|
+
}
|
561
|
+
.theme-base-08 .container a,
|
562
|
+
.theme-base-08 .sidebar-toggle,
|
563
|
+
.theme-base-08 .related-posts li a:hover {
|
564
|
+
color: #ac4142;
|
565
|
+
}
|
566
|
+
|
567
|
+
/* Orange */
|
568
|
+
.theme-base-09 .sidebar,
|
569
|
+
.theme-base-09 .sidebar-toggle:active {
|
570
|
+
background-color: #d28445;
|
571
|
+
}
|
572
|
+
.theme-base-09 .container a,
|
573
|
+
.theme-base-09 .sidebar-toggle,
|
574
|
+
.theme-base-09 .related-posts li a:hover {
|
575
|
+
color: #d28445;
|
576
|
+
}
|
577
|
+
|
578
|
+
/* Yellow */
|
579
|
+
.theme-base-0a .sidebar,
|
580
|
+
.theme-base-0a .sidebar-toggle:active {
|
581
|
+
background-color: #f4bf75;
|
582
|
+
}
|
583
|
+
.theme-base-0a .container a,
|
584
|
+
.theme-base-0a .sidebar-toggle,
|
585
|
+
.theme-base-0a .related-posts li a:hover {
|
586
|
+
color: #f4bf75;
|
587
|
+
}
|
588
|
+
|
589
|
+
/* Green */
|
590
|
+
.theme-base-0b .sidebar,
|
591
|
+
.theme-base-0b .sidebar-toggle:active {
|
592
|
+
background-color: #90a959;
|
593
|
+
}
|
594
|
+
.theme-base-0b .container a,
|
595
|
+
.theme-base-0b .sidebar-toggle,
|
596
|
+
.theme-base-0b .related-posts li a:hover {
|
597
|
+
color: #90a959;
|
598
|
+
}
|
599
|
+
|
600
|
+
/* Cyan */
|
601
|
+
.theme-base-0c .sidebar,
|
602
|
+
.theme-base-0c .sidebar-toggle:active {
|
603
|
+
background-color: #75b5aa;
|
604
|
+
}
|
605
|
+
.theme-base-0c .container a,
|
606
|
+
.theme-base-0c .sidebar-toggle,
|
607
|
+
.theme-base-0c .related-posts li a:hover {
|
608
|
+
color: #75b5aa;
|
609
|
+
}
|
610
|
+
|
611
|
+
/* Blue */
|
612
|
+
.theme-base-0d .sidebar,
|
613
|
+
.theme-base-0d .sidebar-toggle:active {
|
614
|
+
background-color: #6a9fb5;
|
615
|
+
}
|
616
|
+
.theme-base-0d .container a,
|
617
|
+
.theme-base-0d .sidebar-toggle,
|
618
|
+
.theme-base-0d .related-posts li a:hover {
|
619
|
+
color: #6a9fb5;
|
620
|
+
}
|
621
|
+
|
622
|
+
/* Magenta */
|
623
|
+
.theme-base-0e .sidebar,
|
624
|
+
.theme-base-0e .sidebar-toggle:active {
|
625
|
+
background-color: #aa759f;
|
626
|
+
}
|
627
|
+
.theme-base-0e .container a,
|
628
|
+
.theme-base-0e .sidebar-toggle,
|
629
|
+
.theme-base-0e .related-posts li a:hover {
|
630
|
+
color: #aa759f;
|
631
|
+
}
|
632
|
+
|
633
|
+
/* Brown */
|
634
|
+
.theme-base-0f .sidebar,
|
635
|
+
.theme-base-0f .sidebar-toggle:active {
|
636
|
+
background-color: #8f5536;
|
637
|
+
}
|
638
|
+
.theme-base-0f .container a,
|
639
|
+
.theme-base-0f .sidebar-toggle,
|
640
|
+
.theme-base-0f .related-posts li a:hover {
|
641
|
+
color: #8f5536;
|
642
|
+
}
|
643
|
+
|
644
|
+
|
645
|
+
/*
|
646
|
+
* Overlay sidebar
|
647
|
+
*
|
648
|
+
* Make the sidebar content overlay the viewport content instead of pushing it
|
649
|
+
* aside when toggled.
|
650
|
+
*/
|
651
|
+
|
652
|
+
.sidebar-overlay #sidebar-checkbox:checked ~ .wrap {
|
653
|
+
-webkit-transform: translateX(0);
|
654
|
+
-ms-transform: translateX(0);
|
655
|
+
transform: translateX(0);
|
656
|
+
}
|
657
|
+
.sidebar-overlay #sidebar-checkbox:checked ~ .sidebar-toggle {
|
658
|
+
box-shadow: 0 0 0 .25rem #fff;
|
659
|
+
}
|
660
|
+
.sidebar-overlay #sidebar-checkbox:checked ~ .sidebar {
|
661
|
+
box-shadow: .25rem 0 .5rem rgba(0,0,0,.1);
|
662
|
+
}
|
663
|
+
|
664
|
+
/* Only one tweak for a reverse layout */
|
665
|
+
.layout-reverse.sidebar-overlay #sidebar-checkbox:checked ~ .sidebar {
|
666
|
+
box-shadow: -.25rem 0 .5rem rgba(0,0,0,.1);
|
667
|
+
}
|
668
|
+
|
669
|
+
|
670
|
+
/* */
|
671
|
+
/* ED SPECIAL LAYOUTS */
|
672
|
+
/* */
|
673
|
+
|
674
|
+
p.centered {
|
675
|
+
text-align: center;
|
676
|
+
}
|
677
|
+
|
678
|
+
p.larger {
|
679
|
+
font-size: 1.6rem;
|
680
|
+
}
|
681
|
+
|
682
|
+
p.large {
|
683
|
+
font-size: 1.4rem
|
684
|
+
}
|
685
|
+
|
686
|
+
p.small {
|
687
|
+
font-size: 0.8rem;
|
688
|
+
}
|
689
|
+
|
690
|
+
div.poem, div.narrative {
|
691
|
+
margin-bottom: 5rem;
|
692
|
+
}
|
693
|
+
|
694
|
+
div.toc {
|
695
|
+
margin-bottom: 4rem;
|
696
|
+
}
|
697
|
+
|
698
|
+
|
699
|
+
/* Poem styles */
|
700
|
+
|
701
|
+
/* 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 */
|
702
|
+
|
703
|
+
.poetry ul, ul.poetry {
|
704
|
+
list-style: none;
|
705
|
+
list-style-type: none;
|
706
|
+
padding-left: 1rem;
|
707
|
+
text-indent: -1rem;
|
708
|
+
}
|
709
|
+
|
710
|
+
|
711
|
+
/* This snippet helps us reset the margin for all spans with the indent- class */
|
712
|
+
|
713
|
+
.poetry span[class^='indent-']{
|
714
|
+
margin: 0; /* reset browsers default margin styles*/
|
715
|
+
}
|
716
|
+
|
717
|
+
/* 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 */
|
718
|
+
|
719
|
+
.indent-1 {
|
720
|
+
font-style: normal;
|
721
|
+
padding-left: 1rem;
|
722
|
+
}
|
723
|
+
|
724
|
+
.indent-2 {
|
725
|
+
font-style: normal;
|
726
|
+
padding-left: 2rem;
|
727
|
+
}
|
728
|
+
|
729
|
+
.indent-3 {
|
730
|
+
font-style: normal;
|
731
|
+
padding-left: 3rem;
|
732
|
+
}
|
733
|
+
|
734
|
+
.indent-4 {
|
735
|
+
font-style: normal;
|
736
|
+
padding-left: 4rem;
|
737
|
+
}
|
738
|
+
|
739
|
+
.indent-5 {
|
740
|
+
font-style: normal;
|
741
|
+
padding-left: 5rem;
|
742
|
+
}
|
743
|
+
|
744
|
+
.indent-6 {
|
745
|
+
font-style: normal;
|
746
|
+
padding-left: 6rem;
|
747
|
+
}
|
748
|
+
|
749
|
+
.indent-7 {
|
750
|
+
font-style: normal;
|
751
|
+
padding-left: 7rem;
|
752
|
+
}
|
753
|
+
|
754
|
+
.indent-8 {
|
755
|
+
font-style: normal;
|
756
|
+
padding-left: 8rem;
|
757
|
+
}
|
758
|
+
|
759
|
+
.indent-9 {
|
760
|
+
font-style: normal;
|
761
|
+
padding-left: 9rem;
|
762
|
+
}
|
763
|
+
|
764
|
+
.indent-10 {
|
765
|
+
font-style: normal;
|
766
|
+
padding-left: 10rem;
|
767
|
+
}
|
768
|
+
|
769
|
+
.poetry .citation {
|
770
|
+
font-style: italic;
|
771
|
+
font-size: .9rem;
|
772
|
+
color: gray;
|
773
|
+
}
|
774
|
+
|
775
|
+
/* Footnotes styles */
|
776
|
+
|
777
|
+
sup, sub {
|
778
|
+
vertical-align: baseline;
|
779
|
+
position: relative;
|
780
|
+
top: -0.4em;
|
781
|
+
}
|
782
|
+
|
783
|
+
sub {
|
784
|
+
top: 0.4em;
|
785
|
+
}
|
786
|
+
|
787
|
+
.footnotes {
|
788
|
+
line-height: 1.2rem;
|
789
|
+
font-size: 0.9rem;
|
790
|
+
letter-spacing: .01rem;
|
791
|
+
}
|
792
|
+
|
793
|
+
.footnotes .foot-block {
|
794
|
+
display: inline-block;
|
795
|
+
padding: 0 4rem 0 2rem;
|
796
|
+
margin-bottom: .8rem;
|
797
|
+
font-style: italic;
|
798
|
+
}
|
799
|
+
|
800
|
+
a.footnote {
|
801
|
+
padding-left: .1rem;
|
802
|
+
font-size: .66rem;
|
803
|
+
}
|
804
|
+
|
805
|
+
/*Bibliography styles*/
|
806
|
+
|
807
|
+
ol.bibliography {
|
808
|
+
list-style-type:none;
|
809
|
+
padding-left: 1rem;
|
810
|
+
text-indent: -1rem;
|
811
|
+
}
|
812
|
+
|
813
|
+
|
814
|
+
|