ed. 0.1.0 → 0.1.1

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
2
  SHA1:
3
- metadata.gz: aa62f1b302ccc6ba845091ae64e8ae604f45a4fc
4
- data.tar.gz: c0efd3b2a5c5a43a1a6173f9556a7bcdcca8f787
3
+ metadata.gz: 78048831d357934b0a664c4f49e35008d9ce7c49
4
+ data.tar.gz: 987819bc6c83786bc9706f4d7deac28bdfff9064
5
5
  SHA512:
6
- metadata.gz: 922620013dc8d2f96e94653146bb532273c8e0cec5c219ca000d7b5cfd8b4fcb3952ab92e80a19259627a05f096ba805ff07730af6abb6639d0b9ee8926bfcae
7
- data.tar.gz: d4bafb5cb6faa206cb1df60a2c1715b544486d353cae9341a3b56ddba99dbc054cee4022666a2b971387195fcb1972f96312324f29aa88eeaa617881c7c3e0af
6
+ metadata.gz: ac8180456fa0316f4b37877602efa43ace80340261945bd0fecce51c64aa879ae64cf1df78a8fb7ef242f9a02534b3328f1bea6915146f683758ddc07c1825e2
7
+ data.tar.gz: a8fa3313e4da12ab36240df696807378d5f58af257d5610c2d66dfeada490fca0095bcdd47db34755ccef9b27b200c5f21588283ff3467c73e4f412384699abe
data/Gemfile ADDED
@@ -0,0 +1,2 @@
1
+ source "https://rubygems.org"
2
+ gemspec
@@ -28,7 +28,7 @@
28
28
  <!-- The code below is used for manually entered links -->
29
29
 
30
30
 
31
- <a class="sidebar-nav-item" href="https://cemmento.org/{{ site.url }}{{ site.baseurl }}{{page.url}}/" data-proofer-ignore>Annotate me</a>
31
+ <a class="sidebar-nav-item" href="https://via.hypothes.is/{{ site.url }}{{ site.baseurl }}{{page.url}}/" data-proofer-ignore>Annotate me</a>
32
32
 
33
33
  <a class="sidebar-nav-item" href="https://github.com/elotroalex/ed" target="_blank">GitHub project</a>
34
34
  </nav>
@@ -3,6 +3,6 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div class="drama">
6
- <h1 class="post-title">{{ page.title }}</h1>
6
+ <h1 class="text-title">{{ page.title }}</h1>
7
7
  {{ content }}
8
8
  </div>
@@ -3,7 +3,7 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div class="narrative">
6
- <h1 class="post-title">{{ page.title }}</h1>
6
+ <h1 class="text-title">{{ page.title }}</h1>
7
7
  <p class="citation"> by {{ page.author }}</p>
8
8
  {{ content }}
9
9
  </div>
@@ -3,6 +3,7 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div class="poetry">
6
- <h1 class="post-title">{{ page.title }}</h1>
6
+ <h1 class="text-title">{{ page.title }}</h1>
7
+ <p class="byline">{{ page.author }}</p>
7
8
  {{ content }}
8
9
  </div>
@@ -3,6 +3,6 @@ layout: default
3
3
  ---
4
4
 
5
5
  <div class="post">
6
- <h1 class="post-title">{{ page.title }}</h1>
6
+ <h1 class="text-title">{{ page.title }}</h1>
7
7
  {{ content }}
8
8
  </div>
