mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-18 13:05:50 +00:00
33 lines
710 B
Plaintext
33 lines
710 B
Plaintext
|
@import 'mediawiki.mixins.less';
|
||
|
|
||
|
/* Hide, but keep accessible for screen-readers */
|
||
|
#mw-navigation h2 {
|
||
|
position: absolute;
|
||
|
top: -9999px;
|
||
|
}
|
||
|
|
||
|
#mw-head {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
right: 0;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
/* Navigation Containers */
|
||
|
#left-navigation {
|
||
|
float: left;
|
||
|
margin-left: 10em;
|
||
|
margin-top: 2.5em;
|
||
|
/* When right nav would overlap left nav, it's placed below it
|
||
|
(normal CSS floats behavior). This rule ensures that no empty space
|
||
|
is shown between them due to right nav's margin-top. Page layout
|
||
|
is still broken, but at least the nav overlaps only the page title
|
||
|
instead of half the content. */
|
||
|
margin-bottom: -2.5em;
|
||
|
}
|
||
|
|
||
|
#right-navigation {
|
||
|
float: right;
|
||
|
margin-top: 2.5em;
|
||
|
}
|