There's some tricks to getting this to work on the greatest number of browsers possible. I would suggest taking a look at:
http://www.fontsquirrel.com/fontface/generator - Trevor On Sun, May 8, 2011 at 9:08 PM, Brian Bell <[email protected]> wrote: > Greetings! > > I am wanting to be able to display a font family in my wiki, that is not > common. > > On my website, in the main cascading style sheet (.css) I use the > following: > @font-face { > font-family: 'SteelWolf'; > src: local('SteelWolf-Medium'), > url('../fonts/SteelWolf-Medium.woff') format('woff'), > url('../fonts/SteelWolf-Medium.ttf') format('truetype'); > } > > Along with > span.sw { font-family: SteelWolf; } > > This allows the viewer to automatically install the font and be able to > view it on the page. > > I want to do the same thing in the wiki. > I am unsure which style sheet into which to insert this code. I thought > common.css, but was unable to find it. > > If someone can help, I would appreciate it. > > -Bri > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
