Difference between revisions of "Using Google fonts in styling"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 5: Line 5:
Change your stylesheet like this example
Change your stylesheet like this example
<blockquote>
<blockquote>
...<br>
@import url(http://fonts.googleapis.com/css?family=Molle:400italic);<br>
@import url(http://fonts.googleapis.com/css?family=Molle:400italic);<br>
...<br>
...<br>

Revision as of 14:58, 22 February 2013

Find a font you alike

http://www.google.com/webfonts

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.