Skip to content

Commit

Permalink
Better indicate depricated icons fonts
Browse files Browse the repository at this point in the history
And add another credit for Font Awesome.
  • Loading branch information
khawkins98 committed Aug 30, 2018
1 parent 5860dc2 commit 69aaf62
Showing 1 changed file with 37 additions and 26 deletions.
63 changes: 37 additions & 26 deletions templates/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand All @@ -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;
}
Expand Down

0 comments on commit 69aaf62

Please sign in to comment.