pandoc-markdown-jekyll-theme 0.9.6 → 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
  SHA256:
3
- metadata.gz: 0d7221bfe0e886cc3553b4c60d18bc24ab9b7e5ca59690119c8c7d5ce6bea9b2
4
- data.tar.gz: a940179d74607251a8fd40a527f630c921c400bf7b91fb593d74bdbace2cb268
3
+ metadata.gz: f9d2fb8f7ee6db1d53f4394eed86108a9d388c6e9f98416b9efec0b75eeeda98
4
+ data.tar.gz: c9c9cdd61b344d2bdbd2abf87d6165152ed53fd9415d0b9ccd2ef003b629fe94
5
5
  SHA512:
6
- metadata.gz: 43f82edb328bc1e0c3e476785969b4e1a333681742631a74fe11828c64aa2b374feda3ab393f911066ae9be7b18190e38adc5eaafdaec07a685929217b0da81c
7
- data.tar.gz: f75092b564900d1b38aa8a1930e16557160159e705199cac03f5ad5c846bbf6b5d1611757ef0e43ecbaf232267cc5638cc6f632a1589af16d32c677acf17f390
6
+ metadata.gz: aac55863921358f87bf5a7da217bb2867ad424d1fdb0c8a12b6a9b56f2b797c3b1cb7e667bccf854e1490391f40a77b1fca4f8cba581d7486ba5ecb7ba6b2b76
7
+ data.tar.gz: 42413bdb869513ac38ae8a272f3b86d8d927dcc1887448bf780d7440532e0ed700c473870818bf932745c9d00aabfc85fc608d211b094bd531e4df1967595007
@@ -1,39 +1,77 @@
1
+ :root {
2
+ --solarized-base03: #002b36;
3
+ --solarized-base02: #073642;
4
+ --solarized-base01: #586e75;
5
+ --solarized-base00: #657b83;
6
+ --solarized-base0: #839496;
7
+ --solarized-base1: #93a1a1;
8
+ --solarized-base2: #eee8d5;
9
+ --solarized-base3: #fdf6e3;
10
+ --solarized-yellow: #b58900;
11
+ --solarized-orange: #cb4b16;
12
+ --solarized-red: #dc322f;
13
+ --solarized-magenta: #d33682;
14
+ --solarized-violet: #6c71c4;
15
+ --solarized-blue: #268bd2;
16
+ --solarized-cyan: #2aa198;
17
+ --solarized-green: #859900;
18
+ }
19
+
20
+ @media (prefers-color-scheme: dark) {
21
+ :root {
22
+ --solarized-base03: #fdf6e3;
23
+ --solarized-base02: #eee8d5;
24
+ --solarized-base01: #93a1a1;
25
+ --solarized-base00: #839496;
26
+ --solarized-base0: #657b83;
27
+ --solarized-base1: #586e75;
28
+ --solarized-base2: #073642;
29
+ --solarized-base3: #002b36;
30
+ }
31
+ }
32
+
1
33
  pre, pre.numberSource {
2
- background: #fdf6e3;
3
- /* border: 1px solid #eee8d5; */
4
- --color-code-highlight-bg: #eee8d5;
34
+ background: var(--solarized-base3);
35
+ /* border: 1px solid var(--solarized-base2); */
36
+ --color-code-highlight-bg: var(--solarized-base2);
5
37
  }
