pandoc-markdown-jekyll-theme 0.10.0 → 0.11.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/assets/css/theme.css +69 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9d2fb8f7ee6db1d53f4394eed86108a9d388c6e9f98416b9efec0b75eeeda98
4
- data.tar.gz: c9c9cdd61b344d2bdbd2abf87d6165152ed53fd9415d0b9ccd2ef003b629fe94
3
+ metadata.gz: 9da8751ce78b526376d8978bb4e09d32a8d6fe14dfc21cd6882ee627c4df8fce
4
+ data.tar.gz: f69d3cd087a6d440f47a5784ff21af07dc68d547a667642fbf7dd6f96f2ff6dc
5
5
  SHA512:
6
- metadata.gz: aac55863921358f87bf5a7da217bb2867ad424d1fdb0c8a12b6a9b56f2b797c3b1cb7e667bccf854e1490391f40a77b1fca4f8cba581d7486ba5ecb7ba6b2b76
7
- data.tar.gz: 42413bdb869513ac38ae8a272f3b86d8d927dcc1887448bf780d7440532e0ed700c473870818bf932745c9d00aabfc85fc608d211b094bd531e4df1967595007
6
+ metadata.gz: f88bee68f97a05291a8579eeeb6fc988c7ca0f80dfdc5cce8d37c1d46d215cb96b556dd715068756bf81f83ab8466ce43c4586da558fcc3aa987a4c28e25c58b
7
+ data.tar.gz: 1464a7b31984602f5447bc2c3094ca6f8d21509b6aebba501210f78600a59b64bc5c577bdc72bd8a9363561a66457be094009be22821aaf7cd5d6f0a29c1e597
data/assets/css/theme.css CHANGED
@@ -860,6 +860,12 @@ nav#TOC > input:checked + ul {
860
860
  margin-left: 0;
861
861
  }
862
862
 
863
+ nav#TOC li {
864
+ white-space: nowrap;
865
+ overflow: hidden;
866
+ text-overflow: ellipsis;
867
+ }
868
+
863
869
  nav#TOC code {
864
870
  font-size: var(--nav-toc-code-font-size);
865
871
  }
@@ -903,7 +909,6 @@ nav#TOC > input:checked + ul {
903
909
  */
904
910
  @media screen and (min-width: calc(745px + 2 * (52px + 206px + 52px))) {
905
911
  header,
906
- nav#TOC,
907
912
  main,
908
913
  footer {
909
914
  max-width: var(--main-width);
@@ -1113,11 +1118,73 @@ nav#TOC > input:checked + ul {
1113
1118
  @page {
1114
1119
  size: letter;
1115
1120
  margin: 0.5in;
1121
+ /* To make room for line numbers in left margin. */
1122
+ margin-left: 0.25in;
1116
1123
  }
1117
1124
 
1118
1125
  @media print {
1126
+ :root {
1127
+ --line-height: 18px;
1128
+ --font-size: 12px;
1129
+
1130
+ --inline-code-font-size: 11px;
1131
+ --code-block-font-size: 10px;
1132
+ --code-block-side-padding: 6px;
1133
+ --line-numbers-font-size: 8.5px;
1134
+
1135
+ --tight-code-line-height: 12.5px;
1136
+ --tight-code-padding-top: 2px;
1137
+
1138
+ --side-note-line-height: 14px;
1139
+ --side-note-font-size: 9px;
1140
+ --side-note-code-font-size: 9px;
1141
+ --side-note-baseline-offset: 3px;
1142
+ --side-note-sup-offset: -4px;
1143
+ --side-note-number-hang-left: -4px;
1144
+ --side-note-text-indent: -6.5px;
1145
+
1146
+ --title-font-size: 30px;
1147
+ --title-code-font-size: 29px;
1148
+ --title-line-height: 37px;
1149
+ --title-margin-top: 71px;
1150
+
1151
+ --h1-font-size: 22px;
1152
+ --h1-code-font-size: 20px;
1153
+ --h1-line-height: 28px;
1154
+ --h1-word-spacing: 0.5px;
1155
+ --h1-margin-top: 18px;
1156
+ --h1-margin-bottom: 6px;
1157
+
1158
+ --h2-font-size: 16.5px;
1159
+ --h2-code-font-size: 15px;
1160
+ --h2-line-height: 22px;
1161
+ --h2-word-spacing: 0px;
1162
+ --h2-margin-top: 14px;
1163
+ --h2-margin-bottom: 4.5px;
1164
+
1165
+ --ul-indent-size: 18px;
1166
+ --ol-indent-size: 14px;
1167
+
1168
+ --hr-margin-top: 14px;
1169
+
1170
+ --figcaption-line-height: 16px;
1171
+ --figcaption-font-size: 10px;
1172
+ --figcaption-code-font-size: 9.5px;
1173
+ --figcaption-gap: 4.5px;
1174
+ --captioned-figure-gap: 7.5px;
1175
+
1176
+ --table-line-height: 16px;
1177
+ --table-font-size: 10px;
1178
+ --table-code-font-size: 9.5px;
1179
+
1180
+ --nav-toc-font-size: 8.5px;
1181
+ --nav-toc-code-font-size: 8.5px;
1182
+ }
1183
+
1119
1184
  body {
1120
1185
  padding-top: 0;
1186
+ /* To make room for line numbers in left margin. */
1187
+ padding-left: 0.25in;
1121
1188
  }
1122
1189
 
1123
1190
  header,
@@ -1160,7 +1227,7 @@ h1, h2, h3 {
1160
1227
  page-break-after: avoid;
1161
1228
  }
1162
1229
 
1163
- table, figure, pre {
1230
+ table, figure, pre, img {
1164
1231
  page-break-inside: avoid;
1165
1232
  }
1166
1233
  /* }}} */
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.10.0
4
+ version: 0.11.2
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-05-15 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