MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (35 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
h1, .mw-first-heading { | |||
text-align: left !important; | |||
} | |||
.toc, #toc { | |||
display: none !important; | |||
} | |||
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); | ||
| Line 25: | Line 33: | ||
/* Change background color for Vector skin */ | /* Change background color for Vector skin */ | ||
body { | body { | ||
background-color: # | background-color: #3eb489; /* Replace with your desired color */ | ||
} | } | ||
| Line 42: | Line 50: | ||
font-size: 14px; /* Adjusts font size */ | font-size: 14px; /* Adjusts font size */ | ||
color: #fff; /* White text color */ | color: #fff; /* White text color */ | ||
background-color: # | background-color: #3eb489; /* Blue background */ | ||
border: 1px solid black; /* Black border */ | border: 1px solid black; /* Black border */ | ||
border-radius: | border-radius: 3px; /* Rounded corners */ | ||
text-decoration: none; /* Removes underline from link */ | text-decoration: none; /* Removes underline from link */ | ||
text-align: center; /* Centers text inside the button */ | text-align: center; /* Centers text inside the button */ | ||
cursor: pointer; /* Pointer cursor on hover */ | cursor: pointer; /* Pointer cursor on hover */ | ||
} | } | ||
| Line 71: | Line 78: | ||
font-size: 14px; /* Adjusts font size */ | font-size: 14px; /* Adjusts font size */ | ||
color: #fff; /* White text color */ | color: #fff; /* White text color */ | ||
background-color: # | background-color: #3eb489; /* Blue background */ | ||
border: 1px solid black; /* Black border */ | border: 1px solid black; /* Black border */ | ||
border-radius: | border-radius: 3px; /* Rounded corners */ | ||
text-decoration: none; /* Removes underline from link */ | text-decoration: none; /* Removes underline from link */ | ||
text-align: center; /* Centers text inside the button */ | text-align: center; /* Centers text inside the button */ | ||
cursor: pointer; /* Pointer cursor on hover */ | cursor: pointer; /* Pointer cursor on hover */ | ||
} | } | ||
| Line 90: | Line 96: | ||
.static-button:hover { | .static-button:hover { | ||
color: #fff; /* White text color */ | color: #fff; /* White text color */ | ||
} | |||
.pre-content.heading-holder { | |||
display: none !important; | |||
} | } | ||