MediaWiki:Common.css: Difference between revisions
add HEJI font as suggested in https://en.xen.wiki/index.php?title=User_talk:Xenwolf&oldid=100894#Add_HEJI_font_to_CSS |
Support BravuraText font |
||
| Line 62: | Line 62: | ||
/* use HEJI2Text font if class="heji" */ | /* use HEJI2Text font if class="heji" */ | ||
@font-face { | @font-face { | ||
font-family: HEJI2Text; | |||
src: url(https://plainsound.org/fonts/HEJI2Text.otf); | |||
} | } | ||
.heji { | .heji { | ||
font-family: HEJI2Text; | |||
} | |||
/* use BravuraText font if class="bravura" */ | |||
@font-face { | |||
font-family: BravuraText; | |||
src: url(https://github.com/steinbergmedia/bravura/raw/master/redist/woff/BravuraText.woff2); | |||
} | |||
.bravura { | |||
font-family: BravuraText; | |||
vertical-align: text-top; | |||
} | } | ||