editormd.logo.scss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. @charset "UTF-8";
  2. @import "lib/variables";
  3. @import "lib/prefixes";
  4. @font-face {
  5. font-family: 'editormd-logo';
  6. src:url('../fonts/editormd-logo.eot?-5y8q6h');
  7. src:url('.../fonts/editormd-logo.eot?#iefix-5y8q6h') format('embedded-opentype'),
  8. url('../fonts/editormd-logo.woff?-5y8q6h') format('woff'),
  9. url('../fonts/editormd-logo.ttf?-5y8q6h') format('truetype'),
  10. url('../fonts/editormd-logo.svg?-5y8q6h#icomoon') format('svg');
  11. font-weight: normal;
  12. font-style: normal;
  13. }
  14. #{$prefix}logo,
  15. #{$prefix}logo-1x,
  16. #{$prefix}logo-2x,
  17. #{$prefix}logo-3x,
  18. #{$prefix}logo-4x,
  19. #{$prefix}logo-5x,
  20. #{$prefix}logo-6x,
  21. #{$prefix}logo-7x,
  22. #{$prefix}logo-8x {
  23. font-family: 'editormd-logo';
  24. speak: none;
  25. font-style: normal;
  26. font-weight: normal;
  27. font-variant: normal;
  28. text-transform: none;
  29. font-size: inherit;
  30. line-height: 1;
  31. display: inline-block;
  32. text-rendering: auto;
  33. vertical-align: inherit;
  34. //Better Font Rendering
  35. -webkit-font-smoothing: antialiased;
  36. -moz-osx-font-smoothing: grayscale;
  37. &:before {
  38. content: "\e1987";
  39. /*
  40. HTML Entity 󡦇
  41. example: <span class="editormd-logo">&#xe1987;</span>
  42. */
  43. }
  44. }
  45. #{$prefix}logo-1x {
  46. font-size: 1em;
  47. }
  48. #{$prefix}logo-lg {
  49. font-size: 1.2em;
  50. }
  51. #{$prefix}logo-2x {
  52. font-size: 2em;
  53. }
  54. #{$prefix}logo-3x {
  55. font-size: 3em;
  56. }
  57. #{$prefix}logo-4x {
  58. font-size: 4em;
  59. }
  60. #{$prefix}logo-5x {
  61. font-size: 5em;
  62. }
  63. #{$prefix}logo-6x {
  64. font-size: 6em;
  65. }
  66. #{$prefix}logo-7x {
  67. font-size: 7em;
  68. }
  69. #{$prefix}logo-8x {
  70. font-size: 8em;
  71. }
  72. #{$prefix}logo-color {
  73. color: $mainColor;
  74. }