pandoc-markdown-jekyll-theme 0.9.5 → 0.9.8

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: e472cee1ec64ac9538341192dc14e8a946703d99e9dedfd9ea6ee0580e76c46e
4
- data.tar.gz: d818665109de31c2d9ac3615c75828d63eb4450de89bc74dd8e97d0a3cb5b745
3
+ metadata.gz: 8766085fadcd7c55c6d69871eb4f370f0319a21183eeb7e283f1c955f2b75473
4
+ data.tar.gz: 065d3a2075abfb7c5886fc29280f6dda27c8cb3da65d172e1895849e7cefd500
5
5
  SHA512:
6
- metadata.gz: 188dd9ba83d9a81450eea1807384d7d0f843a8b32275d6c8738a14be7f37f98b69f4d38edd827e10cb87fa5d6fcfff4dff09dbba2dd06e0f125049821b7f5c6f
7
- data.tar.gz: 4dad9fa5cd8c9944b121096dce52c284eb0ca1e704655953f247be22aa3591b7616b66e4bde5e4433fe9d4f633c9603f0554f2ae1226b994b05d1795bd864fb6
6
+ metadata.gz: ec11cd3469400a3b756cb3ef5a6c32e2b5430b15d3bc926875ab7438fa30ef6dadb6920755bae614ac57d62f3f6d52e4a35e14fbb0824ae51d6a4ebea7de4881
7
+ data.tar.gz: 95e64e8a889f1136ee5b9912d48e1139ca87b38558713d456ad464eaf586a92733932250a72318a290618a974d087263677ca739cd09fe133ab55701fdfff2ca
@@ -37,3 +37,9 @@ code span.an { color: #93a1a1; font-weight: normal; font-style: italic; } /* Ann
37
37
  code span.cv { color: #93a1a1; font-weight: normal; font-style: italic; } /* CommentVar */
38
38
  code span.in { color: #93a1a1; font-weight: normal; font-style: italic; } /* Information */
39
39
  a.sourceLine::before { text-decoration: none; }
40
+
41
+ /* pandoc diff mode */
42
+ code.diff span.kw { color: #b58900; font-weight: normal; font-style: normal; } /* --- lines */
43
+ code.diff span.dt { color: #268bd2; font-weight: normal; font-style: normal; } /* +++ lines, @@ ... @@ lines */
44
+ code.diff span.st { color: #dc322f; font-weight: normal; font-style: normal; } /* - lines */
45
+ code.diff span.va { color: #859900; font-weight: normal; font-style: normal; } /* + lines */
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
 
@@ -402,10 +416,16 @@ span.smallcaps{ font-variant: small-caps; }
402
416
  span.underline{ text-decoration: underline; }
403
417
 
404
418
  .katex-display {
405
- background: white;
419
+ background: var(--background-color);
406
420
  transform: translateZ(0px);
407
421
  }
408
422
 
423
+ @media print {
424
+ .katex-display {
425
+ background-color: initial;
426
+ }
427
+ }
428
+
409
429
  /* }}} */
410
430
  /* ----- Code ---------------------------------------------------------- {{{ */
411
431
 
@@ -665,7 +685,21 @@ table {
665
685
  width: 100%;
666
686
 
667
687
  /* Solid background to occlude table of contents */
668
- 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;
669
703
  }
670
704
 
671
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.5
4
+ version: 0.9.8
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-11 00:00:00.000000000 Z
11
+ date: 2022-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll-pandoc
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubygems_version: 3.0.3
110
+ rubygems_version: 3.1.4
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: A Jekyll theme based on jez/pandoc-markdown-css-theme