@diplodoc/transform 4.0.0
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.
- package/CHANGELOG.diplodoc.md +38 -0
- package/CHANGELOG.md +404 -0
- package/LICENSE +21 -0
- package/README.md +41 -0
- package/README.ru.md +36 -0
- package/dist/css/yfm.css +736 -0
- package/dist/css/yfm.css.map +7 -0
- package/dist/css/yfm.min.css +2 -0
- package/dist/css/yfm.min.css.map +7 -0
- package/dist/js/code.d.ts +1 -0
- package/dist/js/cut.d.ts +1 -0
- package/dist/js/index.d.ts +5 -0
- package/dist/js/polyfill.d.ts +1 -0
- package/dist/js/tabs.d.ts +1 -0
- package/dist/js/term/index.d.ts +1 -0
- package/dist/js/term/utils.d.ts +10 -0
- package/dist/js/utils.d.ts +2 -0
- package/dist/js/yfm.js +432 -0
- package/dist/js/yfm.js.map +7 -0
- package/dist/js/yfm.min.js +2 -0
- package/dist/js/yfm.min.js.map +7 -0
- package/lib/getObject.d.ts +2 -0
- package/lib/getObject.js +11 -0
- package/lib/getObject.js.map +1 -0
- package/lib/headings.d.ts +4 -0
- package/lib/headings.js +73 -0
- package/lib/headings.js.map +1 -0
- package/lib/highlight.d.ts +3 -0
- package/lib/highlight.js +29 -0
- package/lib/highlight.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +35 -0
- package/lib/index.js.map +1 -0
- package/lib/liquid/conditions.d.ts +4 -0
- package/lib/liquid/conditions.js +181 -0
- package/lib/liquid/conditions.js.map +1 -0
- package/lib/liquid/cycles.d.ts +4 -0
- package/lib/liquid/cycles.js +160 -0
- package/lib/liquid/cycles.js.map +1 -0
- package/lib/liquid/errors.d.ts +3 -0
- package/lib/liquid/errors.js +13 -0
- package/lib/liquid/errors.js.map +1 -0
- package/lib/liquid/evaluation.d.ts +3 -0
- package/lib/liquid/evaluation.js +138 -0
- package/lib/liquid/evaluation.js.map +1 -0
- package/lib/liquid/filters.d.ts +9 -0
- package/lib/liquid/filters.js +22 -0
- package/lib/liquid/filters.js.map +1 -0
- package/lib/liquid/index.d.ts +9 -0
- package/lib/liquid/index.js +87 -0
- package/lib/liquid/index.js.map +1 -0
- package/lib/liquid/lexical.d.ts +14 -0
- package/lib/liquid/lexical.js +79 -0
- package/lib/liquid/lexical.js.map +1 -0
- package/lib/liquid/services/argv.d.ts +15 -0
- package/lib/liquid/services/argv.js +17 -0
- package/lib/liquid/services/argv.js.map +1 -0
- package/lib/liquid/sourceMap.d.ts +24 -0
- package/lib/liquid/sourceMap.js +56 -0
- package/lib/liquid/sourceMap.js.map +1 -0
- package/lib/liquid/substitutions.d.ts +2 -0
- package/lib/liquid/substitutions.js +36 -0
- package/lib/liquid/substitutions.js.map +1 -0
- package/lib/liquid/utils.d.ts +8 -0
- package/lib/liquid/utils.js +24 -0
- package/lib/liquid/utils.js.map +1 -0
- package/lib/log.d.ts +18 -0
- package/lib/log.js +54 -0
- package/lib/log.js.map +1 -0
- package/lib/md.d.ts +14 -0
- package/lib/md.js +96 -0
- package/lib/md.js.map +1 -0
- package/lib/plugins/anchors/collect.d.ts +5 -0
- package/lib/plugins/anchors/collect.js +81 -0
- package/lib/plugins/anchors/collect.js.map +1 -0
- package/lib/plugins/anchors/constants.d.ts +2 -0
- package/lib/plugins/anchors/constants.js +6 -0
- package/lib/plugins/anchors/constants.js.map +1 -0
- package/lib/plugins/anchors/index.d.ts +7 -0
- package/lib/plugins/anchors/index.js +134 -0
- package/lib/plugins/anchors/index.js.map +1 -0
- package/lib/plugins/changelog/collect.d.ts +8 -0
- package/lib/plugins/changelog/collect.js +50 -0
- package/lib/plugins/changelog/collect.js.map +1 -0
- package/lib/plugins/changelog/index.d.ts +6 -0
- package/lib/plugins/changelog/index.js +131 -0
- package/lib/plugins/changelog/index.js.map +1 -0
- package/lib/plugins/changelog/types.d.ts +10 -0
- package/lib/plugins/changelog/types.js +3 -0
- package/lib/plugins/changelog/types.js.map +1 -0
- package/lib/plugins/checkbox/checkbox.d.ts +7 -0
- package/lib/plugins/checkbox/checkbox.js +91 -0
- package/lib/plugins/checkbox/checkbox.js.map +1 -0
- package/lib/plugins/checkbox/index.d.ts +8 -0
- package/lib/plugins/checkbox/index.js +12 -0
- package/lib/plugins/checkbox/index.js.map +1 -0
- package/lib/plugins/code.d.ts +3 -0
- package/lib/plugins/code.js +61 -0
- package/lib/plugins/code.js.map +1 -0
- package/lib/plugins/cut.d.ts +3 -0
- package/lib/plugins/cut.js +70 -0
- package/lib/plugins/cut.js.map +1 -0
- package/lib/plugins/deflist.d.ts +3 -0
- package/lib/plugins/deflist.js +8 -0
- package/lib/plugins/deflist.js.map +1 -0
- package/lib/plugins/file/const.d.ts +27 -0
- package/lib/plugins/file/const.js +47 -0
- package/lib/plugins/file/const.js.map +1 -0
- package/lib/plugins/file/file.d.ts +8 -0
- package/lib/plugins/file/file.js +63 -0
- package/lib/plugins/file/file.js.map +1 -0
- package/lib/plugins/file/index.d.ts +4 -0
- package/lib/plugins/file/index.js +9 -0
- package/lib/plugins/file/index.js.map +1 -0
- package/lib/plugins/images/collect.d.ts +8 -0
- package/lib/plugins/images/collect.js +43 -0
- package/lib/plugins/images/collect.js.map +1 -0
- package/lib/plugins/images/index.d.ts +10 -0
- package/lib/plugins/images/index.js +81 -0
- package/lib/plugins/images/index.js.map +1 -0
- package/lib/plugins/imsize/const.d.ts +7 -0
- package/lib/plugins/imsize/const.js +12 -0
- package/lib/plugins/imsize/const.js.map +1 -0
- package/lib/plugins/imsize/helpers.d.ts +6 -0
- package/lib/plugins/imsize/helpers.js +64 -0
- package/lib/plugins/imsize/helpers.js.map +1 -0
- package/lib/plugins/imsize/index.d.ts +8 -0
- package/lib/plugins/imsize/index.js +12 -0
- package/lib/plugins/imsize/index.js.map +1 -0
- package/lib/plugins/imsize/plugin.d.ts +3 -0
- package/lib/plugins/imsize/plugin.js +188 -0
- package/lib/plugins/imsize/plugin.js.map +1 -0
- package/lib/plugins/includes/collect.d.ts +8 -0
- package/lib/plugins/includes/collect.js +49 -0
- package/lib/plugins/includes/collect.js.map +1 -0
- package/lib/plugins/includes/index.d.ts +8 -0
- package/lib/plugins/includes/index.js +98 -0
- package/lib/plugins/includes/index.js.map +1 -0
- package/lib/plugins/links/collect.d.ts +7 -0
- package/lib/plugins/links/collect.js +74 -0
- package/lib/plugins/links/collect.js.map +1 -0
- package/lib/plugins/links/constants.d.ts +1 -0
- package/lib/plugins/links/constants.js +5 -0
- package/lib/plugins/links/constants.js.map +1 -0
- package/lib/plugins/links/index.d.ts +24 -0
- package/lib/plugins/links/index.js +178 -0
- package/lib/plugins/links/index.js.map +1 -0
- package/lib/plugins/meta.d.ts +3 -0
- package/lib/plugins/meta.js +8 -0
- package/lib/plugins/meta.js.map +1 -0
- package/lib/plugins/monospace.d.ts +3 -0
- package/lib/plugins/monospace.js +109 -0
- package/lib/plugins/monospace.js.map +1 -0
- package/lib/plugins/notes.d.ts +3 -0
- package/lib/plugins/notes.js +103 -0
- package/lib/plugins/notes.js.map +1 -0
- package/lib/plugins/sup.d.ts +3 -0
- package/lib/plugins/sup.js +8 -0
- package/lib/plugins/sup.js.map +1 -0
- package/lib/plugins/table/index.d.ts +3 -0
- package/lib/plugins/table/index.js +215 -0
- package/lib/plugins/table/index.js.map +1 -0
- package/lib/plugins/tabs.d.ts +4 -0
- package/lib/plugins/tabs.js +4 -0
- package/lib/plugins/tabs.js.map +1 -0
- package/lib/plugins/term/constants.d.ts +1 -0
- package/lib/plugins/term/constants.js +5 -0
- package/lib/plugins/term/constants.js.map +1 -0
- package/lib/plugins/term/index.d.ts +3 -0
- package/lib/plugins/term/index.js +108 -0
- package/lib/plugins/term/index.js.map +1 -0
- package/lib/plugins/term/termDefinitions.d.ts +4 -0
- package/lib/plugins/term/termDefinitions.js +125 -0
- package/lib/plugins/term/termDefinitions.js.map +1 -0
- package/lib/plugins/typings.d.ts +12 -0
- package/lib/plugins/typings.js +3 -0
- package/lib/plugins/typings.js.map +1 -0
- package/lib/plugins/utils.d.ts +6 -0
- package/lib/plugins/utils.js +30 -0
- package/lib/plugins/utils.js.map +1 -0
- package/lib/plugins/video/const.d.ts +10 -0
- package/lib/plugins/video/const.js +22 -0
- package/lib/plugins/video/const.js.map +1 -0
- package/lib/plugins/video/index.d.ts +8 -0
- package/lib/plugins/video/index.js +104 -0
- package/lib/plugins/video/index.js.map +1 -0
- package/lib/plugins/video/parsers.d.ts +6 -0
- package/lib/plugins/video/parsers.js +64 -0
- package/lib/plugins/video/parsers.js.map +1 -0
- package/lib/plugins/video/types.d.ts +34 -0
- package/lib/plugins/video/types.js +3 -0
- package/lib/plugins/video/types.js.map +1 -0
- package/lib/plugins/video/utils.d.ts +2 -0
- package/lib/plugins/video/utils.js +25 -0
- package/lib/plugins/video/utils.js.map +1 -0
- package/lib/plugins.d.ts +3 -0
- package/lib/plugins.js +36 -0
- package/lib/plugins.js.map +1 -0
- package/lib/sanitize.d.ts +12 -0
- package/lib/sanitize.js +572 -0
- package/lib/sanitize.js.map +1 -0
- package/lib/title.d.ts +7 -0
- package/lib/title.js +18 -0
- package/lib/title.js.map +1 -0
- package/lib/typings.d.ts +57 -0
- package/lib/typings.js +3 -0
- package/lib/typings.js.map +1 -0
- package/lib/utils.d.ts +13 -0
- package/lib/utils.js +79 -0
- package/lib/utils.js.map +1 -0
- package/lib/utilsFS.d.ts +27 -0
- package/lib/utilsFS.js +89 -0
- package/lib/utilsFS.js.map +1 -0
- package/lib/yfmlint/index.d.ts +26 -0
- package/lib/yfmlint/index.js +72 -0
- package/lib/yfmlint/index.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/index.d.ts +9 -0
- package/lib/yfmlint/markdownlint-custom-rule/index.js +22 -0
- package/lib/yfmlint/markdownlint-custom-rule/index.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm001.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm001.js +28 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm001.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm002.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm002.js +33 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm002.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm003.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm003.js +33 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm003.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm004.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm004.js +28 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm004.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm005.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm005.js +28 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm005.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm006.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm006.js +28 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm006.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm007.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm007.js +29 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm007.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm008.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm008.js +28 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm008.js.map +1 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm009.d.ts +2 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm009.js +47 -0
- package/lib/yfmlint/markdownlint-custom-rule/yfm009.js.map +1 -0
- package/lib/yfmlint/typings.d.ts +12 -0
- package/lib/yfmlint/typings.js +3 -0
- package/lib/yfmlint/typings.js.map +1 -0
- package/lib/yfmlint/utils.d.ts +9 -0
- package/lib/yfmlint/utils.js +22 -0
- package/lib/yfmlint/utils.js.map +1 -0
- package/lib/yfmlint/yfmlint.d.ts +3 -0
- package/lib/yfmlint/yfmlint.js +69 -0
- package/lib/yfmlint/yfmlint.js.map +1 -0
- package/package.json +106 -0
- package/src/.eslintrc +10 -0
- package/src/js/code.ts +65 -0
- package/src/js/cut.ts +57 -0
- package/src/js/index.ts +6 -0
- package/src/js/polyfill.js +27 -0
- package/src/js/term/index.ts +79 -0
- package/src/js/term/utils.ts +151 -0
- package/src/js/utils.ts +9 -0
- package/src/scss/_anchor.scss +33 -0
- package/src/scss/_code.scss +23 -0
- package/src/scss/_common.scss +407 -0
- package/src/scss/_cut.scss +42 -0
- package/src/scss/_file.scss +35 -0
- package/src/scss/_highlight.scss +96 -0
- package/src/scss/_note.scss +73 -0
- package/src/scss/_print.scss +20 -0
- package/src/scss/_term.scss +79 -0
- package/src/scss/_variables.scss +16 -0
- package/src/scss/yfm.scss +11 -0
- package/src/transform/getObject.ts +10 -0
- package/src/transform/headings.ts +88 -0
- package/src/transform/highlight.ts +33 -0
- package/src/transform/index.ts +50 -0
- package/src/transform/liquid/conditions.ts +259 -0
- package/src/transform/liquid/cycles.ts +244 -0
- package/src/transform/liquid/errors.ts +10 -0
- package/src/transform/liquid/evaluation.ts +145 -0
- package/src/transform/liquid/filters.ts +19 -0
- package/src/transform/liquid/index.ts +141 -0
- package/src/transform/liquid/lexical.ts +86 -0
- package/src/transform/liquid/services/argv.ts +23 -0
- package/src/transform/liquid/sourceMap.ts +72 -0
- package/src/transform/liquid/substitutions.ts +40 -0
- package/src/transform/liquid/utils.ts +30 -0
- package/src/transform/log.ts +60 -0
- package/src/transform/md.ts +123 -0
- package/src/transform/plugins/anchors/collect.ts +101 -0
- package/src/transform/plugins/anchors/constants.ts +2 -0
- package/src/transform/plugins/anchors/index.ts +166 -0
- package/src/transform/plugins/changelog/collect.ts +66 -0
- package/src/transform/plugins/changelog/index.ts +164 -0
- package/src/transform/plugins/changelog/types.ts +10 -0
- package/src/transform/plugins/checkbox/checkbox.ts +107 -0
- package/src/transform/plugins/checkbox/index.ts +15 -0
- package/src/transform/plugins/code.ts +79 -0
- package/src/transform/plugins/cut.ts +98 -0
- package/src/transform/plugins/deflist.ts +5 -0
- package/src/transform/plugins/file/README.md +34 -0
- package/src/transform/plugins/file/const.ts +46 -0
- package/src/transform/plugins/file/file.ts +82 -0
- package/src/transform/plugins/file/index.ts +10 -0
- package/src/transform/plugins/images/collect.ts +60 -0
- package/src/transform/plugins/images/index.ts +119 -0
- package/src/transform/plugins/imsize/const.ts +7 -0
- package/src/transform/plugins/imsize/helpers.ts +75 -0
- package/src/transform/plugins/imsize/index.ts +14 -0
- package/src/transform/plugins/imsize/plugin.ts +214 -0
- package/src/transform/plugins/includes/collect.ts +73 -0
- package/src/transform/plugins/includes/index.ts +127 -0
- package/src/transform/plugins/links/collect.ts +92 -0
- package/src/transform/plugins/links/constants.ts +1 -0
- package/src/transform/plugins/links/index.ts +218 -0
- package/src/transform/plugins/meta.ts +5 -0
- package/src/transform/plugins/monospace.ts +141 -0
- package/src/transform/plugins/notes.ts +134 -0
- package/src/transform/plugins/sup.ts +5 -0
- package/src/transform/plugins/table/index.ts +290 -0
- package/src/transform/plugins/tabs.ts +3 -0
- package/src/transform/plugins/term/constants.ts +1 -0
- package/src/transform/plugins/term/index.ts +139 -0
- package/src/transform/plugins/term/termDefinitions.ts +177 -0
- package/src/transform/plugins/typings.ts +14 -0
- package/src/transform/plugins/utils.ts +38 -0
- package/src/transform/plugins/video/const.ts +20 -0
- package/src/transform/plugins/video/index.ts +134 -0
- package/src/transform/plugins/video/parsers.ts +65 -0
- package/src/transform/plugins/video/types.ts +27 -0
- package/src/transform/plugins/video/utils.ts +24 -0
- package/src/transform/plugins.ts +35 -0
- package/src/transform/sanitize.ts +596 -0
- package/src/transform/title.ts +22 -0
- package/src/transform/typings.ts +64 -0
- package/src/transform/utils.ts +91 -0
- package/src/transform/utilsFS.ts +128 -0
- package/src/transform/yfmlint/README.md +48 -0
- package/src/transform/yfmlint/index.ts +124 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/index.ts +9 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm001.ts +36 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm002.ts +33 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm003.ts +33 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm004.ts +27 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm005.ts +27 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm006.ts +26 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm007.ts +28 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm008.ts +26 -0
- package/src/transform/yfmlint/markdownlint-custom-rule/yfm009.ts +54 -0
- package/src/transform/yfmlint/typings.ts +13 -0
- package/src/transform/yfmlint/utils.ts +31 -0
- package/src/transform/yfmlint/yfmlint.ts +73 -0
package/dist/css/yfm.css
ADDED
|
@@ -0,0 +1,736 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
3
|
+
/* src/scss/yfm.scss */
|
|
4
|
+
.yfm {
|
|
5
|
+
font-family:
|
|
6
|
+
"Segoe UI",
|
|
7
|
+
Arial,
|
|
8
|
+
Helvetica,
|
|
9
|
+
sans-serif,
|
|
10
|
+
"Apple Color Emoji",
|
|
11
|
+
"Segoe UI Emoji",
|
|
12
|
+
"Segoe UI Symbol";
|
|
13
|
+
font-family: var(--yfm-font-family-sans);
|
|
14
|
+
font-size: 15px;
|
|
15
|
+
line-height: 20px;
|
|
16
|
+
word-wrap: break-word;
|
|
17
|
+
color: rgba(0, 0, 0, 0.7);
|
|
18
|
+
--yfm-color-hljs-background: rgba(107, 132, 153, 0.12);
|
|
19
|
+
--yfm-color-hljs-subst: #444;
|
|
20
|
+
--yfm-color-hljs-comment: #888888;
|
|
21
|
+
--yfm-color-hljs-deletion: #880000;
|
|
22
|
+
--yfm-color-hljs-section: #880000;
|
|
23
|
+
--yfm-color-hljs-pseudo: #BC6060;
|
|
24
|
+
--yfm-color-hljs-literal: #78A960;
|
|
25
|
+
--yfm-color-hljs-addition: #397300;
|
|
26
|
+
--yfm-color-hljs-meta: #1f7199;
|
|
27
|
+
--yfm-color-hljs-meta-string: #4d99bf;
|
|
28
|
+
--yfm-font-family-monospace:
|
|
29
|
+
"Menlo",
|
|
30
|
+
"Monaco",
|
|
31
|
+
"Consolas",
|
|
32
|
+
"Ubuntu Mono",
|
|
33
|
+
"Liberation Mono",
|
|
34
|
+
"DejaVu Sans Mono",
|
|
35
|
+
"Courier New",
|
|
36
|
+
"Courier",
|
|
37
|
+
monospace;
|
|
38
|
+
--yfm-font-family-sans:
|
|
39
|
+
"Segoe UI",
|
|
40
|
+
Arial,
|
|
41
|
+
Helvetica,
|
|
42
|
+
sans-serif,
|
|
43
|
+
"Apple Color Emoji",
|
|
44
|
+
"Segoe UI Emoji",
|
|
45
|
+
"Segoe UI Symbol";
|
|
46
|
+
}
|
|
47
|
+
.yfm * {
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
}
|
|
50
|
+
.yfm > *:not(h2):not(h3):not(h4):not(h5):not(h6):first-child {
|
|
51
|
+
margin-top: 0 !important;
|
|
52
|
+
}
|
|
53
|
+
.yfm > *:last-child {
|
|
54
|
+
margin-bottom: 0 !important;
|
|
55
|
+
}
|
|
56
|
+
.yfm h1,
|
|
57
|
+
.yfm h2,
|
|
58
|
+
.yfm h3,
|
|
59
|
+
.yfm h4,
|
|
60
|
+
.yfm h5,
|
|
61
|
+
.yfm h6 {
|
|
62
|
+
margin-bottom: 15px;
|
|
63
|
+
font-weight: 500;
|
|
64
|
+
}
|
|
65
|
+
.yfm h1 {
|
|
66
|
+
font-size: 32px;
|
|
67
|
+
line-height: 40px;
|
|
68
|
+
}
|
|
69
|
+
.yfm h2 {
|
|
70
|
+
font-size: 24px;
|
|
71
|
+
line-height: 28px;
|
|
72
|
+
}
|
|
73
|
+
.yfm h3 {
|
|
74
|
+
font-size: 20px;
|
|
75
|
+
line-height: 24px;
|
|
76
|
+
}
|
|
77
|
+
.yfm h4 {
|
|
78
|
+
font-size: 17px;
|
|
79
|
+
line-height: 24px;
|
|
80
|
+
}
|
|
81
|
+
.yfm h5 {
|
|
82
|
+
font-size: 15px;
|
|
83
|
+
line-height: 20px;
|
|
84
|
+
}
|
|
85
|
+
.yfm h6 {
|
|
86
|
+
font-size: 13px;
|
|
87
|
+
line-height: 18px;
|
|
88
|
+
}
|
|
89
|
+
.yfm a {
|
|
90
|
+
background-color: transparent;
|
|
91
|
+
color: #027bf3;
|
|
92
|
+
-webkit-text-decoration: none;
|
|
93
|
+
text-decoration: none;
|
|
94
|
+
}
|
|
95
|
+
.yfm a:hover,
|
|
96
|
+
.yfm a:active {
|
|
97
|
+
color: #004080;
|
|
98
|
+
}
|
|
99
|
+
.yfm a:not([href]) {
|
|
100
|
+
color: inherit;
|
|
101
|
+
}
|
|
102
|
+
.yfm strong {
|
|
103
|
+
font-weight: 700;
|
|
104
|
+
}
|
|
105
|
+
.yfm img,
|
|
106
|
+
.yfm svg {
|
|
107
|
+
box-sizing: content-box;
|
|
108
|
+
max-width: 100%;
|
|
109
|
+
border: none;
|
|
110
|
+
vertical-align: middle;
|
|
111
|
+
}
|
|
112
|
+
.yfm img[align=right],
|
|
113
|
+
.yfm svg[align=right] {
|
|
114
|
+
padding-left: 20px;
|
|
115
|
+
}
|
|
116
|
+
.yfm img[align=left],
|
|
117
|
+
.yfm svg[align=left] {
|
|
118
|
+
padding-right: 20px;
|
|
119
|
+
}
|
|
120
|
+
.yfm img {
|
|
121
|
+
background-color: #ffffff;
|
|
122
|
+
}
|
|
123
|
+
.yfm svg {
|
|
124
|
+
height: auto;
|
|
125
|
+
}
|
|
126
|
+
.yfm .katex svg {
|
|
127
|
+
height: auto;
|
|
128
|
+
height: initial;
|
|
129
|
+
}
|
|
130
|
+
.yfm img + small {
|
|
131
|
+
display: block;
|
|
132
|
+
}
|
|
133
|
+
.yfm p,
|
|
134
|
+
.yfm blockquote,
|
|
135
|
+
.yfm ul,
|
|
136
|
+
.yfm ol,
|
|
137
|
+
.yfm dl,
|
|
138
|
+
.yfm table,
|
|
139
|
+
.yfm pre {
|
|
140
|
+
margin: 0 0 15px 0;
|
|
141
|
+
}
|
|
142
|
+
.yfm ul pre,
|
|
143
|
+
.yfm ol pre,
|
|
144
|
+
.yfm dl pre {
|
|
145
|
+
margin-top: 15px;
|
|
146
|
+
}
|
|
147
|
+
.yfm code,
|
|
148
|
+
.yfm kbd,
|
|
149
|
+
.yfm pre {
|
|
150
|
+
font-family: var(--yfm-font-family-monospace);
|
|
151
|
+
font-size: 1em;
|
|
152
|
+
font-feature-settings: normal;
|
|
153
|
+
}
|
|
154
|
+
.yfm input {
|
|
155
|
+
margin: 0;
|
|
156
|
+
overflow: visible;
|
|
157
|
+
font-family: inherit;
|
|
158
|
+
font-size: inherit;
|
|
159
|
+
line-height: inherit;
|
|
160
|
+
}
|
|
161
|
+
.yfm input[type=checkbox] {
|
|
162
|
+
position: relative;
|
|
163
|
+
top: 1px;
|
|
164
|
+
box-sizing: border-box;
|
|
165
|
+
padding: 0;
|
|
166
|
+
}
|
|
167
|
+
.yfm table {
|
|
168
|
+
color: #333;
|
|
169
|
+
display: inline-block;
|
|
170
|
+
max-width: 100%;
|
|
171
|
+
width: auto;
|
|
172
|
+
overflow: auto;
|
|
173
|
+
position: relative;
|
|
174
|
+
z-index: 1;
|
|
175
|
+
box-sizing: border-box;
|
|
176
|
+
border: 1px solid rgba(0, 0, 0, 0.07);
|
|
177
|
+
border-radius: 8px;
|
|
178
|
+
border-collapse: collapse;
|
|
179
|
+
border-spacing: 0;
|
|
180
|
+
background: #ffffff;
|
|
181
|
+
}
|
|
182
|
+
.yfm table thead,
|
|
183
|
+
.yfm table tr:nth-child(2n) {
|
|
184
|
+
background-color: rgba(0, 0, 0, 0.02);
|
|
185
|
+
}
|
|
186
|
+
.yfm table tr:first-child td,
|
|
187
|
+
.yfm table tr:first-child th {
|
|
188
|
+
border-top: none;
|
|
189
|
+
}
|
|
190
|
+
.yfm table tr:last-child td,
|
|
191
|
+
.yfm table tr:last-child th {
|
|
192
|
+
border-bottom: none;
|
|
193
|
+
}
|
|
194
|
+
.yfm table th,
|
|
195
|
+
.yfm table td {
|
|
196
|
+
padding: 10px 20px;
|
|
197
|
+
overflow: hidden;
|
|
198
|
+
text-overflow: ellipsis;
|
|
199
|
+
border: 1px solid rgba(0, 0, 0, 0.07);
|
|
200
|
+
}
|
|
201
|
+
.yfm table th p,
|
|
202
|
+
.yfm table td p {
|
|
203
|
+
padding: 0;
|
|
204
|
+
margin: 0;
|
|
205
|
+
}
|
|
206
|
+
.yfm table td {
|
|
207
|
+
vertical-align: baseline;
|
|
208
|
+
white-space: normal;
|
|
209
|
+
}
|
|
210
|
+
.yfm table th {
|
|
211
|
+
font-weight: 500;
|
|
212
|
+
text-align: left;
|
|
213
|
+
}
|
|
214
|
+
.yfm table tr td:first-child,
|
|
215
|
+
.yfm table tr th:first-child {
|
|
216
|
+
border-left: none;
|
|
217
|
+
}
|
|
218
|
+
.yfm table tr td:last-child,
|
|
219
|
+
.yfm table tr th:last-child {
|
|
220
|
+
border-right: none;
|
|
221
|
+
}
|
|
222
|
+
.yfm hr {
|
|
223
|
+
box-sizing: content-box;
|
|
224
|
+
height: 0.25em;
|
|
225
|
+
padding: 0;
|
|
226
|
+
margin: 1.5em 0;
|
|
227
|
+
overflow: hidden;
|
|
228
|
+
background-color: rgba(0, 0, 0, 0.07);
|
|
229
|
+
border: none;
|
|
230
|
+
}
|
|
231
|
+
.yfm hr::before {
|
|
232
|
+
content: "";
|
|
233
|
+
display: table;
|
|
234
|
+
}
|
|
235
|
+
.yfm hr::after {
|
|
236
|
+
content: "";
|
|
237
|
+
display: table;
|
|
238
|
+
clear: both;
|
|
239
|
+
}
|
|
240
|
+
.yfm blockquote {
|
|
241
|
+
position: relative;
|
|
242
|
+
padding-left: 12px;
|
|
243
|
+
border-left: 3px solid #027bf3;
|
|
244
|
+
}
|
|
245
|
+
.yfm blockquote > *:first-child {
|
|
246
|
+
margin-top: 0;
|
|
247
|
+
}
|
|
248
|
+
.yfm blockquote > *:last-child {
|
|
249
|
+
margin-bottom: 0;
|
|
250
|
+
}
|
|
251
|
+
.yfm dl {
|
|
252
|
+
padding: 0;
|
|
253
|
+
}
|
|
254
|
+
.yfm dl > *:first-child {
|
|
255
|
+
margin-top: 0;
|
|
256
|
+
}
|
|
257
|
+
.yfm dl > *:last-child {
|
|
258
|
+
margin-bottom: 0;
|
|
259
|
+
}
|
|
260
|
+
.yfm dl dt {
|
|
261
|
+
margin-bottom: 5px;
|
|
262
|
+
font-size: 1em;
|
|
263
|
+
font-weight: 500;
|
|
264
|
+
font-style: italic;
|
|
265
|
+
}
|
|
266
|
+
.yfm dl dd {
|
|
267
|
+
margin-bottom: 15px;
|
|
268
|
+
padding: 0 15px;
|
|
269
|
+
}
|
|
270
|
+
.yfm dd {
|
|
271
|
+
margin-left: 0;
|
|
272
|
+
}
|
|
273
|
+
.yfm dd > ol:first-child,
|
|
274
|
+
.yfm dd > ul:first-child,
|
|
275
|
+
.yfm dd > dd:first-child {
|
|
276
|
+
padding-left: 0;
|
|
277
|
+
}
|
|
278
|
+
.yfm ul,
|
|
279
|
+
.yfm ol {
|
|
280
|
+
padding-left: 2.2em;
|
|
281
|
+
}
|
|
282
|
+
.yfm ul ul,
|
|
283
|
+
.yfm ul ol,
|
|
284
|
+
.yfm ol ol,
|
|
285
|
+
.yfm ol ul {
|
|
286
|
+
margin-top: 0;
|
|
287
|
+
margin-bottom: 0;
|
|
288
|
+
}
|
|
289
|
+
.yfm:not(.yfm_no-list-reset) ol {
|
|
290
|
+
list-style-type: none;
|
|
291
|
+
counter-reset: list;
|
|
292
|
+
}
|
|
293
|
+
.yfm:not(.yfm_no-list-reset) ol > li {
|
|
294
|
+
position: relative;
|
|
295
|
+
counter-increment: list;
|
|
296
|
+
}
|
|
297
|
+
.yfm:not(.yfm_no-list-reset) ol > li::before {
|
|
298
|
+
position: absolute;
|
|
299
|
+
right: 100%;
|
|
300
|
+
margin-right: 4px;
|
|
301
|
+
content: counters(list, ".") ". ";
|
|
302
|
+
}
|
|
303
|
+
.yfm li {
|
|
304
|
+
word-wrap: break-word;
|
|
305
|
+
}
|
|
306
|
+
.yfm li + li {
|
|
307
|
+
margin-top: 0.33em;
|
|
308
|
+
}
|
|
309
|
+
.yfm li p,
|
|
310
|
+
.yfm li blockquote {
|
|
311
|
+
margin-top: 15px;
|
|
312
|
+
}
|
|
313
|
+
.yfm code {
|
|
314
|
+
padding: 0.1em 0.4em 0.15em;
|
|
315
|
+
background-color: rgba(107, 132, 153, 0.12);
|
|
316
|
+
border-radius: 4px;
|
|
317
|
+
font-size: 0.875em;
|
|
318
|
+
white-space: normal;
|
|
319
|
+
color: rgb(59, 96, 128);
|
|
320
|
+
}
|
|
321
|
+
.yfm pre {
|
|
322
|
+
word-wrap: normal;
|
|
323
|
+
}
|
|
324
|
+
.yfm table code {
|
|
325
|
+
white-space: nowrap;
|
|
326
|
+
}
|
|
327
|
+
.yfm pre * code {
|
|
328
|
+
display: inline;
|
|
329
|
+
padding: 0;
|
|
330
|
+
margin: 0;
|
|
331
|
+
overflow: visible;
|
|
332
|
+
word-wrap: normal;
|
|
333
|
+
background-color: transparent;
|
|
334
|
+
border: 0;
|
|
335
|
+
color: rgba(0, 0, 0, 0.7);
|
|
336
|
+
}
|
|
337
|
+
.yfm pre > code {
|
|
338
|
+
display: block;
|
|
339
|
+
padding: 16px;
|
|
340
|
+
overflow: auto;
|
|
341
|
+
background-color: rgba(107, 132, 153, 0.12);
|
|
342
|
+
color: rgba(0, 0, 0, 0.7);
|
|
343
|
+
white-space: pre;
|
|
344
|
+
}
|
|
345
|
+
.yfm sup,
|
|
346
|
+
.yfm sub {
|
|
347
|
+
line-height: 0;
|
|
348
|
+
}
|
|
349
|
+
.yfm .visually-hidden {
|
|
350
|
+
position: absolute;
|
|
351
|
+
overflow: hidden;
|
|
352
|
+
clip: rect(0 0 0 0);
|
|
353
|
+
width: 1px;
|
|
354
|
+
height: 1px;
|
|
355
|
+
margin: -1px;
|
|
356
|
+
padding: 0;
|
|
357
|
+
white-space: nowrap;
|
|
358
|
+
border: 0;
|
|
359
|
+
-webkit-clip-path: inset(100%);
|
|
360
|
+
clip-path: inset(100%);
|
|
361
|
+
}
|
|
362
|
+
.yfm .yfm-note {
|
|
363
|
+
max-width: 1296px;
|
|
364
|
+
margin: 20px 0;
|
|
365
|
+
padding: 20px 20px 20px 64px;
|
|
366
|
+
border-radius: 10px;
|
|
367
|
+
}
|
|
368
|
+
.yfm .yfm-note .yfm-note-title {
|
|
369
|
+
font-weight: 700;
|
|
370
|
+
}
|
|
371
|
+
.yfm .yfm-note > p {
|
|
372
|
+
margin: 0 0 10px 0;
|
|
373
|
+
}
|
|
374
|
+
.yfm .yfm-note > p:first-child::before {
|
|
375
|
+
box-sizing: content-box;
|
|
376
|
+
display: block;
|
|
377
|
+
width: 24px;
|
|
378
|
+
height: 24px;
|
|
379
|
+
margin-top: -2px;
|
|
380
|
+
margin-left: -44px;
|
|
381
|
+
padding-right: 20px;
|
|
382
|
+
float: left;
|
|
383
|
+
}
|
|
384
|
+
.yfm .yfm-note > p:last-child {
|
|
385
|
+
margin-bottom: 0;
|
|
386
|
+
}
|
|
387
|
+
.yfm .yfm-note.yfm-accent-info > p:first-child::before {
|
|
388
|
+
content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(2,123,243)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
|
|
389
|
+
}
|
|
390
|
+
.yfm .yfm-note.yfm-accent-tip > p:first-child::before {
|
|
391
|
+
content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(86,189,103)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
|
|
392
|
+
}
|
|
393
|
+
.yfm .yfm-note.yfm-accent-alert > p:first-child::before {
|
|
394
|
+
content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(255,70,69)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
|
|
395
|
+
}
|
|
396
|
+
.yfm .yfm-note.yfm-accent-warning > p:first-child::before {
|
|
397
|
+
content: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 16 16"%3E%3Ccircle cx="8" cy="8" r="8" fill="rgb(241,149,24)"/%3E%3Crect width="1" height="5" x="7.5" y="6.5" stroke="%23fff" rx=".5"/%3E%3Ccircle cx="8" cy="4" r="1" fill="%23fff"/%3E%3C/svg%3E');
|
|
398
|
+
}
|
|
399
|
+
.yfm .yfm-note.yfm-accent-info {
|
|
400
|
+
background: rgba(2, 123, 243, 0.08);
|
|
401
|
+
}
|
|
402
|
+
.yfm .yfm-note.yfm-accent-tip {
|
|
403
|
+
background: rgba(63, 201, 46, 0.1);
|
|
404
|
+
}
|
|
405
|
+
.yfm .yfm-note.yfm-accent-alert {
|
|
406
|
+
background: rgba(235, 50, 38, 0.08);
|
|
407
|
+
}
|
|
408
|
+
.yfm .yfm-note.yfm-accent-warning {
|
|
409
|
+
background: rgba(255, 136, 0, 0.15);
|
|
410
|
+
}
|
|
411
|
+
.yfm h1 .yfm-anchor,
|
|
412
|
+
.yfm h2 .yfm-anchor,
|
|
413
|
+
.yfm h3 .yfm-anchor,
|
|
414
|
+
.yfm h4 .yfm-anchor,
|
|
415
|
+
.yfm h5 .yfm-anchor,
|
|
416
|
+
.yfm h6 .yfm-anchor {
|
|
417
|
+
display: inline-block;
|
|
418
|
+
width: 24px;
|
|
419
|
+
padding-right: 4px;
|
|
420
|
+
margin-left: -24px;
|
|
421
|
+
float: left;
|
|
422
|
+
text-align: center;
|
|
423
|
+
font-size: 18px;
|
|
424
|
+
}
|
|
425
|
+
.yfm h1 .yfm-anchor::before,
|
|
426
|
+
.yfm h2 .yfm-anchor::before,
|
|
427
|
+
.yfm h3 .yfm-anchor::before,
|
|
428
|
+
.yfm h4 .yfm-anchor::before,
|
|
429
|
+
.yfm h5 .yfm-anchor::before,
|
|
430
|
+
.yfm h6 .yfm-anchor::before {
|
|
431
|
+
content: "#";
|
|
432
|
+
visibility: hidden;
|
|
433
|
+
}
|
|
434
|
+
.yfm h1:hover .yfm-anchor::before,
|
|
435
|
+
.yfm h2:hover .yfm-anchor::before,
|
|
436
|
+
.yfm h3:hover .yfm-anchor::before,
|
|
437
|
+
.yfm h4:hover .yfm-anchor::before,
|
|
438
|
+
.yfm h5:hover .yfm-anchor::before,
|
|
439
|
+
.yfm h6:hover .yfm-anchor::before {
|
|
440
|
+
visibility: visible;
|
|
441
|
+
}
|
|
442
|
+
.yfm table h1 .yfm-anchor,
|
|
443
|
+
.yfm table h2 .yfm-anchor,
|
|
444
|
+
.yfm table h3 .yfm-anchor,
|
|
445
|
+
.yfm table h4 .yfm-anchor,
|
|
446
|
+
.yfm table h5 .yfm-anchor,
|
|
447
|
+
.yfm table h6 .yfm-anchor {
|
|
448
|
+
width: 1em;
|
|
449
|
+
margin-left: -1em;
|
|
450
|
+
padding-right: 0;
|
|
451
|
+
}
|
|
452
|
+
.yfm .hljs {
|
|
453
|
+
display: block;
|
|
454
|
+
overflow-x: auto;
|
|
455
|
+
padding: 16px;
|
|
456
|
+
background: rgba(107, 132, 153, 0.12);
|
|
457
|
+
background: var(--yfm-color-hljs-background);
|
|
458
|
+
}
|
|
459
|
+
.yfm .hljs,
|
|
460
|
+
.yfm .hljs-subst {
|
|
461
|
+
color: #444;
|
|
462
|
+
color: var(--yfm-color-hljs-subst);
|
|
463
|
+
}
|
|
464
|
+
.yfm .hljs-comment {
|
|
465
|
+
color: #888888;
|
|
466
|
+
color: var(--yfm-color-hljs-comment);
|
|
467
|
+
}
|
|
468
|
+
.yfm .hljs-keyword,
|
|
469
|
+
.yfm .hljs-attribute,
|
|
470
|
+
.yfm .hljs-selector-tag,
|
|
471
|
+
.yfm .hljs-meta-keyword,
|
|
472
|
+
.yfm .hljs-doctag,
|
|
473
|
+
.yfm .hljs-name {
|
|
474
|
+
font-weight: bold;
|
|
475
|
+
}
|
|
476
|
+
.yfm .hljs-type,
|
|
477
|
+
.yfm .hljs-string,
|
|
478
|
+
.yfm .hljs-number,
|
|
479
|
+
.yfm .hljs-selector-id,
|
|
480
|
+
.yfm .hljs-selector-class,
|
|
481
|
+
.yfm .hljs-quote,
|
|
482
|
+
.yfm .hljs-template-tag,
|
|
483
|
+
.yfm .hljs-deletion {
|
|
484
|
+
color: #880000;
|
|
485
|
+
color: var(--yfm-color-hljs-deletion);
|
|
486
|
+
}
|
|
487
|
+
.yfm .hljs-title,
|
|
488
|
+
.yfm .hljs-section {
|
|
489
|
+
color: #880000;
|
|
490
|
+
color: var(--yfm-color-hljs-section);
|
|
491
|
+
font-weight: bold;
|
|
492
|
+
}
|
|
493
|
+
.yfm .hljs-regexp,
|
|
494
|
+
.yfm .hljs-symbol,
|
|
495
|
+
.yfm .hljs-variable,
|
|
496
|
+
.yfm .hljs-template-variable,
|
|
497
|
+
.yfm .hljs-link,
|
|
498
|
+
.yfm .hljs-selector-attr,
|
|
499
|
+
.yfm .hljs-selector-pseudo {
|
|
500
|
+
color: #BC6060;
|
|
501
|
+
color: var(--yfm-color-hljs-pseudo);
|
|
502
|
+
}
|
|
503
|
+
.yfm .hljs-literal {
|
|
504
|
+
color: #78A960;
|
|
505
|
+
color: var(--yfm-color-hljs-literal);
|
|
506
|
+
}
|
|
507
|
+
.yfm .hljs-built_in,
|
|
508
|
+
.yfm .hljs-bullet,
|
|
509
|
+
.yfm .hljs-code,
|
|
510
|
+
.yfm .hljs-addition {
|
|
511
|
+
color: #397300;
|
|
512
|
+
color: var(--yfm-color-hljs-addition);
|
|
513
|
+
}
|
|
514
|
+
.yfm .hljs-meta {
|
|
515
|
+
color: #1f7199;
|
|
516
|
+
color: var(--yfm-color-hljs-meta);
|
|
517
|
+
}
|
|
518
|
+
.yfm .hljs-meta-string {
|
|
519
|
+
color: #4d99bf;
|
|
520
|
+
color: var(--yfm-color-hljs-meta-string);
|
|
521
|
+
}
|
|
522
|
+
.yfm .hljs-emphasis {
|
|
523
|
+
font-style: italic;
|
|
524
|
+
}
|
|
525
|
+
.yfm .hljs-strong {
|
|
526
|
+
font-weight: bold;
|
|
527
|
+
}
|
|
528
|
+
.yfm-clipboard {
|
|
529
|
+
position: relative;
|
|
530
|
+
}
|
|
531
|
+
.yfm-clipboard:hover .yfm-clipboard-button {
|
|
532
|
+
display: block;
|
|
533
|
+
}
|
|
534
|
+
.yfm-clipboard > pre {
|
|
535
|
+
border-radius: 10px;
|
|
536
|
+
overflow: hidden;
|
|
537
|
+
}
|
|
538
|
+
.yfm-clipboard-button {
|
|
539
|
+
display: none;
|
|
540
|
+
position: absolute;
|
|
541
|
+
cursor: pointer;
|
|
542
|
+
top: 16px;
|
|
543
|
+
right: 16px;
|
|
544
|
+
z-index: 1;
|
|
545
|
+
}
|
|
546
|
+
@media print {
|
|
547
|
+
.tab-list {
|
|
548
|
+
display: none !important;
|
|
549
|
+
}
|
|
550
|
+
.tab-panel:before {
|
|
551
|
+
content: attr(data-title);
|
|
552
|
+
margin-bottom: -1px;
|
|
553
|
+
margin-right: 20px;
|
|
554
|
+
border-bottom: 2px solid transparent;
|
|
555
|
+
line-height: 33px;
|
|
556
|
+
font-weight: 700;
|
|
557
|
+
outline: 0;
|
|
558
|
+
cursor: pointer;
|
|
559
|
+
}
|
|
560
|
+
.tab-panel {
|
|
561
|
+
display: block !important;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
.yfm-cut-title {
|
|
565
|
+
cursor: pointer;
|
|
566
|
+
position: relative;
|
|
567
|
+
-webkit-user-select: none;
|
|
568
|
+
-moz-user-select: none;
|
|
569
|
+
user-select: none;
|
|
570
|
+
padding: 5px 0 5px 30px;
|
|
571
|
+
}
|
|
572
|
+
.yfm-cut-title:before {
|
|
573
|
+
content: "";
|
|
574
|
+
z-index: 1;
|
|
575
|
+
left: 0;
|
|
576
|
+
top: 50%;
|
|
577
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgICA8cGF0aCBzdHJva2U9ImN1cnJlbnRDb2xvciIgZmlsbD0ibm9uZSIgZD0iTTMgNmw1IDUgNS01Ii8+Cjwvc3ZnPgo=);
|
|
578
|
+
transform: translateY(-50%) rotate(-90deg);
|
|
579
|
+
transition: transform 0.3s ease;
|
|
580
|
+
height: 20px;
|
|
581
|
+
width: 20px;
|
|
582
|
+
position: absolute;
|
|
583
|
+
}
|
|
584
|
+
.yfm-cut-content {
|
|
585
|
+
height: 0;
|
|
586
|
+
overflow: hidden;
|
|
587
|
+
transition: height 0.3s ease-in-out;
|
|
588
|
+
}
|
|
589
|
+
.yfm-cut.open > .yfm-cut-content {
|
|
590
|
+
padding: 5px 0 15px 30px;
|
|
591
|
+
height: auto;
|
|
592
|
+
}
|
|
593
|
+
.yfm-cut.open > .yfm-cut-title:before {
|
|
594
|
+
transform: translateY(-50%);
|
|
595
|
+
}
|
|
596
|
+
.yfm-file__icon {
|
|
597
|
+
---yfm-file-icon-img: var(--yfm-file-icon, url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0zNjkuOSA5Ny45TDI4NiAxNEMyNzcgNSAyNjQuOC0uMSAyNTIuMS0uMUg0OEMyMS41IDAgMCAyMS41IDAgNDh2NDE2YzAgMjYuNSAyMS41IDQ4IDQ4IDQ4aDI4OGMyNi41IDAgNDgtMjEuNSA0OC00OFYxMzEuOWMwLTEyLjctNS4xLTI1LTE0LjEtMzR6bS0yMi42IDIyLjdjMi4xIDIuMSAzLjUgNC42IDQuMiA3LjRIMjU2VjMyLjVjMi44LjcgNS4zIDIuMSA3LjQgNC4ybDgzLjkgODMuOXpNMzM2IDQ4MEg0OGMtOC44IDAtMTYtNy4yLTE2LTE2VjQ4YzAtOC44IDcuMi0xNiAxNi0xNmgxNzZ2MTA0YzAgMTMuMyAxMC43IDI0IDI0IDI0aDEwNHYzMDRjMCA4LjgtNy4yIDE2LTE2IDE2em0tNDgtMjQ0djhjMCA2LjYtNS40IDEyLTEyIDEySDEwOGMtNi42IDAtMTItNS40LTEyLTEydi04YzAtNi42IDUuNC0xMiAxMi0xMmgxNjhjNi42IDAgMTIgNS40IDEyIDEyem0wIDY0djhjMCA2LjYtNS40IDEyLTEyIDEySDEwOGMtNi42IDAtMTItNS40LTEyLTEydi04YzAtNi42IDUuNC0xMiAxMi0xMmgxNjhjNi42IDAgMTIgNS40IDEyIDEyem0wIDY0djhjMCA2LjYtNS40IDEyLTEyIDEySDEwOGMtNi42IDAtMTItNS40LTEyLTEydi04YzAtNi42IDUuNC0xMiAxMi0xMmgxNjhjNi42IDAgMTIgNS40IDEyIDEyeiIvPjwvc3ZnPg==));
|
|
598
|
+
display: inline-block;
|
|
599
|
+
-webkit-user-select: none;
|
|
600
|
+
-moz-user-select: none;
|
|
601
|
+
user-select: none;
|
|
602
|
+
width: 16px;
|
|
603
|
+
margin: 0 2px;
|
|
604
|
+
color: rgba(0, 0, 0, 0.7);
|
|
605
|
+
color: var(--yfm-file-icon-color, rgba(0, 0, 0, 0.7));
|
|
606
|
+
background-color: currentColor;
|
|
607
|
+
background-repeat: no-repeat;
|
|
608
|
+
background-position: 50%;
|
|
609
|
+
background-size: 100%;
|
|
610
|
+
-webkit-mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0zNjkuOSA5Ny45TDI4NiAxNEMyNzcgNSAyNjQuOC0uMSAyNTIuMS0uMUg0OEMyMS41IDAgMCAyMS41IDAgNDh2NDE2YzAgMjYuNSAyMS41IDQ4IDQ4IDQ4aDI4OGMyNi41IDAgNDgtMjEuNSA0OC00OFYxMzEuOWMwLTEyLjctNS4xLTI1LTE0LjEtMzR6bS0yMi42IDIyLjdjMi4xIDIuMSAzLjUgNC42IDQuMiA3LjRIMjU2VjMyLjVjMi44LjcgNS4zIDIuMSA3LjQgNC4ybDgzLjkgODMuOXpNMzM2IDQ4MEg0OGMtOC44IDAtMTYtNy4yLTE2LTE2VjQ4YzAtOC44IDcuMi0xNiAxNi0xNmgxNzZ2MTA0YzAgMTMuMyAxMC43IDI0IDI0IDI0aDEwNHYzMDRjMCA4LjgtNy4yIDE2LTE2IDE2em0tNDgtMjQ0djhjMCA2LjYtNS40IDEyLTEyIDEySDEwOGMtNi42IDAtMTItNS40LTEyLTEydi04YzAtNi42IDUuNC0xMiAxMi0xMmgxNjhjNi42IDAgMTIgNS40IDEyIDEyem0wIDY0djhjMCA2LjYtNS40IDEyLTEyIDEySDEwOGMtNi42IDAtMTItNS40LTEyLTEydi04YzAtNi42IDUuNC0xMiAxMi0xMmgxNjhjNi42IDAgMTIgNS40IDEyIDEyem0wIDY0djhjMCA2LjYtNS40IDEyLTEyIDEySDEwOGMtNi42IDAtMTItNS40LTEyLTEydi04YzAtNi42IDUuNC0xMiAxMi0xMmgxNjhjNi42IDAgMTIgNS40IDEyIDEyeiIvPjwvc3ZnPg==);
|
|
611
|
+
mask-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzODQgNTEyIj48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0zNjkuOSA5Ny45TDI4NiAxNEMyNzcgNSAyNjQuOC0uMSAyNTIuMS0uMUg0OEMyMS41IDAgMCAyMS41IDAgNDh2NDE2YzAgMjYuNSAyMS41IDQ4IDQ4IDQ4aDI4OGMyNi41IDAgNDgtMjEuNSA0OC00OFYxMzEuOWMwLTEyLjctNS4xLTI1LTE0LjEtMzR6bS0yMi42IDIyLjdjMi4xIDIuMSAzLjUgNC42IDQuMiA3LjRIMjU2VjMyLjVjMi44LjcgNS4zIDIuMSA3LjQgNC4ybDgzLjkgODMuOXpNMzM2IDQ4MEg0OGMtOC44IDAtMTYtNy4yLTE2LTE2VjQ4YzAtOC44IDcuMi0xNiAxNi0xNmgxNzZ2MTA0YzAgMTMuMyAxMC43IDI0IDI0IDI0aDEwNHYzMDRjMCA4LjgtNy4yIDE2LTE2IDE2em0tNDgtMjQ0djhjMCA2LjYtNS40IDEyLTEyIDEySDEwOGMtNi42IDAtMTItNS40LTEyLTEydi04YzAtNi42IDUuNC0xMiAxMi0xMmgxNjhjNi42IDAgMTIgNS40IDEyIDEyem0wIDY0djhjMCA2LjYtNS40IDEyLTEyIDEySDEwOGMtNi42IDAtMTItNS40LTEyLTEydi04YzAtNi42IDUuNC0xMiAxMi0xMmgxNjhjNi42IDAgMTIgNS40IDEyIDEyem0wIDY0djhjMCA2LjYtNS40IDEyLTEyIDEySDEwOGMtNi42IDAtMTItNS40LTEyLTEydi04YzAtNi42IDUuNC0xMiAxMi0xMmgxNjhjNi42IDAgMTIgNS40IDEyIDEyeiIvPjwvc3ZnPg==);
|
|
612
|
+
-webkit-mask-image: var(---yfm-file-icon-img);
|
|
613
|
+
mask-image: var(---yfm-file-icon-img);
|
|
614
|
+
-webkit-mask-position: center;
|
|
615
|
+
mask-position: center;
|
|
616
|
+
-webkit-mask-repeat: no-repeat;
|
|
617
|
+
mask-repeat: no-repeat;
|
|
618
|
+
}
|
|
619
|
+
.yfm-file__icon::before {
|
|
620
|
+
content: "\a0";
|
|
621
|
+
}
|
|
622
|
+
.yfm-term_title {
|
|
623
|
+
color: #027bf3;
|
|
624
|
+
cursor: pointer;
|
|
625
|
+
border-bottom: 1px dotted;
|
|
626
|
+
font-size: inherit;
|
|
627
|
+
line-height: inherit;
|
|
628
|
+
font-style: normal;
|
|
629
|
+
}
|
|
630
|
+
.yfm-term_title:hover {
|
|
631
|
+
color: #004080;
|
|
632
|
+
}
|
|
633
|
+
.yfm-term_dfn {
|
|
634
|
+
position: absolute;
|
|
635
|
+
z-index: 1000;
|
|
636
|
+
width: -moz-fit-content;
|
|
637
|
+
width: fit-content;
|
|
638
|
+
max-width: 450px;
|
|
639
|
+
visibility: hidden;
|
|
640
|
+
opacity: 0;
|
|
641
|
+
padding: 10px;
|
|
642
|
+
background-color: rgb(255, 255, 255);
|
|
643
|
+
font-size: inherit;
|
|
644
|
+
line-height: inherit;
|
|
645
|
+
font-style: normal;
|
|
646
|
+
border-radius: 4px;
|
|
647
|
+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
|
|
648
|
+
outline: none;
|
|
649
|
+
}
|
|
650
|
+
@media screen and (max-width: 600px) {
|
|
651
|
+
.yfm-term_dfn {
|
|
652
|
+
max-width: 80%;
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
.yfm-term_dfn::before {
|
|
656
|
+
content: "";
|
|
657
|
+
position: absolute;
|
|
658
|
+
z-index: -1;
|
|
659
|
+
top: 0;
|
|
660
|
+
right: 0;
|
|
661
|
+
bottom: 0;
|
|
662
|
+
left: 0;
|
|
663
|
+
border-radius: inherit;
|
|
664
|
+
box-shadow: 0 0 0 1px rgb(229, 229, 229);
|
|
665
|
+
}
|
|
666
|
+
.yfm-term_dfn.open {
|
|
667
|
+
visibility: visible;
|
|
668
|
+
animation-name: popup;
|
|
669
|
+
animation-duration: 0.1s;
|
|
670
|
+
animation-timing-function: ease-out;
|
|
671
|
+
animation-fill-mode: forwards;
|
|
672
|
+
}
|
|
673
|
+
@keyframes popup {
|
|
674
|
+
0% {
|
|
675
|
+
opacity: 0;
|
|
676
|
+
transform: translateY(10px);
|
|
677
|
+
}
|
|
678
|
+
100% {
|
|
679
|
+
opacity: 1;
|
|
680
|
+
transform: translateY(0);
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
.yfm-tabs {
|
|
684
|
+
margin-bottom: 15px;
|
|
685
|
+
}
|
|
686
|
+
.yfm:not(.yfm_no-list-reset) .yfm-tabs ol {
|
|
687
|
+
counter-reset: tabs-list;
|
|
688
|
+
}
|
|
689
|
+
.yfm:not(.yfm_no-list-reset) .yfm-tabs ol > li {
|
|
690
|
+
counter-increment: tabs-list;
|
|
691
|
+
}
|
|
692
|
+
.yfm:not(.yfm_no-list-reset) .yfm-tabs ol > li:before {
|
|
693
|
+
content: counters(tabs-list, ".") ". ";
|
|
694
|
+
}
|
|
695
|
+
.yfm-tab-list {
|
|
696
|
+
display: flex;
|
|
697
|
+
flex-wrap: wrap;
|
|
698
|
+
margin-bottom: 15px;
|
|
699
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.07);
|
|
700
|
+
}
|
|
701
|
+
.yfm-tab {
|
|
702
|
+
margin-bottom: -1px;
|
|
703
|
+
margin-right: 20px;
|
|
704
|
+
border-bottom: 2px solid transparent;
|
|
705
|
+
padding: 6px 0 7px;
|
|
706
|
+
font-weight: 700;
|
|
707
|
+
outline: none;
|
|
708
|
+
cursor: pointer;
|
|
709
|
+
-webkit-user-select: none;
|
|
710
|
+
-moz-user-select: none;
|
|
711
|
+
user-select: none;
|
|
712
|
+
white-space: break-spaces;
|
|
713
|
+
}
|
|
714
|
+
.yfm-tab:last-child {
|
|
715
|
+
margin-right: 0;
|
|
716
|
+
}
|
|
717
|
+
.yfm-tab:hover,
|
|
718
|
+
.yfm-tab:active {
|
|
719
|
+
color: #004080;
|
|
720
|
+
}
|
|
721
|
+
.yfm-tab.active {
|
|
722
|
+
border-bottom-color: #027bf3;
|
|
723
|
+
}
|
|
724
|
+
.yfm-tab-panel {
|
|
725
|
+
display: none;
|
|
726
|
+
}
|
|
727
|
+
.yfm-tab-panel:first-child {
|
|
728
|
+
margin-top: 0 !important;
|
|
729
|
+
}
|
|
730
|
+
.yfm-tab-panel:last-child {
|
|
731
|
+
margin-bottom: 0 !important;
|
|
732
|
+
}
|
|
733
|
+
.yfm-tab-panel.active {
|
|
734
|
+
display: block;
|
|
735
|
+
}
|
|
736
|
+
/*# sourceMappingURL=yfm.css.map */
|