Difference between revisions of "MediaWiki:Common.css"
From Toll Wiki
(Replaced content with "→CSS placed here will be applied to all skins: @import url('https://fonts.googleapis.com/css?family=Montserrat'); @import url('https://cdnjs.cloudflare.com/ajax/libs/f...") Tag: Replaced |
|||
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/css?family=Montserrat'); | @import url('https://fonts.googleapis.com/css?family=Montserrat'); | ||
− | @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css'); | + | /* @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');*/ |
+ | |||
+ | .fab, .fa, .fas { | ||
+ | -moz-osx-font-smoothing: grayscale; | ||
+ | -webkit-font-smoothing: antialiased; | ||
+ | display: inline-block; | ||
+ | font-style: normal; | ||
+ | font-variant: normal; | ||
+ | text-rendering: auto; | ||
+ | line-height: 1; | ||
+ | } | ||
+ | |||
+ | .fa-search:before { | ||
+ | content: "\f002"; | ||
+ | } | ||
+ | .fa-facebook-f:before { | ||
+ | content: "\f39e"; | ||
+ | } | ||
+ | |||
+ | |||
+ | @font-face { | ||
+ | font-family: "Font Awesome 5 Brands"; | ||
+ | font-style: normal; | ||
+ | font-weight: 400; | ||
+ | font-display: block; | ||
+ | src: url(../webfonts/fa-brands-400.eot); | ||
+ | src: url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"), url(../webfonts/fa-brands-400.woff2) format("woff2"), url(../webfonts/fa-brands-400.woff) format("woff"), url(../webfonts/fa-brands-400.ttf) format("truetype"), | ||
+ | url(../webfonts/fa-brands-400.svg#fontawesome) format("svg"); | ||
+ | } | ||
+ | .fab { | ||
+ | font-family: "Font Awesome 5 Brands"; | ||
+ | } | ||
+ | @font-face { | ||
+ | font-family: "Font Awesome 5 Free"; | ||
+ | font-style: normal; | ||
+ | font-weight: 400; | ||
+ | font-display: block; | ||
+ | src: url(../webfonts/fa-regular-400.eot); | ||
+ | src: url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"), url(../webfonts/fa-regular-400.woff2) format("woff2"), url(../webfonts/fa-regular-400.woff) format("woff"), | ||
+ | url(../webfonts/fa-regular-400.ttf) format("truetype"), url(../webfonts/fa-regular-400.svg#fontawesome) format("svg"); | ||
+ | } | ||
+ | .fab, | ||
+ | .far { | ||
+ | font-weight: 400; | ||
+ | } | ||
+ | |||
+ | |||
+ | @font-face { | ||
+ | font-family: "Font Awesome 5 Free"; | ||
+ | font-style: normal; | ||
+ | font-weight: 900; | ||
+ | font-display: block; | ||
+ | src: url(../webfonts/fa-solid-900.eot); | ||
+ | src: url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"), url(../webfonts/fa-solid-900.woff2) format("woff2"), url(../webfonts/fa-solid-900.woff) format("woff"), url(../webfonts/fa-solid-900.ttf) format("truetype"), | ||
+ | url(../webfonts/fa-solid-900.svg#fontawesome) format("svg"); | ||
+ | } | ||
+ | .fa, | ||
+ | .fas { | ||
+ | font-family: "Font Awesome 5 Free"; | ||
+ | } | ||
+ | .fa, | ||
+ | .fas { | ||
+ | font-weight: 900; | ||
+ | } |
Revision as of 12:09, 4 June 2021
/* CSS placed here will be applied to all skins */ @import url('https://fonts.googleapis.com/css?family=Montserrat'); /* @import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css');*/ .fab, .fa, .fas { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; display: inline-block; font-style: normal; font-variant: normal; text-rendering: auto; line-height: 1; } .fa-search:before { content: "\f002"; } .fa-facebook-f:before { content: "\f39e"; } @font-face { font-family: "Font Awesome 5 Brands"; font-style: normal; font-weight: 400; font-display: block; src: url(../webfonts/fa-brands-400.eot); src: url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"), url(../webfonts/fa-brands-400.woff2) format("woff2"), url(../webfonts/fa-brands-400.woff) format("woff"), url(../webfonts/fa-brands-400.ttf) format("truetype"), url(../webfonts/fa-brands-400.svg#fontawesome) format("svg"); } .fab { font-family: "Font Awesome 5 Brands"; } @font-face { font-family: "Font Awesome 5 Free"; font-style: normal; font-weight: 400; font-display: block; src: url(../webfonts/fa-regular-400.eot); src: url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"), url(../webfonts/fa-regular-400.woff2) format("woff2"), url(../webfonts/fa-regular-400.woff) format("woff"), url(../webfonts/fa-regular-400.ttf) format("truetype"), url(../webfonts/fa-regular-400.svg#fontawesome) format("svg"); } .fab, .far { font-weight: 400; } @font-face { font-family: "Font Awesome 5 Free"; font-style: normal; font-weight: 900; font-display: block; src: url(../webfonts/fa-solid-900.eot); src: url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"), url(../webfonts/fa-solid-900.woff2) format("woff2"), url(../webfonts/fa-solid-900.woff) format("woff"), url(../webfonts/fa-solid-900.ttf) format("truetype"), url(../webfonts/fa-solid-900.svg#fontawesome) format("svg"); } .fa, .fas { font-family: "Font Awesome 5 Free"; } .fa, .fas { font-weight: 900; }