@gravity-ui/blog-constructor 1.0.0-aplha.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/build/cjs/components/FeedHeader/components/Controls/Controls.js +1 -1
  2. package/build/cjs/components/PostInfo/components/Sharing.js +1 -1
  3. package/build/cjs/containers/BlogPage/BlogPage.d.ts +3 -2
  4. package/build/cjs/containers/BlogPage/BlogPage.js +2 -2
  5. package/build/cjs/containers/BlogPostPage/BlogPostPage.d.ts +2 -1
  6. package/build/cjs/containers/BlogPostPage/BlogPostPage.js +2 -2
  7. package/build/esm/components/FeedHeader/components/Controls/Controls.js +1 -1
  8. package/build/esm/components/PostInfo/components/Sharing.js +2 -2
  9. package/build/esm/containers/BlogPage/BlogPage.d.ts +3 -2
  10. package/build/esm/containers/BlogPage/BlogPage.js +2 -2
  11. package/build/esm/containers/BlogPostPage/BlogPostPage.d.ts +2 -1
  12. package/build/esm/containers/BlogPostPage/BlogPostPage.js +2 -2
  13. package/package.json +2 -5
  14. package/styles/mixins.scss +9 -8
  15. package/build/cjs/blocks/Author/Author.css +0 -31
  16. package/build/cjs/blocks/Banner/Banner.css +0 -58
  17. package/build/cjs/blocks/CTA/CTA.css +0 -56
  18. package/build/cjs/blocks/ColoredText/ColoredText.css +0 -28
  19. package/build/cjs/blocks/Layout/Layout.css +0 -22
  20. package/build/cjs/blocks/Media/Media.css +0 -41
  21. package/build/cjs/blocks/Meta/Meta.css +0 -7
  22. package/build/cjs/components/ButtonWithIcon/ButtonWithIcon.css +0 -76
  23. package/build/cjs/components/FeedHeader/FeedHeader.css +0 -54
  24. package/build/cjs/components/FeedHeader/components/Controls/Controls.css +0 -107
  25. package/build/cjs/components/FeedHeader/components/CustomSelectOption/CustomSelectOption.css +0 -14
  26. package/build/cjs/components/FeedHeader/components/CustomSwitcher/CustomSwitcher.css +0 -53
  27. package/build/cjs/components/Paginator/Paginator.css +0 -54
  28. package/build/cjs/components/PostCard/PostCard.css +0 -85
  29. package/build/cjs/components/PostInfo/PostInfo.css +0 -88
  30. package/build/cjs/components/Posts/Posts.css +0 -28
  31. package/build/cjs/components/PostsEmpty/PostsEmpty.css +0 -25
  32. package/build/cjs/components/PostsError/PostError.css +0 -30
  33. package/build/cjs/components/Search/Search.css +0 -33
  34. package/build/cjs/components/Wrapper/Wrapper.css +0 -32
  35. package/build/cjs/containers/BlogPage/BlogPage.css +0 -21
  36. package/build/cjs/containers/BlogPostPage/BlogPostPage.css +0 -251
  37. package/build/esm/blocks/Author/Author.css +0 -31
  38. package/build/esm/blocks/Banner/Banner.css +0 -58
  39. package/build/esm/blocks/CTA/CTA.css +0 -56
  40. package/build/esm/blocks/ColoredText/ColoredText.css +0 -28
  41. package/build/esm/blocks/Layout/Layout.css +0 -22
  42. package/build/esm/blocks/Media/Media.css +0 -41
  43. package/build/esm/blocks/Meta/Meta.css +0 -7
  44. package/build/esm/components/ButtonWithIcon/ButtonWithIcon.css +0 -76
  45. package/build/esm/components/FeedHeader/FeedHeader.css +0 -54
  46. package/build/esm/components/FeedHeader/components/Controls/Controls.css +0 -107
  47. package/build/esm/components/FeedHeader/components/CustomSelectOption/CustomSelectOption.css +0 -14
  48. package/build/esm/components/FeedHeader/components/CustomSwitcher/CustomSwitcher.css +0 -53
  49. package/build/esm/components/Paginator/Paginator.css +0 -54
  50. package/build/esm/components/PostCard/PostCard.css +0 -85
  51. package/build/esm/components/PostInfo/PostInfo.css +0 -88
  52. package/build/esm/components/Posts/Posts.css +0 -28
  53. package/build/esm/components/PostsEmpty/PostsEmpty.css +0 -25
  54. package/build/esm/components/PostsError/PostError.css +0 -30
  55. package/build/esm/components/Search/Search.css +0 -33
  56. package/build/esm/components/Wrapper/Wrapper.css +0 -32
  57. package/build/esm/containers/BlogPage/BlogPage.css +0 -21
  58. package/build/esm/containers/BlogPostPage/BlogPostPage.css +0 -251
  59. package/styles/mixins.css +0 -2
  60. package/styles/root.css +0 -21
  61. package/styles/styles.css +0 -196
  62. package/styles/variables.css +0 -0
  63. package/styles/yfm.css +0 -103
