MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
#p-logo { | #p-logo { | ||
display: none; | |||
} | |||
/* Hide tabs for anonymous users */ | |||
.mw-anonuser #ca-talk, /* Discussion tab */ | |||
.mw-anonuser #ca-view, /* Read tab */ | |||
.mw-anonuser #ca-viewsource, /* View Source tab */ | |||
.mw-anonuser #ca-history, /* View History tab */ | |||
.mw-anonuser #p-tb { /* Toolbox */ | |||
display: none; | display: none; | ||
} | } |
Revision as of 12:09, 5 February 2025
/* CSS placed here will be applied to all skins */ @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); h1.firstHeading { font-family: 'Roboto', sans-serif; } h2, h3, h4, h5, h6 { font-family: 'Roboto', sans-serif; } #p-search { position: absolute; top: 10px; /* Adjust as needed */ right: 20px; /* Change to move it left/right */ } /* Change background color for Vector skin */ body { background-color: #77d0ff; /* Replace with your desired color */ } #p-logo { display: none; } /* Hide tabs for anonymous users */ .mw-anonuser #ca-talk, /* Discussion tab */ .mw-anonuser #ca-view, /* Read tab */ .mw-anonuser #ca-viewsource, /* View Source tab */ .mw-anonuser #ca-history, /* View History tab */ .mw-anonuser #p-tb { /* Toolbox */ display: none; }