diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/README.md b/README.md index b9392d9..8fa0694 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,8 @@ Attribution is **greatly appreciated** but not required! * v1.4.0 - Battle for Zendikar added * v1.4.1 - Zendikar Expeditions added * v1.4.2 - Commander 2015 added +* v1.4.3 - Beginning of white border add-on with .ss-border class; renamed font to Keyrune for desktop. ## Todo -* Nothing yet! +* Add Oath of the Gatewatch diff --git a/bower.json b/bower.json index 3fee49f..bc9ad87 100644 --- a/bower.json +++ b/bower.json @@ -1,19 +1,35 @@ { "name": "keyrune", - "description": "Keyrune", + "homepage": "http://andrewgioia.github.io/Keyrune", "version": "1.4.2", - "keywords": [], - "homepage": "http://andrewgioia.com", + "authors": [ + "Andrew Gioia " + ], + "description": "Magic: the Gathering set symbol pictographic font", + "main": [ + "css/keyrune.css" + ], + "keywords": [ + "keyrune", + "mtg", + "set" + "set symbol", + "set code", + "magic", + "gathering", + "font" + ], "dependencies": {}, "devDependencies": {}, - "license": ["OFL-1.1", "MIT"], - "main": [ - "./css/keyrune.css", - "./fonts/*" + "license": [ + "OFL-1.1", + "MIT" ], "ignore": [ "*/.*", "*.json", - "*.md" + "*.md", + "node_modules", + "bower_components" ] } diff --git a/css/keyrune.css b/css/keyrune.css index 305f346..b2c7849 100755 --- a/css/keyrune.css +++ b/css/keyrune.css @@ -612,3 +612,46 @@ .ss-unh:before { content: "\e692"; } +.ss-border:after { + content: ""; + position: absolute; + left: -0.05em; + top: .0em; + color: #fff; + font-size: 1.15em; + z-index: -1; + background: #fff; + -webkit-text-stroke: 0.05em #fff; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; +} +.ss-border.ss-van:after { + content: "\e655"; +} +.ss-border.ss-hop:after { + content: "\e656"; +} +.ss-border.ss-arc:after { + content: "\e657"; +} +.ss-border.ss-cmd:after { + content: "\e658"; +} +.ss-border.ss-pc2:after { + content: "\e659"; +} +.ss-border.ss-cm1:after { + content: "\e65a"; +} +.ss-border.ss-c13:after { + content: "\e65b"; +} +.ss-border.ss-cns:after { + content: "\e65c"; +} +.ss-border.ss-c14:after { + content: "\e65d"; +} +.ss-border.ss-c15:after { + content: "\e900"; +} diff --git a/fonts/keyrune.eot b/fonts/keyrune.eot index 8f9be71..e4ec553 100755 Binary files a/fonts/keyrune.eot and b/fonts/keyrune.eot differ diff --git a/fonts/keyrune.svg b/fonts/keyrune.svg index cba3fff..427613b 100755 --- a/fonts/keyrune.svg +++ b/fonts/keyrune.svg @@ -3,7 +3,7 @@ Generated by IcoMoon - + diff --git a/fonts/keyrune.ttf b/fonts/keyrune.ttf index f43a38f..548ac64 100755 Binary files a/fonts/keyrune.ttf and b/fonts/keyrune.ttf differ diff --git a/fonts/keyrune.woff b/fonts/keyrune.woff index b448aec..9b2ba88 100755 Binary files a/fonts/keyrune.woff and b/fonts/keyrune.woff differ diff --git a/fonts/keyrune.woff2 b/fonts/keyrune.woff2 index 9200a45..443beb3 100755 Binary files a/fonts/keyrune.woff2 and b/fonts/keyrune.woff2 differ diff --git a/less/border.less b/less/border.less new file mode 100644 index 0000000..0b654bb --- /dev/null +++ b/less/border.less @@ -0,0 +1,26 @@ +.@{ss-prefix}-border { + &:after { + content: ""; + position: absolute; + left: -.05em; + top: .0em; + color: #fff; + font-size: 1.15em; + z-index: -1; + background: #fff; + -webkit-text-stroke: 0.05em #fff; + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + } + + &.@{ss-prefix}-van:after { content: "\e655"; } // Vanguard + &.@{ss-prefix}-hop:after { content: "\e656"; } // Planechase 2009 + &.@{ss-prefix}-arc:after { content: "\e657"; } // Archenemy + &.@{ss-prefix}-cmd:after { content: "\e658"; } // Commander + &.@{ss-prefix}-pc2:after { content: "\e659"; } // Planechase 2012 + &.@{ss-prefix}-cm1:after { content: "\e65a"; } // Commander's Arsenal + &.@{ss-prefix}-c13:after { content: "\e65b"; } // Commander 2013 + &.@{ss-prefix}-cns:after { content: "\e65c"; } // Conspiracy + &.@{ss-prefix}-c14:after { content: "\e65d"; } // Commander 2014 + &.@{ss-prefix}-c15:after { content: "\e900"; } // Commander 2015 +} diff --git a/less/keyrune.less b/less/keyrune.less index 878bddf..6f86592 100644 --- a/less/keyrune.less +++ b/less/keyrune.less @@ -5,3 +5,4 @@ @import "rarities.less"; @import "width.less"; @import "icons.less"; +@import "border.less";