File tree Expand file tree Collapse file tree 5 files changed +20
-17
lines changed
themes/doc/source/style/_doc Expand file tree Collapse file tree 5 files changed +20
-17
lines changed Original file line number Diff line number Diff line change 26
26
description : API documents for Ktorm's classes and functions.
27
27
28
28
main :
29
+ - text : GETTING STARTED
30
+ type : label
31
+
29
32
- text : Overview
30
33
type : link
31
34
path : ' /'
Original file line number Diff line number Diff line change @@ -26,11 +26,14 @@ home:
26
26
description : 查看 Ktorm 中类与函数的 API 文档
27
27
28
28
main :
29
- - text : 概述
29
+ - text : 开始
30
+ type : label
31
+
32
+ - text : 简介
30
33
type : link
31
34
path : zh-cn/
32
35
33
- - text : 快速开始
36
+ - text : 快速上手
34
37
type : link
35
38
path : zh-cn/quick-start.html
36
39
Original file line number Diff line number Diff line change 192
192
padding-left : 0px ;
193
193
194
194
& __item {
195
- margin-left : $doc-sidebar-left-margin ;
195
+ margin-left : 34px ;
196
+ margin-right : 22px ;
196
197
list-style : none ;
197
198
line-height : 30px ;
198
199
font-size : $doc-sidebar-font-size-normal ;
211
212
}
212
213
213
214
& --label {
215
+ margin-left : 22px ;
216
+ margin-top : 10px ;
217
+ padding-top : 5px ;
218
+ padding-bottom : 5px ;
214
219
border-top : $doc-sidebar-item-border ;
215
- margin-left : 0px ;
216
- padding-left : $doc-sidebar-left-margin ;
217
220
font-weight : $doc-sidebar-font-weight-bold ;
218
221
font-size : $doc-sidebar-font-size-small ;
219
- padding-bottom : 5px ;
220
- padding-top : 5px ;
221
- margin-top : 10px ;
222
222
color : $doc-sidebar-label-color ;
223
223
224
-
225
224
& :first-of-type {
226
225
border-top : initial ;
227
226
}
249
248
}
250
249
& --current .doc-sidebar-list__item--no-children > a ::before {
251
250
position : absolute ;
252
- left : 2.2 rem ;
251
+ left : 22 px ;
253
252
display : block ;
254
253
width : 1rem ;
255
254
height : 1rem ;
284
283
// Sidebar children list
285
284
.doc-sidebar-list {
286
285
& __children-list {
287
- padding-left : 10 px ;
286
+ padding-left : 12 px ;
288
287
}
289
288
290
289
& __children-list--hidden {
293
292
}
294
293
295
294
.doc-sidebar-list__item {
296
-
297
295
& --child {
298
296
margin-left : 0 ;
299
297
}
300
298
301
- & --has-children > .doc-sidebar-list__toc-list {
299
+ & --has-children > .doc-sidebar-list__toc-list {
302
300
padding-left : 24px ;
303
301
}
304
302
308
306
309
307
& :before {
310
308
position : absolute ;
311
- left : 2.2 rem ;
309
+ left : 22 px ;
312
310
display : block ;
313
311
width : 1rem ;
314
312
height : 1rem ;
Original file line number Diff line number Diff line change 1
1
.doc-search-form {
2
- max- width : 186 px ;
2
+ width : 236 px ;
3
3
4
4
& __input [type = " search" ] {
5
5
width : 100% ;
Original file line number Diff line number Diff line change @@ -26,9 +26,8 @@ $doc-navbar-width-collapsed: $doc-navbar-height !default;
26
26
27
27
// sidebar
28
28
// ------
29
- $doc-sidebar-width : 230 px !default ;
29
+ $doc-sidebar-width : 280 px !default ;
30
30
$doc-sidebar-width-collapsed : $doc-navbar-width-collapsed !default ;
31
- $doc-sidebar-left-margin : 40px !default ;
32
31
$doc-sidebar-background-color : $doc-navbar-background-color !default ;
33
32
$doc-sidebar-color : $dc-gray30 !default ;
34
33
$doc-sidebar-label-color : $dc-gray20 !default ;
You can’t perform that action at this time.
0 commit comments