diff --git a/css/main.css b/css/main.css index d2d462d..7b21f87 100644 --- a/css/main.css +++ b/css/main.css @@ -258,3 +258,7 @@ footer { .clear { clear: both; } + +.e { color: #63A35C; } +.a { color: #795DA3; } +.v { color: #183691; } diff --git a/examples.html b/examples.html index 525b527..0bf533f 100644 --- a/examples.html +++ b/examples.html @@ -51,7 +51,7 @@
You can place Keyrune icons anywhere using the CSS classname prefix ss
(for set symbol) and then the set icon's code. Inline elements like <i>
and <span>
are preferred, but any can be used.
- <i class="ss ss-zen"></i> ss-zen + <i class="ss ss-zen"></i> ss-zen
To conveniently increase the size of a set symbol you can append the classes ss-2x
, ss-3x
, ss-4x
, ss-4x
, and ss-6x
. These classes increase the size by a factor equal to class name number.
- <i class="ss ss-zen ss-2x"></i> ss-2x
- <i class="ss ss-zen ss-3x"></i> ss-3x
- <i class="ss ss-zen ss-4x"></i> ss-4x
- <i class="ss ss-zen ss-5x"></i> ss-5x
- <i class="ss ss-zen ss-6x"></i> ss-6x + <i class="ss ss-zen ss-2x"></i> ss-2x
+ <i class="ss ss-zen ss-3x"></i> ss-3x
+ <i class="ss ss-zen ss-4x"></i> ss-4x
+ <i class="ss ss-zen ss-5x"></i> ss-5x
+ <i class="ss ss-zen ss-6x"></i> ss-6x
You can add a rarity color to each set symbol by appending the classes ss-common
, ss-uncommon
, ss-rare
, and ss-mythic
.
- <i class="ss ss-ons ss-common"></i> ss-common
- <i class="ss ss-ons ss-uncommon"></i> ss-uncommon
- <i class="ss ss-ons ss-rare"></i> ss-rare
- <i class="ss ss-ons ss-mythic"></i> ss-mythic + <i class="ss ss-ons ss-common"></i> ss-common
+ <i class="ss ss-ons ss-uncommon"></i> ss-uncommon
+ <i class="ss ss-ons ss-rare"></i> ss-rare
+ <i class="ss ss-ons ss-mythic"></i> ss-mythic
Each set symbol has its own font character. Display them in a manner similar to Font Awesome using the <i class="ss ss-exp"></i>
element. Class name codes are based on the expansion codes from MTG JSON.
To use Keyrune, move the font files to your /fonts directory and include the keyrune.css
stylesheet in your <head>
:
- <link href="css/keyrune.css" rel="stylesheet" type="text/css" />+ <link href="css/keyrune.css" rel="stylesheet" type="text/css" /> +