forked from markpluslabs/react-markplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
markdown-plus.css
88 lines (73 loc) · 1.43 KB
/
markdown-plus.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
body{
margin: 0;
padding: 0;
}
.ui-layout-pane {
border-width: 0;
padding: 0;
margin: 0;
}
.ui-layout-north { /* 工具栏背景色 */
background-color: #eeeeee;
}
#editor {
position: absolute;
width: 100%;
height: 100%;
}
.markdown-body { /* 模拟GitHub的页面设置 */
min-width: 200px;
max-width: 790px;
margin: 0 auto;
padding: 30px;
}
li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 {
list-style-type: decimal !important; /* 强制每行都显示行号 */
}
.markdown-body ol.linenums {
color: #bbbbbb;
}
ul, ol {
list-style-position: inside;
}
li.nostyle {
list-style: none;
}
#toolbar {
padding-left: 16px;
color: #666666;
}
#toolbar .fa, #toolbar .icon {
padding: 2px;
border: 1px solid transparent;
}
#toolbar .fa:hover, #toolbar .icon:hover {
background-color: #dddddd;
border-color: #cccccc;
cursor: pointer;
}
.ui-layout-toggler {
background-color: #cccccc;
}
.ui-layout-toggler:hover {
background-color: #add8e6; /* 浅蓝色 */
}
.heading-icon {
font-weight: bold;
}
i.dividor { /* toolbar 上面的分隔竖线 */
font-style: normal;
color: #dddddd;
margin: 0 6px;
}
.taskbox {
margin-right: 8px !important;
}
.noselect { /* toolbar上面的按钮无论怎样点击都不应该选中 */
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}