Skip to content

Commit

Permalink
Fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
LeaVerou committed Jul 25, 2015
1 parent 79629b2 commit 4ce7b3b
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 38 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
style.css.map
style.css.map
.sass-cache
.codekit-cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed Damion-Regular.ttf
Binary file not shown.
Binary file removed Damion-Regular.woff
Binary file not shown.
Binary file removed Damion-Regular.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion config.codekit
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"outputStyle": 0,
"shouldRunAutoprefixer": 0,
"shouldRunBless": 0,
"useLibsass": 1
"useLibsass": 0
}
},
"hooks": [
Expand Down
20 changes: 3 additions & 17 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
@charset "UTF-8";
@import url(http://fonts.googleapis.com/css?family=Arvo:400,700|Damion);
/*
* Cascading Graphics Sheets: Generate SVG data URIs in SCSS!
* By Lea Verou http://lea.verou.me
* By Lea Verou http://lea.verou.me
* Do not use yet, API *will* change.
*/
/* Helper functions */
@font-face {
font-family: 'Arvo';
font-style: normal;
font-weight: 400;
src: local("Arvo"), url(http://fonts.gstatic.com/s/arvo/v8/rC7kKhY-eUDY-ucISTIf5PesZW2xOQ-xsNqO47m55DA.woff2) format("woff2"), url(http://fonts.gstatic.com/s/arvo/v8/WJ6D195CfbTRlIs49IbkFw.woff) format("woff"); }
@font-face {
font-family: 'Arvo';
font-style: normal;
font-weight: 700;
src: local("Arvo Bold"), local("Arvo-Bold"), url(http://fonts.gstatic.com/s/arvo/v8/uO-jO7kF010hXOpU_-jk8QLUuEpTyoUstqEm5AMlJo4.woff2) format("woff2"), url(http://fonts.gstatic.com/s/arvo/v8/0Aa8aBJcGN1n1zDNhqNrnQ.woff) format("woff"); }
@font-face {
src: local(Damion), url(Damion-Regular.woff2) format("woff2"), url(Damion-Regular) format("woff"), url(Damion-Regular.ttf) format("truetype");
font-family: Damion; }
body {
font: 100%/1.5 Rockwell, Arvo, Helvetica Neue, sans-serif;
margin: 0; }
Expand Down Expand Up @@ -170,7 +158,7 @@ footer {
position: absolute;
top: 0;
left: 0;
transform: rotate(90deg) translateX(70.71068%) rotate(-90deg) rotate(-45deg) translateY(-100%);
transform: rotate(90deg) translateX(70.71067814%) rotate(-90deg) rotate(-45deg) translateY(-100%);
transform-origin: 0 0;
padding: .4em 3em;
background: #994433;
Expand Down Expand Up @@ -205,5 +193,3 @@ footer {
.carbon-text {
display: block;
text-decoration: none; }

/*# sourceMappingURL=style.css.map */
20 changes: 1 addition & 19 deletions style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,9 @@ $accent1: hsl(185, 40%, 50%); // turquoise
$accent2: hsl(10, 50%, 40%); // dark red
$base: hsl(40, 60%, 90%); // beige

@import url(http://fonts.googleapis.com/css?family=Arvo:400,700|Damion);
@import "_svg";

@font-face {
font-family: 'Arvo';
font-style: normal;
font-weight: 400;
src: local('Arvo'), url(http://fonts.gstatic.com/s/arvo/v8/rC7kKhY-eUDY-ucISTIf5PesZW2xOQ-xsNqO47m55DA.woff2) format('woff2'), url(http://fonts.gstatic.com/s/arvo/v8/WJ6D195CfbTRlIs49IbkFw.woff) format('woff');
}

@font-face {
font-family: 'Arvo';
font-style: normal;
font-weight: 700;
src: local('Arvo Bold'), local('Arvo-Bold'), url(http://fonts.gstatic.com/s/arvo/v8/uO-jO7kF010hXOpU_-jk8QLUuEpTyoUstqEm5AMlJo4.woff2) format('woff2'), url(http://fonts.gstatic.com/s/arvo/v8/0Aa8aBJcGN1n1zDNhqNrnQ.woff) format('woff');
}

@font-face {
src: local(Damion), url(Damion-Regular.woff2) format('woff2'), url(Damion-Regular) format('woff'), url(Damion-Regular.ttf) format('truetype');
font-family: Damion;
}

body {
font: 100%/1.5 Rockwell, Arvo, Helvetica Neue, sans-serif;
margin: 0;
Expand Down

0 comments on commit 4ce7b3b

Please sign in to comment.