diff --git a/redesign/css/gittip.css b/redesign/css/gittip.css index 69564db62f..70136929f8 100644 --- a/redesign/css/gittip.css +++ b/redesign/css/gittip.css @@ -1 +1 @@ -html,body{background:#FFF}body{color:#6D6E70;font:normal 16px "Helvetica Neue",Helvetica,Arial,"Liberation Sans",FreeSans,sans-serif;text-rendering:optimizeLegibility}*{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.group:after{content:".";display:block;height:0;clear:both;visibility:hidden}.hidden{display:none}header.main{border-bottom:1px solid #D0D2D3;padding:10px 0}header.main h1,header.main h2{float:left;margin:0}header.main h1 a{background:transparent url("../img/logo.png") top left no-repeat;background-size:100%;color:transparent;display:block;width:130px}header.main h2{border-left:2px solid #C8C7C7;font:bold 10px "Helvetica Neue",Helvetica,Arial,"Liberation Sans",FreeSans,sans-serif;letter-spacing:1px;text-transform:uppercase;height:30px;margin:5px 0 0 18px;padding:8px 0 0 18px} +@font-face{font-family:'Mensch';src:url("mensch.eot");src:url("mensch.eot?#iefix") format("embedded-opentype"),url("mensch.woff") format("woff"),url("mensch.ttf") format("truetype"),url("mensch.svg#Mensch") format("svg");font-weight:normal;font-style:normal}html,body{background:#FFF}body{color:#6D6E70;font:normal 16px "Helvetica Neue",Helvetica,Arial,"Liberation Sans",FreeSans,sans-serif;text-rendering:optimizeLegibility}*{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.group:after{content:".";display:block;height:0;clear:both;visibility:hidden}.hidden{display:none}header.main{border-bottom:1px solid #d0d2d3;padding:10px 0}header.main h1,header.main h2{float:left;margin:0}header.main h1 a{background:transparent url("../img/logo.png") top left no-repeat;background-size:100%;color:transparent;display:block;width:130px}header.main h2{border-left:2px solid #c8c7c7;font:bold 10px "Helvetica Neue",Helvetica,Arial,"Liberation Sans",FreeSans,sans-serif;letter-spacing:1px;text-transform:uppercase;height:30px;margin:5px 0 0 18px;padding:8px 0 0 18px} diff --git a/redesign/css/gittip.scss b/redesign/css/gittip.scss index 5567b84558..b47d85d7b5 100644 --- a/redesign/css/gittip.scss +++ b/redesign/css/gittip.scss @@ -1,13 +1,18 @@ // Fonts $Helvetica: 'Helvetica Neue', Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif; -/*@font-face {*/ - /*font-family: '';*/ - /*src: url('/static/fonts/.eot');*/ - /*src: url('/static/fonts/.eot?#iefix') format('embedded-opentype'),*/ - /*url('/static/fonts/.woff') format('woff'),*/ - /*url('/static/fonts/.ttf') format('truetype');*/ -/*}*/ +@font-face { + /* Props to http://www.fontsquirrel.com/ and http://www.losttype.com/. */ + font-family: 'Mensch'; + src: url('mensch.eot'); + src: url('mensch.eot?#iefix') format('embedded-opentype'), + url('mensch.woff') format('woff'), + url('mensch.ttf') format('truetype'), + url('mensch.svg#Mensch') format('svg'); + font-weight: normal; + font-style: normal; + +} // Mixins @mixin border-radius($radius: 5px) { diff --git a/redesign/fonts/mensch.eot b/redesign/fonts/mensch.eot new file mode 100644 index 0000000000..edaac45473 Binary files /dev/null and b/redesign/fonts/mensch.eot differ diff --git a/redesign/fonts/mensch.svg b/redesign/fonts/mensch.svg new file mode 100644 index 0000000000..e991bb1349 --- /dev/null +++ b/redesign/fonts/mensch.svg @@ -0,0 +1,172 @@ + + + + +This is a custom SVG webfont generated by Font Squirrel. +Foundry : Morgan Allan Knutson + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/redesign/fonts/mensch.ttf b/redesign/fonts/mensch.ttf new file mode 100644 index 0000000000..51ab03684d Binary files /dev/null and b/redesign/fonts/mensch.ttf differ diff --git a/redesign/fonts/mensch.woff b/redesign/fonts/mensch.woff new file mode 100644 index 0000000000..1f2413cf44 Binary files /dev/null and b/redesign/fonts/mensch.woff differ