Adding -12 and -14 loyalty classes

This commit is contained in:
Andrew Gioia 2016-09-01 09:42:51 -04:00
parent 629018e37f
commit 69250142e0
6 changed files with 18 additions and 5 deletions

View File

@ -37,3 +37,4 @@ Attribution is **greatly appreciated** but not required!
* v0.5 - adding the new colorless wastes symbol
* v0.6 - adding double-faced card symbols (day, night)
* v1.0 - new documentation page at http://andrewgioia.github.io/Mana/
* v1.0.1 - added classes for -12 and -14 loyalty (sorry Jace and Karn!)

View File

@ -1,7 +1,7 @@
{
"name": "mana",
"homepage": "https://github.com/andrewgioia/Mana",
"version": "0.6",
"version": "1.0.1",
"authors": [
"Andrew Gioia <andrewgioia@gmail.com>"
],

View File

@ -317,6 +317,8 @@
.ms-loyalty-8:after,
.ms-loyalty-9:after,
.ms-loyalty-10:after,
.ms-loyalty-12:after,
.ms-loyalty-14:after,
.ms-loyalty-x:after {
color: #fff;
display: inline-block;
@ -431,6 +433,12 @@
.ms-loyalty-down.ms-loyalty-10:after {
content: "-10";
}
.ms-loyalty-down.ms-loyalty-12:after {
content: "-12";
}
.ms-loyalty-down.ms-loyalty-14:after {
content: "-14";
}
.ms-loyalty-down.ms-loyalty-x:after {
content: "-X";
}
@ -440,7 +448,7 @@
color: #111;
border: .05em solid #111;
border-radius: 2em;
padding: 1px;
padding: 0.025em;
}
/*
* Larger sizes */

2
css/mana.min.css vendored

File diff suppressed because one or more lines are too long

View File

@ -31,6 +31,8 @@
&-8:after,
&-9:after,
&-10:after,
&-12:after,
&-14:after,
&-x:after {
color: #fff;
display: inline-block;
@ -82,6 +84,8 @@
&.@{ms-prefix}-loyalty-8:after { content: "-8"; }
&.@{ms-prefix}-loyalty-9:after { content: "-9"; }
&.@{ms-prefix}-loyalty-10:after { content: "-10"; }
&.@{ms-prefix}-loyalty-12:after { content: "-12"; }
&.@{ms-prefix}-loyalty-14:after { content: "-14"; }
&.@{ms-prefix}-loyalty-x:after { content: "-X"; }
}
}

View File

@ -1,6 +1,6 @@
{
"name": "mana",
"version": "1.0.0",
"version": "1.0.1",
"description": "Magic: the Gathering mana symbol pictographic font",
"main": "css/mana.css",
"repository": {