ソースを参照

added some fonts

Casey DeLorme 10 年 前
コミット
30e615acda
1 ファイル変更97 行追加3 行削除
  1. 97 3
      public/css/main.css

+ 97 - 3
public/css/main.css

@@ -23,6 +23,7 @@ time, mark, audio, video {
     font: inherit;
     vertical-align: baseline;
 }
+
 /* HTML5 display-role reset for older browsers */
 article, aside, details, figcaption, figure,
 footer, header, hgroup, menu, nav, section {
@@ -47,7 +48,100 @@ table {
     border-spacing: 0;
 }
 
+/* fonts */
+@font-face {
+    font-family: 'fertigo_proregular';
+    src: url('/fonts/fertigo_pro_regular-webfont.eot');
+    src: url('/fonts/fertigo_pro_regular-webfont.eot?#iefix') format('embedded-opentype'),
+         url('/fonts/fertigo_pro_regular-webfont.woff2') format('woff2'),
+         url('/fonts/fertigo_pro_regular-webfont.woff') format('woff'),
+         url('/fonts/fertigo_pro_regular-webfont.ttf') format('truetype'),
+         url('/fonts/fertigo_pro_regular-webfont.svg#fertigo_proregular') format('svg');
+    font-weight: normal;
+    font-style: normal;
+}
+@font-face {
+    font-family: 'allerbold';
+    src: url('/fonts/aller_bd-webfont.eot');
+    src: url('/fonts/aller_bd-webfont.eot?#iefix') format('embedded-opentype'),
+         url('/fonts/aller_bd-webfont.woff2') format('woff2'),
+         url('/fonts/aller_bd-webfont.woff') format('woff'),
+         url('/fonts/aller_bd-webfont.ttf') format('truetype'),
+         url('/fonts/aller_bd-webfont.svg#allerbold') format('svg');
+    font-weight: normal;
+    font-style: normal;
+}
+@font-face {
+    font-family: 'allerbold_italic';
+    src: url('/fonts/aller_bdit-webfont.eot');
+    src: url('/fonts/aller_bdit-webfont.eot?#iefix') format('embedded-opentype'),
+         url('/fonts/aller_bdit-webfont.woff2') format('woff2'),
+         url('/fonts/aller_bdit-webfont.woff') format('woff'),
+         url('/fonts/aller_bdit-webfont.ttf') format('truetype'),
+         url('/fonts/aller_bdit-webfont.svg#allerbold_italic') format('svg');
+    font-weight: normal;
+    font-style: normal;
+}
+@font-face {
+    font-family: 'aller_lightitalic';
+    src: url('/fonts/aller_ltit-webfont.eot');
+    src: url('/fonts/aller_ltit-webfont.eot?#iefix') format('embedded-opentype'),
+         url('/fonts/aller_ltit-webfont.woff2') format('woff2'),
+         url('/fonts/aller_ltit-webfont.woff') format('woff'),
+         url('/fonts/aller_ltit-webfont.ttf') format('truetype'),
+         url('/fonts/aller_ltit-webfont.svg#aller_lightitalic') format('svg');
+    font-weight: normal;
+    font-style: normal;
+}
+@font-face {
+    font-family: 'alleritalic';
+    src: url('/fonts/aller_it-webfont.eot');
+    src: url('/fonts/aller_it-webfont.eot?#iefix') format('embedded-opentype'),
+         url('/fonts/aller_it-webfont.woff2') format('woff2'),
+         url('/fonts/aller_it-webfont.woff') format('woff'),
+         url('/fonts/aller_it-webfont.ttf') format('truetype'),
+         url('/fonts/aller_it-webfont.svg#alleritalic') format('svg');
+    font-weight: normal;
+    font-style: normal;
+}
+@font-face {
+    font-family: 'aller_displayregular';
+    src: url('/fonts/allerdisplay-webfont.eot');
+    src: url('/fonts/allerdisplay-webfont.eot?#iefix') format('embedded-opentype'),
+         url('/fonts/allerdisplay-webfont.woff2') format('woff2'),
+         url('/fonts/allerdisplay-webfont.woff') format('woff'),
+         url('/fonts/allerdisplay-webfont.ttf') format('truetype'),
+         url('/fonts/allerdisplay-webfont.svg#aller_displayregular') format('svg');
+    font-weight: normal;
+    font-style: normal;
+}
+@font-face {
+    font-family: 'aller_lightregular';
+    src: url('/fonts/aller_lt-webfont.eot');
+    src: url('/fonts/aller_lt-webfont.eot?#iefix') format('embedded-opentype'),
+         url('/fonts/aller_lt-webfont.woff2') format('woff2'),
+         url('/fonts/aller_lt-webfont.woff') format('woff'),
+         url('/fonts/aller_lt-webfont.ttf') format('truetype'),
+         url('/fonts/aller_lt-webfont.svg#aller_lightregular') format('svg');
+    font-weight: normal;
+    font-style: normal;
+}
+@font-face {
+    font-family: 'allerregular';
+    src: url('/fonts/aller_rg-webfont.eot');
+    src: url('/fonts/aller_rg-webfont.eot?#iefix') format('embedded-opentype'),
+         url('/fonts/aller_rg-webfont.woff2') format('woff2'),
+         url('/fonts/aller_rg-webfont.woff') format('woff'),
+         url('/fonts/aller_rg-webfont.ttf') format('truetype'),
+         url('/fonts/aller_rg-webfont.svg#allerregular') format('svg');
+    font-weight: normal;
+    font-style: normal;
+}
+
 /* default styles */
+html {
+    font-family: 'fertigo_proregular', helvetica;
+}
 h1, h2 {
     font-weight: bolder;
 }
@@ -93,7 +187,7 @@ footer .link {
     display: inline-block;
     width: 29px;
     height: 29px;
-    padding: 0px 8px;
+    margin: 0 15px;
     overflow: hidden;
     background-repeat: no-repeat;
 }
@@ -102,11 +196,11 @@ footer .facebook {
 }
 footer .linkedin {
     background-image: url('/images/linkedin2.png');
-    width: 41px;
+    width: 34px;
 }
 footer .youtube {
     background-image: url('/images/youtube2.png');
-    width: 34px;
+    width: 41px;
 }
 footer .github {
     background-image: url('/images/github.png');