m-c-m-y
5/8/2018 - 2:32 AM

CSS Font

Font related

#CSS

/*https://maximilianhoffmann.com/posts/better-font-rendering-on-osx*/
/*https://www.lockedowndesign.com/firefox-font-weight-too-bold/*/

/**
 * Fix fonts that render as bold in Firefox
 *
 * Put this near the top of your style.css
 * Before any overriding styles
 */

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 400;
}

/**
 * Firefox specific rule
 */

@-moz-document url-prefix() {
  body {
    font-weight: lighter !important;
  }
}