Remove IE6 workaround and reduce selector specificity
As we can assume that extensions and gadgets need to involve removed higher specificity this shouldn't have any influence on working code. Also merging `list-style` values into one property. Change-Id: I969a0d265e18a9e94bbd22a2982f8bdd9e6574bc
This commit is contained in:
parent
8a3530acc7
commit
ceeee2d3d0
|
@ -26,7 +26,7 @@
|
|||
height: 5em;
|
||||
}
|
||||
|
||||
div#mw-head {
|
||||
#mw-head {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
|
@ -49,8 +49,6 @@ div#mw-head {
|
|||
is still broken, but at least the nav overlaps only the page title
|
||||
instead of half the content. */
|
||||
margin-bottom: -2.5em;
|
||||
/* IE 6 double-margin bug fix */
|
||||
display: inline;
|
||||
}
|
||||
|
||||
#right-navigation {
|
||||
|
@ -74,14 +72,14 @@ div#mw-head {
|
|||
}
|
||||
|
||||
/* Panel */
|
||||
div#mw-panel {
|
||||
#mw-panel {
|
||||
font-size: @menu-main-font-size;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 10em;
|
||||
left: 0;
|
||||
|
||||
div.portal {
|
||||
.portal {
|
||||
margin: 0 0.6em 0 0.7em;
|
||||
padding: 0.25em 0;
|
||||
direction: ltr;
|
||||
|
@ -98,17 +96,17 @@ div#mw-panel {
|
|||
border: 0;
|
||||
}
|
||||
|
||||
div.body {
|
||||
.body {
|
||||
margin-left: @menu-main-body-margin-left;
|
||||
padding-top: 0;
|
||||
.background-image( 'images/portal-break.png' );
|
||||
background-repeat: no-repeat;
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
list-style-image: none;
|
||||
list-style: none none;
|
||||
margin: 0;
|
||||
padding: @menu-main-body-padding;
|
||||
}
|
||||
|
||||
li {
|
||||
line-height: 1.125em;
|
||||
|
@ -119,6 +117,7 @@ div#mw-panel {
|
|||
|
||||
a {
|
||||
color: @menu-main-body-link-color;
|
||||
|
||||
&:visited {
|
||||
color: @menu-main-body-link-visited-color;
|
||||
}
|
||||
|
@ -126,16 +125,17 @@ div#mw-panel {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* First sidebar portlet. Not using :first-of-type for IE<=8 support. */
|
||||
#p-logo + div.portal {
|
||||
#p-logo + .portal {
|
||||
background-image: none;
|
||||
margin-top: 1em;
|
||||
|
||||
h3 {
|
||||
display: none;
|
||||
}
|
||||
div.body {
|
||||
|
||||
.body {
|
||||
background-image: none;
|
||||
margin-left: @menu-main-body-margin-left;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue