Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(2 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 */ | ||
+ | /* pt-sans-regular - latin_latin-ext */ | ||
/* pt-sans-regular - latin_latin-ext */ | /* pt-sans-regular - latin_latin-ext */ | ||
@font-face { | @font-face { | ||
Line 6: | Line 7: | ||
font-style: normal; | font-style: normal; | ||
font-weight: 400; | font-weight: 400; | ||
− | |||
src: local('PT Sans'), local('PTSans-Regular'), | src: local('PT Sans'), local('PTSans-Regular'), | ||
− | + | url('/fonts/pt-sans-v11-latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ | |
− | url('/fonts/pt-sans-v11-latin_latin-ext-regular.woff2') format('woff2'), /* | + | url('/fonts/pt-sans-v11-latin_latin-ext-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ |
− | url('/fonts/pt-sans-v11-latin_latin-ext-regular.woff') format('woff') | ||
− | |||
− | |||
} | } | ||
/* pt-sans-700 - latin_latin-ext */ | /* pt-sans-700 - latin_latin-ext */ | ||
Line 19: | Line 16: | ||
font-style: normal; | font-style: normal; | ||
font-weight: 700; | font-weight: 700; | ||
− | |||
src: local('PT Sans Bold'), local('PTSans-Bold'), | src: local('PT Sans Bold'), local('PTSans-Bold'), | ||
− | + | url('/fonts/pt-sans-v11-latin_latin-ext-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ | |
− | url('/fonts/pt-sans-v11-latin_latin-ext-700.woff2') format('woff2'), /* | + | url('/fonts/pt-sans-v11-latin_latin-ext-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ |
− | url('/fonts/pt-sans-v11-latin_latin-ext-700.woff') format('woff') | ||
− | |||
− | |||
} | } | ||
/* pt-sans-italic - latin_latin-ext */ | /* pt-sans-italic - latin_latin-ext */ | ||
Line 32: | Line 25: | ||
font-style: italic; | font-style: italic; | ||
font-weight: 400; | font-weight: 400; | ||
− | |||
src: local('PT Sans Italic'), local('PTSans-Italic'), | src: local('PT Sans Italic'), local('PTSans-Italic'), | ||
− | + | url('/fonts/pt-sans-v11-latin_latin-ext-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ | |
− | url('/fonts/pt-sans-v11-latin_latin-ext-italic.woff2') format('woff2'), /* | + | url('/fonts/pt-sans-v11-latin_latin-ext-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ |
− | url('/fonts/pt-sans-v11-latin_latin-ext-italic.woff') format('woff') | ||
− | |||
− | |||
} | } | ||
+ | |||
body { | body { | ||
Line 45: | Line 35: | ||
font-size: 1.1rem; | font-size: 1.1rem; | ||
font-family: "PT Sans",Helvetica,Montserrat,"Helvetica Neue",Arial,sans-serif; | font-family: "PT Sans",Helvetica,Montserrat,"Helvetica Neue",Arial,sans-serif; | ||
+ | } | ||
+ | .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body h7 { | ||
+ | font-family: "PT Sans", Helvetica, Montserrat, "Helvetica Neue", Arial, sans-serif; | ||
} | } |
Latest revision as of 15:30, 3 April 2020
/* CSS placed here will be applied to all skins */ /* pt-sans-regular - latin_latin-ext */ /* pt-sans-regular - latin_latin-ext */ @font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 400; src: local('PT Sans'), local('PTSans-Regular'), url('/fonts/pt-sans-v11-latin_latin-ext-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/pt-sans-v11-latin_latin-ext-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* pt-sans-700 - latin_latin-ext */ @font-face { font-family: 'PT Sans'; font-style: normal; font-weight: 700; src: local('PT Sans Bold'), local('PTSans-Bold'), url('/fonts/pt-sans-v11-latin_latin-ext-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/pt-sans-v11-latin_latin-ext-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* pt-sans-italic - latin_latin-ext */ @font-face { font-family: 'PT Sans'; font-style: italic; font-weight: 400; src: local('PT Sans Italic'), local('PTSans-Italic'), url('/fonts/pt-sans-v11-latin_latin-ext-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('/fonts/pt-sans-v11-latin_latin-ext-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } body { color: #2c2c2c; font-size: 1.1rem; font-family: "PT Sans",Helvetica,Montserrat,"Helvetica Neue",Arial,sans-serif; } .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body h7 { font-family: "PT Sans", Helvetica, Montserrat, "Helvetica Neue", Arial, sans-serif; }