-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patheditor.css
More file actions
141 lines (121 loc) · 2.83 KB
/
editor.css
File metadata and controls
141 lines (121 loc) · 2.83 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
body{
margin: 0;
padding: 0;
}
.app-only {
display: none;
}
.guest-only { /* 未注册用户 */
display: none;
}
.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 { /* 最大宽度模拟 Foundation */
min-width: 16em;
max-width: 48em;
margin: 0 auto;
padding: 1em;
}
#toolbar {
padding-left: 16px;
color: #666666;
}
#toolbar .fa {
padding: 2px;
border: 1px solid transparent;
}
#toolbar .icon {
padding: 0 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;
}
.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;
}
/* source code highlight */
.markdown-body .ace-github {
background-color: #f7f7f7 !important;
}
.markdown-body .ace-github .ace_static_highlight {
font-size: 13.6px !important;
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace !important;
}
.markdown-body .ace-github .ace_gutter {
color: rgba(0,0,0,0.3) !important;
margin-right: 16px !important;
background-color: #f7f7f7 !important;
}
.markdown-body .ace-github .ace_keyword, .markdown-body .ace-github .ace_modifier {
color: #a71d5d !important;
font-weight: normal !important;
}
.markdown-body .ace-github .ace_string {
color: #183691 !important;
}
.markdown-body .ace-github .ace_tag-name, .markdown-body .ace-github .ace_constant {
color: #63a35c !important;
}
.markdown-body .ace-github .ace_attribute-name, .markdown-body .ace-github .ace_variable {
color: #795da3 !important;
}
.markdown-body .ace-github .ace_comment {
color: #969896 !important;
font-style: normal !important;
}
.markdown-body .ace-github .ace_numeric, .markdown-body .ace-github .ace_type {
color: #0086b3 !important;
}
.remodal-overlay {
background: rgba(33, 36, 46, 0.6) !important;
}
div.mermaid {
text-align: center;
}
/*************************/
/* below is for printing */
/*************************/
@media print {
.ui-layout-pane-north, .ui-layout-pane-center .ui-layout-resizer, .ui-layout-toggler {
display: none !important;
}
table, pre, blockquote, div.mermaid {
page-break-inside: avoid;
}
.markdown-body { /* 打印不需要 scroll past end, 省纸 */
padding-bottom: 0 !important;
}
}