Difference between revisions of "MediaWiki:Common.css"
From GBV
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
− | + | /* Google Material Icons setting, blow selector's work in combinations with content of "material" directory material directory is located in public_html*/ | |
− | |||
− | |||
− | |||
@font-face { | @font-face { | ||
font-family: 'Material Icons'; | font-family: 'Material Icons'; | ||
Line 11: | Line 8: | ||
src: local('Material Icons'), | src: local('Material Icons'), | ||
local('MaterialIcons-Regular'), | local('MaterialIcons-Regular'), | ||
− | url( | + | url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.woff2) format('woff2'), |
url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.woff) format('woff'), | url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.woff) format('woff'), | ||
url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.ttf) format('truetype'), | url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.ttf) format('truetype'), | ||
Line 17: | Line 14: | ||
url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.ijmap) format('ijmap'); | url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.ijmap) format('ijmap'); | ||
} | } | ||
− | |||
− | |||
.material-icons { | .material-icons { | ||
Line 44: | Line 39: | ||
font-feature-settings: 'liga'; | font-feature-settings: 'liga'; | ||
} | } | ||
− |
Revision as of 10:49, 15 April 2016
/* CSS placed here will be applied to all skins */ /* Google Material Icons setting, blow selector's work in combinations with content of "material" directory material directory is located in public_html*/ @font-face { font-family: 'Material Icons'; font-style: normal; font-weight: 400; src: url(http://www.gezondburgerverstand.nl/MaterialIcons-Regular.eot); /* For IE6-8 */ src: local('Material Icons'), local('MaterialIcons-Regular'), url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.woff2) format('woff2'), url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.woff) format('woff'), url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.ttf) format('truetype'), url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.svg) format('svg'), url(http://www.gezondburgerverstand.nl/material/MaterialIcons-Regular.ijmap) format('ijmap'); } .material-icons { font-family: 'Material Icons'; font-weight: normal; font-style: normal; font-size: 24px; /* Preferred icon size */ display: inline-block; line-height: 1; text-transform: none; letter-spacing: normal; word-wrap: normal; white-space: nowrap; direction: ltr; /* Support for all WebKit browsers. */ -webkit-font-smoothing: antialiased; /* Support for Safari and Chrome. */ text-rendering: optimizeLegibility; /* Support for Firefox. */ -moz-osx-font-smoothing: grayscale; /* Support for IE. */ font-feature-settings: 'liga'; }