MediaWiki:Common.css: Difference between revisions
From Bondix Wiki
No edit summary |
No edit summary |
||
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=Jost:wght@200&family=Roboto&display=swap'); | |||
/* Top bar font modernization */ | /* Top bar font modernization */ | ||
#mw-header *, | #mw-header *, | ||
#mw-site-navigation *, | #mw-site-navigation *, | ||
#mw-related-navigation * { font-family: 'Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif } | #mw-related-navigation * { font-family: 'Roboto','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif } | ||
/* Avoid cutting off letters with descenders: g,j,p,q,y */ | /* Avoid cutting off letters with descenders: g,j,p,q,y */ | ||
Line 12: | Line 14: | ||
bottom:0.1em | bottom:0.1em | ||
} | } | ||
/* Triangle position patch */ | /* Triangle position patch */ | ||
#personal h2::after { | #personal h2::after { | ||
Line 20: | Line 21: | ||
/* Header: Site title font */ | /* Header: Site title font */ | ||
#p-logo-text a { | #p-logo-text a { | ||
font-family: ' | font-family: 'Roboto','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; | ||
font-variant: normal; | font-variant: normal; | ||
font-size: 2em; | font-size: 2em; | ||
line-height: 2.2em; | line-height: 2.2em; | ||
} | |||
h { | |||
font-family: 'Roboto'; | |||
} | |||
#bodyContent { | |||
font-family: 'Jost'; | |||
} | } |
Revision as of 13:41, 17 October 2022
/* CSS placed here will be applied to all skins */ @import url('https://fonts.googleapis.com/css2?family=Jost:wght@200&family=Roboto&display=swap'); /* Top bar font modernization */ #mw-header *, #mw-site-navigation *, #mw-related-navigation * { font-family: 'Roboto','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif } /* Avoid cutting off letters with descenders: g,j,p,q,y */ #personal h2 span { height: 1.5em; position:relative; bottom:0.1em } /* Triangle position patch */ #personal h2::after { position: relative; bottom: 0.5em; } /* Header: Site title font */ #p-logo-text a { font-family: 'Roboto','Segoe UI','Segoe UI Emoji','Segoe UI Symbol','Lato','Liberation Sans','Noto Sans','Helvetica Neue','Helvetica',sans-serif; font-variant: normal; font-size: 2em; line-height: 2.2em; } h { font-family: 'Roboto'; } #bodyContent { font-family: 'Jost'; }