MediaWiki:Common.css: Difference between revisions
No edit summary Tag: Manual revert |
No edit summary Tag: Reverted |
||
| Line 24: | Line 24: | ||
body.mw-anonuser #ca-login { | body.mw-anonuser #ca-login { | ||
display: none !important; | display: none !important; | ||
} | |||
.mw-ui-button .thumb, | |||
.mw-ui-button .thumbinner, | |||
.mw-ui-button .thumbimage { | |||
margin: 0; | |||
padding: 0; | |||
border: none; | |||
} | |||
/* Ensure the image fills its container */ | |||
.mw-ui-button .thumbimage { | |||
display: block; | |||
width: 100%; | |||
height: auto; | |||
} | |||
/* Reset margins and paddings on links wrapping images */ | |||
.mw-ui-button a { | |||
margin: 0; | |||
padding: 0; | |||
border: none; | |||
text-decoration: none; | |||
} | |||
/* Remove default font size to eliminate inline whitespace */ | |||
.mw-ui-button { | |||
font-size: 0; | |||
} | |||
/* Restore font size for child elements */ | |||
.mw-ui-button * { | |||
font-size: initial; | |||
} | } | ||
Revision as of 21:57, 24 September 2024
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
.mw-page-title-main .mw-namespace {
display: none;
}
.page-header h1.firstHeading {
display: none;
}
#ca-nstab-main { display: none !important; }
body.mw-anonuser #ca-history {
display: none !important;
}
body.mw-anonuser #ca-view {
display: none !important;
}
body.mw-anonuser #ca-viewsource {
display: none !important;
}
body.mw-anonuser #ca-login {
display: none !important;
}
.mw-ui-button .thumb,
.mw-ui-button .thumbinner,
.mw-ui-button .thumbimage {
margin: 0;
padding: 0;
border: none;
}
/* Ensure the image fills its container */
.mw-ui-button .thumbimage {
display: block;
width: 100%;
height: auto;
}
/* Reset margins and paddings on links wrapping images */
.mw-ui-button a {
margin: 0;
padding: 0;
border: none;
text-decoration: none;
}
/* Remove default font size to eliminate inline whitespace */
.mw-ui-button {
font-size: 0;
}
/* Restore font size for child elements */
.mw-ui-button * {
font-size: initial;
}