暫無描述

fontello.css 3.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. @font-face {
  2. font-family: 'fontello';
  3. src: url('../font/fontello.eot?14845602');
  4. src: url('../font/fontello.eot?14845602#iefix') format('embedded-opentype'),
  5. url('../font/fontello.woff2?14845602') format('woff2'),
  6. url('../font/fontello.woff?14845602') format('woff'),
  7. url('../font/fontello.ttf?14845602') format('truetype'),
  8. url('../font/fontello.svg?14845602#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?14845602#fontello') format('svg');
  19. }
  20. }
  21. */
  22. [class^="mh-icon-"]:before, [class*=" mh-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. .mh-icon-download:before { content: '\e800'; } /* '' */
  50. .mh-icon-mail:before { content: '\e801'; } /* '' */
  51. .mh-icon-heart:before { content: '\e802'; } /* '' */
  52. .mh-icon-link:before { content: '\e803'; } /* '' */
  53. .mh-icon-thumbs-up:before { content: '\e804'; } /* '' */
  54. .mh-icon-spin1:before { content: '\e830'; } /* '' */
  55. .mh-icon-spin2:before { content: '\e831'; } /* '' */
  56. .mh-icon-spin3:before { content: '\e832'; } /* '' */
  57. .mh-icon-spin4:before { content: '\e834'; } /* '' */
  58. .mh-icon-spin5:before { content: '\e838'; } /* '' */
  59. .mh-icon-spin6:before { content: '\e839'; } /* '' */
  60. .mh-icon-twitter:before { content: '\f099'; } /* '' */
  61. .mh-icon-facebook:before { content: '\f09a'; } /* '' */
  62. .mh-icon-gplus:before { content: '\f0d5'; } /* '' */
  63. .mh-icon-linkedin:before { content: '\f0e1'; } /* '' */
  64. .mh-icon-comment:before { content: '\f0e5'; } /* '' */
  65. .mh-icon-youtube:before { content: '\f16a'; } /* '' */
  66. .mh-icon-dropbox:before { content: '\f16b'; } /* '' */
  67. .mh-icon-instagram:before { content: '\f16d'; } /* '' */
  68. .mh-icon-flickr:before { content: '\f16e'; } /* '' */
  69. .mh-icon-tumblr:before { content: '\f173'; } /* '' */
  70. .mh-icon-dribbble:before { content: '\f17d'; } /* '' */
  71. .mh-icon-skype:before { content: '\f17e'; } /* '' */
  72. .mh-icon-vimeo:before { content: '\f194'; } /* '' */
  73. .mh-icon-reddit:before { content: '\f1a1'; } /* '' */
  74. .mh-icon-digg:before { content: '\f1a6'; } /* '' */
  75. .mh-icon-vine:before { content: '\f1ca'; } /* '' */
  76. .mh-icon-git:before { content: '\f1d3'; } /* '' */
  77. .mh-icon-wechat:before { content: '\f1d7'; } /* '' */
  78. .mh-icon-share:before { content: '\f1e0'; } /* '' */
  79. .mh-icon-pinterest:before { content: '\f231'; } /* '' */
  80. .mh-icon-whatsapp:before { content: '\f232'; } /* '' */