tufte-pandoc-jekyll 0.9.0 → 0.10.0

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: c1372055a4aeee106ee0cb6fc17b4bfc60a743bf
4
- data.tar.gz: 91fd56252cfc41c246c0dc8c4793a78e9a38eff3
3
+ metadata.gz: 9f37916ca1be4ffec71802fcc9581e47fcf657e5
4
+ data.tar.gz: 1dc985130f582c9cd6618e70d1a3d6609f16052d
5
5
  SHA512:
6
- metadata.gz: 6f380ee6ef553f58720143a326ba85be30b02496e3cdffb76e638fea38c8824a98c796215eec786d7a239eee15417923791334674dd12692d65a9c9e18d13392
7
- data.tar.gz: 91fbb94f882bc52b60f9a2d11c3b65c8249968ce61f65df94c3c4159de25a6deb207c3b400df2ef07377ec9cc5066fafd36b70d59368ac061fea32dc383ce60b
6
+ metadata.gz: 8069e582f32d46ec78eec5d6e868ab016568bba6e0da911892d7b1b7a8c7f943e3567c8533827a04f703f130b952f97dfb076ee82cb9ac2db46688144295ad4e
7
+ data.tar.gz: 4ed4a322ff0b054ee70c35a0c190f2c53de706b13e1daaed763f0d0b674bac4a01beecea40f634bc7eee65799833bfddd3f9f9b0ddd0d23e3b5cc3d8bee48e0f
@@ -1,5 +1,12 @@
1
1
  /* The default x-height for code is slightly too large in side notes */
2
- .marginnote code, .sidenote code { font-size: 0.9rem; }
2
+ .marginnote code,
3
+ .sidenote code {
4
+ font-size: 0.9rem;
5
+ }
6
+ /* ... and slightly to small in body text. */
7
+ code {
8
+ font-size: 1.1rem;
9
+ }
3
10
 
4
11
  /* Make "Home" link small */
5
12
  p.signoff { font-size: 1.2rem; }
@@ -13,9 +20,8 @@ section > ol,
13
20
  article > ol,
14
21
  section > ul,
15
22
  article > ul {
16
- width: 45%;
23
+ width: 50%;
17
24
  -webkit-padding-start: 5%;
18
- -webkit-padding-end: 5%;
19
25
  }
20
26
 
21
27
  @media (max-width: 760px) {
@@ -23,7 +29,7 @@ article > ul {
23
29
  article > ol,
24
30
  section > ul,
25
31
  article > ul {
26
- width: 85%;
32
+ width: 90%;
27
33
  }
28
34
  }
29
35
 
@@ -35,3 +41,8 @@ article {
35
41
  -ms-hyphens: auto;
36
42
  hyphens: auto;
37
43
  }
44
+ /* Sidenotes end up with a bunch of hyphens because they're so small */
45
+ .sidenote,
46
+ .marginnote {
47
+ hyphens: none;
48
+ }
data/_sass/_tufte.scss CHANGED
@@ -61,10 +61,10 @@ article { position: relative;
61
61
  section { padding-top: 1rem;
62
62
  padding-bottom: 1rem; }
63
63
 
64
- p, ol, ul { font-size: 1.4rem; }
64
+ p, ol, ul { font-size: 1.4rem;
65
+ line-height: 2rem; }
65
66
 
66
- p { line-height: 2rem;
67
- margin-top: 1.4rem;
67
+ p { margin-top: 1.4rem;
68
68
  margin-bottom: 1.4rem;
69
69
  padding-right: 0;
70
70
  vertical-align: baseline; }
@@ -91,11 +91,15 @@ blockquote footer { width: 55%;
91
91
  font-size: 1.1rem;
92
92
  text-align: right; }
93
93
 
94
- section>ol, section>ul { width: 45%;
95
- -webkit-padding-start: 5%;
96
- -webkit-padding-end: 5%; }
94
+ section > p, section > footer, section > table { width: 55%; }
97
95
 
98
- li { padding: 0.5rem 0; }
96
+ /* 50 + 5 == 55, to be the same width as paragraph */
97
+ section > ol, section > ul { width: 50%;
98
+ -webkit-padding-start: 5%; }
99
+
100
+ li { padding: 0; }
101
+
102
+ li:not(:first-child) { margin-top: 0.25rem; }
99
103
 
100
104
  figure { padding: 0;
101
105
  border: 0;
@@ -173,8 +177,6 @@ blockquote .sidenote, blockquote .marginnote { margin-right: -82%;
173
177
  min-width: 59%;
174
178
  text-align: left; }
175
179
 
176
- p, footer, table { width: 55%; }
177
-
178
180
  div.fullwidth, table.fullwidth { width: 100%; }
179
181
 
180
182
  div.table-wrapper { overflow-x: auto;
@@ -226,7 +228,7 @@ label.margin-toggle:not(.sidenote-number) { display: none; }
226
228
  @media (max-width: 760px) { body { width: 84%;
227
229
  padding-left: 8%;
228
230
  padding-right: 8%; }
229
- p, footer { width: 100%; }
231
+ section > p, section > footer, section > table { width: 100%; }
230
232
  pre.code { width: 97%; }
231
233
  section > ol { width: 90%; }
232
234
  section > ul { width: 90%; }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tufte-pandoc-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Zimmerman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-04 00:00:00.000000000 Z
11
+ date: 2017-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll-pandoc