Merge "Remove `position: absolute` from #p-logo element"

This commit is contained in:
jenkins-bot 2017-07-15 00:28:45 +00:00 committed by Gerrit Code Review
commit 1c03a59ba6
3 changed files with 2 additions and 11 deletions

View File

@ -60,9 +60,6 @@ div#mw-head {
/* Logo */ /* Logo */
#p-logo { #p-logo {
position: absolute;
top: -160px;
left: 0;
width: 10em; width: 10em;
height: 160px; height: 160px;
@ -80,8 +77,7 @@ div#mw-head {
div#mw-panel { div#mw-panel {
font-size: @menu-main-font-size; font-size: @menu-main-font-size;
position: absolute; position: absolute;
top: 160px; top: 0;
padding-top: 1em;
width: 10em; width: 10em;
left: 0; left: 0;
@ -135,7 +131,7 @@ div#mw-panel {
/* First sidebar portlet. Not using :first-of-type for IE<=8 support. */ /* First sidebar portlet. Not using :first-of-type for IE<=8 support. */
#p-logo + div.portal { #p-logo + div.portal {
background-image: none; background-image: none;
margin-top: 0; margin-top: 1em;
h3 { h3 {
display: none; display: none;
} }

View File

@ -6,9 +6,6 @@
margin-left: 11em; margin-left: 11em;
padding: 1.25em 1.5em 1.5em 1.5em; padding: 1.25em 1.5em 1.5em 1.5em;
} }
#p-logo {
left: @menu-main-logo-left;
}
div#footer { div#footer {
margin-left: 11em; margin-left: 11em;
padding: 1.25em; padding: 1.25em;

View File

@ -33,7 +33,5 @@
@menu-main-body-margin-left: 0.5em; @menu-main-body-margin-left: 0.5em;
@menu-main-body-padding: 0.3em 0 0 0; @menu-main-body-padding: 0.3em 0 0 0;
@menu-main-logo-left: 0.5em;
// Personal menu // Personal menu
@menu-personal-font-size: 0.75em; @menu-personal-font-size: 0.75em;