-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replaces ogp images with geoblacklight icon font
- Loading branch information
1 parent
1e3227e
commit 8a8b3eb
Showing
24 changed files
with
209 additions
and
33 deletions.
There are no files selected for viewing
Binary file not shown.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
app/assets/stylesheets/geoblacklight/modules/icon-customization.css.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Additional customizations beyond generated FontCustom styles | ||
|
||
.geoblacklight-icon { | ||
color: $gray-light; | ||
font-size: 1.2em; | ||
} | ||
|
||
.geoblacklight-stanford { | ||
color: #8c1515; | ||
} |
77 changes: 77 additions & 0 deletions
77
app/assets/stylesheets/geoblacklight/modules/icons.css.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
// | ||
// Icon Font: geoblacklight | ||
// | ||
// From https://github.com/geoblacklight/geoblacklight-icons/blob/master/app/assets/stylesheets/_geoblacklight.scss | ||
|
||
@font-face { | ||
font-family: "geoblacklight"; | ||
src: font-url("geoblacklight.eot"); | ||
src: font-url("geoblacklight.eot?#iefix") format("embedded-opentype"), | ||
font-url("geoblacklight.woff") format("woff"), | ||
font-url("geoblacklight.ttf") format("truetype"), | ||
font-url("geoblacklight.svg#geoblacklight") format("svg"); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
@media screen and (-webkit-min-device-pixel-ratio:0) { | ||
@font-face { | ||
font-family: "geoblacklight"; | ||
src: font-url("geoblacklight.svg#geoblacklight") format("svg"); | ||
} | ||
} | ||
|
||
[data-icon]:before { content: attr(data-icon); } | ||
|
||
[data-icon]:before, | ||
.geoblacklight-berkeley:before, | ||
.geoblacklight-harvard:before, | ||
.geoblacklight-image:before, | ||
.geoblacklight-line:before, | ||
.geoblacklight-massgis:before, | ||
.geoblacklight-mit:before, | ||
.geoblacklight-paper-map:before, | ||
.geoblacklight-point:before, | ||
.geoblacklight-polygon:before, | ||
.geoblacklight-raster:before, | ||
.geoblacklight-stanford:before, | ||
.geoblacklight-tufts:before { | ||
display: inline-block; | ||
font-family: "geoblacklight"; | ||
font-style: normal; | ||
font-weight: normal; | ||
font-variant: normal; | ||
line-height: 1; | ||
text-decoration: inherit; | ||
text-rendering: optimizeLegibility; | ||
text-transform: none; | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-font-smoothing: antialiased; | ||
font-smoothing: antialiased; | ||
} | ||
|
||
.geoblacklight-berkeley:before { content: "\f101"; } | ||
.geoblacklight-harvard:before { content: "\f103"; } | ||
.geoblacklight-image:before { content: "\f10a"; } | ||
.geoblacklight-line:before { content: "\f108"; } | ||
.geoblacklight-massgis:before { content: "\f106"; } | ||
.geoblacklight-mit:before { content: "\f104"; } | ||
.geoblacklight-paper-map:before { content: "\f110"; } | ||
.geoblacklight-point:before { content: "\f109"; } | ||
.geoblacklight-polygon:before { content: "\f107"; } | ||
.geoblacklight-raster:before { content: "\f10d"; } | ||
.geoblacklight-stanford:before { content: "\f102"; } | ||
.geoblacklight-tufts:before { content: "\f105"; } | ||
|
||
$font-geoblacklight-berkeley: "\f101"; | ||
$font-geoblacklight-harvard: "\f103"; | ||
$font-geoblacklight-image: "\f10a"; | ||
$font-geoblacklight-line: "\f108"; | ||
$font-geoblacklight-massgis: "\f106"; | ||
$font-geoblacklight-mit: "\f104"; | ||
$font-geoblacklight-paper-map: "\f110"; | ||
$font-geoblacklight-point: "\f109"; | ||
$font-geoblacklight-polygon: "\f107"; | ||
$font-geoblacklight-raster: "\f10d"; | ||
$font-geoblacklight-stanford: "\f102"; | ||
$font-geoblacklight-tufts: "\f105"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters