MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Marshall (Fall back to monospace if APL385 can't be loaded) |
Miraheze>Marshall (Fall back to monospace differently) |
||
Line 8: | Line 8: | ||
url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.ttf") format("truetype"), /* Safari, Android, iOS */ | url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.ttf") format("truetype"), /* Safari, Android, iOS */ | ||
url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.woff") format("woff"), /* Modern Browsers */ | url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.woff") format("woff"), /* Modern Browsers */ | ||
url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.woff2") format("woff2") | url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.woff2") format("woff2"); /* Modern Browsers */ | ||
font-weight: normal; | font-weight: normal; | ||
font-style: normal; | font-style: normal; | ||
Line 17: | Line 16: | ||
} | } | ||
.apl{ | .apl{ | ||
font-family: 'APL385 Unicode'; | font-family: 'APL385 Unicode',monospace; | ||
line-height: 2.4ex; | line-height: 2.4ex; | ||
white-space: pre-wrap; | white-space: pre-wrap; |
Revision as of 09:59, 17 October 2019
/* CSS placed here will be applied to all skins */ @font-face { font-family: "APL385 Unicode"; src: url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.eot"); /* IE9 Compat Modes */ src: local('APL385 Unicode'), url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.otf") format("opentype"), /* Open Type Font */ url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.ttf") format("truetype"), /* Safari, Android, iOS */ url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.woff") format("woff"), /* Modern Browsers */ url("https://github.com/rikedyp/APLcourse/raw/master/assets/Apl385.woff2") format("woff2"); /* Modern Browsers */ font-weight: normal; font-style: normal; } .c td { text-align: center; } .apl{ font-family: 'APL385 Unicode',monospace; line-height: 2.4ex; white-space: pre-wrap; font-size: 1.2em; } code { border: none; } .worksin { position: relative; text-align: right; margin-top: -3em; right: 1ex; font-size: smaller; opacity: 0.6; } .worksin:hover{ opacity:1; } #f-poweredbyico,#footer-poweredbyico{ visibility: hidden;width:0; }