pandoc-markdown-jekyll-theme 0.9.7 → 0.11.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: 326c7721b152f9ce87fb5160ed82c2849fd3c60166e00a5302d450eeb6cbb03c
4
- data.tar.gz: c08c53c12668fc7dd007e354a9505788d0ddbee2f4047b9b74f35d071d0d4865
3
+ metadata.gz: fd6dc39f677ff8bf0ad1d98b739906499c5c93ac1b19b675cca23202bb48ba6c
4
+ data.tar.gz: c7bd78bd1e1d4aa7f43a867f8cdf82d26bd56023d144663bc592e111d68f6882
5
5
  SHA512:
6
- metadata.gz: 48c7f643e608ca18cc09d1a0b478f88145f055687bfae44e5b36abcebb10fe7020915effcd1b91a23d4586450f03521fd2c62dfe2b7ddd8c6b8ad9b6bbb990ae
7
- data.tar.gz: 2f6de09023acf1fa21ceb452273694ae76929046ca7a16cc5dbd698d9d33ee929eb943168b1fa5b35b3681c57bfc5e89d1c5fb5fbcf886b01717506eb8af42d3
6
+ metadata.gz: 06e137c80602e23216c1acd30aeeaa656c064836fa085a6bd48338c5f718e886efe4d76b23ec5b0e7e5322f1dd6b4df74381a3eee7c9ffa1aaf3153accaaa6a4
7
+ data.tar.gz: 8a2bb548aea07fd2e8da6da848cf4ddc9e1899367255700d8a1bd69744e37ece57fb58d03714fae03ff1f80fba80e0ecb4a2db5ada9095c169887aa87b2cdb77
@@ -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
@@ -102,6 +102,31 @@
102
102
  --main-width-narrow: 550px;
103
103
  }
104
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
+
105
130
  *, *:after, *:before {
106
131
  box-sizing: border-box;
107
132
  margin: 0;
@@ -1091,6 +1116,64 @@ nav#TOC > input:checked + ul {
1091
1116
  }
1092
1117
 
1093
1118
  @media print {
1119
+ :root {
1120
+ --line-height: 18px;
1121
+ --font-size: 12px;
1122
+
1123
+ --inline-code-font-size: 12.5px;
1124
+ --code-block-font-size: 11.5px;
1125
+ --code-block-side-padding: 6px;
1126
+ --line-numbers-font-size: 8.5px;
1127
+
1128
+ --tight-code-line-height: 15px;
1129
+ --tight-code-padding-top: 1px;
1130
+
1131
+ --side-note-line-height: 14px;
1132
+ --side-note-font-size: 9px;
1133
+ --side-note-code-font-size: 9px;
1134
+ --side-note-baseline-offset: 3px;
1135
+ --side-note-sup-offset: -4px;
1136
+ --side-note-number-hang-left: -4px;
1137
+ --side-note-text-indent: -6.5px;
1138
+
1139
+ --title-font-size: 30px;
1140
+ --title-code-font-size: 29px;
1141
+ --title-line-height: 37px;
1142
+ --title-margin-top: 71px;
1143
+
1144
+ --h1-font-size: 22px;
1145
+ --h1-code-font-size: 20px;
1146
+ --h1-line-height: 28px;
1147
+ --h1-word-spacing: 0.5px;
1148
+ --h1-margin-top: 18px;
1149
+ --h1-margin-bottom: 6px;
1150
+
1151
+ --h2-font-size: 16.5px;
1152
+ --h2-code-font-size: 15px;
1153
+ --h2-line-height: 22px;
1154
+ --h2-word-spacing: 0px;
1155
+ --h2-margin-top: 14px;
1156
+ --h2-margin-bottom: 4.5px;
1157
+
1158
+ --ul-indent-size: 18px;
1159
+ --ol-indent-size: 14px;
1160
+
1161
+ --hr-margin-top: 14px;
1162
+
1163
+ --figcaption-line-height: 16px;
1164
+ --figcaption-font-size: 10px;
1165
+ --figcaption-code-font-size: 9.5px;
1166
+ --figcaption-gap: 4.5px;
1167
+ --captioned-figure-gap: 7.5px;
1168
+
1169
+ --table-line-height: 16px;
1170
+ --table-font-size: 10px;
1171
+ --table-code-font-size: 9.5px;
1172
+
1173
+ --nav-toc-font-size: 8.5px;
1174
+ --nav-toc-code-font-size: 8.5px;
1175
+ }
1176
+
1094
1177
  body {
1095
1178
  padding-top: 0;
1096
1179
  }
@@ -1135,7 +1218,7 @@ h1, h2, h3 {
1135
1218
  page-break-after: avoid;
1136
1219
  }
1137
1220
 
1138
- table, figure, pre {
1221
+ table, figure, pre, img {
1139
1222
  page-break-inside: avoid;
1140
1223
  }
1141
1224
  /* }}} */
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.7
4
+ version: 0.11.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-17 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