@@ -1,251 +0,0 @@
1
- @charset "UTF-8";
2
- @import '~@doc-tools/transform/dist/css/yfm.css';
3
- :root {
4
- --header-height: 64px;
5
- }
6
-
7
- .yc-root {
8
- --yc-text-accent-font-weight: 500;
9
- --bc-transparent: rgba(255, 255, 255, 0);
10
- --bc-image-padding: 4px;
11
- --bc-border-radius: var(--pc-border-radius, 24px);
12
- --bc-color-sfx-shadow: var(--yc-color-base-simple-hover);
13
- --bc-color-line-generic-active-solid: #b3b3b3;
14
- --bc-color-base-float-hover: var(--yc-color-base-float);
15
- --bc-monochrome-button: #262626;
16
- --bc-monochrome-button-hover: #393939;
17
- --bc-text-header-color: var(--yc-color-text-primary);
18
- }
19
- .yc-root.yc-root_theme_dark {
20
- --bc-color-sfx-shadow: var(--yc-color-sfx-shadow);
21
- --bc-color-line-generic-active-solid: #6c6c70;
22
- --bc-color-base-float-hover: var(--yc-color-base-float-hover);
23
- }
24
-
25
- /* use this for style redefinitions to awoid problems with
26
- unpredictable css rules order in build */
27
- .yfm_blog {
28
- font-size: var(--yc-text-body-3-font-size);
29
- line-height: var(--yc-text-body-3-line-height);
30
- color: var(--yc-color-text-primary);
31
- }
32
- .yfm_blog h1:first-child,
33
- .yfm_blog h2:first-child,
34
- .yfm_blog h3:first-child,
35
- .yfm_blog h4:first-child {
36
- padding: 0;
37
- margin-top: 0;
38
- padding-top: 0;
39
- }
40
- .yfm_blog h2 {
41
- font-size: var(--yc-text-display-2-font-size);
42
- line-height: var(--yc-text-display-2-line-height);
43
- }
44
- .yfm_blog h3 {
45
- font-size: var(--yc-text-header-2-font-size);
46
- line-height: var(--yc-text-header-2-line-height);
47
- }
48
- .yfm_blog h4 {
49
- font-size: var(--yc-text-header-1-font-size);
50
- line-height: var(--yc-text-header-1-line-height);
51
- }
52
- .yfm_blog h1,
53
- .yfm_blog h2,
54
- .yfm_blog h3,
55
- .yfm_blog h4,
56
- .yfm_blog h5,
57
- .yfm_blog h6 {
58
- margin-bottom: 16px;
59
- margin-top: 48px;
60
- padding-top: 0;
61
- font-weight: var(--yc-text-header-font-weight);
62
- }
63
- .yfm_blog blockquote,
64
- .yfm_blog dl,
65
- .yfm_blog ol,
66
- .yfm_blog p,
67
- .yfm_blog pre,
68
- .yfm_blog table,
69
- .yfm_blog ul {
70
- margin: 0 0 16px;
71
- }
72
- .yfm_blog img {
73
- margin-bottom: 32px;
74
- margin-top: 16px;
75
- border-radius: 24px;
76
- }
77
- .yfm_blog hr {
78
- height: 1px;
79
- }
80
- .yfm_blog ol,
81
- .yfm_blog ul {
82
- padding-left: 1.4em;
83
- }
84
- .yfm_blog code {
85
- color: var(--yc-color-text-misc);
86
- }
87
- .yfm_blog pre > code {
88
- color: var(--yc-color-text-primary);
89
- }
90
- .yfm_blog table {
91
- color: var(--yc-color-text-primary);
92
- border: 1px solid var(--yc-color-line-generic);
93
- background: var(--yc-color-base-background);
94
- }
95
- .yfm_blog thead tr,
96
- .yfm_blog table tr:nth-child(2n) {
97
- background-color: var(--yc-color-base-generic);
98
- }
99
- .yfm_blog_media {
100
- font-size: var(--yc-text-body-3-font-size);
101
- line-height: var(--yc-text-body-3-line-height);
102
- color: var(--yc-color-text-secondary);
103
- }
104
- .yfm_blog_breadcrumbs {
105
- font-size: var(--yc-text-body-2-font-size);
106
- line-height: var(--yc-text-body-2-line-height);
107
- color: var(--yc-text-color-base);
108
- }
109
- .yfm_blog a {
110
- color: var(--yc-color-text-link);
111
- }
112
- .yfm_blog a:hover {
113
- color: var(--yc-color-text-link-hover);
114
- }
115
- .yfm_blog .yfm-tab:hover, .yfm_blog .yfm-tab:active {
116
- color: var(--yc-color-text-link-hover);
117
- }
118
- .yfm_blog .yfm-tab.active {
119
- border-bottom-color: var(--yc-color-text-link);
120
- }
121
- .yfm_blog .yfm-clipboard {
122
- margin: 32px 0;
123
- }
124
-
125
- .yfm_blog_card p {
126
- color: var(--pc-text-header-color);
127
- }
128
-
129
- /* use this for style redefinitions to awoid problems with
130
- unpredictable css rules order in build */
131
- .yfm_constructor {
132
- font-family: var(--yc-font-family-sans);
133
- color: var(--yc-color-text-primary);
134
- }
135
- .yfm_constructor code,
136
- .yfm_constructor kbd,
137
- .yfm_constructor pre {
138
- font-family: var(--yc-font-family-monospace);
139
- color: var(--yc-color-text-primary);
140
- }
141
- .yfm_constructor.yfm_constructor h1,
142
- .yfm_constructor.yfm_constructor h2,
143
- .yfm_constructor.yfm_constructor h3,
144
- .yfm_constructor.yfm_constructor h4,
145
- .yfm_constructor.yfm_constructor h5,
146
- .yfm_constructor.yfm_constructor h6,
147
- .yfm_constructor.yfm_constructor span,
148
- .yfm_constructor.yfm_constructor p,
149
- .yfm_constructor.yfm_constructor li {
150
- color: var(--yc-color-text-primary);
151
- }
152
- .yfm_constructor.yfm_constructor_notice li,
153
- .yfm_constructor.yfm_constructor_notice p {
154
- color: var(--yc-color-text-secondary);
155
- }
156
- .yfm_constructor.yfm_constructor ul,
157
- .yfm_constructor.yfm_constructor ol,
158
- .yfm_constructor.yfm_constructor li,
159
- .yfm_constructor.yfm_constructor p {
160
- margin: 0 0 12px;
161
- }
162
- .yfm_constructor.yfm_constructor p strong {
163
- font-weight: 500;
164
- }
165
- .yfm_constructor.yfm_constructor_size_s ul,
166
- .yfm_constructor.yfm_constructor_size_s ol,
167
- .yfm_constructor.yfm_constructor_size_s li,
168
- .yfm_constructor.yfm_constructor_size_s p {
169
- margin-bottom: 8px;
170
- }
171
-
172
- .yfm_constructor_theme_dark p {
173
- color: var(--yc-color-text-light-primary);
174
- }
175
- .yfm_constructor_footnote_text p, .yfm_constructor_footnote_page p {
176
- opacity: 0.5;
177
- }
178
- .yfm_constructor_footnote_text p {
179
- font-size: var(--yc-text-body-2-font-size);
180
- line-height: var(--yc-text-body-2-line-height);
181
- }
182
- .yfm_constructor_footnote_page p {
183
- font-size: var(--yc-text-body-1-font-size);
184
- line-height: var(--yc-text-body-1-line-height);
185
- display: inline;
186
- }
187
- .yfm_constructor_list_style ul {
188
- padding-left: 20px;
189
- }
190
- .yfm_constructor_list_style_dash ul {
191
- list-style-type: none;
192
- position: relative;
193
- }
194
- .yfm_constructor_list_style_dash ul li:before {
195
- content: "—";
196
- position: absolute;
197
- margin-left: -20px;
198
- }
199
- .yfm_constructor a {
200
- outline: none;
201
- color: var(--yc-color-text-link);
202
- text-decoration: none;
203
- cursor: pointer;
204
- }
205
- .utilityfocus .yfm_constructor a:focus {
206
- outline: 2px solid #ffdb4d;
207
- }
208
- .yfm_constructor a:hover, .yfm_constructor a:active {
209
- --pc-text-header-color: var(--yc-color-text-link-hover);
210
- color: var(--yc-color-text-link-hover);
211
- }
212
- .yfm_constructor table {
213
- color: var(--yc-color-text-primary);
214
- border: 1px solid var(--yc-color-line-generic);
215
- background: var(--yc-color-base-background);
216
- }
217
- .yfm_constructor thead,
218
- .yfm_constructor table tr:nth-child(2n) {
219
- background-color: var(--yc-color-base-generic);
220
- }
221
-
222
- .yfm_constructor_table {
223
- /* stylelint-enable declaration-no-important */
224
- }
225
- .yfm_constructor_table table {
226
- border: 0;
227
- table-layout: fixed;
228
- }
229
- .yfm_constructor_table thead,
230
- .yfm_constructor_table tr {
231
- /* stylelint-disable declaration-no-important */
232
- background-color: transparent !important;
233
- }
234
- .yfm_constructor_table tbody tr {
235
- border-top: 1px solid var(--yc-color-line-generic);
236
- }
237
- .yfm_constructor_table td,
238
- .yfm_constructor_table th {
239
- min-width: 120px;
240
- width: 120px;
241
- box-sizing: content-box;
242
- white-space: inherit !important;
243
- }
244
- .yfm_constructor_table td:first-child,
245
- .yfm_constructor_table th:first-child {
246
- min-width: 172px;
247
- width: 172px;
248
- }
249
- .yfm_constructor_table th {
250
- text-align: left !important;
251
- }
package/styles/mixins.css DELETED
@@ -1,2 +0,0 @@
1
- /* use this for style redefinitions to awoid problems with
2
- unpredictable css rules order in build */
package/styles/root.css DELETED
@@ -1,21 +0,0 @@
1
- :root {
2
- --header-height: 64px;
3
- }
4
-
5
- .yc-root {
6
- --yc-text-accent-font-weight: 500;
7
- --bc-transparent: rgba(255, 255, 255, 0);
8
- --bc-image-padding: 4px;
9
- --bc-border-radius: var(--pc-border-radius, 24px);
10
- --bc-color-sfx-shadow: var(--yc-color-base-simple-hover);
11
- --bc-color-line-generic-active-solid: #b3b3b3;
12
- --bc-color-base-float-hover: var(--yc-color-base-float);
13
- --bc-monochrome-button: #262626;
14
- --bc-monochrome-button-hover: #393939;
15
- --bc-text-header-color: var(--yc-color-text-primary);
16
- }
17
- .yc-root.yc-root_theme_dark {
18
- --bc-color-sfx-shadow: var(--yc-color-sfx-shadow);
19
- --bc-color-line-generic-active-solid: #6c6c70;
20
- --bc-color-base-float-hover: var(--yc-color-base-float-hover);
21
- }
package/styles/styles.css DELETED
@@ -1,196 +0,0 @@
1
- @import '~@gravity-ui/uikit/styles/styles.css';
2
- @font-face {
3
- font-family: "YS Display";
4
- src: url("https://yastatic.net/s3/home/fonts/ys/1/display-thin.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/display-thin.woff") format("woff");
5
- font-weight: 100;
6
- font-style: normal;
7
- font-display: swap;
8
- }
9
- @font-face {
10
- font-family: "YS Display";
11
- src: url("https://yastatic.net/s3/home/fonts/ys/1/display-light.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/display-light.woff") format("woff");
12
- font-weight: 300;
13
- font-style: normal;
14
- font-display: swap;
15
- }
16
- @font-face {
17
- font-family: "YS Display";
18
- src: url("https://yastatic.net/s3/home/fonts/ys/1/display-regular.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/display-regular.woff") format("woff");
19
- font-weight: 400;
20
- font-style: normal;
21
- font-display: swap;
22
- }
23
- @font-face {
24
- font-family: "YS Display";
25
- src: url("https://yastatic.net/s3/home/fonts/ys/1/display-medium.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/display-medium.woff") format("woff");
26
- font-weight: 500;
27
- font-style: normal;
28
- font-display: swap;
29
- }
30
- @font-face {
31
- font-family: "YS Display";
32
- src: url("https://yastatic.net/s3/home/fonts/ys/1/display-bold.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/display-bold.woff") format("woff");
33
- font-weight: 700;
34
- font-style: normal;
35
- font-display: swap;
36
- }
37
- @font-face {
38
- font-family: "YS Display";
39
- src: url("https://yastatic.net/s3/home/fonts/ys/1/display-heavy.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/display-heavy.woff") format("woff");
40
- font-weight: 900;
41
- font-style: normal;
42
- font-display: swap;
43
- }
44
- @font-face {
45
- font-family: "YS Text";
46
- src: url("https://yastatic.net/s3/home/fonts/ys/1/text-light.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/text-light.woff") format("woff");
47
- font-weight: 300;
48
- font-style: normal;
49
- font-display: swap;
50
- }
51
- @font-face {
52
- font-family: "YS Text";
53
- src: url("https://yastatic.net/s3/home/fonts/ys/1/text-light-italic.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/text-light-italic.woff") format("woff");
54
- font-weight: 300;
55
- font-style: italic;
56
- font-display: swap;
57
- }
58
- @font-face {
59
- font-family: "YS Text";
60
- src: url("https://yastatic.net/s3/home/fonts/ys/1/text-regular.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/text-regular.woff") format("woff");
61
- font-weight: 400;
62
- font-style: normal;
63
- font-display: swap;
64
- }
65
- @font-face {
66
- font-family: "YS Text";
67
- src: url("https://yastatic.net/s3/home/fonts/ys/1/text-regular-italic.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/text-regular-italic.woff") format("woff");
68
- font-weight: 400;
69
- font-style: italic;
70
- font-display: swap;
71
- }
72
- @font-face {
73
- font-family: "YS Text";
74
- src: url("https://yastatic.net/s3/home/fonts/ys/1/text-medium.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/text-medium.woff") format("woff");
75
- font-weight: 500;
76
- font-style: normal;
77
- font-display: swap;
78
- }
79
- @font-face {
80
- font-family: "YS Text";
81
- src: url("https://yastatic.net/s3/home/fonts/ys/1/text-medium-italic.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/text-medium-italic.woff") format("woff");
82
- font-weight: 500;
83
- font-style: italic;
84
- font-display: swap;
85
- }
86
- @font-face {
87
- font-family: "YS Text";
88
- src: url("https://yastatic.net/s3/home/fonts/ys/1/text-bold.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/text-bold.woff") format("woff");
89
- font-weight: 700;
90
- font-style: normal;
91
- font-display: swap;
92
- }
93
- @font-face {
94
- font-family: "YS Text";
95
- src: url("https://yastatic.net/s3/home/fonts/ys/1/text-bold-italic.woff2") format("woff2"), url("https://yastatic.net/s3/home/fonts/ys/1/text-bold-italic.woff") format("woff");
96
- font-weight: 700;
97
- font-style: italic;
98
- font-display: swap;
99
- }
100
- .YSDisplay-Thin {
101
- font-family: "YS Display", sans-serif;
102
- font-weight: 100;
103
- font-style: normal;
104
- font-stretch: normal;
105
- }
106
-
107
- .YSDisplay-Light {
108
- font-family: "YS Display", sans-serif;
109
- font-weight: 300;
110
- font-style: normal;
111
- font-stretch: normal;
112
- }
113
-
114
- .YSDisplay-Regular {
115
- font-family: "YS Display", sans-serif;
116
- font-weight: 400;
117
- font-style: normal;
118
- font-stretch: normal;
119
- }
120
-
121
- .YSDisplay-Medium {
122
- font-family: "YS Display", sans-serif;
123
- font-weight: 500;
124
- font-style: normal;
125
- font-stretch: normal;
126
- }
127
-
128
- .YSDisplay-Bold {
129
- font-family: "YS Display", sans-serif;
130
- font-weight: 700;
131
- font-style: normal;
132
- font-stretch: normal;
133
- }
134
-
135
- .YSDisplay-Heavy {
136
- font-family: "YS Display", sans-serif;
137
- font-weight: 900;
138
- font-style: normal;
139
- font-stretch: normal;
140
- }
141
-
142
- .YSText-Light {
143
- font-family: "YS Text", sans-serif;
144
- font-weight: 300;
145
- font-style: normal;
146
- font-stretch: normal;
147
- }
148
-
149
- .YSText-LightItalic {
150
- font-family: "YS Text", sans-serif;
151
- font-weight: 300;
152
- font-style: italic;
153
- font-stretch: normal;
154
- }
155
-
156
- .YSText-Regular {
157
- font-family: "YS Text", sans-serif;
158
- font-weight: 400;
159
- font-style: normal;
160
- font-stretch: normal;
161
- }
162
-
163
- .YSText-RegularItalic {
164
- font-family: "YS Text", sans-serif;
165
- font-weight: 400;
166
- font-style: italic;
167
- font-stretch: normal;
168
- }
169
-
170
- .YSText-Medium {
171
- font-family: "YS Text", sans-serif;
172
- font-weight: 500;
173
- font-style: normal;
174
- font-stretch: normal;
175
- }
176
-
177
- .YSText-MediumItalic {
178
- font-family: "YS Text", sans-serif;
179
- font-weight: 500;
180
- font-style: italic;
181
- font-stretch: normal;
182
- }
183
-
184
- .YSText-Bold {
185
- font-family: "YS Text", sans-serif;
186
- font-weight: 700;
187
- font-style: normal;
188
- font-stretch: normal;
189
- }
190
-
191
- .YSText-BoldItalic {
192
- font-family: "YS Text", sans-serif;
193
- font-weight: 700;
194
- font-style: italic;
195
- font-stretch: normal;
196
- }
File without changes
package/styles/yfm.css DELETED
@@ -1,103 +0,0 @@
1
- /* use this for style redefinitions to awoid problems with
2
- unpredictable css rules order in build */
3
- .yfm_blog {
4
- font-size: var(--yc-text-body-3-font-size);
5
- line-height: var(--yc-text-body-3-line-height);
6
- color: var(--yc-color-text-primary);
7
- }
8
- .yfm_blog h1:first-child,
9
- .yfm_blog h2:first-child,
10
- .yfm_blog h3:first-child,
11
- .yfm_blog h4:first-child {
12
- padding: 0;
13
- margin-top: 0;
14
- padding-top: 0;
15
- }
16
- .yfm_blog h2 {
17
- font-size: var(--yc-text-display-2-font-size);
18
- line-height: var(--yc-text-display-2-line-height);
19
- }
20
- .yfm_blog h3 {
21
- font-size: var(--yc-text-header-2-font-size);
22
- line-height: var(--yc-text-header-2-line-height);
23
- }
24
- .yfm_blog h4 {
25
- font-size: var(--yc-text-header-1-font-size);
26
- line-height: var(--yc-text-header-1-line-height);
27
- }
28
- .yfm_blog h1,
29
- .yfm_blog h2,
30
- .yfm_blog h3,
31
- .yfm_blog h4,
32
- .yfm_blog h5,
33
- .yfm_blog h6 {
34
- margin-bottom: 16px;
35
- margin-top: 48px;
36
- padding-top: 0;
37
- font-weight: var(--yc-text-header-font-weight);
38
- }
39
- .yfm_blog blockquote,
40
- .yfm_blog dl,
41
- .yfm_blog ol,
42
- .yfm_blog p,
43
- .yfm_blog pre,
44
- .yfm_blog table,
45
- .yfm_blog ul {
46
- margin: 0 0 16px;
47
- }
48
- .yfm_blog img {
49
- margin-bottom: 32px;
50
- margin-top: 16px;
51
- border-radius: 24px;
52
- }
53
- .yfm_blog hr {
54
- height: 1px;
55
- }
56
- .yfm_blog ol,
57
- .yfm_blog ul {
58
- padding-left: 1.4em;
59
- }
60
- .yfm_blog code {
61
- color: var(--yc-color-text-misc);
62
- }
63
- .yfm_blog pre > code {
64
- color: var(--yc-color-text-primary);
65
- }
66
- .yfm_blog table {
67
- color: var(--yc-color-text-primary);
68
- border: 1px solid var(--yc-color-line-generic);
69
- background: var(--yc-color-base-background);
70
- }
71
- .yfm_blog thead tr,
72
- .yfm_blog table tr:nth-child(2n) {
73
- background-color: var(--yc-color-base-generic);
74
- }
75
- .yfm_blog_media {
76
- font-size: var(--yc-text-body-3-font-size);
77
- line-height: var(--yc-text-body-3-line-height);
78
- color: var(--yc-color-text-secondary);
79
- }
80
- .yfm_blog_breadcrumbs {
81
- font-size: var(--yc-text-body-2-font-size);
82
- line-height: var(--yc-text-body-2-line-height);
83
- color: var(--yc-text-color-base);
84
- }
85
- .yfm_blog a {
86
- color: var(--yc-color-text-link);
87
- }
88
- .yfm_blog a:hover {
89
- color: var(--yc-color-text-link-hover);
90
- }
91
- .yfm_blog .yfm-tab:hover, .yfm_blog .yfm-tab:active {
92
- color: var(--yc-color-text-link-hover);
93
- }
94
- .yfm_blog .yfm-tab.active {
95
- border-bottom-color: var(--yc-color-text-link);
96
- }
97
- .yfm_blog .yfm-clipboard {
98
- margin: 32px 0;
99
- }
100
-
101
- .yfm_blog_card p {
102
- color: var(--pc-text-header-color);
103
- }