-
Notifications
You must be signed in to change notification settings - Fork 3
/
FloatSide.css
43 lines (36 loc) · 1001 Bytes
/
FloatSide.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
/*** Float Side ***/
/* Makes the side menu float and makes it scrollable */
/* Documentation at [[en:w:User:BrandonXLF/FloatSide]] */
/* By [[en:w:User:BrandonXLF]] */
#mw-panel, /* Vector */
#quickbar, /* CologneBlue */
#mw_portlets, /* Modern */
#sidebar, /* Monobook */
#mw-site-navigation, /* Timeless */
#mw-related-navigation /* Timeless right */ {
position: fixed;
overflow: hidden;
height: 100%;
}
#mw-related-navigation /* Timeless right */ {
right: calc(calc(calc(100% - 115em) / 2) - 1em);
padding-bottom: 14em;
}
#mw-site-navigation /* Timeless */ {
padding-bottom: 14em;
}
#mw-panel:hover, /* Vector */
#quickbar:hover, /* CologneBlue */
#mw_portlets:hover, /* Modern */
#sidebar:hover, /* Monobook */
#mw-site-navigation:hover, /* Timeless */
#mw-related-navigation:hover /* Timeless right */ {
overflow-y: auto;
overflow-x: hidden;
}
.skin-timeless #mw-content-wrapper /* Timeless */ {
margin: 0 14em;
}
.skin-monobook .mw-wiki-logo /* Monobook */ {
position: fixed;
}