Difference between revisions of "Using Google fonts in styling"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 2: Line 2:


http://www.google.com/webfonts
http://www.google.com/webfonts
Klik "Quick use" on the font you want to use and follow the directions.


Change your stylesheet like this example
Change your stylesheet like this example

Revision as of 15:59, 22 February 2013

Find a font you alike

http://www.google.com/webfonts

Klik "Quick use" on the font you want to use and follow the directions.

Change your stylesheet like this example

...
@import url(http://fonts.googleapis.com/css?family=Molle:400italic);
...
.TempusServaPage h3 { font-family: 'Molle'; }
...

The import method is needed, but embedding by a link inside a wrapper is also possible.