pandoc-markdown-jekyll-theme 0.9.3 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f7cf302980a2cb94ba8579981495d862801d253eda15898b3b34b6510639e53f
4
- data.tar.gz: 29861883493a62e313cc66eb2b013b17b22850d261870ef0a5d86e5be1a471fa
3
+ metadata.gz: 326c7721b152f9ce87fb5160ed82c2849fd3c60166e00a5302d450eeb6cbb03c
4
+ data.tar.gz: c08c53c12668fc7dd007e354a9505788d0ddbee2f4047b9b74f35d071d0d4865
5
5
  SHA512:
6
- metadata.gz: 7e895f7f45d2244ea81e742fc5903f4874d9dedfeadc5d5d38adbaf71e9bf744158d14421960be6613cff7386266cdfa344c541194082d633bde3d77f6e4671a
7
- data.tar.gz: 5fac71d15bb318023fb23765c3563fc9b8ea0d1a61e5659e91c6199de876071ff3803a5eb27c6ca49eb31d87f8f1613969f6388efe732a555700c12280c547d8
6
+ metadata.gz: 48c7f643e608ca18cc09d1a0b478f88145f055687bfae44e5b36abcebb10fe7020915effcd1b91a23d4586450f03521fd2c62dfe2b7ddd8c6b8ad9b6bbb990ae
7
+ data.tar.gz: 2f6de09023acf1fa21ceb452273694ae76929046ca7a16cc5dbd698d9d33ee929eb943168b1fa5b35b3681c57bfc5e89d1c5fb5fbcf886b01717506eb8af42d3
@@ -9,12 +9,7 @@
9
9
 
10
10
  {{ content }}
11
11
 
12
- {% if page.layout != 'index' -%}
13
- <footer>
14
- <p class="signoff"><a href="{{ site.baseurl }}/">← Return home</a></p>
15
- </footer>
16
- {% endif -%}
17
-
12
+ {% include footer.html %}
18
13
  {% include enable_checkboxes.html %}
19
14
  {% include after.html %}
20
15
  </body>
@@ -0,0 +1,5 @@
1
+ {% if page.layout != 'index' -%}
2
+ <footer>
3
+ <p class="signoff"><a href="{{ site.baseurl }}/">← Return home</a></p>
4
+ </footer>
5
+ {% endif -%}
data/assets/css/theme.css CHANGED
@@ -4,6 +4,8 @@
4
4
  :root {
5
5
  /* --- Colors --- */
6
6
 
7
+ --background-color: #fff;
8
+
7
9
  --color-text: #1b2733;
8
10
  --color-text-secondary: #637282;
9
11
  --color-link: #0070e0;
@@ -28,6 +30,7 @@
28
30
  --font-family-prose: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
29
31
  --font-family-heading: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;
30
32
  --font-family-code: Menlo, monospace;
33
+ --side-note-number-font-family: var(--font-family-prose);
31
34
 
32
35
  --line-height: 26px;
33
36
  --font-size: 17px;
@@ -86,6 +89,7 @@
86
89
 
87
90
  --table-line-height: 21px;
88
91
  --table-font-size: 14px;
92
+ --table-code-font-size: 13px;
89
93
 
90
94
  --nav-toc-font-size: 12px;
91
95
  --nav-toc-code-font-size: 12px;
@@ -127,6 +131,14 @@ body {
127
131
  padding: 0;
128
132
  padding-top: var(--title-margin-top);
129
133
  width: 100%;
134
+
135
+ background-color: var(--background-color);
136
+ }
137
+
138
+ @media print {
139
+ body {
140
+ background-color: initial;
141
+ }
130
142
  }
131
143
 
132
144
  /* }}} */
@@ -168,9 +180,11 @@ nav#TOC label,
168
180
  label.margin-toggle:not(.sidenote-number),
169
181
  .sidenote-number:after,
170
182
  .sidenote:before,
183
+ .footnote-ref sup,
171
184
  sup {
172
185
  font-size: var(--side-note-font-size);
173
186
  font-weight: 700;
187
+ font-family: var(--side-note-number-font-family);
174
188
  -webkit-font-feature-settings: "tnum" 1;
175
189
  font-feature-settings: "tnum" 1;
176
190
 
@@ -393,7 +407,8 @@ span.mark.purple, mark.purple { background-color: var(--highlight-purple); }
393
407
  margin-bottom: 0;
394
408
  }
395
409
  .signoff {
396
- margin: calc(4 * var(--line-height)) 0;
410
+ margin-top: calc(4 * var(--line-height));
411
+ margin-bottom: calc(4 * var(--line-height));
397
412
  }
398
413
 
399
414
  /* Pandoc utility classes */
@@ -401,10 +416,16 @@ span.smallcaps{ font-variant: small-caps; }
401
416
  span.underline{ text-decoration: underline; }
402
417
 
403
418
  .katex-display {
404
- background: white;
419
+ background: var(--background-color);
405
420
  transform: translateZ(0px);
406
421
  }
407
422
 
423
+ @media print {
424
+ .katex-display {
425
+ background-color: initial;
426
+ }
427
+ }
428
+
408
429
  /* }}} */
409
430
  /* ----- Code ---------------------------------------------------------- {{{ */
410
431
 
@@ -664,7 +685,21 @@ table {
664
685
  width: 100%;
665
686
 
666
687
  /* Solid background to occlude table of contents */
667
- background: white;
688
+ background-color: var(--background-color);
689
+ }
690
+
691
+ @media print {
692
+ table {
693
+ background-color: initial;
694
+ }
695
+ }
696
+
697
+ table code {
698
+ font-size: var(--table-code-font-size);
699
+ }
700
+
701
+ table pre code {
702
+ font-size: inherit;
668
703
  }
669
704
 
670
705
  .wide table {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandoc-markdown-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Zimmerman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-10 00:00:00.000000000 Z
11
+ date: 2021-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll-pandoc
@@ -78,6 +78,7 @@ files:
78
78
  - _includes/before.html
79
79
  - _includes/default.html
80
80
  - _includes/enable_checkboxes.html
81
+ - _includes/footer.html
81
82
  - _includes/head.html
82
83
  - _includes/header.html
83
84
  - _includes/math.html