client/src/sass/_material-font.scss
author ymh <ymh.work@gmail.com>
Thu, 22 Jun 2017 12:53:00 +0200
changeset 77 cd27d9fc1c73
parent 69 2f42063b0869
child 135 b5aafa462956
permissions -rw-r--r--
some linting

$material-icon-font-path: '~material-design-icons/iconfont/';

@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url('#{$material-icon-font-path}MaterialIcons-Regular.eot'); /* For IE6-8 */
  src: local('Material Icons'),
    local('MaterialIcons-Regular'),
    url('#{$material-icon-font-path}MaterialIcons-Regular.woff2') format('woff2'),
    url('#{$material-icon-font-path}MaterialIcons-Regular.woff') format('woff'),
    url('#{$material-icon-font-path}MaterialIcons-Regular.ttf') format('truetype');
};

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: 'liga';
}