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>
@import url(http://fonts.googleapis.com/css?family=Play:400,700);<br>
@import url(http://fonts.googleapis.com/css?family=Molle:400italic);<br>
...<br>
...<br>
.TempusServaPage h3 { font: normal 14px 'play'}<br>
.TempusServaPage h3 { font-family: 'Molle'}<br>
</blockquote>
</blockquote>

Revision as of 14:49, 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'}