diff --git a/templates/fonts.css b/templates/fonts.css index 8f27d15..5e54eb4 100644 --- a/templates/fonts.css +++ b/templates/fonts.css @@ -3,11 +3,15 @@ */ /* A set of generic utility icons. - * - Merges icons from EBI-Social, EBI-Generic, EBI-Functional + * - Contains icons from EBI-Social, EBI-Generic, EBI-Functional * - Adds non-redundant icons from Font Awesome * - EBI-Functional key mappings have not changed * See note at https://github.com/ebiwd/EBI-Icon-fonts/issues/22 */ +/* + * Contains icon from Font Awesome Free 5 by @fontawesome - https://fontawesome.com + * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) + */ @font-face { font-family: 'EBI-Common'; src:url('EBI-Common/fonts/EBI-Common.woff2') format('woff2'), @@ -23,54 +27,61 @@ font-weight: normal; font-style: normal; } -/* Generic, functional or activity-orientated icons */ +/* Icons for commonly referenced species and orgamisms */ @font-face { - font-family: 'EBI-Functional'; - src:url('EBI-Functional/fonts/EBI-Functional.woff2') format('woff2'), - url('EBI-Functional/fonts/EBI-Functional.woff') format('woff'); + font-family: 'EBI-Species'; + src:url('EBI-Species/fonts/EBI-Species.woff2') format('woff2'), + url('EBI-Species/fonts/EBI-Species.woff') format('woff'); font-weight: normal; font-style: normal; } -/* Generic icons that can be used as decoration or emphasis */ +/* Specific file formats */ @font-face { - font-family: 'EBI-Generic'; - src:url('EBI-Generic/fonts/EBI-Generic.woff2') format('woff2'), - url('EBI-Generic/fonts/EBI-Generic.woff') format('woff'); + font-family: 'EBI-FileFormats'; + src:url('EBI-FileFormats/fonts/EBI-FileFormats.woff2') format('woff2'), + url('EBI-FileFormats/fonts/EBI-FileFormats.woff') format('woff'); font-weight: normal; font-style: normal; } -/* Icons for commonly referenced species and orgamisms */ +/* Chemistry font */ @font-face { - font-family: 'EBI-Species'; - src:url('EBI-Species/fonts/EBI-Species.woff2') format('woff2'), - url('EBI-Species/fonts/EBI-Species.woff') format('woff'); + font-family: 'EBI-Chemistry'; + src:url('EBI-Chemistry/fonts/EBI-Chemistry.woff2') format('woff2'), + url('EBI-Chemistry/fonts/EBI-Chemistry.woff') format('woff'); font-weight: normal; font-style: normal; } -/* Icons for social media */ -/* !LEGACY! Will be remvoed in v1.4 + +/* Generic, functional or activity-orientated icons */ +/* !LEGACY! We recommend using EBI-Common * See note at https://github.com/ebiwd/EBI-Icon-fonts/issues/22 */ @font-face { - font-family: 'EBI-SocialMedia'; - src:url('EBI-SocialMedia/fonts/EBI-SocialMedia.woff2') format('woff2'), - url('EBI-SocialMedia/fonts/EBI-SocialMedia.woff') format('woff'); + font-family: 'EBI-Functional'; + src:url('EBI-Functional/fonts/EBI-Functional.woff2') format('woff2'), + url('EBI-Functional/fonts/EBI-Functional.woff') format('woff'); font-weight: normal; font-style: normal; } -/* Specific file formats */ +/* Generic icons that can be used as decoration or emphasis */ +/* !LEGACY! We recommend using EBI-Common + * See note at https://github.com/ebiwd/EBI-Icon-fonts/issues/22 + */ @font-face { - font-family: 'EBI-FileFormats'; - src:url('EBI-FileFormats/fonts/EBI-FileFormats.woff2') format('woff2'), - url('EBI-FileFormats/fonts/EBI-FileFormats.woff') format('woff'); + font-family: 'EBI-Generic'; + src:url('EBI-Generic/fonts/EBI-Generic.woff2') format('woff2'), + url('EBI-Generic/fonts/EBI-Generic.woff') format('woff'); font-weight: normal; font-style: normal; } -/* Chemistry font */ +/* Icons for social media */ +/* !LEGACY! We recommend using EBI-Common + * See note at https://github.com/ebiwd/EBI-Icon-fonts/issues/22 + */ @font-face { - font-family: 'EBI-Chemistry'; - src:url('EBI-Chemistry/fonts/EBI-Chemistry.woff2') format('woff2'), - url('EBI-Chemistry/fonts/EBI-Chemistry.woff') format('woff'); + font-family: 'EBI-SocialMedia'; + src:url('EBI-SocialMedia/fonts/EBI-SocialMedia.woff2') format('woff2'), + url('EBI-SocialMedia/fonts/EBI-SocialMedia.woff') format('woff'); font-weight: normal; font-style: normal; }