MediaWiki:Common.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Hammersmith+One&family=Hind+Vadodara:wght@300;400;500;600;700&display=swap');
/* Apply Hammersmith One to all headings */
h1, h2, h3, h4, h5, h6,
.mw-page-title-main,
.vector-menu-heading,
#p-logo a,
.mw-headline {
font-family: 'Hammersmith One', sans-serif !important;
}
/* Apply Hind Vadodara to body text */
body,
.mw-body,
.mw-body p,
.mw-content-text,
.vector-menu-content,
.mw-parser-output {
font-family: 'Hind Vadodara', sans-serif !important;
}
/* Fine-tune heading weights since Hammersmith One is already bold */
h1, h2, h3, h4, h5, h6 {
font-weight: normal; /* Hammersmith One is naturally bold */
}
/* Set different weights for body text */
body {
font-weight: 400; /* Regular weight */
}
strong, b {
font-weight: 600; /* Semi-bold for emphasis */
}