-
-
Save iArnaud/6425201 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Lucida Grande doesn't have italics, but is preferable for its small size awesomeness. | |
* Lucida Sans has lovely italics. | |
* Let's use @font-face to combine them | |
*/ | |
body { | |
font-family:'Lucida Improved','Lucida Grande','Lucida Sans','Lucida Sans Unicode',Verdana,sans-serif; | |
} | |
@font-face { | |
font-family:'Lucida Improved'; | |
src: local('LucidaSans-DemiItalic'), local('Lucida Sans Demibold Italic'); | |
font-weight:bold; | |
font-weight:italic; | |
} | |
@font-face { | |
font-family:'Lucida Improved'; | |
src: local('LucidaGrande-Bold'), local('Lucida Grande Bold'), local('LucidaSans-Demi'), local('Lucida Sans Demibold Roman'); | |
font-weight:bold; | |
font-style:normal; | |
} | |
@font-face { | |
font-family:'Lucida Improved'; | |
src: local('LucidaSans-Italic'), local('Lucida Sans Italic'), local('LucidaGrande'), local('Lucida Grande'); | |
font-style:italic; | |
font-weight:normal; | |
} | |
@font-face { | |
font-family:'Lucida Improved'; | |
src: local('LucidaGrande'), local('Lucida Grande'); | |
font-style:normal; | |
font-weight:normal; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>Lucida Improved Font Stack</title> | |
<link rel="stylesheet" href="lucida-improved.css" /> | |
<style type="text/css"> | |
body {margin:1em auto 2em; width:67%; background-color:#fff; font-size:16px; line-height:1.4;} | |
h1 {margin:0;} | |
h2 {margin:0 0 1em;} | |
a {color:#900;} | |
.italic {font-style:italic;} | |
.bold {font-weight:bold;} | |
</style> | |
</head> | |
<body> | |
<h1>Lucida Improved</h1> | |
<h2 class="italic">Because Italics are Better than Oblique</h2> | |
<p>Pellentesque habitant <em>morbi</em> tristique senectus et netus et <strong>malesuada fames</strong> ac turpis egestas. Vestibulum tortor quam, feugiat vitae, <strong><em>ultricies eget</em></strong>, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<p class="italic">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<p class="bold">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<p class="bold italic">Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> | |
<br /> | |
<p>Brought to you by <a href="http://somadesign.ca/">Matt Wiebe</a>. View source on <a href="http://gist.github.com/575532">gist.github</a></p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment