Template:Styles/add logoWikipedia1.css: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/* Logos - WP on top, WMF horizontal below */
/* Logos - WP on top, WMF horizontal below */
#p-logo a {
#p-logo a {
/* Need explicit height for backgrounds for IE */
background: top 30% center url(https://donate.wikimedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg), top 70% center url(https://upload.wikimedia.org/wikipedia/donate/6/60/Wmf_logo_horiz_K.svg);
background: top 30% center/160px 24px url(https://donate.wikimedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg), top 70% center/160px 37px url(https://upload.wikimedia.org/wikipedia/donate/6/60/Wmf_logo_horiz_K.svg);
background-repeat: no-repeat;
background-repeat: no-repeat;
background-size: 160px auto;
margin-left: 8px;
}
}


Line 13: Line 14:
width: 100%;
width: 100%;
height: 160px;
height: 160px;
}
#p-logo a {
margin-left: 0;
}
}
}
}

Latest revision as of 21:46, 17 November 2020

/* Logos - WP on top, WMF horizontal below */
#p-logo a {
    /* Need explicit height for backgrounds for IE */
    background: top 30% center/160px 24px url(https://donate.wikimedia.org/static/images/mobile/copyright/wikipedia-wordmark-en.svg), top 70% center/160px 37px url(https://upload.wikimedia.org/wikipedia/donate/6/60/Wmf_logo_horiz_K.svg);
    background-repeat: no-repeat;
    margin-left: 8px;
}

@media screen and (max-width: 981px) {
    #content {
        padding-top: 140px;
    }
    #mw-panel, #p-logo, #p-logo a {
        width: 100%;
        height: 160px;
    }
    #p-logo a {
        margin-left: 0;
    }
}