Skip to content

Instantly share code, notes, and snippets.

@rickbenetti
Last active December 14, 2015 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rickbenetti/5a155b503d724b52d9d2 to your computer and use it in GitHub Desktop.
Save rickbenetti/5a155b503d724b52d9d2 to your computer and use it in GitHub Desktop.
CSS start para melhor leitura do texto e alguns detalhes de alinhamentos. Font-face-new - usando somente EOT e WOFF
@font-face {
font-family: 'font_desejada';
src: url('fonts/font_desejada.eot');
src: url('fonts/font_desejada.eot?#iefix') format('embedded-opentype'),
url('fonts/font_desejada.woff') format('woff'),
url('fonts/font_desejada.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
/**
*
* Adicionar ao CSS após o CSS Reset
*
* Sites para Converter Fonts em WebFonts
* http://convertfonts.com/
* http://www.fontsquirrel.com/tools/webfont-generator
* http://fontface.codeandmore.com/
*
**/
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
-webkit-font-smoothing: antialiased;
-moz-font-smoothing: antialiased;
-ms-font-smoothing: antialiased;
font-smoothing: antialiased;
-moz-text-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
-ms-text-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
text-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
-webkit-text-stroke: 1px transparent;
-moz-text-stroke: 1px transparent;
-ms-text-stroke: 1px transparent;
text-stroke: 1px transparent;
text-rendering: optimizeLegibility;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment