registerguard / bulldog

The official 2013 registerguard.com theme.
http://registerguard.com
1 stars 1 forks source link

Move RG fonts to fonts.registerguard.com #190

Open mhulse opened 10 years ago

mhulse commented 10 years ago

So we can link to the CSS styles rather than having to have this in every new project's style sheets:

/*FONTS*/
@font-face {
    font-family: "BentonSansCond Regular";
    src: url("http://fonts.registerguard.com/benton/sanscondbold.eot");
    src: url("http://fonts.registerguard.com/benton/sanscondbold.eot?#iefix") format("embedded-opentype"),
        url("http://fonts.registerguard.com/benton/sanscondbold.woff") format("woff"),
        url("http://fonts.registerguard.com/benton/sanscondbold.ttf") format("truetype"),
        url("http://fonts.registerguard.com/benton/sanscondbold.svg#web") format("svg");
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: "MillerHeadline Bold";
    src: url("http://fonts.registerguard.com/miller/headlinebold.eot");
    src: url("http://fonts.registerguard.com/miller/headlinebold.eot?#iefix") format("embedded-opentype"),
        url("http://fonts.registerguard.com/miller/headlinebold.woff") format("woff"),
        url("http://fonts.registerguard.com/miller/headlinebold.ttf") format("truetype"),
        url("http://fonts.registerguard.com/miller/headlinebold.svg#web") format("svg");
    font-style: normal;
    font-weight: bold;
}

@font-face {
    font-family: "MillerHeadline Light";
    src: url("http://fonts.registerguard.com/miller/headlinelight.eot");
    src: url("http://fonts.registerguard.com/miller/headlinelight.eot?#iefix") format("embedded-opentype"),
        url("http://fonts.registerguard.com/miller/headlinelight.woff") format("woff"),
        url("http://fonts.registerguard.com/miller/headlinelight.ttf") format("truetype"),
        url("http://fonts.registerguard.com/miller/headlinelight.svg#web") format("svg");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family:"RGWeb";
    src:url("http://fonts.registerguard.com/rg/rgweb.eot");
    src:url("http://fonts.registerguard.com/rg/rgweb.eot?#iefix") format("embedded-opentype"),
        url("http://fonts.registerguard.com/rg/rgweb.woff") format("woff"),
        url("http://fonts.registerguard.com/rg/rgweb.ttf") format("truetype"),
        url("http://fonts.registerguard.com/rg/rgweb.svg#RGWeb") format("svg");
    font-weight:normal;font-style:normal;
}
mhulse commented 9 years ago

Just moved/created CSS files, and SCSS files (for easy scss @import), on http://fonts.registerguard.com!

Here's a screen shot:

screen shot 2014-10-21 at 2 45 09 pm

Next, just need to update Bulldog and prod locations with new linkages.

mhulse commented 9 years ago

Oh, I aliased the SCSS files. The all.css does not contain raptor as that's used just for certain things, and will probably go away sooner than later. The all.css should be fore long-term, site-wide RG fonts.

mhulse commented 9 years ago

Looks like sass can't import external scss and have it combine. There is a Compass extension that will do this. I just don't feel like worrying about a dependency like Compass to do this, so going to remove the aliases (for now).