pandoc-markdown-jekyll-theme 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/assets/css/theme.css +35 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d7221bfe0e886cc3553b4c60d18bc24ab9b7e5ca59690119c8c7d5ce6bea9b2
4
- data.tar.gz: a940179d74607251a8fd40a527f630c921c400bf7b91fb593d74bdbace2cb268
3
+ metadata.gz: 326c7721b152f9ce87fb5160ed82c2849fd3c60166e00a5302d450eeb6cbb03c
4
+ data.tar.gz: c08c53c12668fc7dd007e354a9505788d0ddbee2f4047b9b74f35d071d0d4865
5
5
  SHA512:
6
- metadata.gz: 43f82edb328bc1e0c3e476785969b4e1a333681742631a74fe11828c64aa2b374feda3ab393f911066ae9be7b18190e38adc5eaafdaec07a685929217b0da81c
7
- data.tar.gz: f75092b564900d1b38aa8a1930e16557160159e705199cac03f5ad5c846bbf6b5d1611757ef0e43ecbaf232267cc5638cc6f632a1589af16d32c677acf17f390
6
+ metadata.gz: 48c7f643e608ca18cc09d1a0b478f88145f055687bfae44e5b36abcebb10fe7020915effcd1b91a23d4586450f03521fd2c62dfe2b7ddd8c6b8ad9b6bbb990ae
7
+ data.tar.gz: 2f6de09023acf1fa21ceb452273694ae76929046ca7a16cc5dbd698d9d33ee929eb943168b1fa5b35b3681c57bfc5e89d1c5fb5fbcf886b01717506eb8af42d3
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
  /* }}} */
@@ -172,6 +184,7 @@ label.margin-toggle:not(.sidenote-number),
172
184
  sup {
173
185
  font-size: var(--side-note-font-size);
174
186
  font-weight: 700;
187
+ font-family: var(--side-note-number-font-family);
175
188
  -webkit-font-feature-settings: "tnum" 1;
176
189
  font-feature-settings: "tnum" 1;
177
190
 
@@ -403,10 +416,16 @@ span.smallcaps{ font-variant: small-caps; }
403
416
  span.underline{ text-decoration: underline; }
404
417
 
405
418
  .katex-display {
406
- background: white;
419
+ background: var(--background-color);
407
420
  transform: translateZ(0px);
408
421
  }
409
422
 
423
+ @media print {
424
+ .katex-display {
425
+ background-color: initial;
426
+ }
427
+ }
428
+
410
429
  /* }}} */
411
430
  /* ----- Code ---------------------------------------------------------- {{{ */
412
431
 
@@ -666,7 +685,21 @@ table {
666
685
  width: 100%;
667
686
 
668
687
  /* Solid background to occlude table of contents */
669
- 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;
670
703
  }
671
704
 
672
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.6
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-16 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