@@ -5,12 +5,32 @@
5
5
  * | \ | ` \
6
6
  * /_______ //_______ /
7
7
  * \/ \/
8
- * Designed, built, and released under an MIT license by @elotroalex.
8
+ * Designed, built, and released under an MIT license by @elotroalex and brill friends. See credits for more info.
9
9
  * Based on the Poole and Lanyon theme by @mdo. Learn more at
10
10
  * https://github.com/elotroalex/ed.
11
11
  */
12
12
 
13
13
 
14
+ /*
15
+ * Common Variables
16
+ *
17
+ * Feel free to change!
18
+ *
19
+ */
20
+
21
+ $main-font: "Palatino Linotype", "Book Antiqua", Palatino, serif;
22
+
23
+ $heading-font: sans-serif;
24
+ $heading-color: #404040;
25
+
26
+ $text-color: #454545;
27
+ $regular-font-size: 20px;
28
+
29
+ $link-color: #841212;
30
+
31
+ /* To apply a different color scheme to the whole scroll down to the themes section for instructions */
32
+
33
+
14
34
  /*
15
35
  * General
16
36
  *
@@ -31,19 +51,19 @@ body {
31
51
  }
32
52
 
33
53
  html {
34
- font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
54
+ font-family: $main-font;
35
55
  font-size: 16px;
36
56
  line-height: 1.5;
37
57
  }
38
58
 
39
59
  @media (min-width: 38em) {
40
60
  html {
41
- font-size: 20px;
61
+ font-size: $regular-font-size;
42
62
  }
43
63
  }
44
64
 
45
65
  body {
46
- color: #454545;
66
+ color: $text-color;
47
67
  background-color: #fff;
48
68
  -webkit-text-size-adjust: 100%;
49
69
  -ms-text-size-adjust: 100%;
@@ -91,17 +111,13 @@ body {
91
111
  }
92
112
  }
93
113
 
94
- /* links */
114
+ /* Links */
95
115
 
96
- a, .post-title a {
97
- color: #841212;
116
+ a, .text-title a {
117
+ color: $link-color;
98
118
  text-decoration: none;
99
119
  }
100
120
 
101
- a strong {
102
- color: inherit;
103
- }
104
-
105
121
  /* `:focus` is linked to `:hover` for basic accessibility */
106
122
  a:hover,
107
123
  a:focus {
@@ -111,11 +127,10 @@ a:focus {
111
127
  /* Headings */
112
128
 
113
129
  h1, h2, h3, h4, h5, h6 {
114
- font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
130
+ font-family: $heading-font;
115
131
  margin-bottom: .5rem;
116
- font-weight: 400;
117
- font-size: 1.5rem;
118
- color: #404040;
132
+ font-weight: 300;
133
+ color: $heading-color;
119
134
  letter-spacing: -.025rem;
120
135
  line-height: 1.25;
121
136
  text-rendering: optimizeLegibility;
@@ -125,7 +140,7 @@ h1 {
125
140
  font-size: 1.4rem;
126
141
  }
127
142
 
128
- h1.post-title {
143
+ h1.text-title {
129
144
  font-size: 1.4rem;
130
145
  }
131
146
 
@@ -147,35 +162,26 @@ h4, h5, h6 {
147
162
  margin-top: 1rem;
148
163
  }
149
164
 
165
+
150
166
  /* Body text */
151
167
  p {
152
168
  margin-top: 0;
153
169
  margin-bottom: 1rem;
154
170
  }
155
171
 
156
- strong {
157
- color: #303030;
158
- }
159
-
160
172
 
161
173
  /* Lists */
162
174
  ul {
163
175
  list-style: circle;
164
176
  }
165
177
 
166
- ul, ol, dl {
178
+ ul, ol {
167
179
  margin-top: 0;
168
180
  margin-bottom: 1rem;
169
181
  }
170
182
 
171
- dt {
172
- font-weight: bold;
173
- }
174
- dd {
175
- margin-bottom: .5rem;
176
- }
177
183
 
178
- /* Misc */
184
+ /* Horizontal ruler */
179
185
 
180
186
  hr {
181
187
  margin-top: 60px;
@@ -186,30 +192,21 @@ hr {
186
192
  border-bottom: 1px solid #fff;
187
193
  }
188
194
 
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
195
 
200
196
  /* Search Highlihting */
201
197
 
202
198
  mark {
203
199
  color: white;
204
- background-color: #841212;
200
+ background-color: $link-color;
205
201
  }
206
202
 
203
+
207
204
  /* Quotes */
208
205
 
209
206
  blockquote {
210
207
  padding: 0rem 1.5rem 0rem 2rem;
211
208
  margin: 0 0 20px 0;
212
- color: #454545;
209
+ color: $text-color;
213
210
  border-left: none;
214
211
  font-style: italic;
215
212
  }
@@ -225,7 +222,18 @@ blockquote p:last-child {
225
222
  }
226
223
  }
227
224
 
225
+ /*
226
+ * To add an attribution make sure to make a
227
+ * line with the attribution class
228
+ */
228
229
 
230
+ li.attribution {
231
+ text-align: right;
232
+ list-style: none;
233
+ padding: 0rem 1.5rem 0rem 2rem;
234
+ margin: 0 0 20px 0;
235
+ color: $text-color;
236
+ }
229
237
 
230
238
  /* Images */
231
239
 
@@ -253,43 +261,19 @@ tbody tr:nth-child(odd) th {
253
261
  background-color: #f9f9f9;
254
262
  }
255
263
 
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
264
 
282
265
  /*
283
266
  * Masthead
284
267
  *
285
268
  * Super small header above the content for site name and short description.
269
+ *
286
270
  */
287
271
 
288
272
  .masthead {
289
273
  margin-bottom: 3rem;
290
274
  text-align: center;
291
- padding-top: .8rem;
292
- padding-bottom: .8rem;
275
+ padding-top: 26px;
276
+ padding-bottom: 1rem;
293
277
  border-bottom: 1px solid #eee;
294
278
  }
295
279
 
@@ -297,22 +281,23 @@ tbody tr:nth-child(odd) th {
297
281
  margin-top: 0;
298
282
  margin-bottom: 0;
299
283
  color: #505050;
300
- line-height: 1.5rem;
284
+ line-height: .777em;
301
285
  }
302
286
  .masthead-title a {
303
- color: #841212;
287
+ color: $link-color;
304
288
  }
305
289
 
306
290
  .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;
291
+ font-family: $main-font;
292
+ font-size: .88rem;
293
+ font-weight: 300;
294
+ color: $text-color;
295
+ letter-spacing: .05rem;
296
+ font-family: $heading-font;
312
297
  }
313
298
 
314
299
  h3.masthead-title {
315
- font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
300
+ font-family: $main-font;
316
301
  font-size: 1.8rem;
317
302
  margin-top: 2px;
318
303
  }
@@ -322,9 +307,23 @@ h3.masthead-title {
322
307
  .masthead-title {
323
308
  text-align: center;
324
309
  }
310
+
325
311
  .masthead-title small {
326
312
  display: none;
327
313
  }
314
+
315
+ h3.masthead-title {
316
+ margin-left: 15%;
317
+ margin-right: 15%;
318
+ }
319
+ }
320
+
321
+ @media (max-width: 320px) {
322
+ h3.masthead-title {
323
+ margin-top: 2em;
324
+ margin-left: 0%;
325
+ margin-right: 0%;
326
+ }
328
327
  }
329
328
 
330
329
  /* Page and Posts */
@@ -334,7 +333,7 @@ h3.masthead-title {
334
333
  }
335
334
 
336
335
  .page-title {
337
- color: #404040;
336
+ color: $heading-color;
338
337
  margin-top: 0;
339
338
  }
340
339
 
@@ -379,7 +378,7 @@ h3.masthead-title {
379
378
  /* Sidebar content */
380
379
 
381
380
  .sidebar {
382
- background-color: #841212;
381
+ background-color: $link-color;
383
382
  }
384
383
 
385
384
  .sidebar a {
@@ -766,22 +765,25 @@ div.toc {
766
765
  padding-left: 10rem;
767
766
  }
768
767
 
769
- .poetry .citation {
770
- font-style: italic;
771
- font-size: .9rem;
772
- color: gray;
768
+ .poetry .byline {
769
+ font-style: italic;
770
+ font-weight: 300;
771
+ letter-spacing: 0;
772
+ margin-top: -.5rem;
773
773
  }
774
774
 
775
+
775
776
  /* Footnotes styles */
776
777
 
777
- sup, sub {
778
- vertical-align: baseline;
779
- position: relative;
780
- top: -0.4em;
778
+ sub, sup {
779
+ font-size: 75%;
780
+ line-height: 0;
781
+ position: relative;
782
+ vertical-align: baseline;
781
783
  }
782
784
 
783
- sub {
784
- top: 0.4em;
785
+ sup {
786
+ top: -0.5em;
785
787
  }
786
788
 
787
789
  .footnotes {
@@ -810,5 +812,60 @@ ol.bibliography {
810
812
  text-indent: -1rem;
811
813
  }
812
814
 
815
+ /* Diplomatic editions */
816
+
817
+
818
+ .add {
819
+ color:#288828;
820
+ font-style: italic;
821
+ }
822
+
823
+ .delete {
824
+ text-decoration: line-through;
825
+ color: #AA3232;
826
+ }
813
827
 
828
+ .underline {
829
+ text-decoration: underline;
830
+ }
831
+
832
+
833
+ /* Line layouts for prose-poetry and theater
834
+ *
835
+ * To use these layouts you need to add the classes to
836
+ * your markdown or HTML lines. (ex. "- {:.centered} hello!")
837
+ *
838
+ */
839
+
840
+
841
+ li.centered {
842
+ text-align: center;
843
+ }
844
+
845
+ li.speaker, li.speakerGroup {
846
+ text-align: center;
847
+ padding-top: 1.2em;
848
+ }
849
+
850
+ li.speakerGroup {
851
+ margin-bottom: -1.6em;
852
+ }
853
+
854
+ li.attribution {
855
+ text-align: right;
856
+ list-style: none;
857
+ padding: 0rem 1.5rem 0rem 2rem;
858
+ margin: 0 0 20px 0;
859
+ color: #454545;
860
+ }
861
+
862
+ li.prose {
863
+ list-style-position: inside;
864
+ margin-left: -1em;
865
+ text-indent: 0;
866
+ }
867
+
868
+ li.prose-indent {
869
+ text-indent: 2rem;
870
+ }
814
871