fontello.css 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. @font-face {
  2. font-family: 'fontello';
  3. src: url('../font/fontello.eot?65643375');
  4. src: url('../font/fontello.eot?65643375#iefix') format('embedded-opentype'),
  5. url('../font/fontello.woff2?65643375') format('woff2'),
  6. url('../font/fontello.woff?65643375') format('woff'),
  7. url('../font/fontello.ttf?65643375') format('truetype'),
  8. url('../font/fontello.svg?65643375#fontello') format('svg');
  9. font-weight: normal;
  10. font-style: normal;
  11. }
  12. /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
  13. /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
  14. /*
  15. @media screen and (-webkit-min-device-pixel-ratio:0) {
  16. @font-face {
  17. font-family: 'fontello';
  18. src: url('../font/fontello.svg?65643375#fontello') format('svg');
  19. }
  20. }
  21. */
  22. [class^="icon-"]:before, [class*=" icon-"]:before {
  23. font-family: "fontello";
  24. font-style: normal;
  25. font-weight: normal;
  26. speak: none;
  27. display: inline-block;
  28. text-decoration: inherit;
  29. width: 1em;
  30. margin-right: .2em;
  31. text-align: center;
  32. /* opacity: .8; */
  33. /* For safety - reset parent styles, that can break glyph codes*/
  34. font-variant: normal;
  35. text-transform: none;
  36. /* fix buttons height, for twitter bootstrap */
  37. line-height: 1em;
  38. /* Animation center compensation - margins should be symmetric */
  39. /* remove if not needed */
  40. margin-left: .2em;
  41. /* you can be more comfortable with increased icons size */
  42. /* font-size: 120%; */
  43. /* Font smoothing. That was taken from TWBS */
  44. -webkit-font-smoothing: antialiased;
  45. -moz-osx-font-smoothing: grayscale;
  46. /* Uncomment for 3D effect */
  47. /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
  48. }
  49. .icon-down-open:before { content: '\e800'; } /* '' */