Stop shipping fonts in the docset. Start using free-fonts from Google and then fall-back to system fonts if those are not available.

This commit is contained in:
Mike Place 2013-10-23 15:26:10 -06:00
parent 83ee3b236f
commit cedf587522
22 changed files with 18 additions and 249 deletions

View File

@ -161,7 +161,7 @@
{%- endblock %}
{%- block extrahead %} {% endblock %}
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,800italic,300,800' rel='stylesheet' type='text/css'>
<script src="{{ pathto('_static/js/vendor/modernizr-2.6.2-respond-1.1.0.min.js', 1) }}"></script>
{%- block analytics %}

View File

@ -1,115 +1,3 @@
/* ==========================================================================
WEBFONTS
========================================================================== */
/*
Font: Nexa Light
Style: Regular
URL: http://www.youworkforthem.com/product.php?sku=T3972
Foundry: Fontfabric
Foundry: http://www.youworkforthem.com/designer/105/fontfabric
Copyright: Copyright (c) 2010 by Svetoslav Simov. All rights reserved.
Version: 1.1
Created: October 11, 2012
License: http://www.youworkforthem.com/font-license
License: The WebFont(s) listed in this document must follow the YouWorkForThem
WebFont license rules. All other parties are strictly restricted
from using the WebFonts(s) listed without a purchased license.
All details above must always remain unaltered and visible in your CSS.
*/
@font-face {
font-family: 'Nexa Light';
src: url('../fonts/nexa-light.eot');
src: url('../fonts/nexa-light.eot?#iefix') format('embedded-opentype'),
url('../fonts/nexa-light.woff') format('woff'),
url('../fonts/nexa-light.ttf') format('truetype'),
url('../fonts/nexa-light.svg#ywftsvg') format('svg');
font-weight: normal;
font-style: normal;
}
/*
Font: Nexa Light Italic
Style: Italic
URL: http://www.youworkforthem.com/product.php?sku=T3972
Foundry: Fontfabric
Foundry: http://www.youworkforthem.com/designer/105/fontfabric
Copyright: Copyright (c) 2012 by Svetoslav Simov. All rights reserved.
Version: 1.1
Created: October 11, 2012
License: http://www.youworkforthem.com/font-license
License: The WebFont(s) listed in this document must follow the YouWorkForThem
WebFont license rules. All other parties are strictly restricted
from using the WebFonts(s) listed without a purchased license.
All details above must always remain unaltered and visible in your CSS.
*/
@font-face {
font-family: 'Nexa Light Italic';
src: url('../fonts/nexa-light-italic.eot');
src: url('../fonts/nexa-light-italic.eot?#iefix') format('embedded-opentype'),
url('../fonts/nexa-light-italic.woff') format('woff'),
url('../fonts/nexa-light-italic.ttf') format('truetype'),
url('../fonts/nexa-light-italic.svg#ywftsvg') format('svg');
font-weight: normal;
font-style: normal;
}
/*
Font: Nexa XBold
Style: Regular
URL: http://www.youworkforthem.com/product.php?sku=T3972
Foundry: Fontfabric
Foundry: http://www.youworkforthem.com/designer/105/fontfabric
Copyright: Copyright (c) 2010 by Svetoslav Simov. All rights reserved.
Version: 1.1
Created: October 11, 2012
License: http://www.youworkforthem.com/font-license
License: The WebFont(s) listed in this document must follow the YouWorkForThem
WebFont license rules. All other parties are strictly restricted
from using the WebFonts(s) listed without a purchased license.
All details above must always remain unaltered and visible in your CSS.
*/
@font-face {
font-family: 'Nexa XBold';
src: url('../fonts/nexa-xbold.eot');
src: url('../fonts/nexa-xbold.eot?#iefix') format('embedded-opentype'),
url('../fonts/nexa-xbold.woff') format('woff'),
url('../fonts/nexa-xbold.ttf') format('truetype'),
url('../fonts/nexa-xbold.svg#ywftsvg') format('svg');
font-weight: normal;
font-style: normal;
}
/*
Font: Nexa XBold Italic
Style: Regular
URL: http://www.youworkforthem.com/product.php?sku=T3972
Foundry: Fontfabric
Foundry: http://www.youworkforthem.com/designer/105/fontfabric
Copyright: Copyright (c) 2012 by Svetoslav Simov. All rights reserved.
Version: 1.1
Created: October 11, 2012
License: http://www.youworkforthem.com/font-license
License: The WebFont(s) listed in this document must follow the YouWorkForThem
WebFont license rules. All other parties are strictly restricted
from using the WebFonts(s) listed without a purchased license.
All details above must always remain unaltered and visible in your CSS.
*/
@font-face {
font-family: 'Nexa XBold Italic';
src: url('../fonts/nexa-xbold-italic.eot');
src: url('../fonts/nexa-xbold-italic.eot?#iefix') format('embedded-opentype'),
url('../fonts/nexa-xbold-italic.woff') format('woff'),
url('../fonts/nexa-xbold-italic.ttf') format('truetype'),
url('../fonts/nexa-xbold-italic.svg#ywftsvg') format('svg');
font-weight: normal;
font-style: normal;
}
/* ==========================================================================
@ -129,7 +17,7 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
}
.navbar-inverse .brand, .navbar-inverse .nav > li > a {
color: #484c51;
font: 14px/24px 'Nexa Light';
font: 14px/24px 'Open Sans Light';
}
.navbar .nav li.currentNav {
background: url(../img/navCurrentArrow.png) center 32px no-repeat;
@ -145,7 +33,7 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
}
.articleCredits {
padding-left: 12px;
font: 12px/24px 'Nexa Light';
font: 12px/24px 'Open Sans Light';
white-space: pre;
}
.fullwidth {
@ -167,7 +55,7 @@ body.index .success, body.index .clients {
.testimonialAuthor {
display: block;
margin-bottom: 30px;
font: 12px/24px 'Nexa XBold';
font: 12px/24px 'Open Sans Extrabold';
color: #aa2b39;
text-transform: uppercase;
}
@ -185,12 +73,12 @@ body.index .success, body.index .clients {
}
h2.homeSecTitles {
color: #8d9caa;
font-family: 'Nexa XBold Italic';
font-family: 'Open Sans Extrabold Italic';
text-transform: capitalize;
margin-bottom: 0;
}
.success h3 {
font: 18px/30px 'Nexa Light Italic'; color: #4f575b; margin: 25px 0;
font: 18px/30px 'Open Sans Light Italic'; color: #4f575b; margin: 25px 0;
}
.success img {
margin: 30px 10px 10px 80px;
@ -214,7 +102,7 @@ h2.homeSecTitles {
}
.carousel-caption p {
margin-top: 25px;
font: 16px/24px 'Nexa Light';
font: 16px/24px 'Open Sans Light';
color: #000;
display: none;
}
@ -230,11 +118,12 @@ h2.homeSecTitles {
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Nexa Light';
font-family: 'Open Sans Light';
font-weight: normal;
}
h2 {
font: 18px/28px 'Nexa XBold';
font: 18px/28px 'Open Sans Extrabold';
text-transform: uppercase;
color: #373e4b;
margin-bottom: 0;
@ -260,11 +149,11 @@ body.products .lede {
margin-top: 30px;
}
.lede h3 {
font: 24px/30px 'Nexa Light';
font: 24px/30px 'Open Sans Light';
color: #aa2b39;
}
.lede h4 {
font: 20px/30px 'Nexa Light Italic';
font: 20px/30px 'Open Sans Light Italic';
color: #373e4b;
}
body.services .lede h4 {
@ -275,7 +164,7 @@ body.services .lede {
margin-bottom: 30px;
}
body.about h1, body.services h1, body.contact h1 {
font: 20px/30px 'Nexa XBold Italic';
font: 20px/30px 'Open Sans Extrabold Italic';
color: #4f575b;
margin-top: 0;
}
@ -284,7 +173,7 @@ body.about h1, body.services h1, body.contact h1 {
}
body.about h6 {
margin: 0;
font-family: 'Nexa Light Italic';
font-family: 'Open Sans Light Italic';
text-transform: uppercase;
line-height: 80%;
margin-bottom: 10px;
@ -301,7 +190,7 @@ body.services table th, body.services table td {
}
body.services table td {
color: #373e4b;
font-family: 'Nexa Light Italic';
font-family: 'Open Sans Light Italic';
width: 206px;
}
body.services table tr:last-child th, body.services table tr:last-child td {
@ -327,7 +216,7 @@ body.services table td.tableCenter {
padding: 5px 0;
background: #aa2b39;
color: #FFF;
font-family: 'Nexa Light';
font-family: 'Open Sans Light';
text-shadow: none;
font-weight: normal;
border: none;
@ -378,7 +267,7 @@ footer {
}
footer p, footer a {
color: #FFF;
font: 12px 'Nexa Light';
font: 12px 'Open Sans Light';
}
footer a {
display:block;
@ -395,7 +284,7 @@ footer .row-fluid {
}
.footerCol h4 {
color: #FFF;
font: 14px/24px 'Nexa XBold';
font: 14px/24px 'Open Sans Extrabold';
text-transform: uppercase;
margin-bottom: 0;
}

View File

@ -1,26 +0,0 @@
/*
Font: Nexa Light Italic
Style: Italic
URL: http://www.youworkforthem.com/product.php?sku=T3972
Foundry: Fontfabric
Foundry: http://www.youworkforthem.com/designer/105/fontfabric
Copyright: Copyright (c) 2012 by Svetoslav Simov. All rights reserved.
Version: 1.1
Created: October 11, 2012
License: http://www.youworkforthem.com/font-license
License: The WebFont(s) listed in this document must follow the YouWorkForThem
WebFont license rules. All other parties are strictly restricted
from using the WebFonts(s) listed without a purchased license.
All details above must always remain unaltered and visible in your CSS.
*/
@font-face {
font-family: 'Nexa Light Italic';
src: url('nexa-light-italic.eot');
src: url('nexa-light-italic.eot?#iefix') format('embedded-opentype'),
url('nexa-light-italic.woff') format('woff'),
url('nexa-light-italic.ttf') format('truetype'),
url('nexa-light-italic.svg#ywftsvg') format('svg');
font-weight: normal;
font-style: normal;
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 137 KiB

View File

@ -1,26 +0,0 @@
/*
Font: Nexa Light
Style: Regular
URL: http://www.youworkforthem.com/product.php?sku=T3972
Foundry: Fontfabric
Foundry: http://www.youworkforthem.com/designer/105/fontfabric
Copyright: Copyright (c) 2010 by Svetoslav Simov. All rights reserved.
Version: 1.1
Created: October 11, 2012
License: http://www.youworkforthem.com/font-license
License: The WebFont(s) listed in this document must follow the YouWorkForThem
WebFont license rules. All other parties are strictly restricted
from using the WebFonts(s) listed without a purchased license.
All details above must always remain unaltered and visible in your CSS.
*/
@font-face {
font-family: 'Nexa Light';
src: url('nexa-light.eot');
src: url('nexa-light.eot?#iefix') format('embedded-opentype'),
url('nexa-light.woff') format('woff'),
url('nexa-light.ttf') format('truetype'),
url('nexa-light.svg#ywftsvg') format('svg');
font-weight: normal;
font-style: normal;
}

Binary file not shown.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

View File

@ -1,26 +0,0 @@
/*
Font: Nexa XBold Italic
Style: Regular
URL: http://www.youworkforthem.com/product.php?sku=T3972
Foundry: Fontfabric
Foundry: http://www.youworkforthem.com/designer/105/fontfabric
Copyright: Copyright (c) 2012 by Svetoslav Simov. All rights reserved.
Version: 1.1
Created: October 11, 2012
License: http://www.youworkforthem.com/font-license
License: The WebFont(s) listed in this document must follow the YouWorkForThem
WebFont license rules. All other parties are strictly restricted
from using the WebFonts(s) listed without a purchased license.
All details above must always remain unaltered and visible in your CSS.
*/
@font-face {
font-family: 'Nexa XBold Italic';
src: url('nexa-xbold-italic.eot');
src: url('nexa-xbold-italic.eot?#iefix') format('embedded-opentype'),
url('nexa-xbold-italic.woff') format('woff'),
url('nexa-xbold-italic.ttf') format('truetype'),
url('nexa-xbold-italic.svg#ywftsvg') format('svg');
font-weight: normal;
font-style: normal;
}

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 137 KiB

View File

@ -1,26 +0,0 @@
/*
Font: Nexa XBold
Style: Regular
URL: http://www.youworkforthem.com/product.php?sku=T3972
Foundry: Fontfabric
Foundry: http://www.youworkforthem.com/designer/105/fontfabric
Copyright: Copyright (c) 2010 by Svetoslav Simov. All rights reserved.
Version: 1.1
Created: October 11, 2012
License: http://www.youworkforthem.com/font-license
License: The WebFont(s) listed in this document must follow the YouWorkForThem
WebFont license rules. All other parties are strictly restricted
from using the WebFonts(s) listed without a purchased license.
All details above must always remain unaltered and visible in your CSS.
*/
@font-face {
font-family: 'Nexa XBold';
src: url('nexa-xbold.eot');
src: url('nexa-xbold.eot?#iefix') format('embedded-opentype'),
url('nexa-xbold.woff') format('woff'),
url('nexa-xbold.ttf') format('truetype'),
url('nexa-xbold.svg#ywftsvg') format('svg');
font-weight: normal;
font-style: normal;
}

Binary file not shown.

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.