Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(5 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 */ | ||
+ | @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 { | body { | ||
− | |||
color: #2c2c2c; | color: #2c2c2c; | ||
− | + | 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 14: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; }