6
- pre code { color: #657b83; }
38
+ pre code { color: var(--solarized-base00); }
7
39
  pre.numberSource > code.sourceCode > span > a:first-child::before {
8
- color: #93a1a1;
40
+ color: var(--solarized-base1);
9
41
  }
10
- code span.kw { color: #859900; font-weight: normal; font-style: normal; } /* Keyword */
11
- code span.dt { color: #b58900; font-weight: normal; font-style: normal; } /* DataType */
12
- code span.dv { color: #2aa198; font-weight: normal; font-style: normal; } /* DecVal */
13
- code span.bn { color: #2aa198; font-weight: normal; font-style: normal; } /* BaseN */
14
- code span.fl { color: #2aa198; font-weight: normal; font-style: normal; } /* Float */
15
- code span.ch { color: #2aa198; font-weight: normal; font-style: normal; } /* Char */
16
- code span.st { color: #2aa198; font-weight: normal; font-style: normal; } /* String */
17
- code span.co { color: #93a1a1; font-weight: normal; font-style: italic; } /* Comment */
18
- code span.ot { color: #268bd2; font-weight: normal; font-style: normal; } /* Other */
19
- code span.al { color: #dc322f; font-weight: normal; font-style: normal; } /* Alert */
20
- code span.fu { color: #268bd2; font-weight: normal; font-style: normal; } /* Function */
21
- code span.er { color: #dc322f; font-weight: normal; font-style: normal; } /* Error */
22
- code span.wa { color: #cb4b16; font-weight: normal; font-style: italic; } /* Warning */
23
- code span.cn { color: #2aa198; font-weight: normal; font-style: normal; } /* Constant */
24
- code span.sc { color: #dc322f; font-weight: normal; font-style: normal; } /* SpecialChar */
25
- code span.vs { color: #2aa198; font-weight: normal; font-style: normal; } /* VerbatimString */
26
- code span.ss { color: #dc322f; font-weight: normal; font-style: normal; } /* SpecialString */
27
- code span.im { color: #657b83; font-weight: normal; font-style: normal; } /* Import */
28
- code span.va { color: #268bd2; font-weight: normal; font-style: normal; } /* Variable */
29
- code span.cf { color: #859900; font-weight: normal; font-style: normal; } /* ControlFlow */
30
- code span.op { color: #859900; font-weight: normal; font-style: normal; } /* Operator */
31
- code span.bu { color: #657b83; font-weight: normal; font-style: normal; } /* BuiltIn */
32
- code span.ex { color: #657b83; font-weight: normal; font-style: normal; } /* Extension */
33
- code span.pp { color: #cb4b16; font-weight: normal; font-style: normal; } /* Preprocessor */
34
- code span.at { color: #657b83; font-weight: normal; font-style: normal; } /* Attribute */
35
- code span.do { color: #93a1a1; font-weight: normal; font-style: italic; } /* Documentation */
36
- code span.an { color: #93a1a1; font-weight: normal; font-style: italic; } /* Annotation */
37
- code span.cv { color: #93a1a1; font-weight: normal; font-style: italic; } /* CommentVar */
38
- code span.in { color: #93a1a1; font-weight: normal; font-style: italic; } /* Information */
42
+ code span.kw { color: var(--solarized-green); font-weight: normal; font-style: normal; } /* Keyword */
43
+ code span.dt { color: var(--solarized-yellow); font-weight: normal; font-style: normal; } /* DataType */
44
+ code span.dv { color: var(--solarized-cyan); font-weight: normal; font-style: normal; } /* DecVal */
45
+ code span.bn { color: var(--solarized-cyan); font-weight: normal; font-style: normal; } /* BaseN */
46
+ code span.fl { color: var(--solarized-cyan); font-weight: normal; font-style: normal; } /* Float */
47
+ code span.ch { color: var(--solarized-cyan); font-weight: normal; font-style: normal; } /* Char */
48
+ code span.st { color: var(--solarized-cyan); font-weight: normal; font-style: normal; } /* String */
49
+ code span.co { color: var(--solarized-base1); font-weight: normal; font-style: italic; } /* Comment */
50
+ code span.ot { color: var(--solarized-blue); font-weight: normal; font-style: normal; } /* Other */
51
+ code span.al { color: var(--solarized-red); font-weight: normal; font-style: normal; } /* Alert */
52
+ code span.fu { color: var(--solarized-blue); font-weight: normal; font-style: normal; } /* Function */
53
+ code span.er { color: var(--solarized-red); font-weight: normal; font-style: normal; } /* Error */
54
+ code span.wa { color: var(--solarized-orange); font-weight: normal; font-style: italic; } /* Warning */
55
+ code span.cn { color: var(--solarized-cyan); font-weight: normal; font-style: normal; } /* Constant */
56
+ code span.sc { color: var(--solarized-red); font-weight: normal; font-style: normal; } /* SpecialChar */
57
+ code span.vs { color: var(--solarized-cyan); font-weight: normal; font-style: normal; } /* VerbatimString */
58
+ code span.ss { color: var(--solarized-red); font-weight: normal; font-style: normal; } /* SpecialString */
59
+ code span.im { color: var(--solarized-base00); font-weight: normal; font-style: normal; } /* Import */
60
+ code span.va { color: var(--solarized-blue); font-weight: normal; font-style: normal; } /* Variable */
61
+ code span.cf { color: var(--solarized-green); font-weight: normal; font-style: normal; } /* ControlFlow */
62
+ code span.op { color: var(--solarized-green); font-weight: normal; font-style: normal; } /* Operator */
63
+ code span.bu { color: var(--solarized-base00); font-weight: normal; font-style: normal; } /* BuiltIn */
64
+ code span.ex { color: var(--solarized-base00); font-weight: normal; font-style: normal; } /* Extension */
65
+ code span.pp { color: var(--solarized-orange); font-weight: normal; font-style: normal; } /* Preprocessor */
66
+ code span.at { color: var(--solarized-base00); font-weight: normal; font-style: normal; } /* Attribute */
67
+ code span.do { color: var(--solarized-base1); font-weight: normal; font-style: italic; } /* Documentation */
68
+ code span.an { color: var(--solarized-base1); font-weight: normal; font-style: italic; } /* Annotation */
69
+ code span.cv { color: var(--solarized-base1); font-weight: normal; font-style: italic; } /* CommentVar */
70
+ code span.in { color: var(--solarized-base1); font-weight: normal; font-style: italic; } /* Information */
39
71
  a.sourceLine::before { text-decoration: none; }
72
+
73
+ /* pandoc diff mode */
74
+ code.diff span.kw { color: var(--solarized-yellow); font-weight: normal; font-style: normal; } /* --- lines */
75
+ code.diff span.dt { color: var(--solarized-blue); font-weight: normal; font-style: normal; } /* +++ lines, @@ ... @@ lines */
76
+ code.diff span.st { color: var(--solarized-red); font-weight: normal; font-style: normal; } /* - lines */
77
+ code.diff span.va { color: var(--solarized-green); 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;
@@ -98,6 +102,31 @@
98
102
  --main-width-narrow: 550px;
99
103
  }
100
104
 
105
+ @media (prefers-color-scheme: dark) {
106
+ :root {
107
+ --background-color: #161313;
108
+
109
+ --color-text: #f7f5f2;
110
+ --color-text-secondary: #9d9b99;
111
+ --color-link: #2994ff;
112
+ --color-sidenote: #b4b2af;
113
+
114
+ --highlight-red: #660000;
115
+ --highlight-yellow: #7f6000;
116
+ --highlight-green: #274e13;
117
+ --highlight-blue: #1c4587;
118
+ --highlight-purple: #351c75;
119
+
120
+ --color-inline-code: #f7f5f2;
121
+ --color-inline-code-bg: #242121;
122
+
123
+ --color-border: #393635;
124
+ --color-border-heavy: #524f4d;
125
+
126
+ --color-table-heading: #242121;
127
+ }
128
+ }
129
+
101
130
  *, *:after, *:before {
102
131
  box-sizing: border-box;
103
132
  margin: 0;
@@ -127,6 +156,14 @@ body {
127
156
  padding: 0;
128
157
  padding-top: var(--title-margin-top);
129
158
  width: 100%;
159
+
160
+ background-color: var(--background-color);
161
+ }
162
+
163
+ @media print {
164
+ body {
165
+ background-color: initial;
166
+ }
130
167
  }
131
168
 
132
169
  /* }}} */
@@ -172,6 +209,7 @@ label.margin-toggle:not(.sidenote-number),
172
209
  sup {
173
210
  font-size: var(--side-note-font-size);
174
211
  font-weight: 700;
212
+ font-family: var(--side-note-number-font-family);
175
213
  -webkit-font-feature-settings: "tnum" 1;
176
214
  font-feature-settings: "tnum" 1;
177
215
 
@@ -403,10 +441,16 @@ span.smallcaps{ font-variant: small-caps; }
403
441
  span.underline{ text-decoration: underline; }
404
442
 
405
443
  .katex-display {
406
- background: white;
444
+ background: var(--background-color);
407
445
  transform: translateZ(0px);
408
446
  }
409
447
 
448
+ @media print {
449
+ .katex-display {
450
+ background-color: initial;
451
+ }
452
+ }
453
+
410
454
  /* }}} */
411
455
  /* ----- Code ---------------------------------------------------------- {{{ */
412
456
 
@@ -666,7 +710,21 @@ table {
666
710
  width: 100%;
667
711
 
668
712
  /* Solid background to occlude table of contents */
669
- background: white;
713
+ background-color: var(--background-color);
714
+ }
715
+
716
+ @media print {
717
+ table {
718
+ background-color: initial;
719
+ }
720
+ }
721
+
722
+ table code {
723
+ font-size: var(--table-code-font-size);
724
+ }
725
+
726
+ table pre code {
727
+ font-size: inherit;
670
728
  }
671
729
 
672
730
  .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.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: 2021-07-16 00:00:00.000000000 Z
11
+ date: 2022-05-15 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