-
Notifications
You must be signed in to change notification settings - Fork 0
/
responsive.less
78 lines (70 loc) · 1.27 KB
/
responsive.less
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
/*
The styles below essentially place the navigation menu below the content,
instead of to the side of it. They also hide the logo, as there's no space
left for it.
*/
div#mw-head {
position: static !important;
margin-top: 0.5em;
}
/* Move the panel to the bottom and display it as in-line lists */
div#mw-navigation {
div#mw-panel {
display: table;
position: static;
table-layout: fixed;
width: 100%;
overflow: hidden;
font-size: 150%;
.portal {
display: block;
width: 100%;
}
ul li {
list-style: none;
}
}
}
/* Hide the logo and tabs */
div#p-logo,
div#left-navigation,
div#p-cactions,
div#p-views {
display: none;
}
/* Rearrange various page elements to fill the now-available space */
body div#footer {
margin-left: 0;
padding-top: 0;
/* don't need these in the footer either... */
li#footer-info-lastmod,
li#footer-info-viewcount {
display: none;
}
}
div#p-personal {
display: table;
position: relative;
width: 100%;
top: inherit;
left: inherit;
right: inherit;
ul {
padding-left: 0;
}
}
div#right-navigation {
max-width: 500px;
position: absolute;
top: inherit;
margin-top: -1px;
float: none;
}
div#p-search {
margin-left: 73px;
}
div#content {
/* Hide the 1px blue border on the left side */
border-left: 0;
margin-left: 0;
}