MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 27: | Line 27: | ||
#p-logo a { | #p-logo a { | ||
background-size: contain !important; | background-size: contain !important; | ||
height: | height: 120px !important; /* Adjust height */ | ||
width: 200px !important; /* Adjust width */ | width: 200px !important; /* Adjust width */ | ||
} | } | ||
Revision as of 10:22, 23 April 2025
/* Resize sidebar logo on desktop */
@media screen and (min-width: 768px) {
#p-logo {
background-size: contain !important;
background-repeat: no-repeat;
background-position: center;
max-width: 120px;
height: 60px;
margin: 10px auto;
}
#p-logo a {
display: block;
height: 60px;
}
#p-logo a img {
max-height: 60px;
width: auto;
display: block;
margin: 0 auto;
}
}
/* Resize logo in the top left corner for desktop view */
#p-logo a {
background-size: contain !important;
height: 120px !important; /* Adjust height */
width: 200px !important; /* Adjust width */
}