-
Notifications
You must be signed in to change notification settings - Fork 2
/
my-theme.css
253 lines (243 loc) · 5.52 KB
/
my-theme.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
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
:root {
/* --base-font-size: 14px; */
/* --theme-color : purple; */
--cover-color :red;
--sidebar-nav-link-before-content-l1: '馃榾';
--sidebar-nav-link-background-color--active : red;
--sidebar-nav-link-background-color--hover : red;
--cus-color: #0B93E9;
--sidebar-nav-pagelink-background-image : url('./assets/down.svg') no-repeat right center;
--sidebar-nav-pagelink-background-image--active : url('./assets/up.svg') no-repeat 210px 17px;
--theme-color-secondary:#030418;
}
/*
表格中重复表头字段问题解决
*/
td::before{
content:""!important;
}
.app-nav{
position: fixed;
top: 0;
width: 100%;
height: 50px;
opacity: 1;
/* background-image: linear-gradient(90deg, #004569 0%, #211A56 86%); */
background:#030418;
}
.app-nav.no-badge{
display: flex;
margin: 0 0 0 0;
color:#FFFFFF;
align-items: center;
flex-direction: row-reverse;
box-shadow: 0 -1px 0 0 #48506C, 0 1px 0 0 #48506C;
}
.app-nav li{
/* color:#FFFFFF; */
font-family: PingFangSC-Regular;
font-size: 14px;
}
.app-nav li ul{
color: #0B93E9;
/* color: var(--theme-color); */
}
.cusImg{
position: fixed;
top: 9px;
left: 37px;
width: 150px;
height: 30px;
padding-left: 42px;
background: url('./assets/group.svg') no-repeat left center;
z-index: 2;
font-size: 22px;
color: #FFFFFF;
}
.navbar-custom{
position: fixed;
top: 0;
right: 100px;
height: 50px;
z-index: 2;
display: flex;
/* margin: 0 70px 0 0; */
align-items: center;
font-family: PingFangSC-Regular;
font-size: 14px;
}
.navbar-custom a{
padding-right: 30px;
color: #FFFFFF;
}
.sidebar{
/* position: absolute; */
top: 50px;
}
.search .input-wrap{
background: #030418;
box-shadow: 0 -1px 0 0 #48506C, 0 1px 0 0 #48506C;
}
.search .clear-button svg {
transform: scale(1.0) !important;
}
.search .clear-button.show{
opacity:0;
}
.input-warp{
height: 54px;
}
/* .sidebar .search input{
padding: 8px 0 8px 72px;
border: 1px solid #6095C1;
border-left: 0;
border-right: 0;
background: #083B65 url('./assets/search.svg') no-repeat 40px center;
} */
.sidebar .search input{
margin: 10px 28px 10px 30px;
height: 30px;
border: 1px solid #48506C;
border-radius: 16px;
border-left: 0;
border-right: 0;
background: #48506C;
}
.sidebar .sidebar-nav ul li.active>a{
color: #0B93E9;
}
.sidebar .sidebar-nav>ul{
background: url(./assets/icon_Angle.svg) no-repeat 15px 12px;
}
.sidebar ul{
padding: 0 5px 0 40px;
}
.sidebar .sidebar-nav ul li.active>a {
border-right-width: 0;
}
/* ::-webkit-input-placeholder{
color: #B2CEE5;
} */
::-webkit-input-placeholder{
padding-left: 20px;
font-family: ArialMT;
font-size: 14px;
color: #9BA0BC;
letter-spacing: 0;
background: url(./assets/icon_search.svg) no-repeat left center
}
/* 鍝嶅簲寮忓竷灞� */
@media screen and (max-width:500px){
.cusImg{
padding-left: 10px;
background-color: #211A56;
width: 100%;
height: 50px;
left: 0;
text-align: center;
line-height: 2;
/* vertical-align: middle; */
top: 0;
background-position: 13px;
}
/* .app-nav.no-badge{
width: 100px;
align-items: flex-end;
background: #211A56;
z-index: 3;
} */
.app-nav li{
height: 43px;
}
}
/* @media screen and (max-width: 768px){
body .sidebar-toggle {
background-color: #fff;
position: absolute;
top: 0;
right: 1px;
left: 319px;
width: 56px;
height: 56px;
}
} */
/* .sidebar ul li a {
background: url('./assets/down.svg') no-repeat right center;
} */
/* 灞曞紑绠ご */
.sidebar-nav li>a[href^="#/"]:not([href*="?id="]):not(:only-child){
background: var(--sidebar-nav-pagelink-background-image);
}
/* .sidebar-nav li.active>a[href^="#/"]:not([href*="?id="]):not(:only-child){
background: var(--sidebar-nav-pagelink-background-image--active);
} */
/* .sidebar-nav li p>a[href^="#/"]:not([href*="?id="]):only-child{
background: var(--sidebar-nav-pagelink-background-image);
}
.sidebar-nav li p.active>a[href^="#/"]:not([href*="?id="]):not(:only-child){
background: var(--sidebar-nav-pagelink-background-image--active);
} */
.sidebar-nav li.collapse>a[href^="#/"]:not([href*="?id="]):not(:only-child){
background: var(--sidebar-nav-pagelink-background-image--active);
}
/* .anchor::before{
position: static;
display:block;
content:'';
width:100%;
height:60px;
} */
h2 .anchor::before{
display: flex;
content: url(./assets/icon_Angle.svg);
width: 100%;
height: 47px;
align-items: center;
opacity: 1;
}
.anchor::before{
content: '';
}
.markdown-section{
font-size: 1rem;
}
.markdown-section a {
color: var(--cus-color);
border-bottom: 0;
}
.sidebar-toggle{
width: 56px
}
.markdown-section pre, .markdown-section pre > code {
font-size: initial;
}
.markdown-section pre{
padding: 1em
}
.sidebar ul li a {
height: 35px;
font-size: 13px
}
.sidebar li {
margin: 0;
/* height: 35px; */
}
.markdown-section p{
font-size: 15px
}
.markdown-section pre{
font-size: 12px
}
.markdown-section pre, .markdown-section pre > code{
font-size: 12px
}
#main h3 a{
border-bottom: 0;
}
.markdown-section pre, .markdown-section pre > code{
font-family: ArialMT;
font-size: 14px;
color: #24272B;
text-align: left;
background-color:#F3F5FA;
}