moved tabs to left panel, so it's easier to manage them in css
This commit is contained in:
parent
8d05fb227f
commit
7fdfd79a5f
|
@ -39,20 +39,9 @@
|
|||
|
||||
/* Navigation Containers */
|
||||
#left-navigation {
|
||||
margin-top: -6px;
|
||||
float: left;
|
||||
margin-left: 10em;
|
||||
/* 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 {
|
||||
margin-top: -6px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Logo */
|
||||
|
|
|
@ -17,27 +17,10 @@
|
|||
padding-left: 1px;
|
||||
|
||||
ul {
|
||||
float: left;
|
||||
height: 100%;
|
||||
list-style-type: none;
|
||||
list-style-image: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/* .background-image('images/tab-break.png'); */
|
||||
background-position: right bottom;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
li {
|
||||
float: left;
|
||||
line-height: 1.125em;
|
||||
display: block;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
/* .background-image('images/tab-normal-fade.png'); */
|
||||
background-position: bottom left;
|
||||
background-repeat: repeat-x;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -66,10 +49,6 @@
|
|||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
height: 1.9em;
|
||||
padding-left: 0.615em; // equals `8px` at computed `font-size` of `13px` below
|
||||
padding-right: 0.615em;
|
||||
color: @menu-link-color;
|
||||
cursor: pointer;
|
||||
font-size: 0.8125em; // equals `13px` at browser default of `16px`
|
||||
|
@ -77,17 +56,9 @@
|
|||
}
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
/* .background-image('images/tab-break.png'); */
|
||||
background-position: bottom right;
|
||||
background-repeat: no-repeat;
|
||||
height: 100%;
|
||||
|
||||
a {
|
||||
float: left;
|
||||
display: block;
|
||||
position: relative;
|
||||
padding-top: 1.25em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,8 +56,6 @@ class VectorTemplate extends BaseTemplate {
|
|||
$this->html( 'headelement' );
|
||||
?>
|
||||
|
||||
<div id="mw-page-base" class="noprint"></div>
|
||||
<div id="mw-head-base" class="noprint"></div>
|
||||
<div id="content" class="mw-body" role="main">
|
||||
<a id="top"></a>
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue