-
Notifications
You must be signed in to change notification settings - Fork 3
/
FloatHead.css
66 lines (56 loc) · 1.08 KB
/
FloatHead.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
/*** Float Head ***/
/* Makes the side menu float and makes it scroll-able */
/* Documentation at [[en:w:User:BrandonXLF/FloatHead]] */
/* By [[en:w:User:BrandonXLF]] */
/* Based off of [[en:w:User:Rezonansowy/FloatHead.css]] */
/* head */
#mw-head {
position: fixed !important;
top: 0;
left: 0;
right: 0;
width: 100%;
}
/* Bottom border */
#mw-head::before {
position: absolute;
content: '';
top: -1px;
left: 11em;
right: 0;
height: 100%;
border-bottom: 1px solid #a7d7f9;
z-index: -1;
}
/* Background */
#mw-page-base {
position: fixed;
top: -1px;
right: 0;
left: 0;
z-index: 3;
height: 5em;
width: 100%;
}
#mw-head,
#mw-panel {
z-index: 4;
}
#mw-head-base {
margin-top: 0;
}
/* Visual editor toolbar */
.ve-active .ve-init-mw-desktopArticleTarget {
margin-top: 4em;
}
.ve-init-mw-desktopArticleTarget > .ve-ui-toolbar > .oo-ui-toolbar-bar {
position: fixed !important;
top: 5.714em !important;
right: -0.004em !important;
left: 12.647em !important;
}
/* StickyTableHeaders gadget */
.jquery-tablesorter > thead,
.mw-sticky-header > thead {
top: 5rem !important;
}