br-dionysus 0.3.2 → 0.3.4
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 +2 -2
- package/dist/br-dionysus.es.js +1861 -354
- package/dist/br-dionysus.umd.js +6 -2
- package/dist/index.css +1 -1
- package/dist/packages/Hook/index.d.ts +2 -0
- package/dist/packages/MInline/src/index.vue.d.ts +10 -10
- package/dist/packages/MSelectTable/index.d.ts +4 -0
- package/dist/packages/MSelectTable/src/index.vue.d.ts +96 -0
- package/dist/packages/index.d.ts +3 -0
- package/dist/packages/typings/class.d.ts +17 -0
- package/dist/packages/typings/enum.d.ts +60 -0
- package/dist/packages/typings/interface.d.ts +5 -0
- package/dist/src/main.d.ts +1 -1
- package/package.json +1 -1
- package/packages/Hook/index.ts +5 -0
- package/packages/MInline/docs/README.md +2 -2
- package/packages/MInline/src/index.vue +7 -7
- package/packages/MSelectTable/docs/README.md +35 -0
- package/packages/MSelectTable/docs/demo.vue +89 -0
- package/packages/MSelectTable/index.ts +10 -0
- package/packages/MSelectTable/src/index.vue +392 -0
- package/packages/index.ts +6 -0
- package/packages/list.json +6 -0
- package/packages/typings/class.ts +22 -0
- package/packages/typings/enum.ts +75 -0
- package/packages/typings/global.d.ts +98 -0
- package/packages/typings/interface.ts +6 -0
- package/src/App.vue +13 -1
- package/src/assets/markdown.scss +233 -0
- package/src/main.ts +1 -1
- package/src/router.ts +5 -0
- package/src/assets/markdown.css +0 -273
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// declare module 'vue'
|
|
2
|
+
declare module 'js-cookie'
|
|
3
|
+
declare module 'js-base64'
|
|
4
|
+
declare module 'dayjs'
|
|
5
|
+
declare module 'vue-router'
|
|
6
|
+
declare module 'element-plus'
|
|
7
|
+
declare module 'element-plus/dist/locale/zh-cn.mjs'
|
|
8
|
+
declare module 'crypto-js'
|
|
9
|
+
declare module 'crypto-js/enc-base64'
|
|
10
|
+
declare module 'crypto-js/hmac-sha512'
|
|
11
|
+
declare module 'vue-img-cutter'
|
|
12
|
+
declare module 'axios'
|
|
13
|
+
declare module 'vite-plugin-eslint'
|
|
14
|
+
declare module 'decimal'
|
|
15
|
+
declare module 'mathjs'
|
|
16
|
+
declare module 'br-dionysus'
|
|
17
|
+
|
|
18
|
+
/** 下拉选项 */
|
|
19
|
+
interface Option {
|
|
20
|
+
/** 选项的标签,若不设置则默认与value相同 */
|
|
21
|
+
label: string,
|
|
22
|
+
|
|
23
|
+
/** 选项的值 */
|
|
24
|
+
value: string | number,
|
|
25
|
+
|
|
26
|
+
/** 是否禁用该选项 */
|
|
27
|
+
disabled?: boolean,
|
|
28
|
+
|
|
29
|
+
[propName: string]: string | number
|
|
30
|
+
}
|
|
31
|
+
interface UpFileType {
|
|
32
|
+
name: string
|
|
33
|
+
percentage: number,
|
|
34
|
+
raw: File,
|
|
35
|
+
size: number,
|
|
36
|
+
status: string,
|
|
37
|
+
uid: number,
|
|
38
|
+
response? : {
|
|
39
|
+
/** 执行成功 */
|
|
40
|
+
success?: boolean,
|
|
41
|
+
/** 状态码 */
|
|
42
|
+
code?: number | null,
|
|
43
|
+
/** 错误信息 */
|
|
44
|
+
message: any,
|
|
45
|
+
data: ExportResultViewModel,
|
|
46
|
+
/** 附加数据 */
|
|
47
|
+
extras: any,
|
|
48
|
+
/** 时间戳 */
|
|
49
|
+
timestamp?: string | null,
|
|
50
|
+
} | null
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
type OptionsKeys = `${string}Options` | `${string}Map`
|
|
54
|
+
|
|
55
|
+
// /** 下拉选项及枚举映射集合 */
|
|
56
|
+
// interface Filter {
|
|
57
|
+
// [propName: OptionsKeys]: Option[]
|
|
58
|
+
// }
|
|
59
|
+
|
|
60
|
+
/** 表头 */
|
|
61
|
+
interface TableTitle {
|
|
62
|
+
/** 显示的标题 */
|
|
63
|
+
label: string,
|
|
64
|
+
/** 字段名称 对应列内容的字段名, 也可以使用 property属性 */
|
|
65
|
+
prop: string
|
|
66
|
+
/** 对应列的最小宽度, 对应列的最小宽度, 与 width 的区别是 width 是固定的,min-width 会把剩余宽度按比例分配给设置了 min-width 的列 */
|
|
67
|
+
minWidth?: number | string,
|
|
68
|
+
/** 列的 className */
|
|
69
|
+
className?: string,
|
|
70
|
+
/** 对应列是否可以排序, 如果设置为 'custom',则代表用户希望远程排序,需要监听 Table 的 sort-change 事件 */
|
|
71
|
+
sortable?: boolean,
|
|
72
|
+
/** 数据过滤的选项, 数组格式,数组中的元素需要有 text 和 value 属性。 数组中的每个元素都需要有 text 和 value 属性。 */
|
|
73
|
+
filters?: {
|
|
74
|
+
text: string | number,
|
|
75
|
+
value: string | number
|
|
76
|
+
}[],
|
|
77
|
+
/** 数据过滤使用的方法, 如果是多选的筛选项,对每一条数据会执行多次,任意一次返回 true 就会显示。 */
|
|
78
|
+
filterMethod?: Function,
|
|
79
|
+
/** 表头对齐方式, 若不设置该项,则使用表格的对齐方式 */
|
|
80
|
+
headerAlign?: 'left' | 'center' | 'right',
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
interface MenuMeta {
|
|
84
|
+
show: boolean,
|
|
85
|
+
title: string,
|
|
86
|
+
icon: string
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/** 菜单 */
|
|
90
|
+
interface MenuItem {
|
|
91
|
+
title: string,
|
|
92
|
+
meta: MenuMeta,
|
|
93
|
+
id: string,
|
|
94
|
+
icon: string,
|
|
95
|
+
path: string,
|
|
96
|
+
name: string,
|
|
97
|
+
children: Array<MenuItem>
|
|
98
|
+
}
|
package/src/App.vue
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="my-kit-doc">
|
|
3
3
|
<aside>
|
|
4
|
-
<router-link
|
|
4
|
+
<router-link
|
|
5
|
+
class="u-link"
|
|
6
|
+
v-for="(link, index) in data.links"
|
|
7
|
+
:key="index"
|
|
8
|
+
:to="link.path"
|
|
9
|
+
>
|
|
10
|
+
{{ link.name }}
|
|
11
|
+
</router-link>
|
|
5
12
|
</aside>
|
|
6
13
|
<main>
|
|
7
14
|
<router-view></router-view>
|
|
@@ -43,4 +50,9 @@ body {
|
|
|
43
50
|
padding: 15px;
|
|
44
51
|
}
|
|
45
52
|
}
|
|
53
|
+
|
|
54
|
+
.u-link {
|
|
55
|
+
line-height: 1.8;
|
|
56
|
+
color: var(--el-color-primary, #4e8e2f);
|
|
57
|
+
}
|
|
46
58
|
</style>
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--side-bar-bg-color: #fff;
|
|
3
|
+
--control-text-color: #777;
|
|
4
|
+
--font-sans-serif: 'Ubuntu', 'Source Sans Pro', sans-serif !important;
|
|
5
|
+
--font-monospace: 'Fira Code', 'Roboto Mono', monospace !important;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
html {
|
|
9
|
+
font-size: 16px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
body {
|
|
13
|
+
font-family: var(--font-sans-serif);
|
|
14
|
+
color: #34495e;
|
|
15
|
+
-webkit-font-smoothing: antialiased;
|
|
16
|
+
line-height: 1.6rem;
|
|
17
|
+
letter-spacing: 0;
|
|
18
|
+
margin: 0;
|
|
19
|
+
overflow-x: hidden;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
body > *:first-child {
|
|
23
|
+
margin-top: 0 !important;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
body > *:last-child {
|
|
27
|
+
margin-bottom: 0 !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.m-md {
|
|
31
|
+
a {
|
|
32
|
+
color: #42b983;
|
|
33
|
+
font-weight: 600;
|
|
34
|
+
padding: 0 2px;
|
|
35
|
+
text-decoration: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
h1,
|
|
39
|
+
h2,
|
|
40
|
+
h3,
|
|
41
|
+
h4,
|
|
42
|
+
h5,
|
|
43
|
+
h6 {
|
|
44
|
+
position: relative;
|
|
45
|
+
margin-top: 1rem;
|
|
46
|
+
margin-bottom: 1rem;
|
|
47
|
+
font-weight: bold;
|
|
48
|
+
line-height: 1.4;
|
|
49
|
+
cursor: text;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
h1:hover a.anchor,
|
|
53
|
+
h2:hover a.anchor,
|
|
54
|
+
h3:hover a.anchor,
|
|
55
|
+
h4:hover a.anchor,
|
|
56
|
+
h5:hover a.anchor,
|
|
57
|
+
h6:hover a.anchor {
|
|
58
|
+
text-decoration: none;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
h1 tt,
|
|
62
|
+
h1 code {
|
|
63
|
+
font-size: inherit !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
h2 tt,
|
|
67
|
+
h2 code {
|
|
68
|
+
font-size: inherit !important;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
h3 tt,
|
|
72
|
+
h3 code {
|
|
73
|
+
font-size: inherit !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
h4 tt,
|
|
77
|
+
h4 code {
|
|
78
|
+
font-size: inherit !important;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
h5 tt,
|
|
82
|
+
h5 code {
|
|
83
|
+
font-size: inherit !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
h6 tt,
|
|
87
|
+
h6 code {
|
|
88
|
+
font-size: inherit !important;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
h2 a,
|
|
92
|
+
h3 a {
|
|
93
|
+
color: #34495e;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
h1 {
|
|
97
|
+
padding-bottom: .4rem;
|
|
98
|
+
font-size: 2.2rem;
|
|
99
|
+
line-height: 1.3;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
h2 {
|
|
103
|
+
font-size: 1.75rem;
|
|
104
|
+
line-height: 1.225;
|
|
105
|
+
margin: 35px 0 15px;
|
|
106
|
+
padding-bottom: 0.5em;
|
|
107
|
+
border-bottom: 1px solid #ddd;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
h3 {
|
|
111
|
+
font-size: 1.4rem;
|
|
112
|
+
line-height: 1.43;
|
|
113
|
+
margin: 20px 0 7px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
h4 {
|
|
117
|
+
font-size: 1.2rem;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
h5 {
|
|
121
|
+
font-size: 1rem;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
h6 {
|
|
125
|
+
font-size: 1rem;
|
|
126
|
+
color: #777;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
p,
|
|
130
|
+
blockquote,
|
|
131
|
+
ul,
|
|
132
|
+
ol,
|
|
133
|
+
dl,
|
|
134
|
+
table {
|
|
135
|
+
margin: 0.8em 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
li > ol,
|
|
139
|
+
li > ul {
|
|
140
|
+
margin: 0 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
hr {
|
|
144
|
+
height: 2px;
|
|
145
|
+
padding: 0;
|
|
146
|
+
margin: 16px 0;
|
|
147
|
+
background-color: #e7e7e7;
|
|
148
|
+
border: 0 none;
|
|
149
|
+
overflow: hidden;
|
|
150
|
+
box-sizing: content-box;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
body > h2:first-child {
|
|
154
|
+
margin-top: 0;
|
|
155
|
+
padding-top: 0;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
body > h1:first-child {
|
|
159
|
+
margin-top: 0;
|
|
160
|
+
padding-top: 0;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
body > h1:first-child + h2 {
|
|
164
|
+
margin-top: 0;
|
|
165
|
+
padding-top: 0;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
body > h3:first-child,
|
|
169
|
+
body > h4:first-child,
|
|
170
|
+
body > h5:first-child,
|
|
171
|
+
body > h6:first-child {
|
|
172
|
+
margin-top: 0;
|
|
173
|
+
padding-top: 0;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
a:first-child h1,
|
|
177
|
+
a:first-child h2,
|
|
178
|
+
a:first-child h3,
|
|
179
|
+
a:first-child h4,
|
|
180
|
+
a:first-child h5,
|
|
181
|
+
a:first-child h6 {
|
|
182
|
+
margin-top: 0;
|
|
183
|
+
padding-top: 0;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
h1 p,
|
|
187
|
+
h2 p,
|
|
188
|
+
h3 p,
|
|
189
|
+
h4 p,
|
|
190
|
+
h5 p,
|
|
191
|
+
h6 p {
|
|
192
|
+
margin-top: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
li p.first {
|
|
196
|
+
display: inline-block;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
ul,
|
|
200
|
+
ol {
|
|
201
|
+
padding-left: 30px;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
ul:first-child,
|
|
205
|
+
ol:first-child {
|
|
206
|
+
margin-top: 0;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
ul:last-child,
|
|
210
|
+
ol:last-child {
|
|
211
|
+
margin-bottom: 0;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
blockquote {
|
|
216
|
+
border-left: 4px solid #42b983;
|
|
217
|
+
padding: 10px 15px;
|
|
218
|
+
color: #777;
|
|
219
|
+
background-color: rgba(66, 185, 131, .1);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
code {
|
|
223
|
+
color: #476582;
|
|
224
|
+
padding: 0.25rem 0.5rem;
|
|
225
|
+
margin: 0;
|
|
226
|
+
font-size: .85em;
|
|
227
|
+
background-color: rgba(27,31,35,.05);
|
|
228
|
+
border-radius: 3px;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
pre {
|
|
232
|
+
max-height: 500px;
|
|
233
|
+
}
|
package/src/main.ts
CHANGED
|
@@ -6,7 +6,7 @@ import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
|
|
|
6
6
|
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
|
|
7
7
|
import router from './router'
|
|
8
8
|
|
|
9
|
-
import './assets/markdown.
|
|
9
|
+
import './assets/markdown.scss'
|
|
10
10
|
|
|
11
11
|
import packages from '../packages'
|
|
12
12
|
import Preview from './components/Preview.vue'
|
package/src/router.ts
CHANGED
|
@@ -31,6 +31,11 @@ const routes = [{
|
|
|
31
31
|
name: 'SkinConfig',
|
|
32
32
|
path: '/components/SkinConfig',
|
|
33
33
|
component: () => import('packages/SkinConfig/docs/README.md')
|
|
34
|
+
}, {
|
|
35
|
+
title: '下拉表格选择器',
|
|
36
|
+
name: 'MSelectTable',
|
|
37
|
+
path: '/components/MSelectTable',
|
|
38
|
+
component: () => import('packages/MSelectTable/docs/README.md')
|
|
34
39
|
}]
|
|
35
40
|
|
|
36
41
|
const routerConfig = {
|
package/src/assets/markdown.css
DELETED
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--side-bar-bg-color: #fff;
|
|
3
|
-
--control-text-color: #777;
|
|
4
|
-
--font-sans-serif: 'Ubuntu', 'Source Sans Pro', sans-serif !important;
|
|
5
|
-
--font-monospace: 'Fira Code', 'Roboto Mono', monospace !important;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
html {
|
|
9
|
-
font-size: 16px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
body {
|
|
13
|
-
font-family: var(--font-sans-serif);
|
|
14
|
-
color: #34495e;
|
|
15
|
-
-webkit-font-smoothing: antialiased;
|
|
16
|
-
line-height: 1.6rem;
|
|
17
|
-
letter-spacing: 0;
|
|
18
|
-
margin: 0;
|
|
19
|
-
overflow-x: hidden;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
body > *:first-child {
|
|
23
|
-
margin-top: 0 !important;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
body > *:last-child {
|
|
27
|
-
margin-bottom: 0 !important;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
a {
|
|
31
|
-
color: #42b983;
|
|
32
|
-
font-weight: 600;
|
|
33
|
-
padding: 0 2px;
|
|
34
|
-
text-decoration: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
h1,
|
|
38
|
-
h2,
|
|
39
|
-
h3,
|
|
40
|
-
h4,
|
|
41
|
-
h5,
|
|
42
|
-
h6 {
|
|
43
|
-
position: relative;
|
|
44
|
-
margin-top: 1rem;
|
|
45
|
-
margin-bottom: 1rem;
|
|
46
|
-
font-weight: bold;
|
|
47
|
-
line-height: 1.4;
|
|
48
|
-
cursor: text;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
h1:hover a.anchor,
|
|
52
|
-
h2:hover a.anchor,
|
|
53
|
-
h3:hover a.anchor,
|
|
54
|
-
h4:hover a.anchor,
|
|
55
|
-
h5:hover a.anchor,
|
|
56
|
-
h6:hover a.anchor {
|
|
57
|
-
text-decoration: none;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
h1 tt,
|
|
61
|
-
h1 code {
|
|
62
|
-
font-size: inherit !important;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
h2 tt,
|
|
66
|
-
h2 code {
|
|
67
|
-
font-size: inherit !important;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
h3 tt,
|
|
71
|
-
h3 code {
|
|
72
|
-
font-size: inherit !important;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
h4 tt,
|
|
76
|
-
h4 code {
|
|
77
|
-
font-size: inherit !important;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
h5 tt,
|
|
81
|
-
h5 code {
|
|
82
|
-
font-size: inherit !important;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
h6 tt,
|
|
86
|
-
h6 code {
|
|
87
|
-
font-size: inherit !important;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
h2 a,
|
|
91
|
-
h3 a {
|
|
92
|
-
color: #34495e;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
h1 {
|
|
96
|
-
padding-bottom: .4rem;
|
|
97
|
-
font-size: 2.2rem;
|
|
98
|
-
line-height: 1.3;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
h2 {
|
|
102
|
-
font-size: 1.75rem;
|
|
103
|
-
line-height: 1.225;
|
|
104
|
-
margin: 35px 0 15px;
|
|
105
|
-
padding-bottom: 0.5em;
|
|
106
|
-
border-bottom: 1px solid #ddd;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
h3 {
|
|
110
|
-
font-size: 1.4rem;
|
|
111
|
-
line-height: 1.43;
|
|
112
|
-
margin: 20px 0 7px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
h4 {
|
|
116
|
-
font-size: 1.2rem;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
h5 {
|
|
120
|
-
font-size: 1rem;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
h6 {
|
|
124
|
-
font-size: 1rem;
|
|
125
|
-
color: #777;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
p,
|
|
129
|
-
blockquote,
|
|
130
|
-
ul,
|
|
131
|
-
ol,
|
|
132
|
-
dl,
|
|
133
|
-
table {
|
|
134
|
-
margin: 0.8em 0;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
li > ol,
|
|
138
|
-
li > ul {
|
|
139
|
-
margin: 0 0;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
hr {
|
|
143
|
-
height: 2px;
|
|
144
|
-
padding: 0;
|
|
145
|
-
margin: 16px 0;
|
|
146
|
-
background-color: #e7e7e7;
|
|
147
|
-
border: 0 none;
|
|
148
|
-
overflow: hidden;
|
|
149
|
-
box-sizing: content-box;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
body > h2:first-child {
|
|
153
|
-
margin-top: 0;
|
|
154
|
-
padding-top: 0;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
body > h1:first-child {
|
|
158
|
-
margin-top: 0;
|
|
159
|
-
padding-top: 0;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
body > h1:first-child + h2 {
|
|
163
|
-
margin-top: 0;
|
|
164
|
-
padding-top: 0;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
body > h3:first-child,
|
|
168
|
-
body > h4:first-child,
|
|
169
|
-
body > h5:first-child,
|
|
170
|
-
body > h6:first-child {
|
|
171
|
-
margin-top: 0;
|
|
172
|
-
padding-top: 0;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
a:first-child h1,
|
|
176
|
-
a:first-child h2,
|
|
177
|
-
a:first-child h3,
|
|
178
|
-
a:first-child h4,
|
|
179
|
-
a:first-child h5,
|
|
180
|
-
a:first-child h6 {
|
|
181
|
-
margin-top: 0;
|
|
182
|
-
padding-top: 0;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
h1 p,
|
|
186
|
-
h2 p,
|
|
187
|
-
h3 p,
|
|
188
|
-
h4 p,
|
|
189
|
-
h5 p,
|
|
190
|
-
h6 p {
|
|
191
|
-
margin-top: 0;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
li p.first {
|
|
195
|
-
display: inline-block;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
ul,
|
|
199
|
-
ol {
|
|
200
|
-
padding-left: 30px;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
ul:first-child,
|
|
204
|
-
ol:first-child {
|
|
205
|
-
margin-top: 0;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
ul:last-child,
|
|
209
|
-
ol:last-child {
|
|
210
|
-
margin-bottom: 0;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
blockquote {
|
|
214
|
-
border-left: 4px solid #42b983;
|
|
215
|
-
padding: 10px 15px;
|
|
216
|
-
color: #777;
|
|
217
|
-
background-color: rgba(66, 185, 131, .1);
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
table {
|
|
221
|
-
padding: 0;
|
|
222
|
-
word-break: initial;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
table tr {
|
|
226
|
-
border-top: 1px solid #dfe2e5;
|
|
227
|
-
margin: 0;
|
|
228
|
-
padding: 0;
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
table tr:nth-child(2n),
|
|
232
|
-
thead {
|
|
233
|
-
background-color: #fafafa;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
table tr th {
|
|
237
|
-
font-weight: bold;
|
|
238
|
-
border: 1px solid #dfe2e5;
|
|
239
|
-
border-bottom: 0;
|
|
240
|
-
text-align: left;
|
|
241
|
-
margin: 0;
|
|
242
|
-
padding: 6px 13px;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
table tr td {
|
|
246
|
-
border: 1px solid #dfe2e5;
|
|
247
|
-
text-align: left;
|
|
248
|
-
margin: 0;
|
|
249
|
-
padding: 6px 13px;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
table tr th:first-child,
|
|
253
|
-
table tr td:first-child {
|
|
254
|
-
margin-top: 0;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
table tr th:last-child,
|
|
258
|
-
table tr td:last-child {
|
|
259
|
-
margin-bottom: 0;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
code {
|
|
263
|
-
color: #476582;
|
|
264
|
-
padding: 0.25rem 0.5rem;
|
|
265
|
-
margin: 0;
|
|
266
|
-
font-size: .85em;
|
|
267
|
-
background-color: rgba(27,31,35,.05);
|
|
268
|
-
border-radius: 3px;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
pre {
|
|
272
|
-
max-height: 500px;
|
|
273
|
-
}
|