MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 37: | Line 37: | ||
.button { | .custom-button { | ||
display: inline-block; | |||
padding: 10px 20px; | |||
font-size: 14px; | |||
color: #fff; | |||
background-color: #007bff; | |||
border-radius: 5px; | |||
text-decoration: none; | |||
text-align: center; | |||
cursor: pointer; | |||
} | } | ||
.button:hover { | .custom-button:hover { | ||
background-color: #0056b3; | |||
} | } |
Revision as of 14:03, 6 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; } .firstHeading { display: none; } .mw-headline { font-family: 'Roboto', sans-serif !important; } #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; } #ca-talk { display: none !important; } #ca-history { display: none !important;} #ca-viewsource { display: none !important; } .custom-button { display: inline-block; padding: 10px 20px; font-size: 14px; color: #fff; background-color: #007bff; border-radius: 5px; text-decoration: none; text-align: center; cursor: pointer; } .custom-button:hover { background-color: #0056b3; }