-
Notifications
You must be signed in to change notification settings - Fork 0
/
common.css
92 lines (91 loc) · 1.4 KB
/
common.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
89
90
91
92
/**
* 所有主题公共样式
* 注意:每个主题都要引用这个样式
*/
:root {
--g-font-family: "Open Sans", "LXGW WenKai", "JetBrains Mono", "-apple-system",
"Microsoft YaHei", "Times New Roman", "方正北魏楷书_GBK";
}
body {
font-family: var(--g-font-family) !important;
color: #666 !important;
}
body,
* {
box-sizing: border-box;
}
body a {
text-decoration: none;
color: #00a4ff;
}
body a:hover {
color: orangered;
}
.el-header,
.el-footer {
background-color: #fff;
color: #333;
line-height: 60px;
padding: 0;
height: auto !important;
}
.el-main {
background-color: #fff;
color: #333;
text-align: left;
line-height: 45px;
padding: 0 !important;
overflow: hidden;
}
body > .el-container {
margin-bottom: 40px;
}
.hide {
display: none;
}
/*!
* 遮罩层
*/
.mask {
position: fixed;
top: 0;
right: 0;
left: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 999999;
}
.text-center {
text-align: center;
}
/*!
* element-ui 覆盖样式
*/
.el-menu{
background-color: transparent;
}
/* 代码块 */
code-group{
}
code-group code-block{
display: none;
}
code-group code-block[active]{
display: block;
}
.code-tab{
list-style: none;
padding: 0;
margin: 0;
}
.code-tab-item{
cursor: pointer;
list-style: none;
display: inline-block;
min-width: 60px;
text-align: center;
}
.code-tab .current{
background: #f5f5f5;
padding: 5px 0;
}