Fixing Knights v. Dragons in the cheatsheet

This commit is contained in:
Andrew Gioia 2016-01-05 11:23:27 -05:00
parent d7c11bc8c7
commit 4414708f45
16 changed files with 134 additions and 25 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.DS_Store

View File

@ -1,28 +1,41 @@
{
"name": "keyrune",
"description": "Keyrune",
"keywords": [],
"homepage": "http://andrewgioia.com",
"homepage": "http://andrewgioia.github.io/Keyrune",
"authors": [
"Andrew Gioia <andrewgioia@gmail.com>"
],
"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/*"
],
"ignore": [
"*/.*",
"*.json",
"*.md"
"*.md",
"node_modules",
"bower_components"
],
"_release": "0abfcc2dbe",
"_release": "c37f680ad6",
"_resolution": {
"type": "branch",
"branch": "master",
"commit": "0abfcc2dbed67345e3bdff272c32b31732b6cd9e"
"commit": "c37f680ad6bacea1a2a82d0d4a6e842ef0806571"
},
"_source": "git://github.com/andrewgioia/keyrune.git",
"_target": "*",

1
bower_components/keyrune/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.DS_Store

View File

@ -1,19 +1,35 @@
{
"name": "keyrune",
"description": "Keyrune",
"version": "1.4.2",
"keywords": [],
"homepage": "http://andrewgioia.com",
"homepage": "http://andrewgioia.github.io/Keyrune",
"version": "1.4.3",
"authors": [
"Andrew Gioia <andrewgioia@gmail.com>"
],
"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"
]
}

View File

@ -2,8 +2,8 @@
* Global */
@font-face {
font-family: 'Keyrune';
src: url('../fonts/keyrune.eot?v=1.4.2');
src: url('../fonts/keyrune.eot?#iefix&v=1.4.2') format('embedded-opentype'), url('../fonts/keyrune.woff2?v=1.4.2') format('woff2'), url('../fonts/keyrune.woff?v=1.4.2') format('woff'), url('../fonts/keyrune.ttf?v=1.4.2') format('truetype'), url('../fonts/keyrune.svg?v=1.4.2#keyrune') format('svg');
src: url('../fonts/keyrune.eot?v=1.4.3');
src: url('../fonts/keyrune.eot?#iefix&v=1.4.3') format('embedded-opentype'), url('../fonts/keyrune.woff2?v=1.4.3') format('woff2'), url('../fonts/keyrune.woff?v=1.4.3') format('woff'), url('../fonts/keyrune.ttf?v=1.4.3') format('truetype'), url('../fonts/keyrune.svg?v=1.4.3#keyrune') format('svg');
font-weight: normal;
font-style: normal;
}
@ -20,6 +20,10 @@
/* Better font rendering */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* default if the set does not exist yet, or setcode does not match */
}
.ss:before {
content: "\e684";
}
/**
* Larger sizes */
@ -612,3 +616,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";
}

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -3,7 +3,7 @@
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>Generated by IcoMoon</metadata>
<defs>
<font id="keyrune" horiz-adv-x="1024">
<font id="Keyrune" horiz-adv-x="1024">
<font-face units-per-em="1024" ascent="960" descent="-64" />
<missing-glyph horiz-adv-x="1024" />
<glyph unicode="&#x20;" horiz-adv-x="512" d="" />

Before

Width:  |  Height:  |  Size: 221 KiB

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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
}

View File

@ -11,4 +11,8 @@
/* Better font rendering */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
/* default if the set does not exist yet, or setcode does not match */
&:before {
content: "\e684";
}
}

View File

@ -5,3 +5,4 @@
@import "rarities.less";
@import "width.less";
@import "icons.less";
@import "border.less";

View File

@ -2,6 +2,6 @@
* Global */
@ss-font-path: '../fonts';
@ss-version: '1.4.2';
@ss-version: '1.4.3';
@ss-font-size-base: 14px;
@ss-prefix: ss;

View File

@ -91,7 +91,7 @@
<span class="utf"><i>&#xe66c;</i> ss-ddd <code>&amp;#xe66c;</code></span>
<span class="utf"><i>&#xe66d;</i> ss-dde <code>&amp;#xe66d;</code></span>
<span class="utf"><i>&#xe66e;</i> ss-ddf <code>&amp;#xe66e;</code></span>
<span class="utf"><i>&#xe67f;</i> ss-ddg <code>&amp;#xe66f;</code></span>
<span class="utf"><i>&#xe66f;</i> ss-ddg <code>&amp;#xe66f;</code></span>
<span class="utf"><i>&#xe670;</i> ss-ddh <code>&amp;#xe670;</code></span>
<span class="utf"><i>&#xe671;</i> ss-ddi <code>&amp;#xe671;</code></span>
<span class="utf"><i>&#xe672;</i> ss-ddj <code>&amp;#xe672;</code></span>