@diplodoc/transform 4.60.4 → 4.61.1
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/README.md +14 -0
- package/README.ru.md +14 -0
- package/dist/css/_yfm-only.css.map +1 -1
- package/dist/css/_yfm-only.min.css.map +1 -1
- package/dist/css/base.css +14 -1
- package/dist/css/base.css.map +3 -3
- package/dist/css/base.min.css +1 -1
- package/dist/css/base.min.css.map +3 -3
- package/dist/css/print.css.map +1 -1
- package/dist/css/yfm.css +15 -2
- package/dist/css/yfm.css.map +3 -3
- package/dist/css/yfm.min.css +1 -1
- package/dist/css/yfm.min.css.map +3 -3
- package/dist/js/yfm.js +36 -18
- package/dist/js/yfm.js.map +4 -4
- package/dist/js/yfm.min.js +1 -1
- package/dist/js/yfm.min.js.map +4 -4
- package/package.json +2 -2
- package/src/scss/_common.scss +18 -21
package/src/scss/_common.scss
CHANGED
|
@@ -19,18 +19,16 @@
|
|
|
19
19
|
@include brand.brand();
|
|
20
20
|
|
|
21
21
|
font-family: var(--yfm-font-family-sans);
|
|
22
|
-
font-size: 15px;
|
|
23
|
-
line-height: 20px;
|
|
22
|
+
font-size: var(--yfm-font-size, 15px);
|
|
23
|
+
line-height: var(--yfm-font-line-height, 20px);
|
|
24
24
|
word-wrap: break-word;
|
|
25
25
|
color: var(--yfm-color-text);
|
|
26
26
|
tab-size: var(--yfm-tab-size, inherit);
|
|
27
27
|
|
|
28
|
-
--yfm-font-family-monospace:
|
|
29
|
-
'
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
'Segoe UI', arial, helvetica, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
33
|
-
'Segoe UI Symbol';
|
|
28
|
+
--yfm-font-family-monospace: 'Menlo', 'Monaco', 'Consolas', 'Ubuntu Mono', 'Liberation Mono',
|
|
29
|
+
'DejaVu Sans Mono', 'Courier New', 'Courier', monospace;
|
|
30
|
+
--yfm-font-family-sans: 'Segoe UI', arial, helvetica, sans-serif, 'Apple Color Emoji',
|
|
31
|
+
'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
34
32
|
|
|
35
33
|
* {
|
|
36
34
|
box-sizing: border-box;
|
|
@@ -55,33 +53,33 @@
|
|
|
55
53
|
}
|
|
56
54
|
|
|
57
55
|
h1 {
|
|
58
|
-
font-size: 32px;
|
|
59
|
-
line-height: 40px;
|
|
56
|
+
font-size: var(--yfm-font-size-h1, 32px);
|
|
57
|
+
line-height: var(--yfm-font-line-height-h1, 40px);
|
|
60
58
|
}
|
|
61
59
|
|
|
62
60
|
h2 {
|
|
63
|
-
font-size: 24px;
|
|
64
|
-
line-height: 28px;
|
|
61
|
+
font-size: var(--yfm-font-size-h2, 24px);
|
|
62
|
+
line-height: var(--yfm-font-line-height-h2, 28px);
|
|
65
63
|
}
|
|
66
64
|
|
|
67
65
|
h3 {
|
|
68
|
-
font-size: 20px;
|
|
69
|
-
line-height: 24px;
|
|
66
|
+
font-size: var(--yfm-font-size-h3, 20px);
|
|
67
|
+
line-height: var(--yfm-font-line-height-h3, 24px);
|
|
70
68
|
}
|
|
71
69
|
|
|
72
70
|
h4 {
|
|
73
|
-
font-size: 17px;
|
|
74
|
-
line-height: 24px;
|
|
71
|
+
font-size: var(--yfm-font-size-h4, 17px);
|
|
72
|
+
line-height: var(--yfm-font-line-height-h4, 24px);
|
|
75
73
|
}
|
|
76
74
|
|
|
77
75
|
h5 {
|
|
78
|
-
font-size: 15px;
|
|
79
|
-
line-height: 20px;
|
|
76
|
+
font-size: var(--yfm-font-size-h5, 15px);
|
|
77
|
+
line-height: var(--yfm-font-line-height-h5, 20px);
|
|
80
78
|
}
|
|
81
79
|
|
|
82
80
|
h6 {
|
|
83
|
-
font-size: 13px;
|
|
84
|
-
line-height: 18px;
|
|
81
|
+
font-size: var(--yfm-font-size-h6, 13px);
|
|
82
|
+
line-height: var(--yfm-font-line-height-h6, 18px);
|
|
85
83
|
}
|
|
86
84
|
|
|
87
85
|
a {
|
|
@@ -286,7 +284,6 @@
|
|
|
286
284
|
margin-bottom: 5px;
|
|
287
285
|
font-size: 1em;
|
|
288
286
|
font-weight: 500;
|
|
289
|
-
font-style: italic;
|
|
290
287
|
}
|
|
291
288
|
|
|
292
289
|
dd {
|