1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Move to Typography.com fonts

This commit is contained in:
Daniel Barber 2017-07-18 16:20:25 -04:00
parent a76a46545d
commit 1dbc8a43a3
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8
3 changed files with 7 additions and 8 deletions

View File

@ -7,10 +7,10 @@ html
body body
background: #101010 background: #101010
color: white color: white
font-family: freight-sans-pro, "Helvetica Neue", "Arial", sans-serif font-family: "Whitney A", "Whitney B", "Helvetica Neue", "Arial", sans-serif
letter-spacing: 0.1em // letter-spacing: 0.02em
font-weight: 400 font-weight: 400
font-size: 100% font-size: 112.5%
overflow: hidden overflow: hidden
-webkit-font-smoothing: antialiased -webkit-font-smoothing: antialiased
@ -233,7 +233,7 @@ form
textarea textarea
height: 150px height: 150px
width: 325px width: 325px
font-family: freight-sans-pro, "Helvetica Neue", "Arial", sans-serif font-family: "Whitney A", "Whitney B", "Helvetica Neue", "Arial", sans-serif
font-size: 1em font-size: 1em
padding: 5px padding: 5px
color: #333 color: #333
@ -242,7 +242,7 @@ form
box-shadow: 0 0 8px rgba(0, 0, 0, 0.1) box-shadow: 0 0 8px rgba(0, 0, 0, 0.1)
input input
&[type='text'] &[type='text']
font-family: freight-sans-pro, "Helvetica Neue", "Arial", sans-serif font-family: "Whitney A", "Whitney B", "Helvetica Neue", "Arial", sans-serif
font-size: 1em font-size: 1em
padding: 5px padding: 5px
color: #333 color: #333
@ -286,7 +286,7 @@ input.error, textarea.error
form input[type='submit'] form input[type='submit']
-webkit-font-smoothing: antialiased -webkit-font-smoothing: antialiased
background: #666 background: #666
font-family: freight-sans-pro, "Helvetica Neue", "Arial", sans-serif font-family: "Whitney A", "Whitney B", "Helvetica Neue", "Arial", sans-serif
font-size: 1em font-size: 1em
padding: 6px 11px padding: 6px 11px
color: white color: white

View File

@ -8,6 +8,7 @@
<meta name="description" content="The photography portfolio of Dan Barber" /> <meta name="description" content="The photography portfolio of Dan Barber" />
<meta name="language" content="English" /> <meta name="language" content="English" />
<%= stylesheet_link_tag 'application' %> <%= stylesheet_link_tag 'application' %>
<%= stylesheet_link_tag 'https://cloud.typography.com/7434852/6922572/css/fonts.css' %>
<%= javascript_include_tag 'application' %> <%= javascript_include_tag 'application' %>
<%= favicon_link_tag 'favicon.ico' %> <%= favicon_link_tag 'favicon.ico' %>
<%= csrf_meta_tags %> <%= csrf_meta_tags %>

View File

@ -1,2 +0,0 @@
<%= javascript_include_tag "//use.typekit.com/bvi1xdc.js" %>
<script>try{Typekit.load();}catch(e){}</script>