pandoc-markdown-jekyll-theme 0.11.2 → 0.11.3
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.
- checksums.yaml +4 -4
- data/assets/css/theme.css +16 -5
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7da9efc36a5b5a49e360c1055297d5e6b17f9115ef1774c3fbf803134a172098
|
|
4
|
+
data.tar.gz: d75814eb8d60dc8cc25102b66e08dbcfc7849ab2fef3bf5a40856ffc7449163b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5559e0bdd303dd1110d7cef5e16d2bfd29223a38801383ac6032ad5f7e136006e48c32f243352b72f1c7b2103835c30131033deaf5ab7161400a832d4fb4a788
|
|
7
|
+
data.tar.gz: 414570e3386820cd60731008a3e1e78b192f9cdb3644428003fde7c3804badf8b70ecff5c2a0f5ba25c3f9b787c234ca495fc230372f5a9e419ceac4cceb280c
|
data/assets/css/theme.css
CHANGED
|
@@ -99,7 +99,14 @@
|
|
|
99
99
|
/* --- Layout --- */
|
|
100
100
|
|
|
101
101
|
--main-width: 745px;
|
|
102
|
+
/* The name doesn't indicate it, but this variable actually specifies an
|
|
103
|
+
* effective minimum width. (It didn't previously behave this way, but the
|
|
104
|
+
* change to do so was made in a backwards-compatible way, so the variable
|
|
105
|
+
* was not renamed.)
|
|
106
|
+
**/
|
|
102
107
|
--main-width-narrow: 550px;
|
|
108
|
+
--side-note-max-width: 300px;
|
|
109
|
+
|
|
103
110
|
}
|
|
104
111
|
|
|
105
112
|
@media (prefers-color-scheme: dark) {
|
|
@@ -893,14 +900,12 @@ nav#TOC > input:checked + ul {
|
|
|
893
900
|
clear: right;
|
|
894
901
|
position: relative;
|
|
895
902
|
|
|
896
|
-
--side-note-max-width: 300px;
|
|
897
|
-
|
|
898
903
|
width: var(--computed-width);
|
|
899
904
|
max-width: var(--side-note-max-width);
|
|
900
905
|
margin-right: calc(-1 * min(var(--computed-width), var(--side-note-max-width)) - var(--margin-left));
|
|
901
906
|
}
|
|
902
907
|
|
|
903
|
-
/* --- Side notes always visible --- {{{ */
|
|
908
|
+
/* --- Side notes and table of contents always visible --- {{{ */
|
|
904
909
|
|
|
905
910
|
/* Unfortunately, variables aren't in scope here.
|
|
906
911
|
* 745px = --main-width
|
|
@@ -958,6 +963,9 @@ nav#TOC > input:checked + ul {
|
|
|
958
963
|
}
|
|
959
964
|
}
|
|
960
965
|
|
|
966
|
+
/* }}} */
|
|
967
|
+
/* --- Side notes visibile, table of contents collapsed, double-wide margins --- {{{ */
|
|
968
|
+
|
|
961
969
|
/* Unfortunately, variables aren't in scope here.
|
|
962
970
|
* 745px = --main-width
|
|
963
971
|
* 52px = 2 * --line-height
|
|
@@ -1021,6 +1029,9 @@ nav#TOC > input:checked + ul {
|
|
|
1021
1029
|
}
|
|
1022
1030
|
}
|
|
1023
1031
|
|
|
1032
|
+
/* }}} */
|
|
1033
|
+
/* --- Side notes visibile, table of contents collapsed --- {{{ */
|
|
1034
|
+
|
|
1024
1035
|
/* Unfortunately, variables aren't in scope here.
|
|
1025
1036
|
* 550px = --main-width-narrow
|
|
1026
1037
|
* 26px = --line-height
|
|
@@ -1032,7 +1043,7 @@ nav#TOC > input:checked + ul {
|
|
|
1032
1043
|
main,
|
|
1033
1044
|
footer {
|
|
1034
1045
|
margin-left: var(--line-height);
|
|
1035
|
-
max-width: var(--main-width-narrow);
|
|
1046
|
+
max-width: calc(max(var(--main-width-narrow), 100vw - (3 * var(--line-height)) - var(--side-note-max-width)));
|
|
1036
1047
|
margin-right: auto;
|
|
1037
1048
|
}
|
|
1038
1049
|
|
|
@@ -1067,7 +1078,7 @@ nav#TOC > input:checked + ul {
|
|
|
1067
1078
|
}
|
|
1068
1079
|
|
|
1069
1080
|
/* }}} */
|
|
1070
|
-
/* --- Side notes collapsed --- {{{ */
|
|
1081
|
+
/* --- Side notes and table of contents collapsed --- {{{ */
|
|
1071
1082
|
|
|
1072
1083
|
/* Unfortunately, variables aren't in scope here.
|
|
1073
1084
|
* See calculations above.
|
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.11.
|
|
4
|
+
version: 0.11.3
|
|
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
|
|
11
|
+
date: 2022-06-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll-pandoc
|