mirror of
https://github.com/andrewgioia/keyrune.git
synced 2024-12-22 07:29:56 +00:00
Updates docs to 3.7.1, moves documentation site to directory in master, adds back in the previous placeholder codes for KHM and STX backwards compatibility
This commit is contained in:
parent
e9b4e2ef73
commit
d0734a08d2
@ -553,9 +553,11 @@
|
||||
content: "\e963";
|
||||
}
|
||||
/* 2021 Sets */
|
||||
.ss-xkld:before,
|
||||
.ss-khm:before {
|
||||
content: "\e974";
|
||||
}
|
||||
.ss-xssm:before,
|
||||
.ss-stx:before {
|
||||
content: "\e975";
|
||||
}
|
||||
|
2
css/keyrune.min.css
vendored
2
css/keyrune.min.css
vendored
File diff suppressed because one or more lines are too long
BIN
docs/assets/beleren.eot
Executable file
BIN
docs/assets/beleren.eot
Executable file
Binary file not shown.
BIN
docs/assets/beleren.otf
Executable file
BIN
docs/assets/beleren.otf
Executable file
Binary file not shown.
3634
docs/assets/beleren.svg
Executable file
3634
docs/assets/beleren.svg
Executable file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 219 KiB |
BIN
docs/assets/beleren.ttf
Executable file
BIN
docs/assets/beleren.ttf
Executable file
Binary file not shown.
BIN
docs/assets/beleren.woff
Executable file
BIN
docs/assets/beleren.woff
Executable file
Binary file not shown.
449
docs/assets/docs.css
Normal file
449
docs/assets/docs.css
Normal file
@ -0,0 +1,449 @@
|
||||
@font-face {
|
||||
font-family: 'Beleren';
|
||||
src: url( 'beleren.eot' );
|
||||
src: url( 'beleren.woff' ) format( 'woff' ),
|
||||
url( 'beleren.ttf' ) format( 'truetype' ),
|
||||
url( 'beleren.svg' ) format( 'svg' );
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
color: #223344;
|
||||
font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
font-size: 15px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
max-width: 1080px;
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #008eae;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #166075;
|
||||
}
|
||||
|
||||
section#banner {
|
||||
background: #D5D2C8;
|
||||
color: #445566;
|
||||
padding: 12px 0;
|
||||
text-align: right;
|
||||
text-shadow: 0 1px 0 #E6E2D7;
|
||||
}
|
||||
|
||||
section#banner .item {
|
||||
display: inline-block;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
section#banner .logo {
|
||||
color: #223344;
|
||||
float: left;
|
||||
font-family: Beleren;
|
||||
font-size: 18px;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
header {
|
||||
background: #E6E2D7;
|
||||
border-bottom: 1px solid #CFCDC7;
|
||||
color: #223344;
|
||||
margin: 0;
|
||||
overflow-y: hidden;
|
||||
padding: 25px 0 15px;
|
||||
}
|
||||
|
||||
header.main {
|
||||
height: 272px;
|
||||
}
|
||||
|
||||
.bigicon {
|
||||
float: right;
|
||||
font-size: 450px;
|
||||
line-height: 200px;
|
||||
margin-top: -100px;
|
||||
text-shadow: 0 2px 0 #fff;
|
||||
}
|
||||
|
||||
header .vs {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 16px;
|
||||
line-height: 1.6em;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
li {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
|
||||
ol li {
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #445566;
|
||||
margin: 0;
|
||||
font-family: Beleren;
|
||||
font-size: 64px;
|
||||
font-weight: lighter;
|
||||
padding: 0 0 20px;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
h1.sub {
|
||||
font-size: 48px;
|
||||
padding: 0 0 15px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #445566;
|
||||
font-family: Beleren;
|
||||
font-size: 30px;
|
||||
font-weight: lighter;
|
||||
margin: 0;
|
||||
padding: 0 0 30px;
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
}
|
||||
|
||||
h2.sub {
|
||||
font-size: 26px;
|
||||
padding: 0 0 20px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: #445566;
|
||||
font-size: 19px;
|
||||
font-weight: normal;
|
||||
line-height: 1.6em;
|
||||
padding-bottom: 20px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h4 {
|
||||
color: #61605B;
|
||||
font-family: Beleren;
|
||||
font-size: 24px;
|
||||
font-weight: lighter;
|
||||
margin: 15px 0 5px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 17px;
|
||||
margin: 15px 0 5px;
|
||||
}
|
||||
|
||||
main {
|
||||
margin: 0;
|
||||
padding: 20px 0 25px;
|
||||
}
|
||||
|
||||
main section.content {
|
||||
padding: 0 0 10px;
|
||||
}
|
||||
|
||||
blockquote,
|
||||
code {
|
||||
font-family: Inconsolate, 'Courier New', Courier, monospace;
|
||||
}
|
||||
|
||||
code {
|
||||
background: #F7EEF1;
|
||||
color: #BB073B;
|
||||
padding: 1px 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
background: #EFEDE8;
|
||||
border-bottom: 1px solid #E0DCCD;
|
||||
line-height: 1.4em;
|
||||
padding: 20px 20px 18px;
|
||||
margin: 20px 0 25px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.button {
|
||||
background: #008eae;
|
||||
border-bottom: 2px solid #166075;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
font-size: 20px;
|
||||
padding: 10px 18px 9px;
|
||||
border-radius: 4px;
|
||||
text-shadow: 0 1px 0 #223344;
|
||||
}
|
||||
|
||||
.button:hover {
|
||||
background: #00809F;
|
||||
border-bottom-color: #155A6E;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.button .ss {
|
||||
margin-right: 5px;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.button.vs {
|
||||
background: #667788;
|
||||
border-bottom-color: #223344;
|
||||
}
|
||||
|
||||
.button.vs:hover {
|
||||
background: #556677;
|
||||
border-bottom-color: #112233;
|
||||
}
|
||||
|
||||
.button.dl.float-right {
|
||||
margin-top: -10px;
|
||||
}
|
||||
|
||||
.icons {
|
||||
padding: 10px 0 5px;
|
||||
}
|
||||
|
||||
.icon {
|
||||
border-radius: 3px;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
width: 24.5%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.icon .name {
|
||||
display: inline-block;
|
||||
padding: 9px 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.icon .info {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.icon:hover {
|
||||
background: #eee;
|
||||
position: relative;
|
||||
margin-top: -4px;
|
||||
margin-bottom: -5px;
|
||||
}
|
||||
|
||||
.icon .ss {
|
||||
font-size: 22px;
|
||||
margin-right: 5px;
|
||||
margin-top: -2px;
|
||||
text-align: center;
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
.icon:hover .ss {
|
||||
font-size: 32px;
|
||||
/*text-shadow: 0 1px 0 #fff;*/
|
||||
}
|
||||
|
||||
.icon em {
|
||||
color: #99aabb;
|
||||
font-size: 13px;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.vectors {
|
||||
padding: 10px 0 0;
|
||||
}
|
||||
|
||||
.utf {
|
||||
display: inline-block;
|
||||
width: 25%;
|
||||
float: left;
|
||||
padding: 6px 0;
|
||||
}
|
||||
|
||||
.utf i {
|
||||
display: inline-block;
|
||||
font-family: keyrune;
|
||||
font-style: normal;
|
||||
font-size: 1.25em;
|
||||
vertical-align: top;
|
||||
padding: 0 5px 0 0;
|
||||
text-align: center;
|
||||
width: 1.25em;
|
||||
}
|
||||
|
||||
.utf code {
|
||||
background-color: #f5f5f5;
|
||||
color: #445566;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.example {
|
||||
font-size: 16px;
|
||||
padding: 15px 0 0;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.example .each {
|
||||
display: block;
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.explanation {
|
||||
margin-left: 200px;
|
||||
}
|
||||
|
||||
footer {
|
||||
border-top: 1px solid #eee;
|
||||
margin-top: 20px;
|
||||
padding: 10px 0 30px;
|
||||
}
|
||||
|
||||
|
||||
/* Utilities */
|
||||
|
||||
.float-left {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.float-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.e { color: #63A35C; }
|
||||
.a { color: #795DA3; }
|
||||
.v { color: #183691; }
|
||||
.o { color: #ED8C5A; }
|
||||
|
||||
|
||||
/* Icon modal */
|
||||
|
||||
#overlay {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
background: rgba(0,0,0,.5);
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 100;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#modal {
|
||||
width: 760px;
|
||||
position: fixed;
|
||||
padding: 30px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background: rgba(255,255,255,.9);
|
||||
border-radius: 5px;
|
||||
box-shadow: 0 5px 35px #445566;
|
||||
z-index: 200;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#iconPreview {
|
||||
float: left;
|
||||
width: 340px;
|
||||
}
|
||||
#iconPreview .ss {
|
||||
font-size: 300px;
|
||||
margin: 0 40px 0 0;
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
text-align: center;
|
||||
vertical-align: top;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#iconMeta {
|
||||
float: left;
|
||||
width: 420px;
|
||||
}
|
||||
#iconMeta h3 {
|
||||
font-size: 24px;
|
||||
line-height: 1.2em;
|
||||
margin: 10px 0 20px;
|
||||
padding: 0 0 5px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
#iconMeta #setCode {
|
||||
font-size: 16px;
|
||||
color: #778899;
|
||||
}
|
||||
|
||||
#metaInfo {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#metaInfo li {
|
||||
padding: 0 0 5px;
|
||||
color: #223344;
|
||||
}
|
||||
|
||||
#metaInfo strong {
|
||||
color: #778899;
|
||||
display: inline-block;
|
||||
width: 75px;
|
||||
}
|
||||
|
||||
#toggleRarity {
|
||||
list-style: none;
|
||||
margin: 25px 0 10px;
|
||||
padding: 0;
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
#toggleRarity a {
|
||||
border: 1px solid #CFCDC7;
|
||||
display: block;
|
||||
float: left;
|
||||
padding: 6px 10px 7px;
|
||||
margin: 0 0 0 -1px;
|
||||
}
|
||||
|
||||
#toggleRarity a.left {
|
||||
border-radius: 4px 0 0 4px;
|
||||
}
|
||||
|
||||
#toggleRarity a.right {
|
||||
border-radius: 0 4px 4px 0;
|
||||
}
|
||||
|
||||
#toggleRarity a.active {
|
||||
background: #E6E2D7;
|
||||
color: #445566;
|
||||
}
|
||||
|
||||
#closeModalContainer {
|
||||
position: absolute;
|
||||
top: 18px;
|
||||
right: 20px;
|
||||
}
|
2
docs/assets/zepto.min.js
vendored
Normal file
2
docs/assets/zepto.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
375
docs/cheatsheet.html
Normal file
375
docs/cheatsheet.html
Normal file
@ -0,0 +1,375 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
|
||||
<title>Cheatsheet | Keyrune</title>
|
||||
<link rel="stylesheet" href="../css/keyrune.min.css" />
|
||||
<link rel="stylesheet" href="assets/docs.css" />
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<section id="banner">
|
||||
<div class="wrapper">
|
||||
<a href="index.html" class="logo"><i class="ss ss-leg"></i> Keyrune</a>
|
||||
<a href="index.html" class="item">Home</a>
|
||||
<a href="icons.html" class="item">Set Icons</a>
|
||||
<a href="examples.html" class="item">Examples</a>
|
||||
<a href="http://github.com/andrewgioia/Keyrune" class="item">GitHub Project</a>
|
||||
<span class="item">
|
||||
<iframe src="https://ghbtns.com/github-btn.html?user=andrewgioia&repo=keyrune&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px" style="margin-bottom: -4px;"></iframe>
|
||||
</span>
|
||||
<span class="item">
|
||||
Created by
|
||||
<a href="https://andrewgioia.com">Andrew Gioia</a>
|
||||
</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<header>
|
||||
<div class="wrapper">
|
||||
<h1 class="sub">Cheatsheet</h1>
|
||||
<a class="dl button float-right" href="https://github.com/andrewgioia/Keyrune/archive/master.zip">
|
||||
<i class="ss ss-pmtg2"></i>
|
||||
Download
|
||||
</a>
|
||||
<h2 class="sub">The complete Keyrune copy-able reference</h2>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="wrapper">
|
||||
<section>
|
||||
<h3>
|
||||
To use Keyrune on the desktop, install keyrune.otf, set it
|
||||
as the font in your application, then copy and paste the
|
||||
icons (not the unicode) directly from this page into
|
||||
your designs. The UTF8 representation is provided as
|
||||
a reference as well.
|
||||
</h3>
|
||||
</section>
|
||||
<section class="content">
|
||||
<h4>Icons, CSS Class, and Unicode</h4>
|
||||
<div class="vectors">
|
||||
<span class="utf"><i></i> ss-10e <code>&#xe60b;</code></span>
|
||||
<span class="utf"><i></i> ss-1e <code>&#xe947;</code></span>
|
||||
<span class="utf"><i></i> ss-2e <code>&#xe948;</code></span>
|
||||
<span class="utf"><i></i> ss-2ed <code>&#xe602;</code></span>
|
||||
<span class="utf"><i></i> ss-2u <code>&#xe949;</code></span>
|
||||
<span class="utf"><i></i> ss-2xm <code>&#xe96e;</code></span>
|
||||
<span class="utf"><i></i> ss-3e <code>&#xe94a;</code></span>
|
||||
<span class="utf"><i></i> ss-3ed <code>&#xe603;</code></span>
|
||||
<span class="utf"><i></i> ss-4ed <code>&#xe604;</code></span>
|
||||
<span class="utf"><i></i> ss-5dn <code>&#xe633;</code></span>
|
||||
<span class="utf"><i></i> ss-5ed <code>&#xe606;</code></span>
|
||||
<span class="utf"><i></i> ss-6ed <code>&#xe607;</code></span>
|
||||
<span class="utf"><i></i> ss-7ed <code>&#xe608;</code></span>
|
||||
<span class="utf"><i></i> ss-8ed <code>&#xe609;</code></span>
|
||||
<span class="utf"><i></i> ss-9ed <code>&#xe60a;</code></span>
|
||||
<span class="utf"><i></i> ss-a25 <code>&#xe93d;</code></span>
|
||||
<span class="utf"><i></i> ss-aer <code>&#xe90f;</code></span>
|
||||
<span class="utf"><i></i> ss-akh <code>&#xe914;</code></span>
|
||||
<span class="utf"><i></i> ss-akr <code>&#xe970;</code></span>
|
||||
<span class="utf"><i></i> ss-ala <code>&#xe641;</code></span>
|
||||
<span class="utf"><i></i> ss-all <code>&#xe61a;</code></span>
|
||||
<span class="utf"><i></i> ss-ann <code>&#xe92d;</code></span>
|
||||
<span class="utf"><i></i> ss-apc <code>&#xe62a;</code></span>
|
||||
<span class="utf"><i></i> ss-arb <code>&#xe643;</code></span>
|
||||
<span class="utf"><i></i> ss-arc <code>&#xe657;</code></span>
|
||||
<span class="utf"><i></i> ss-arn <code>&#xe613;</code></span>
|
||||
<span class="utf"><i></i> ss-ath <code>&#xe65f;</code></span>
|
||||
<span class="utf"><i></i> ss-atq <code>&#xe614;</code></span>
|
||||
<span class="utf"><i></i> ss-avr <code>&#xe64c;</code></span>
|
||||
<span class="utf"><i></i> ss-bbd <code>&#xe942;</code></span>
|
||||
<span class="utf"><i></i> ss-bfz <code>&#xe699;</code></span>
|
||||
<span class="utf"><i></i> ss-bng <code>&#xe651;</code></span>
|
||||
<span class="utf"><i></i> ss-bok <code>&#xe635;</code></span>
|
||||
<span class="utf"><i></i> ss-brb <code>&#xe660;</code></span>
|
||||
<span class="utf"><i></i> ss-btd <code>&#xe661;</code></span>
|
||||
<span class="utf"><i></i> ss-c13 <code>&#xe65b;</code></span>
|
||||
<span class="utf"><i></i> ss-c14 <code>&#xe65d;</code></span>
|
||||
<span class="utf"><i></i> ss-c15 <code>&#xe900;</code></span>
|
||||
<span class="utf"><i></i> ss-c16 <code>&#xe910;</code></span>
|
||||
<span class="utf"><i></i> ss-c17 <code>&#xe934;</code></span>
|
||||
<span class="utf"><i></i> ss-c18 <code>&#xe946;</code></span>
|
||||
<span class="utf"><i></i> ss-c19 <code>&#xe95f;</code></span>
|
||||
<span class="utf"><i></i> ss-c20 <code>&#xe966;</code></span>
|
||||
<span class="utf"><i></i> ss-cc1 <code>&#xe968;</code></span>
|
||||
<span class="utf"><i></i> ss-chk <code>&#xe634;</code></span>
|
||||
<span class="utf"><i></i> ss-chr <code>&#xe65e;</code></span>
|
||||
<span class="utf"><i></i> ss-cm1 <code>&#xe65a;</code></span>
|
||||
<span class="utf"><i></i> ss-cm2 <code>&#xe940;</code></span>
|
||||
<span class="utf"><i></i> ss-cma <code>&#xe916;</code></span>
|
||||
<span class="utf"><i></i> ss-cmc <code>&#xe969;</code></span>
|
||||
<span class="utf"><i></i> ss-cmd <code>&#xe658;</code></span>
|
||||
<span class="utf"><i></i> ss-cmr <code>&#xe969;</code></span>
|
||||
<span class="utf"><i></i> ss-cns <code>&#xe65c;</code></span>
|
||||
<span class="utf"><i></i> ss-cn2 <code>&#xe904;</code></span>
|
||||
<span class="utf"><i></i> ss-con <code>&#xe642;</code></span>
|
||||
<span class="utf"><i></i> ss-csp <code>&#xe61b;</code></span>
|
||||
<span class="utf"><i></i> ss-dd2 <code>&#xe66a;</code></span>
|
||||
<span class="utf"><i></i> ss-ddc <code>&#xe66b;</code></span>
|
||||
<span class="utf"><i></i> ss-ddd <code>&#xe66c;</code></span>
|
||||
<span class="utf"><i></i> ss-dde <code>&#xe66d;</code></span>
|
||||
<span class="utf"><i></i> ss-ddf <code>&#xe66e;</code></span>
|
||||
<span class="utf"><i></i> ss-ddg <code>&#xe66f;</code></span>
|
||||
<span class="utf"><i></i> ss-ddh <code>&#xe670;</code></span>
|
||||
<span class="utf"><i></i> ss-ddi <code>&#xe671;</code></span>
|
||||
<span class="utf"><i></i> ss-ddj <code>&#xe672;</code></span>
|
||||
<span class="utf"><i></i> ss-ddk <code>&#xe673;</code></span>
|
||||
<span class="utf"><i></i> ss-ddl <code>&#xe674;</code></span>
|
||||
<span class="utf"><i></i> ss-ddm <code>&#xe675;</code></span>
|
||||
<span class="utf"><i></i> ss-ddn <code>&#xe676;</code></span>
|
||||
<span class="utf"><i></i> ss-ddo <code>&#xe677;</code></span>
|
||||
<span class="utf"><i></i> ss-ddp <code>&#xe698;</code></span>
|
||||
<span class="utf"><i></i> ss-ddq <code>&#xe908;</code></span>
|
||||
<span class="utf"><i></i> ss-ddr <code>&#xe90d;</code></span>
|
||||
<span class="utf"><i></i> ss-dds <code>&#xe921;</code></span>
|
||||
<span class="utf"><i></i> ss-ddt <code>&#xe933;</code></span>
|
||||
<span class="utf"><i></i> ss-ddu <code>&#xe93e;</code></span>
|
||||
<span class="utf"><i></i> ss-dgm <code>&#xe64f;</code></span>
|
||||
<span class="utf"><i></i> ss-dis <code>&#xe639;</code></span>
|
||||
<span class="utf"><i></i> ss-dka <code>&#xe64b;</code></span>
|
||||
<span class="utf"><i></i> ss-dkm <code>&#xe662;</code></span>
|
||||
<span class="utf"><i></i> ss-dom <code>&#xe93f;</code></span>
|
||||
<span class="utf"><i></i> ss-dpa <code>&#xe689;</code></span>
|
||||
<span class="utf"><i></i> ss-drb <code>&#xe678;</code></span>
|
||||
<span class="utf"><i></i> ss-drk <code>&#xe616;</code></span>
|
||||
<span class="utf"><i></i> ss-dst <code>&#xe632;</code></span>
|
||||
<span class="utf"><i></i> ss-dtk <code>&#xe693;</code></span>
|
||||
<span class="utf"><i></i> ss-e01 <code>&#xe92d;</code></span>
|
||||
<span class="utf"><i></i> ss-e02 <code>&#xe931;</code></span>
|
||||
<span class="utf"><i></i> ss-eld <code>&#xe95e;</code></span>
|
||||
<span class="utf"><i></i> ss-ema <code>&#xe903;</code></span>
|
||||
<span class="utf"><i></i> ss-emn <code>&#xe90b;</code></span>
|
||||
<span class="utf"><i></i> ss-eve <code>&#xe640;</code></span>
|
||||
<span class="utf"><i></i> ss-evg <code>&#xe669;</code></span>
|
||||
<span class="utf"><i></i> ss-exo <code>&#xe621;</code></span>
|
||||
<span class="utf"><i></i> ss-exp <code>&#xe69a;</code></span>
|
||||
<span class="utf"><i></i> ss-fem <code>&#xe617;</code></span>
|
||||
<span class="utf"><i></i> ss-frf <code>&#xe654;</code></span>
|
||||
<span class="utf"><i></i> ss-fut <code>&#xe63c;</code></span>
|
||||
<span class="utf"><i></i> ss-gk1 <code>&#xe94b;</code></span>
|
||||
<span class="utf"><i></i> ss-gk2 <code>&#xe959;</code></span>
|
||||
<span class="utf"><i></i> ss-gn2 <code>&#xe964;</code></span>
|
||||
<span class="utf"><i></i> ss-gnt <code>&#xe94d;</code></span>
|
||||
<span class="utf"><i></i> ss-gpt <code>&#xe638;</code></span>
|
||||
<span class="utf"><i></i> ss-grn <code>&#xe94b;</code></span>
|
||||
<span class="utf"><i></i> ss-gs1 <code>&#xe945;</code></span>
|
||||
<span class="utf"><i></i> ss-gtc <code>&#xe64e;</code></span>
|
||||
<span class="utf"><i></i> ss-h09 <code>&#xe67f;</code></span>
|
||||
<span class="utf"><i></i> ss-h17 <code>&#xe938;</code></span>
|
||||
<span class="utf"><i></i> ss-ha1 <code>&#xe96b;</code></span>
|
||||
<span class="utf"><i></i> ss-hml <code>&#xe618;</code></span>
|
||||
<span class="utf"><i></i> ss-hop <code>&#xe656;</code></span>
|
||||
<span class="utf"><i></i> ss-hou <code>&#xe924;</code></span>
|
||||
<span class="utf"><i></i> ss-ice <code>&#xe619;</code></span>
|
||||
<span class="utf"><i></i> ss-ice2 <code>&#xe925;</code></span>
|
||||
<span class="utf"><i></i> ss-iko <code>&#xe962;</code></span>
|
||||
<span class="utf"><i></i> ss-ima <code>&#xe935;</code></span>
|
||||
<span class="utf"><i></i> ss-inv <code>&#xe628;</code></span>
|
||||
<span class="utf"><i></i> ss-isd <code>&#xe64a;</code></span>
|
||||
<span class="utf"><i></i> ss-j20 <code>&#xe96a;</code></span>
|
||||
<span class="utf"><i></i> ss-jmp <code>&#xe96f;</code></span>
|
||||
<span class="utf"><i></i> ss-jou <code>&#xe652;</code></span>
|
||||
<span class="utf"><i></i> ss-jud <code>&#xe62d;</code></span>
|
||||
<span class="utf"><i></i> ss-khm <code>&#xe974;</code></span>
|
||||
<span class="utf"><i></i> ss-kld <code>&#xe90e;</code></span>
|
||||
<span class="utf"><i></i> ss-klr <code>&#xe97c;</code></span>
|
||||
<span class="utf"><i></i> ss-ktk <code>&#xe653;</code></span>
|
||||
<span class="utf"><i></i> ss-lea <code>&#xe600;</code></span>
|
||||
<span class="utf"><i></i> ss-leb <code>&#xe601;</code></span>
|
||||
<span class="utf"><i></i> ss-leg <code>&#xe615;</code></span>
|
||||
<span class="utf"><i></i> ss-lgn <code>&#xe62f;</code></span>
|
||||
<span class="utf"><i></i> ss-lrw <code>&#xe63d;</code></span>
|
||||
<span class="utf"><i></i> ss-m10 <code>&#xe60c;</code></span>
|
||||
<span class="utf"><i></i> ss-m11 <code>&#xe60d;</code></span>
|
||||
<span class="utf"><i></i> ss-m12 <code>&#xe60e;</code></span>
|
||||
<span class="utf"><i></i> ss-m13 <code>&#xe60f;</code></span>
|
||||
<span class="utf"><i></i> ss-m14 <code>&#xe610;</code></span>
|
||||
<span class="utf"><i></i> ss-m15 <code>&#xe611;</code></span>
|
||||
<span class="utf"><i></i> ss-m19 <code>&#xe941;</code></span>
|
||||
<span class="utf"><i></i> ss-m20 <code>&#xe95d;</code></span>
|
||||
<span class="utf"><i></i> ss-m21 <code>&#xe960;</code></span>
|
||||
<span class="utf"><i></i> ss-mb1 <code>&#xe971;</code></span>
|
||||
<span class="utf"><i></i> ss-mbs <code>&#xe648;</code></span>
|
||||
<span class="utf"><i></i> ss-md1 <code>&#xe682;</code></span>
|
||||
<span class="utf"><i></i> ss-me1 <code>&#xe68d;</code></span>
|
||||
<span class="utf"><i></i> ss-me2 <code>&#xe68e;</code></span>
|
||||
<span class="utf"><i></i> ss-me3 <code>&#xe68f;</code></span>
|
||||
<span class="utf"><i></i> ss-me4 <code>&#xe690;</code></span>
|
||||
<span class="utf"><i></i> ss-med <code>&#xe94c;</code></span>
|
||||
<span class="utf"><i></i> ss-mh1 <code>&#xe95b;</code></span>
|
||||
<span class="utf"><i></i> ss-mh2 <code>&#xe97b;</code></span>
|
||||
<span class="utf"><i></i> ss-mir <code>&#xe61c;</code></span>
|
||||
<span class="utf"><i></i> ss-mm2 <code>&#xe695;</code></span>
|
||||
<span class="utf"><i></i> ss-mm3 <code>&#xe912;</code></span>
|
||||
<span class="utf"><i></i> ss-mma <code>&#xe663;</code></span>
|
||||
<span class="utf"><i></i> ss-mmq <code>&#xe625;</code></span>
|
||||
<span class="utf"><i></i> ss-mor <code>&#xe63e;</code></span>
|
||||
<span class="utf"><i></i> ss-mp1 <code>&#xe913;</code></span>
|
||||
<span class="utf"><i></i> ss-mp2 <code>&#xe922;</code></span>
|
||||
<span class="utf"><i></i> ss-mps <code>&#xe913;</code></span>
|
||||
<span class="utf"><i></i> ss-mrd <code>&#xe631;</code></span>
|
||||
<span class="utf"><i></i> ss-nem <code>&#xe626;</code></span>
|
||||
<span class="utf"><i></i> ss-nms <code>&#xe626;</code></span>
|
||||
<span class="utf"><i></i> ss-nph <code>&#xe649;</code></span>
|
||||
<span class="utf"><i></i> ss-ody <code>&#xe62b;</code></span>
|
||||
<span class="utf"><i></i> ss-ogw <code>&#xe901;</code></span>
|
||||
<span class="utf"><i></i> ss-ons <code>&#xe62e;</code></span>
|
||||
<span class="utf"><i></i> ss-ori <code>&#xe697;</code></span>
|
||||
<span class="utf"><i></i> ss-p02 <code>&#xe665;</code></span>
|
||||
<span class="utf"><i></i> ss-pc2 <code>&#xe659;</code></span>
|
||||
<span class="utf"><i></i> ss-pca <code>&#xe911;</code></span>
|
||||
<span class="utf"><i></i> ss-pcy <code>&#xe627;</code></span>
|
||||
<span class="utf"><i></i> ss-pd2 <code>&#xe680;</code></span>
|
||||
<span class="utf"><i></i> ss-pd3 <code>&#xe681;</code></span>
|
||||
<span class="utf"><i></i> ss-plc <code>&#xe63b;</code></span>
|
||||
<span class="utf"><i></i> ss-pls <code>&#xe629;</code></span>
|
||||
<span class="utf"><i></i> ss-po2 <code>&#xe665;</code></span>
|
||||
<span class="utf"><i></i> ss-por <code>&#xe664;</code></span>
|
||||
<span class="utf"><i></i> ss-ptg <code>&#xe965;</code></span>
|
||||
<span class="utf"><i></i> ss-ptk <code>&#xe666;</code></span>
|
||||
<span class="utf"><i></i> ss-rav <code>&#xe637;</code></span>
|
||||
<span class="utf"><i></i> ss-rix <code>&#xe92f;</code></span>
|
||||
<span class="utf"><i></i> ss-xren <code>&#xe917;</code></span>
|
||||
<span class="utf"><i></i> ss-xrin <code>&#xe918;</code></span>
|
||||
<span class="utf"><i></i> ss-rna <code>&#xe959;</code></span>
|
||||
<span class="utf"><i></i> ss-roe <code>&#xe646;</code></span>
|
||||
<span class="utf"><i></i> ss-rtr <code>&#xe64d;</code></span>
|
||||
<span class="utf"><i></i> ss-s00 <code>&#xe668;</code></span>
|
||||
<span class="utf"><i></i> ss-s99 <code>&#xe667;</code></span>
|
||||
<span class="utf"><i></i> ss-scg <code>&#xe630;</code></span>
|
||||
<span class="utf"><i></i> ss-shm <code>&#xe63f;</code></span>
|
||||
<span class="utf"><i></i> ss-sld <code>&#xe687;</code></span>
|
||||
<span class="utf"><i></i> ss-slu <code>&#xe687;</code></span>
|
||||
<span class="utf"><i></i> ss-soi <code>&#xe902;</code></span>
|
||||
<span class="utf"><i></i> ss-sok <code>&#xe636;</code></span>
|
||||
<span class="utf"><i></i> ss-som <code>&#xe647;</code></span>
|
||||
<span class="utf"><i></i> ss-ss1 <code>&#xe944;</code></span>
|
||||
<span class="utf"><i></i> ss-ss2 <code>&#xe95c;</code></span>
|
||||
<span class="utf"><i></i> ss-ss3 <code>&#xe96d;</code></span>
|
||||
<span class="utf"><i></i> ss-sth <code>&#xe620;</code></span>
|
||||
<span class="utf"><i></i> ss-stx <code>&#xe975;</code></span>
|
||||
<span class="utf"><i></i> ss-td2 <code>&#xe91c;</code></span>
|
||||
<span class="utf"><i></i> ss-thb <code>&#xe961;</code></span>
|
||||
<span class="utf"><i></i> ss-ths <code>&#xe650;</code></span>
|
||||
<span class="utf"><i></i> ss-tmp <code>&#xe61f;</code></span>
|
||||
<span class="utf"><i></i> ss-tor <code>&#xe62c;</code></span>
|
||||
<span class="utf"><i></i> ss-tpr <code>&#xe694;</code></span>
|
||||
<span class="utf"><i></i> ss-tsp <code>&#xe63a;</code></span>
|
||||
<span class="utf"><i></i> ss-tsr <code>&#xe976;</code></span>
|
||||
<span class="utf"><i></i> ss-uds <code>&#xe624;</code></span>
|
||||
<span class="utf"><i></i> ss-ugl <code>&#xe691;</code></span>
|
||||
<span class="utf"><i></i> ss-ulg <code>&#xe623;</code></span>
|
||||
<span class="utf"><i></i> ss-uma <code>&#xe958;</code></span>
|
||||
<span class="utf"><i></i> ss-und <code>&#xe96c;</code></span>
|
||||
<span class="utf"><i></i> ss-unh <code>&#xe692;</code></span>
|
||||
<span class="utf"><i></i> ss-ust <code>&#xe930;</code></span>
|
||||
<span class="utf"><i></i> ss-usg <code>&#xe622;</code></span>
|
||||
<span class="utf"><i></i> ss-v09 <code>&#xe679;</code></span>
|
||||
<span class="utf"><i></i> ss-v0x <code>&#xe920;</code></span>
|
||||
<span class="utf"><i></i> ss-v10 <code>&#xe67a;</code></span>
|
||||
<span class="utf"><i></i> ss-v11 <code>&#xe67b;</code></span>
|
||||
<span class="utf"><i></i> ss-v12 <code>&#xe67c;</code></span>
|
||||
<span class="utf"><i></i> ss-v13 <code>&#xe67d;</code></span>
|
||||
<span class="utf"><i></i> ss-v14 <code>&#xe67e;</code></span>
|
||||
<span class="utf"><i></i> ss-v15 <code>&#xe905;</code></span>
|
||||
<span class="utf"><i></i> ss-v16 <code>&#xe906;</code></span>
|
||||
<span class="utf"><i></i> ss-v17 <code>&#xe939;</code></span>
|
||||
<span class="utf"><i></i> ss-van <code>&#xe655;</code></span>
|
||||
<span class="utf"><i></i> ss-vis <code>&#xe61d;</code></span>
|
||||
<span class="utf"><i></i> ss-vma <code>&#xe696;</code></span>
|
||||
<span class="utf"><i></i> ss-w16 <code>&#xe907;</code></span>
|
||||
<span class="utf"><i></i> ss-w17 <code>&#xe923;</code></span>
|
||||
<span class="utf"><i></i> ss-war <code>&#xe95a;</code></span>
|
||||
<span class="utf"><i></i> ss-wth <code>&#xe61e;</code></span>
|
||||
<span class="utf"><i></i> ss-wwk <code>&#xe645;</code></span>
|
||||
<span class="utf"><i></i> ss-xdnd <code>&#xe972;</code></span>
|
||||
<span class="utf"><i></i> ss-xin3 <code>&#xe977;</code></span>
|
||||
<span class="utf"><i></i> ss-xin4 <code>&#xe978;</code></span>
|
||||
<span class="utf"><i></i> ss-xln <code>&#xe92e;</code></span>
|
||||
<span class="utf"><i></i> ss-zen <code>&#xe644;</code></span>
|
||||
<span class="utf"><i></i> ss-znc <code>&#xe967;</code></span>
|
||||
<span class="utf"><i></i> ss-znr <code>&#xe963;</code></span>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="vectors">
|
||||
<span class="utf"><i></i> ss-azorius <code>&#xe94e;</code></span>
|
||||
<span class="utf"><i></i> ss-boros <code>&#xe94f;</code></span>
|
||||
<span class="utf"><i></i> ss-dimir <code>&#xe950;</code></span>
|
||||
<span class="utf"><i></i> ss-golgari <code>&#xe951;</code></span>
|
||||
<span class="utf"><i></i> ss-gruul <code>&#xe952;</code></span>
|
||||
<span class="utf"><i></i> ss-izzet <code>&#xe953;</code></span>
|
||||
<span class="utf"><i></i> ss-orzhov <code>&#xe954;</code></span>
|
||||
<span class="utf"><i></i> ss-rakdos <code>&#xe955;</code></span>
|
||||
<span class="utf"><i></i> ss-selesnya <code>&#xe956;</code></span>
|
||||
<span class="utf"><i></i> ss-simic <code>&#xe957;</code></span>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="vectors overflow-hidden">
|
||||
<span class="utf"><i></i> ss-bcore <code>&#xe612;</code></span>
|
||||
<span class="utf"><i></i> ss-htr <code>&#xe687;</code></span>
|
||||
<span class="utf"><i></i> ss-htr17 <code>&#xe687;</code></span>
|
||||
<span class="utf"><i></i> ss-papac <code>&#xe92a;</code></span>
|
||||
<span class="utf"><i></i> ss-parl <code>&#xe688;</code></span>
|
||||
<span class="utf"><i></i> ss-parl2 <code>&#xe68c;</code></span>
|
||||
<span class="utf"><i></i> ss-parl3 <code>&#xe943;</code></span>
|
||||
<span class="utf"><i></i> ss-past <code>&#xe68b;</code></span>
|
||||
<span class="utf"><i></i> ss-pbook <code>&#xe68a;</code></span>
|
||||
<span class="utf"><i></i> ss-pdep <code>&#xe93a;</code></span>
|
||||
<span class="utf"><i></i> ss-pdrc <code>&#xe932;</code></span>
|
||||
<span class="utf"><i></i> ss-peuro <code>&#xe92b;</code></span>
|
||||
<span class="utf"><i></i> ss-pfnm <code>&#xe937;</code></span>
|
||||
<span class="utf"><i></i> ss-pgru <code>&#xe683;</code></span>
|
||||
<span class="utf"><i></i> ss-pheart <code>&#xe936;</code></span>
|
||||
<span class="utf"><i></i> ss-pidw <code>&#xe92c;</code></span>
|
||||
<span class="utf"><i></i> ss-pleaf <code>&#xe686;</code></span>
|
||||
<span class="utf"><i></i> ss-pmei <code>&#xe687;</code></span>
|
||||
<span class="utf"><i></i> ss-pmodo <code>&#xe91b;</code></span>
|
||||
<span class="utf"><i></i> ss-pmps <code>&#xe919;</code></span>
|
||||
<span class="utf"><i></i> ss-pmpu <code>&#xe91a;</code></span>
|
||||
<span class="utf"><i></i> ss-pmtg1 <code>&#xe684;</code></span>
|
||||
<span class="utf"><i></i> ss-pmtg2 <code>&#xe685;</code></span>
|
||||
<span class="utf"><i></i> ss-psalvat05 <code>&#xe909;</code></span>
|
||||
<span class="utf"><i></i> ss-psalvat11 <code>&#xe90a;</code></span>
|
||||
<span class="utf"><i></i> ss-psega <code>&#xe93b;</code></span>
|
||||
<span class="utf"><i></i> ss-psld <code>&#xe687;</code></span>
|
||||
<span class="utf"><i></i> ss-psum <code>&#xe605;</code></span>
|
||||
<span class="utf"><i></i> ss-ptsa <code>&#xe93c;</code></span>
|
||||
<span class="utf"><i></i> ss-pxbox <code>&#xe915;</code></span>
|
||||
<span class="utf"><i></i> ss-pz1 <code>&#xe90c;</code></span>
|
||||
<span class="utf"><i></i> ss-pz2 <code>&#xe91f;</code></span>
|
||||
<span class="utf"><i></i> ss-x2ps <code>&#xe928;</code></span>
|
||||
<span class="utf"><i></i> ss-x4ea <code>&#xe929;</code></span>
|
||||
<span class="utf"><i></i> ss-xcle <code>&#xe926;</code></span>
|
||||
<span class="utf"><i></i> ss-xduels <code>&#xe91d;</code></span>
|
||||
<span class="utf"><i></i> ss-xice <code>&#xe927;</code></span>
|
||||
<span class="utf"><i></i> ss-xmods <code>&#xe91e;</code></span>
|
||||
<span class="utf"><i></i> ss-zne <code>&#xe97a;</code></span>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="wrapper">
|
||||
<div class="float-left">
|
||||
<p>Made with ♥ by <a href="http://andrewgioia.com">Andrew Gioia</a></p>
|
||||
</div>
|
||||
<div class="float-right" style="text-align: right;">
|
||||
<p>
|
||||
All set images © <a href="http://magicthegathering.com">Wizards of the Coast</a><br />
|
||||
The Keyrune font is licensed under the the <a href="http://scripts.sil.org/OFL">SIL OFL 1.1</a><br />
|
||||
Keyrune CSS, LESS, and Sass files are licensed under the <a href="http://opensource.org/licenses/mit-license.html">MIT License</a><br />
|
||||
</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
155
docs/examples.html
Normal file
155
docs/examples.html
Normal file
@ -0,0 +1,155 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
|
||||
<title>Examples | Keyrune</title>
|
||||
<link rel="stylesheet" href="../css/keyrune.min.css" />
|
||||
<link rel="stylesheet" href="assets/main.css" />
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<section id="banner">
|
||||
<div class="wrapper">
|
||||
<a href="index.html" class="logo"><i class="ss ss-leg"></i> Keyrune</a>
|
||||
<a href="index.html" class="item">Home</a>
|
||||
<a href="icons.html" class="item">Set Icons</a>
|
||||
<a href="examples.html" class="item">Examples</a>
|
||||
<a href="http://github.com/andrewgioia/Keyrune" class="item">GitHub Project</a>
|
||||
<span class="item">
|
||||
<iframe src="https://ghbtns.com/github-btn.html?user=andrewgioia&repo=keyrune&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px" style="margin-bottom: -4px;"></iframe>
|
||||
</span>
|
||||
<span class="item">
|
||||
Created by
|
||||
<a href="http://andrewgioia.com">Andrew Gioia</a>
|
||||
</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<header>
|
||||
<div class="wrapper">
|
||||
<h1 class="sub">Options & Examples</h1>
|
||||
<a class="dl button float-right" href="https://github.com/andrewgioia/Keyrune/archive/master.zip">
|
||||
<i class="ss ss-pmtg2"></i>
|
||||
Download
|
||||
</a>
|
||||
<h2 class="sub">Built-in size, position, and rarity options</h2>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="wrapper">
|
||||
<section>
|
||||
<h3><strong>Keyrune</strong> has some built in icon options to easily change the <strong>size, position, and rarity color</strong> of the set symbols. Take a look below at examples of each option with the class names to implement them.</h3>
|
||||
</section>
|
||||
<section class="content">
|
||||
<h4>Displaying a Set Icon</h4>
|
||||
<div class="example float-left">
|
||||
<i class="ss ss-zen"></i> ss-zen
|
||||
</div>
|
||||
<div class="explanation">
|
||||
<p>You can place Keyrune icons anywhere using the CSS classname prefix <code>ss</code> (for set symbol) and then the set icon's code. Inline elements like <code><i></code> and <code><span></code> are preferred, but any can be used.</p>
|
||||
<blockquote>
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-zen"</span>></<span class="e">i</span>> ss-zen
|
||||
</blockquote>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</section>
|
||||
<section class="content">
|
||||
<h4>Icon Sizes</h4>
|
||||
<div class="example float-left">
|
||||
<span class="each"><i class="ss ss-sth ss-2x"></i> ss-2x</span>
|
||||
<span class="each"><i class="ss ss-sth ss-3x"></i> ss-3x</span>
|
||||
<span class="each"><i class="ss ss-sth ss-4x"></i> ss-4x</span>
|
||||
<span class="each"><i class="ss ss-sth ss-5x"></i> ss-5x</span>
|
||||
<span class="each"><i class="ss ss-sth ss-6x"></i> ss-6x</span>
|
||||
</div>
|
||||
<div class="explanation">
|
||||
<p>To conveniently increase the size of a set symbol you can append the classes <code>ss-2x</code>, <code>ss-3x</code>, <code>ss-4x</code>, <code>ss-4x</code>, and <code>ss-6x</code>. These classes increase the size by a factor equal to class name number.</p>
|
||||
<blockquote>
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-sth ss-2x"</span>></<span class="e">i</span>> ss-2x<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-sth ss-3x"</span>></<span class="e">i</span>> ss-3x<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-sth ss-4x"</span>></<span class="e">i</span>> ss-4x<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-sth ss-5x"</span>></<span class="e">i</span>> ss-5x<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-sth ss-6x"</span>></<span class="e">i</span>> ss-6x
|
||||
</blockquote>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</section>
|
||||
<section class="content">
|
||||
<h4>Fixed Width</h4>
|
||||
<div class="example float-left">
|
||||
<div style="padding-bottom: 5px;">Fixed width:</div>
|
||||
<span class="each"><i class="ss ss-inv ss-fw"></i> Invasion</span>
|
||||
<span class="each"><i class="ss ss-nms ss-fw"></i> Nemesis</span>
|
||||
<div style="padding: 15px 0 5px;">Default (to compare):</div>
|
||||
<span class="each"><i class="ss ss-inv"></i> Invasion</span>
|
||||
<span class="each"><i class="ss ss-nms"></i> Nemesis</span>
|
||||
</div>
|
||||
<div class="explanation">
|
||||
<p>All of the set symbols are variable width by default, if you put them in a list they may stack irregularly. To fix their width just append the class <code>.ss-fw</code> and the set symbols will have a constant width and centered icon.</p>
|
||||
<blockquote>
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-inv ss-fw"</span>></<span class="e">i</span>> Invasion<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-nms ss-fw"</span>></<span class="e">i</span>> Nemesis
|
||||
</blockquote>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</section>
|
||||
<section class="content">
|
||||
<h4>Rarity Colors</h4>
|
||||
<div class="example float-left">
|
||||
<span class="each"><i class="ss ss-fw ss-ons ss-common"></i> ss-common</span>
|
||||
<span class="each"><i class="ss ss-fw ss-ons ss-uncommon"></i> ss-uncommon</span>
|
||||
<span class="each"><i class="ss ss-fw ss-ons ss-rare"></i> ss-rare</span>
|
||||
<span class="each"><i class="ss ss-fw ss-ons ss-mythic"></i> ss-mythic</span>
|
||||
<span class="each"><i class="ss ss-fw ss-tsp ss-timeshifted"></i> ss-timeshifted</span>
|
||||
</div>
|
||||
<div class="explanation">
|
||||
<p>You can add a rarity color to each set symbol by appending the classes <code>ss-common</code>, <code>ss-uncommon</code>, <code>ss-rare</code>, and <code>ss-mythic</code>.</p>
|
||||
<blockquote>
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-ons ss-common"</span>></<span class="e">i</span>> ss-common<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-ons ss-uncommon"</span>></<span class="e">i</span>> ss-uncommon<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-ons ss-rare"</span>></<span class="e">i</span>> ss-rare<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-ons ss-mythic"</span>></<span class="e">i</span>> ss-mythic<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-tsp ss-timeshifted"</span>></<span class="e">i</span>> ss-timeshifted
|
||||
</blockquote>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="example float-left">
|
||||
<span class="each"><i class="ss ss-mor ss-rare ss-grad ss-3x"></i> ss-grad</span>
|
||||
<span class="each"> <i class="ss ss-tsp ss-timeshifted ss-grad ss-3x"></i> ss-grad</span>
|
||||
<span class="each"><i class="ss ss-isd ss-foil ss-grad ss-3x"></i> ss-foil</span>
|
||||
</div>
|
||||
<div class="explanation">
|
||||
<p>Webkit browsers suport the <code>background-clip: text</code> property which opens up some exciting options for rarities: true text gradients! Append the <code>.ss-grad</code> class to add a modern rarity gradient.</p>
|
||||
<blockquote>
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-mor ss-rare ss-grad ss-3x"</span>></<span class="e">i</span>> ss-grad<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-tsp ss-timeshifted ss-grad ss-3x"</span>></<span class="e">i</span>> ss-grad<br />
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-isd ss-foil ss-grad ss-3x"</span>></<span class="e">i</span>> ss-foil<br />
|
||||
</blockquote>
|
||||
<p><strong>Note:</strong> You will only see a gradient while using a Webkit browser (i.e., Chrome or Safari).</p>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="wrapper">
|
||||
<div class="float-left">
|
||||
<p>Made with ♥ by <a href="http://andrewgioia.com">Andrew Gioia</a></p>
|
||||
</div>
|
||||
<div class="float-right" style="text-align: right;">
|
||||
<p>
|
||||
All set images © <a href="http://magicthegathering.com">Wizards of the Coast</a><br />
|
||||
The Keyrune font is licensed under the the <a href="http://scripts.sil.org/OFL">SIL OFL 1.1</a><br />
|
||||
Keyrune CSS, LESS, and Sass files are licensed under the <a href="http://opensource.org/licenses/mit-license.html">MIT License</a><br />
|
||||
</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
BIN
docs/favicon.ico
Normal file
BIN
docs/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 24 KiB |
1127
docs/icons.html
Normal file
1127
docs/icons.html
Normal file
File diff suppressed because it is too large
Load Diff
136
docs/index.html
Normal file
136
docs/index.html
Normal file
@ -0,0 +1,136 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
|
||||
<title>Keyrune | Andrew Gioia</title>
|
||||
<link rel="stylesheet" href="../css/keyrune.min.css" />
|
||||
<link rel="stylesheet" href="assets/docs.css" />
|
||||
<link rel="icon" href="favicon.ico" type="image/x-icon" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||
</head>
|
||||
<body>
|
||||
<section id="banner">
|
||||
<div class="wrapper">
|
||||
<a href="index.html" class="item">Home</a>
|
||||
<a href="icons.html" class="item">Set Icons</a>
|
||||
<a href="examples.html" class="item">Examples</a>
|
||||
<a href="http://github.com/andrewgioia/Keyrune" class="item">GitHub Project</a>
|
||||
<span class="item">
|
||||
<iframe src="https://ghbtns.com/github-btn.html?user=andrewgioia&repo=keyrune&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px" style="margin-bottom: -4px;"></iframe>
|
||||
</span>
|
||||
<span class="item">
|
||||
Created by
|
||||
<a href="https://andrewgioia.com">Andrew Gioia</a>
|
||||
</span>
|
||||
</div>
|
||||
</section>
|
||||
<header class="main">
|
||||
<div class="wrapper">
|
||||
<div class="bigicon">
|
||||
<i class="ss ss-leg"></i>
|
||||
</div>
|
||||
<h1>Keyrune</h1>
|
||||
<h2>Magic: the Gathering set symbol font</h2>
|
||||
<div class="actions">
|
||||
<a class="dl button" href="https://github.com/andrewgioia/Keyrune/archive/master.zip">
|
||||
<i class="ss ss-pmtg2"></i>
|
||||
Download
|
||||
</a>
|
||||
<a class="vs button" href="icons.html">
|
||||
<i class="ss ss-mmq"></i>
|
||||
View Set Icons
|
||||
</a>
|
||||
</div>
|
||||
<p>
|
||||
Current version 3.7.1 includes all sets to Kaldheim and Time Spiral Remastered.
|
||||
</p>
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<div class="wrapper">
|
||||
<section>
|
||||
<h3><strong>Keyrune is a complete set of scalable vector icons for Magic set symbols.</strong> Drop them into your application, website, or custom cards (like this <i class="ss ss-tmp"></i>) and control their size, color, drop shadow, or any dimension just as you would with text!</h3>
|
||||
</section>
|
||||
<section class="content">
|
||||
<h4>Using Keyrune in your project</h4>
|
||||
<p>Keyrune is CSS and font package you can use in your project to easily display MTG set symbols as font icons. You can download the source and manually include it in your application, or include it via Bower or NPM (project name "keyrune" for both).</p>
|
||||
<p>Each set symbol has its own font character. Display them in a manner similar to <a href="http://fontawesome.io">Font Awesome</a> using the <code><i class="ss ss-exp"></i></code> element. Class name codes are based on the expansion codes from <a href="http://mtgjson.com">MTG JSON</a>.</p>
|
||||
<h5>Including Keyrune in your project</h5>
|
||||
<p>To use Keyrune, move the font files to your /fonts directory and include the <code>keyrune.css</code> stylesheet in your <code><head></code>:</p>
|
||||
<blockquote>
|
||||
<<span class="e">link</span> <span class="a">href</span>=<span class="v">"css/keyrune.css"</span> <span class="a">rel</span>=<span class="v">"stylesheet"</span> <span class="a">type</span>=<span class="v">"text/css"</span> />
|
||||
</blockquote>
|
||||
<p><strong>New!</strong> You can also now use Keyrune via CDN thanks to the amazing <a href="https://jsdelivr.com">jsDelivr</a> project! Include the latest version, reference:</p>
|
||||
<blockquote>
|
||||
<<span class="e">link</span> <span class="a">href</span>=<span class="v">"//cdn.jsdelivr.net/npm/keyrune@latest/css/keyrune.css"</span> <span class="a">rel</span>=<span class="v">"stylesheet"</span> <span class="a">type</span>=<span class="v">"text/css"</span> />
|
||||
</blockquote>
|
||||
<p><strong>Note:</strong> as of v3.1.1 (June 2017) the URL structure at jsDelivr changed to the above. Also, you do not need to explicitly include the font-family via @font-face, but if you still would like to here is the css ruleset:</p> <blockquote>
|
||||
<<span class="e">link</span> <span class="a">href</span>="<span class="v">//cdn.jsdelivr.net/npm/keyrune@latest/css/keyrune.min.css</span>" <span class="a">rel</span>="<span class="v">stylesheet</span>" <span class="a">type</span>="<span class="v">text/css</span>" /><br />
|
||||
<<span class="e">style</span> <span class="a">type</span>="<span class="v">text/css</span>"><br />
|
||||
<span class="a">@font-face</span> {<br />
|
||||
font-family: '<span class="e">Keyrune</span>';<br />
|
||||
src: <span class="v">url</span>('<span class="e">//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.eot</span>');<br />
|
||||
src: <span class="v">url</span>('<span class="e">//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.eot?#iefix</span>') <span class="v">format</span>('<span class="e">embedded-opentype</span>'),<br />
|
||||
<span class="v">url</span>('<span class="e">//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.woff2</span>') <span class="v">format</span>('<span class="e">woff2</span>'),<br />
|
||||
<span class="v">url</span>('<span class="e">//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.woff</span>') <span class="v">format</span>('<span class="e">woff</span>'),<br />
|
||||
<span class="v">url</span>('<span class="e">//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.ttf</span>') <span class="v">format</span>('<span class="e">truetype</span>'),<br />
|
||||
<span class="v">url</span>('<span class="e">//cdn.jsdelivr.net/npm/keyrune@latest/fonts/keyrune.svg</span>') <span class="v">format</span>('<span class="e">svg</span>');<br />
|
||||
font-weight: <span class="o">normal</span>;<br />
|
||||
font-style: <span class="o">normal</span>;<br />
|
||||
}<br />
|
||||
</<span class="e">style</span>>
|
||||
</blockquote>
|
||||
<h5>Creating icons in your project</h5>
|
||||
<p>Insert set symbol icons by using the <code>.ss</code> class and then the set code class, such as <code>.ss-mor</code> for Morningtide: <i class="ss ss-mor"></i></p>
|
||||
<blockquote>
|
||||
<<span class="e">i</span> <span class="a">class</span>=<span class="v">"ss ss-mor"</span>></<span class="e">i</span>>
|
||||
</blockquote>
|
||||
</section>
|
||||
<section class="content">
|
||||
<h4>Using Keyrune in desktop software</h4>
|
||||
<p>You can also install Keyrune just like you would with any font, for use in desktop applications like Word, Pages, or Illustrator. This can be useful if you're designing and printing binder covers or set dividers.</p>
|
||||
<p><strong>Note:</strong> For those unfamiliar with CSS projects like this, none of the styling in the documentation will be available when using Keyrune in a desktop app—you have to style everything manually like you would with any other font or "Word Art", for instance.</p>
|
||||
<p>Follow these steps to work with Keyrune on your desktop:</p>
|
||||
<ol>
|
||||
<li><strong>Install the Keyrune font.</strong> To do this, click the "Download" button above, unzip the archive that downloads, then navigate to Keyrune-master/fonts. Double click on <strong>keyrune.ttf</strong> and install it.</li>
|
||||
<li><strong>Open up your desktop application.</strong> Check to see that "Keyrune" shows up in your list of available fonts.</li>
|
||||
<li><strong>Go to the <a href="cheatsheet.html">Cheatsheet</a>.</strong> Copy the symbol that you want to use and then paste it into the application you're using. You should see it show up correctly in there, with the font "Keyrune" active. You can't "type" this font like you would with any other (like Times New Roman), as it uses a reserved character set; you can only copy and paste from the Cheatsheet.</li>
|
||||
<li><strong>Style the symbol however you want.</strong> Unfortunately you're going to have to do this manually :( I've created a <a href="https://www.dropbox.com/s/gp45uuuejfy089n/Keyrune_desktop_example.docx?dl=1">sample Word document</a> that you can use as a reference with rare Urza's Saga, mythic Morningtide, and uncommon Mercadian Masques symbols as examples. In that doc, each symbol has a 2.5pt black border (on 144pt font) and a gradient applied to each one for their rarities.</li>
|
||||
</ol>
|
||||
<p>Every time new set symbols are added to Keyrune you need to reinstall the keyrune.ttf. If you don't see the updated glyphs, try uninstalling the font first and then installing it.</p>
|
||||
<p>Feel free to use the font and symbols however you like in your project, subject to the license terms below.</p>
|
||||
</section>
|
||||
<section class="content">
|
||||
<h4>Editing the Source</h4>
|
||||
<p>Feel free to edit the source files and compile Keyrune to fit your needs. All SVG glyphs are compiled into font files using the wonderful <a href="http://icomoon.io">IcoMoon</a> app. For styling, currently LESS is supported with Sass coming soon.</p>
|
||||
</section>
|
||||
<section class="content">
|
||||
<h4>License</h4>
|
||||
<p>Please review the following licenses for each component of Keyrune:</p>
|
||||
<ul>
|
||||
<li>All set symbol images are copyright Wizards of the Coast (<a href="http://magicthegathering.com">http://magicthegathering.com</a>)</li>
|
||||
<li>The Keyrune font is licensed under the the SIL OFL 1.1 (<a href="http://scripts.sil.org/OFL">http://scripts.sil.org/OFL</a>)</li>
|
||||
<li>Keyrune CSS, LESS, Sass, and other project files are licensed under the GPL 3.0 License at (<a href="https://opensource.org/licenses/GPL-3.0">https://opensource.org/licenses/GPL-3.0</a>)</li>
|
||||
</ul>
|
||||
<p>Attribution is <strong>greatly appreciated</strong> but not required!</p>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
<div class="wrapper">
|
||||
<div class="float-left">
|
||||
<p>Made with ♥ by <a href="http://andrewgioia.com">Andrew Gioia</a></p>
|
||||
</div>
|
||||
<div class="float-right" style="text-align: right;">
|
||||
<p>
|
||||
All set images © <a href="http://magicthegathering.com">Wizards of the Coast</a><br />
|
||||
The Keyrune font is licensed under the the <a href="http://scripts.sil.org/OFL">SIL OFL 1.1</a><br />
|
||||
Keyrune CSS, LESS, Sass, and other project files are licensed under the <a href="https://opensource.org/licenses/GPL-3.0">GPL 3.0 License</a><br />
|
||||
</p>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@ -155,7 +155,9 @@
|
||||
.@{ss-prefix}-iko:before { content: "\e962"; } // Ikoria: Lair of Behemoths
|
||||
.@{ss-prefix}-znr:before { content: "\e963"; } // Zendikar Rising
|
||||
/* 2021 Sets */
|
||||
.@{ss-prefix}-xkld:before,
|
||||
.@{ss-prefix}-khm:before { content: "\e974"; } // Kaldheim
|
||||
.@{ss-prefix}-xssm:before,
|
||||
.@{ss-prefix}-stx:before { content: "\e975"; } // Strixhaven: School of Mages
|
||||
|
||||
/**
|
||||
|
13
package-lock.json
generated
13
package-lock.json
generated
@ -1,5 +1,14 @@
|
||||
{
|
||||
"name": "keyrune",
|
||||
"version": "3.6.0",
|
||||
"lockfileVersion": 1
|
||||
"version": "3.7.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"zepto": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/zepto/-/zepto-1.2.0.tgz",
|
||||
"integrity": "sha1-4Se9nmb9hGvl6rSME5SIL3wOT5g=",
|
||||
"dev": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,9 @@
|
||||
"keywords": [],
|
||||
"homepage": "https://keyrune.andrewgioia.com",
|
||||
"dependencies": {},
|
||||
"devDependencies": {},
|
||||
"devDependencies": {
|
||||
"zepto": "^1.2.0"
|
||||
},
|
||||
"license": "(OFL-1.1 AND GPL-3.0-only)",
|
||||
"main": "css/keyrune.css",
|
||||
"scripts": {
|
||||
@ -43,4 +45,4 @@
|
||||
"engines": {
|
||||
"node": "*"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user