Difference between revisions of "MediaWiki talk:Valve.css"

From Team Fortress Wiki
Jump to: navigation, search
Line 22: Line 22:
 
::: Looks funky. [[User:Vi3trice|Vi3trice]] 16:52, 2 July 2010 (UTC)
 
::: Looks funky. [[User:Vi3trice|Vi3trice]] 16:52, 2 July 2010 (UTC)
 
:::You can't embed fonts from other domains unless you have a Access-Control-Allow-Origin header set in the HTTP response. I put up tf2secondary.ttf at [http://glados.biringa.com/tf2secondary.ttf] and set the server to send that header, I just tried and it works :3 — [[User:WindPower|WindPower]] 19:56, 2 July 2010 (UTC)
 
:::You can't embed fonts from other domains unless you have a Access-Control-Allow-Origin header set in the HTTP response. I put up tf2secondary.ttf at [http://glados.biringa.com/tf2secondary.ttf] and set the server to send that header, I just tried and it works :3 — [[User:WindPower|WindPower]] 19:56, 2 July 2010 (UTC)
 +
 +
I don't mean to burst any bubbles but I'm not loving the new fonts here. It might be some of the optimization settings I'm using on windows, but [http://img132.imageshack.us/img132/3343/tfwikifonts.png the text] just looks bad to me (the regular font is really meh without anti aliasing and the build font doesn't even have lowercase characters).

Revision as of 20:18, 2 July 2010

TF2 Build font.

Is it working for you? Lemme know if it is. Install TF2 Build if you want, that can be found in tf/resource. Thanks. -- Smashman... (ts) 13:53, 2 July 2010 (UTC)

Embedding

You can embed it using @font-face, like we did for tf2lobby.

@font-face {
    font-family: "TF2 Build";
    src: url("fonts/tf2build.ttf");
} 

@font-face {
    font-family: "TF2 Secondary";
    src: url("fonts/tf2secondary.ttf");
}

Just need to be able to add the font file to the site and link it from the CSS. Have you tried TF2 Secondary for the page titles? Nineaxis 16:24, 2 July 2010 (UTC)

I tried that. Didn't seem to work. -- Smashman... (ts) 16:26, 2 July 2010 (UTC)
Currently it's really bungled. Try proofreading. Nineaxis 16:28, 2 July 2010 (UTC)
Unsure if you can embed from dropbox. Nineaxis 16:29, 2 July 2010 (UTC)
I meant try TF2 secondary for the page title, not h2... pages are looking really ugly now Nineaxis 16:42, 2 July 2010 (UTC)
Looks funky. Vi3trice 16:52, 2 July 2010 (UTC)
You can't embed fonts from other domains unless you have a Access-Control-Allow-Origin header set in the HTTP response. I put up tf2secondary.ttf at [1] and set the server to send that header, I just tried and it works :3 — WindPower 19:56, 2 July 2010 (UTC)

I don't mean to burst any bubbles but I'm not loving the new fonts here. It might be some of the optimization settings I'm using on windows, but the text just looks bad to me (the regular font is really meh without anti aliasing and the build font doesn't even have lowercase characters).