MediaWiki:Common.css: Difference between revisions
From Quincy Garage
change header font |
Add Open Sans for body |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap'); | ||
/* Headers use Montserrat */ | |||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
font-family: 'Montserrat', sans-serif; | font-family: 'Montserrat', sans-serif; | ||
} | |||
/* Body + UI use Open Sans */ | |||
body, p, li, td, th, | |||
#mw-panel, /* left sidebar */ | |||
#p-personal, /* top personal links */ | |||
#mw-head, /* header bar */ | |||
#mw-footer, /* footer */ | |||
.vector-menu-content { /* menu dropdowns */ | |||
font-family: 'Open Sans', sans-serif; | |||
} | } | ||
Revision as of 12:10, 26 September 2025
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');
/* Headers use Montserrat */
h1, h2, h3, h4, h5, h6 {
font-family: 'Montserrat', sans-serif;
}
/* Body + UI use Open Sans */
body, p, li, td, th,
#mw-panel, /* left sidebar */
#p-personal, /* top personal links */
#mw-head, /* header bar */
#mw-footer, /* footer */
.vector-menu-content { /* menu dropdowns */
font-family: 'Open Sans', sans-serif;
}