MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Hggenusrwki (talk | contribs) No edit summary |
Hggenusrwki (talk | contribs) No edit summary |
||
Line 34: | Line 34: | ||
body, .mw-body { | body, .mw-body { | ||
background-image: none !important; | background-image: none !important; | ||
background-color: # | background-color: #E2E6E6 !important; /* Replace with your desired color */ | ||
color: white; /* Text color for contrast */ | color: white; /* Text color for contrast */ | ||
} | } |
Revision as of 18:04, 12 March 2025
/* CSS placed here will be applied to all skins */ #p-tb { display: none !important; } /* Make portlet backgrounds transparent */ .mw-portlet { background: transparent !important; border: none !important; } /* Make the portlet heading text color match Vector */ .mw-portlet h3 { color: #000 !important; } /* Make the search input and button have equal widths */ #p-search form { display: flex; width: 100%; } #p-search input[type="search"] { flex: 1; } #p-search input[type="submit"] { flex: 1; padding: 10px; } /* Remove background images and set a solid background color */ body, .mw-body { background-image: none !important; background-color: #E2E6E6 !important; /* Replace with your desired color */ color: white; /* Text color for contrast */ } /* Hide the Discussion tab */ #ca-discussion, #ca-talk { display: none !important; } /* Hide the Watchlist tab */ #ca-watch { display: none !important; } /* You can also hide other irrelevant tabs like History */ #ca-history { display: none !important; } /* Hide the "contribution" tab */ #ca-contributions { display: none !important; }