Skip to content

Commit

Permalink
Merge pull request #727 from sul-dlss/update-fonts
Browse files Browse the repository at this point in the history
adds dejavusans extralight font
  • Loading branch information
jchristo4 committed Aug 14, 2014
2 parents 25c581e + e1e298f commit 6162013
Show file tree
Hide file tree
Showing 12 changed files with 2,451 additions and 1 deletion.
Binary file not shown.
2,427 changes: 2,427 additions & 0 deletions app/assets/fonts/DejaVuSans-ExtraLight-webfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions app/assets/stylesheets/application.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
*/

// SUL Style Variables/Mixins
@import 'deja-vu-font';
@import 'sul-variables';
@import 'searchworks-mixins';

Expand Down
3 changes: 2 additions & 1 deletion app/assets/stylesheets/base.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ a {
}

body {
font-family: 'Source Sans Pro', sans-serif;
font-family: 'Source Sans Pro', 'Arial Unicode MS', Helvetica, sans-serif;
}

a, a:hover, a:focus {
Expand All @@ -16,6 +16,7 @@ a, a:hover, a:focus {
}

h1 {
font-family: 'dejavu_sansextralight';
color: $sul-h1-font-color;
padding: 10px 0;
}
Expand Down
10 changes: 10 additions & 0 deletions app/assets/stylesheets/deja-vu-font.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@font-face {
font-family: 'dejavu_sansextralight';
src: url('DejaVuSans-ExtraLight-webfont.eot');
src: url('DejaVuSans-ExtraLight-webfont.eot?#iefix') format('embedded-opentype'),
url('DejaVuSans-ExtraLight-webfont.woff') format('woff'),
url('DejaVuSans-ExtraLight-webfont.ttf') format('truetype'),
url('DejaVuSans-ExtraLight-webfont.svg#dejavu_sansextralight') format('svg');
font-weight: normal;
font-style: normal;
}
1 change: 1 addition & 0 deletions app/assets/stylesheets/modules/brief-view.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
@include document;

h3.index_title {
@include h3-index-title-font;
@include h3-index-title-small-font;
text-indent: -20px;
}
Expand Down
1 change: 1 addition & 0 deletions app/assets/stylesheets/modules/gallery-view.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
height: $gallery-document-height;

h3.index_title {
@include h3-index-title-font;
@include h3-index-title-small-font;
margin: .5em;
text-align: center;
Expand Down
4 changes: 4 additions & 0 deletions app/assets/stylesheets/modules/item-preview.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,7 @@
display: inline-block;
margin-bottom: 20px;
}

h3.preview-title{
@include h3-index-title-font;
}
1 change: 1 addition & 0 deletions app/assets/stylesheets/modules/results-documents.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
@include document;

h3.index_title {
@include h3-index-title-font;
@include h3-index-title-indent;
}

Expand Down
4 changes: 4 additions & 0 deletions app/assets/stylesheets/searchworks-mixins.css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
line-height: 1.5em;
}

@mixin h3-index-title-font {
font-family: 'dejavu_sansextralight';
}

@mixin panel-borders {
border: 1px solid $sul-panel-border;
}
Expand Down

0 comments on commit 6162013

Please sign in to comment.