-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmacro.less
75 lines (73 loc) · 1.49 KB
/
macro.less
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
@import "./node_modules/@jx3box/jx3box-common/css/var.less";
@import "./node_modules/csslab/base.less";
// 文章输出样式
.w-jx3macro {
.fz(15px,24px);
font-family: Monaco, Consolas, "Lucida Console", "Courier New", serif;
ol {
padding: 0 0 0 40px;
border-radius: 4px;
background: @bg-gray;
border: 1px solid #eee;
}
li {
margin: 0 !important;
background: #fafbfc;
border-bottom: 1px solid @border-hr;
border-left: 1px solid @border-hr;
&:last-child {
border-bottom: none;
}
list-style: decimal;
&:hover {
background-color: #fff;
}
}
pre {
background: none;
border: none;
padding: 6px 10px !important;
margin: 0;
.lh(24px);
border: none !important;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
white-space: normal;
}
}
@media print {
.w-jx3macro {
page-break-inside: avoid !important;
ol {
padding-left: 0;
}
li {
list-style: none;
border-left: none;
}
}
}
//注释
.jx3macro-comment {
color: #22863a;
}
//条件
.jx3macro-condition {
color: #6f42c1;
}
//符号
.jx3macro-key {
color: #d73a49;
}
//命令
.jx3macro-keyword-cast {
color: #005cc5;
}
.jx3macro-keyword-fcast {
color: #e6a11d;
}
.jx3macro-keyword-msg {
color: #666;
}
//技能
.jx3macro-skill-name {
}