pandoc-markdown-jekyll-theme 0.9.8 → 0.11.1

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: 8766085fadcd7c55c6d69871eb4f370f0319a21183eeb7e283f1c955f2b75473
4
- data.tar.gz: 065d3a2075abfb7c5886fc29280f6dda27c8cb3da65d172e1895849e7cefd500
3
+ metadata.gz: 047fc8228e4ff9992b0494b066848a0bdbfbd8da4c1c390d20d802d7b057f90f
4
+ data.tar.gz: 7dff3d15c729cb96e6f6d519709e15e4aa428de2690b000dc5bca0821d883a06
5
5
  SHA512:
6
- metadata.gz: ec11cd3469400a3b756cb3ef5a6c32e2b5430b15d3bc926875ab7438fa30ef6dadb6920755bae614ac57d62f3f6d52e4a35e14fbb0824ae51d6a4ebea7de4881
7
- data.tar.gz: 95e64e8a889f1136ee5b9912d48e1139ca87b38558713d456ad464eaf586a92733932250a72318a290618a974d087263677ca739cd09fe133ab55701fdfff2ca
6
+ metadata.gz: d25c5367c5423c293aa1e88b0790303b72dbcd5c7ccce38871abe88fdce2f1fb495526df14e909518affa141fa4b027912f6cdb27142bbb08b8ff651b24126e0
7
+ data.tar.gz: 3603d1f8030aae85d1a6b394ba2f34b9f94ae15618bcf9b06bc6a51565cd6f85322644866470cdd3dda99416abfa0e77f58cd63ae56bd4d490bdb8888275ee20
@@ -1,45 +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; }
40
72
 
41
73
  /* 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 */
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;
@@ -878,7 +903,6 @@ nav#TOC > input:checked + ul {
878
903
  */
879
904
  @media screen and (min-width: calc(745px + 2 * (52px + 206px + 52px))) {
880
905
  header,
881
- nav#TOC,
882
906
  main,
883
907
  footer {
884
908
  max-width: var(--main-width);
@@ -1088,11 +1112,73 @@ nav#TOC > input:checked + ul {
1088
1112
  @page {
1089
1113
  size: letter;
1090
1114
  margin: 0.5in;
1115
+ /* To make room for line numbers in left margin. */
1116
+ margin-left: 0.25in;
1091
1117
  }
1092
1118
 
1093
1119
  @media print {
1120
+ :root {
1121
+ --line-height: 18px;
1122
+ --font-size: 12px;
1123
+
1124
+ --inline-code-font-size: 11px;
1125
+ --code-block-font-size: 10px;
1126
+ --code-block-side-padding: 6px;
1127
+ --line-numbers-font-size: 8.5px;
1128
+
1129
+ --tight-code-line-height: 12.5px;
1130
+ --tight-code-padding-top: 2px;
1131
+
1132
+ --side-note-line-height: 14px;
1133
+ --side-note-font-size: 9px;
1134
+ --side-note-code-font-size: 9px;
1135
+ --side-note-baseline-offset: 3px;
1136
+ --side-note-sup-offset: -4px;
1137
+ --side-note-number-hang-left: -4px;
1138
+ --side-note-text-indent: -6.5px;
1139
+
1140
+ --title-font-size: 30px;
1141
+ --title-code-font-size: 29px;
1142
+ --title-line-height: 37px;
1143
+ --title-margin-top: 71px;
1144
+
1145
+ --h1-font-size: 22px;
1146
+ --h1-code-font-size: 20px;
1147
+ --h1-line-height: 28px;
1148
+ --h1-word-spacing: 0.5px;
1149
+ --h1-margin-top: 18px;
1150
+ --h1-margin-bottom: 6px;
1151
+
1152
+ --h2-font-size: 16.5px;
1153
+ --h2-code-font-size: 15px;
1154
+ --h2-line-height: 22px;
1155
+ --h2-word-spacing: 0px;
1156
+ --h2-margin-top: 14px;
1157
+ --h2-margin-bottom: 4.5px;
1158
+
1159
+ --ul-indent-size: 18px;
1160
+ --ol-indent-size: 14px;
1161
+
1162
+ --hr-margin-top: 14px;
1163
+
1164
+ --figcaption-line-height: 16px;
1165
+ --figcaption-font-size: 10px;
1166
+ --figcaption-code-font-size: 9.5px;
1167
+ --figcaption-gap: 4.5px;
1168
+ --captioned-figure-gap: 7.5px;
1169
+
1170
+ --table-line-height: 16px;
1171
+ --table-font-size: 10px;
1172
+ --table-code-font-size: 9.5px;
1173
+
1174
+ --nav-toc-font-size: 8.5px;
1175
+ --nav-toc-code-font-size: 8.5px;
1176
+ }
1177
+
1094
1178
  body {
1095
1179
  padding-top: 0;
1180
+ /* To make room for line numbers in left margin. */
1181
+ padding-left: 0.25in;
1096
1182
  }
1097
1183
 
1098
1184
  header,
@@ -1135,7 +1221,7 @@ h1, h2, h3 {
1135
1221
  page-break-after: avoid;
1136
1222
  }
1137
1223
 
1138
- table, figure, pre {
1224
+ table, figure, pre, img {
1139
1225
  page-break-inside: avoid;
1140
1226
  }
1141
1227
  /* }}} */
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.8
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Zimmerman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-28 00:00:00.000000000 Z
11
+ date: 2022-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll-pandoc