MediaWiki导航菜单设置

侧边栏导航(MediaWiki:Sidebar)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
* CATEGORY-SIDEBAR
* navigation
** mainpage|mainpage-description
** recentchanges-url|recentchanges
** randompage-url|randompage
** helppage|help

* 自定义一级导航1
** http://www.lengyuewusheng.com/ |自定义二级级导航1
** http://www.lengyuewusheng.com/ |自定义二级级导航2
* 自定义一级导航2
** http://www.lengyuewusheng.com/ |自定义二级级导航1
** http://www.lengyuewusheng.com/ |自定义二级级导航2
* 自定义一级导航3
** http://www.lengyuewusheng.com/ |自定义二级级导航1
** http://www.lengyuewusheng.com/ |自定义二级级导航2

* SEARCH
* TOOLBOX
* LANGUAGES

右侧悬浮目录

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
MediaWiki:Common.css
/* 放置于这里的CSS将应用于所有皮肤 */
#toc{
display: block;
position: fixed;
top: 100px;
right: 0px;
min-width: 200px;
max-width: 350px;
max-height: 10px;
overflow-y: scroll;
border: 1px solid #aaa;
border-radius: 0 0 1px 1px;
-moz-border-radius: 0 0 1px 1px;
background: rgba(249,249,249,0.75);
padding: 12px;
box-shadow: 0 1px 8px #000;
-webkit-box-shadow: 0 1px 8px #000;
-moz-box-shadow: 0 1px 8px #000;
}

#toc:hover{
display: block;
position: fixed;
top: 100px;
right: 0px;
min-width: 200px;
max-width: 350px;
max-height: 100px;
max-height: 600px;
overflow-y: scroll;
border: 1px solid #aaa;
border-radius: 0 0 1px 1px;
-moz-border-radius: 0 0 1px 1px;
background: rgba(249,249,249,0.75);
padding: 12px;
box-shadow: 0 1px 8px #000;
-webkit-box-shadow: 0 1px 8px #000;
-moz-box-shadow: 0 1px 8px #000;

}

body { overflow-x: hidden;}

/*Extension:TreeAndMenu*/
.fancytree ul {
background: none;
border: none;
font-size: 12px;
}
ul.fancytree-container {
outline: 0;
border: none;
overflow: hidden;
}
.fancytree p {
display: none;
}
span.fancytree-title {
cursor: default;
}
span.fancytree-title a {
color: black;
}

参考