Skip to content

Instantly share code, notes, and snippets.

@Rhincodon
Created July 2, 2018 17:46
Show Gist options
  • Select an option

  • Save Rhincodon/2cf54d1a8e9ed8606c94c33dcd0868f9 to your computer and use it in GitHub Desktop.

Select an option

Save Rhincodon/2cf54d1a8e9ed8606c94c33dcd0868f9 to your computer and use it in GitHub Desktop.

Revisions

  1. Rhincodon revised this gist Jul 2, 2018. 1 changed file with 12 additions and 10 deletions.
    22 changes: 12 additions & 10 deletions fonts.styl
    Original file line number Diff line number Diff line change
    @@ -9,20 +9,22 @@
    font-weight bold
    font-style normal

    @font-face
    font-family "SeroScCompPro"
    src url(../fonts/ff_sero_web_pro_bold/SeroScCompPro-Bold.ttf) format('truetype')
    font-weight bold
    font-style normal

    @font-face
    font-family "SeroCompPro"
    src url(../fonts/ff_sero_web_pro_regular/SeroWebPro.eot), url(../fonts/ff_sero_web_pro_regular/SeroWebPro.woff) format('woff'), url(../fonts/ff_sero_web_pro_regular/SeroCompPro.ttf) format('truetype')
    font-weight normal
    font-style normal

    @font-face
    font-family "SeroScCompPro"
    src url(../fonts/ff_sero_web_pro_regular/SeroScCompPro.ttf)
    html, body
    font-family 'SeroCompPro', sans-serif
    font-weight normal
    font-style normal
    font-style normal
    font-size 100%
    -webkit-text-size-adjust 100%
    font-variant-ligatures none
    -webkit-font-variant-ligatures none
    text-rendering optimizeLegibility
    -moz-osx-font-smoothing grayscale
    font-smoothing antialiased
    -webkit-font-smoothing antialiased
    text-shadow rgba(0, 0, 0, .01) 0 0 1px
  2. Rhincodon created this gist Jul 2, 2018.
    28 changes: 28 additions & 0 deletions fonts.styl
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    *
    border none
    outline none
    box-sizing border-box

    @font-face
    font-family "SeroCompPro"
    src url(../fonts/ff_sero_web_pro_bold/SeroWebPro-Bold.eot), url(../fonts/ff_sero_web_pro_bold/SeroWebPro-Bold.woff) format('woff'), url(../fonts/ff_sero_web_pro_bold/SeroCompPro-Bold.ttf) format('truetype')
    font-weight bold
    font-style normal

    @font-face
    font-family "SeroScCompPro"
    src url(../fonts/ff_sero_web_pro_bold/SeroScCompPro-Bold.ttf) format('truetype')
    font-weight bold
    font-style normal

    @font-face
    font-family "SeroCompPro"
    src url(../fonts/ff_sero_web_pro_regular/SeroWebPro.eot), url(../fonts/ff_sero_web_pro_regular/SeroWebPro.woff) format('woff'), url(../fonts/ff_sero_web_pro_regular/SeroCompPro.ttf) format('truetype')
    font-weight normal
    font-style normal

    @font-face
    font-family "SeroScCompPro"
    src url(../fonts/ff_sero_web_pro_regular/SeroScCompPro.ttf)
    font-weight normal
    font-style normal