Repository: andrewgioia/Mana Branch: master Commit: 6ca9e696d3bd Files: 38 Total size: 426.1 KB Directory structure: gitextract_ciu4qj8p/ ├── .gitignore ├── CHANGELOG.md ├── README.md ├── css/ │ └── mana.css ├── docs/ │ ├── CNAME │ ├── assets/ │ │ └── docs.css │ ├── attributes.html │ ├── cheatsheet.html │ ├── fonts/ │ │ └── beleren.otf │ ├── icons.html │ └── index.html ├── index.html ├── less/ │ ├── colors.less │ ├── core.less │ ├── cost.less │ ├── dfc.less │ ├── duo.less │ ├── extras.less │ ├── icons.less │ ├── loyalty.less │ ├── mana.less │ ├── path.less │ ├── sizes.less │ └── variables.less ├── package.json └── sass/ ├── _aliases.scss ├── _colors.scss ├── _core.scss ├── _cost.scss ├── _dfc.scss ├── _duo.scss ├── _extras.scss ├── _icons.scss ├── _loyalty.scss ├── _path.scss ├── _sizes.scss ├── _variables.scss └── mana.scss ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ .idea .DS_Store node_modules ================================================ FILE: CHANGELOG.md ================================================ # Changelog All notable changes to this project will be documented in this file. ## Unreleased * v2.0 updates to add all digital product tokens and counter symbols, fix the core numbered casting cost icons, and modernize this project. * Update this changelog for better formatting * Crop original full-width symbols to actual width ## Versions ### [1.18.0] 2024-11-10 Magic Duels ability symbols! #### Added * Finally traced, handdrew, and placed all 56 available Magic Duels ability symbols. This was a labor of love more than anything else as I cannot imagine who is using these, but it gets us to completion of all of the official ability symbols. All of these are available in the format `.ms-ability-duels-{name}`, but for the ones where there are no current Arena/MODO symbol I've aliased those without `duels` for convenience ([#85](https://github.com/andrewgioia/mana/issues/85)) #### Changed * Duels had a higher resolution source for Reach, which is the only one of these that has the same current ability symbol. That one has been replaced with this better version. ### [1.17.1] 2024-11-08 Colorless split costs #### Added * Split costs now support the colorless split mana symbols on [Ulalek, Fused Atrocity](https://scryfall.com/card/m3c/4/ulalek-fused-atrocity) ([#139](https://github.com/andrewgioia/mana/issues/139)) ### [1.17.0] 2024-11-06 2024 abilities * Note this release has not updated the LESS source files. It's become too much to maintain both sadly and LESS will be deprecated/removed going forward. * Note also that bower.json has been removed. Mana has not been published there for a while and will only be officially published to NPM. #### Added * Pawprint cost symbol ([#129](https://github.com/andrewgioia/mana/issues/129)) * Land Drop (D) and Legendary Mana (L) cost symbols from Mystery Booster 2 ([#134](https://github.com/andrewgioia/mana/issues/134)) * 4th Edition tap symbol ([#124](https://github.com/andrewgioia/mana/issues/124)) * Updated lifelink ability symbol ([#126](https://github.com/andrewgioia/mana/issues/126)) * Arena Power and Toughness symbols from the new player experience ([#119](https://github.com/andrewgioia/mana/issues/119)) * Mana Screw flavor watermark ([#115](https://github.com/andrewgioia/mana/issues/115)) * Rad counter on MTGO ([#132](https://github.com/andrewgioia/mana/issues/132)) * Brick, Deathtouch, and Charge punchout counters ([#116](https://github.com/andrewgioia/mana/issues/116)). Goad and Finality added as aliases for the identical ability icons. * Party class watermarks for Cleric, Rogue, Warrior, and Wizard ([#136](https://github.com/andrewgioia/mana/issues/136)) * Exalted ability symbol from MH3 ([#128](https://github.com/andrewgioia/mana/issues/128)) * MKM ability symbols for Cloak, Case Solved, Collect Evidence, Disguise, Suspect, and Surveil ([#121](https://github.com/andrewgioia/mana/issues/121)) * Print Case Solved symbol ([#118](https://github.com/andrewgioia/mana/issues/118)) * LCI ability symbols for Craft, Descend, and Discover ([#117](https://github.com/andrewgioia/mana/issues/117)) * KTK ability symbols for Delve, Ferocious, Outlast, and Morph ([#120](https://github.com/andrewgioia/mana/issues/120)) * OTJ ability symbols for Plot, Saddle, Spree, and Crime ([#125](https://github.com/andrewgioia/mana/issues/125)) * Spree card frame indicator ([#125](https://github.com/andrewgioia/mana/issues/125)) * BLB ability symbols for Gift, Offspring, Valiant, Forage, and Expend ([#130](https://github.com/andrewgioia/mana/issues/130)) * DSK ability symbols for Survival, Impending, Manifest Dread, and Eerie ([#133](https://github.com/andrewgioia/mana/issues/133)) #### Changed * **Breaking change:** with Pawprint now being {P}, Phyrexian has been moved to {H} instead. This changes the class names for these mana costs as of this version, so all `.ms-p` will now show the Pawprint instead of the Phyrexian symbol. Please replace Phyrexian with `.ms-h`. Sorry about this! * Revised tap symbol aliased to `tap-3ed` in addition to `tap-alt`, to account for the other alternate tap symbol. * Lifelink symbol has been updated following Arena's update. The previous one has been changed to `lifelink-original`. #### Fixed * Documented Goad, Commander, and Ticket symbols that were previously added ([#135](https://github.com/andrewgioia/mana/issues/135)) ### [1.16.1] 2024-10-28 Watermark documentation #### Added * Watermark for Trump Katsumai added ([#114](https://github.com/andrewgioia/mana/issues/114)) * Documentation now updated for that massive watermark project I abandoned :( All 90+ watermarks are in and on the icons page, finally back here and getting the repo up to speed again. ([#34](https://github.com/andrewgioia/mana/issues/34)) * Documented Improvise, Ring Bearer, Amass Orcs, and The Ring Tempts You abilities. [#107](https://github.com/andrewgioia/mana/issues/107)) #### Changed * Moved the documentation to the `./docs` folder like Keyrune, no more `gh-pages` branch. ### [1.16.0] 2023-09-20 Complete set of card watermarks * **Added:** 90 watermarks added/aliased, nearing the complete set of all watermarks save for 2. ([#34](https://github.com/andrewgioia/mana/issues/34)) ### [1.15.9] 2023-09-10 WOE ability symbols, Haktos and Robber symbols, loyalty VI * **Added:** WOE ability symbols for Bargain, Celebration, and the 6 role tokens (Cursed, Monster, Royal, Sorceror, Wicked, and Young Hero) ([#111](https://github.com/andrewgioia/mana/issues/111)) * **Added:** Arena-only "ability" symbols used for Haktos the Unscarred and Robber of the Rich ([#112](https://github.com/andrewgioia/mana/issues/112)) * **Added:** Magic Online void counter ([#109](https://github.com/andrewgioia/mana/issues/109)) * **Changed:** Saga loyalty now goes up to VI for the new WOE card, Long List of the Ents ([#110](https://github.com/andrewgioia/mana/issues/110)) ### [1.15.8] 2023-07-20 LTR ability symbols * **Added:** LTR ability symbols for The Ring Tempts You, Ring Bearer, and Amass Orcs ([#107](https://github.com/andrewgioia/mana/issues/107)) * **Added:** Improvise ability symbol ([#108](https://github.com/andrewgioia/mana/issues/108)) * **Changed:** `.ability-amass` is now aliased as `.ability-amass-zombies` to provide a differentiator from LTR's Amass Orcs. ### [1.15.7] 2023-05-29 Fix to .ms-defense-print * **Fixed:** resolved a spacing issue for the .ms-defense-print utility class ### [1.15.6] 2023-05-29 Spring 2023 abilities, DFCs, Defense loyalty * **Added:** DFC symbols for front and back, as well as "face down" and the various meld cards on Arena ([#102](https://github.com/andrewgioia/mana/issues/102)) * **Added:** Defense loyalty symbol and utility classes for battle cards ([#103](https://github.com/andrewgioia/mana/issues/103)) * **Added:** Battle type symbol and Siege subtype symbol ([#105](https://github.com/andrewgioia/mana/issues/105)) * **Added:** Arena ability symbols for Backup and Incubate ([#105](https://github.com/andrewgioia/mana/issues/105)) * **Changed:** Enrage has a new ability symbol in Arena with the old one aliased; the old symbol is also now the new "marked with damage" symbol in arena ([#104](https://github.com/andrewgioia/mana/issues/104)) * **Changed:** Convoke's ability symbol was also changed, with the old one alised as well ([#105](https://github.com/andrewgioia/mana/issues/105)) ### [1.15.5] 2023-03-11 DFC and loyalty updates * **Added:** DFC symbols for Saga and the flip side, Saga creatures, from NEO ([#98](https://github.com/andrewgioia/mana/issues/98)) * **Added:** New outlined version of the loyalty symbol that shows up on certain Unfinity cards ([#97](https://github.com/andrewgioia/mana/issues/97)) * **Added:** The "can't block or must attack" symbol in Arena, labeled "combat condition" here as an ability symbol ([#100](https://github.com/andrewgioia/mana/issues/100)) * **Fixed:** Loyalty line heights have been corrected cross browser ([#96](https://github.com/andrewgioia/mana/issues/96)) ### [1.15.4] 2023-03-08 PRs 81 and 82 * **Added:** Goad ability symbol ([#101](https://github.com/andrewgioia/mana/issues/101)) * **Added:** Land MDFC symbol ([#58](https://github.com/andrewgioia/mana/issues/58)) * **Added:** Commander type symbol ([#59](https://github.com/andrewgioia/mana/issues/59)) * **Added:** Loyalty level up card text symbol ([#60](https://github.com/andrewgioia/mana/issues/60)) * **Added:** Zone icons from MTGA ([#62](https://github.com/andrewgioia/mana/issues/62)) * **Fixed:** CSS font name now matches compiled font name ([#87](https://github.com/andrewgioia/mana/issues/87)) * **Merged:** ([PR #81])(https://github.com/andrewgioia/mana/pull/81) by @Lisstem fixes apostrophe bug in `_variables.scss` * **Merged:** ([PR #82])(https://github.com/andrewgioia/mana/pull/82) by @Lisstem adds missing saga loyalty to `_loyalty.scss` ### [1.15.3] 2023-03-04 Remaining split Phyrexian classes * **Added:** All other split Phyrexian mana classes introduced recently ([#86](https://github.com/andrewgioia/mana/issues/86)) ### [1.15.2] 2023-03-04 GUP and GWP classes (@Araneline) * **Merged:** ([PR #93](https://github.com/andrewgioia/mana/pull/93)) by @Araneline to add support for the GUP and GWP split phyrexian classes ### [1.15.1] 2023-03-03 Fabricate * **Added:** Ticket symbol from Unfinity ([#92](https://github.com/andrewgioia/mana/issues/92)) * **Changed:** Dungeon now has an alias as a card type (`.ms-dungeon`) ([#84](https://github.com/andrewgioia/mana/issues/84)) * **Fixed:** Fabricate has its own correct symbol now. It had previously been aliased and this got messed up in the last build. ### [1.15.0] 2023-03-03 Backlog of Arena ability and counter symbols * **Added:** Finally added the huge backlog of Arena ability symbols: fabricate, changeling, domain, day/night, daybound/nightbound, coven, investigate, decayed, cleave, disturb, exploit, training, channel, ninjutsu, reconfigure, blitz, alliance, obscura (not sure what this corresponds to), casualty, hideaway, read ahead, enlist, specialist, unearth, meld, prototype, toxic, phyrexian, corrupted, and for mirrodin! * Big thanks to @ThePieBandit for the motivation and asset help! * **Added:** 2 missing Arena counters: stun and shield ### [1.14.0] 2021-07-14 Strixhaven schools * **Added:** Lorehold, Prismari, Silverquill, Quandrix, and Witherbloom school symbols added, including dual layered support ### [1.13.0] 2021-07-10 D20, alternate white symbols, basic ligature support * **Added:** D20 ability symbol from Arena * **Added:** Alternate white mana symbols (the original pre-Ice Age symbol and the recent List variant) ([#70](https://github.com/andrewgioia/mana/issues/70)) * **Added:** Arena's snow mana symbol variant ([#69](https://github.com/andrewgioia/mana/issues/69)) * **Fixed:** Missing variable in `_variables.scss` for `.ms-ability-grad` added ([#64](https://github.com/andrewgioia/mana/issues/64) and [#76](https://github.com/andrewgioia/mana/issues/76)) * **Fixed:** Kicker icon is no longer overwritten by the static ability icon in the Sass version ([#65](https://github.com/andrewgioia/mana/issues/65)) ### [1.12.1] 2021-07-08 SVG files * **Added:** missing SVG files for the most recent abilities and type symbols. ### [1.12.0] 2021-07-08 AFR abilities * **Added:** Only seems to be 1 ability symbol in Arena for AFR: venturing into the dungeon. Wizards calls this "Dungeon" so we're naming it that as well. ### [1.11.0] 2021-07-06 More Arena ability symbols * **Added:** Ability symbols for Boast, Foretell, Magecraft, Learn, and Ward * **Added:** Lesson DFC symbol ### [1.10.0] 2020-12-21 Color indicators * **Added:** Color indicator symbols added for all color combinations ([#40](https://github.com/andrewgioia/mana/issues/40)) * **Added:** New variables added for colors used in project as the beginning of getting all of these things into variables * **Fixed:** Sass variables were not called correctly in `_duo.scss`, this is now fixed ### [1.9.4] 2020-10-10 Kicker, Party, and Landfall abilities * **Added:** New ability symbols in Arena for Kicker, Party, and Landfall. ### [1.9.3] 2020-09-23 Corrects evergreen class name * **Fixed:** It's not evergreen abilities that get colorized in Arena, it's set-specific mechanics/abilities. The class name is corrected to be `.ms-mechanic`. ### [1.9.2] 2020-09-23 Adds evergreen color support * **Added:** Class `.ms-evergreen` on ability symbols will apply the gold gradient effect in Arena. ### [1.9.1] 2020-09-04 Modal DFC symbols and Multicolor/duo support * **Added:** Two new double-faced symbols for `modal-face` and `modal-back` added, from [Zendikar Rising](https://scryfall.com/card/znr/264/riverglide-pathway-lavaglide-pathway) [#54](https://github.com/andrewgioia/mana/issues/54) * **Added:** Multicolor symbol with dual-layer support; add `.ms-duo` and the multicolor symbol uses both glyph layers, and adding `.ms-grad` makes it look like the Arena one with a gold gradient background [#43](https://github.com/andrewgioia/mana/issues/43) ### [1.9.0] 2020-09-03 All Arena ability symbols! * **Added:** Excited to add _all_ 53 ability symbols from Arena! This was a big task as many had to be drawn from scratch! [#41](https://github.com/andrewgioia/mana/issues/41), [#53](https://github.com/andrewgioia/mana/issues/53), [#52](https://github.com/andrewgioia/mana/issues/52), and [#44](https://github.com/andrewgioia/mana/issues/44) * **Fixed:** Some outdated SVG issues with the existing type symbols have been corrected * **Added:** SVGs are now shipped [#51](https://github.com/andrewgioia/mana/issues/51) ### [1.8.0] 2020-08-21 Arena ability initial release * **Added:** All ability symbols from Arena [#41](https://github.com/andrewgioia/mana/issues/41) * **Fixed:** All .scss files are cleaner and a bit more optimized; probably going to move to Sass soon ### [1.7.0] 2020-08-20 Birthday release with MODO counters! * **Added:** All counters from Magic Online [#39](https://github.com/andrewgioia/mana/issues/39) * **Fixed:** Cleaned up some NPM package info and project meta data ### [1.6.0] 2020-01-30 Saga and Acorn symbols * **Added:** Acorn counter symbol from Unsanctioned ([#48](https://github.com/andrewgioia/Mana/issues/48)) * **Added:** Saga hexagon symbol from saga cards ([#47](https://github.com/andrewgioia/Mana/issues/47), [#35](https://github.com/andrewgioia/Mana/issues/35)) * **Fixed:** All current loyalties are now supported, including -25 ([#42](https://github.com/andrewgioia/Mana/issues/42)) and -X ([#45](https://github.com/andrewgioia/Mana/issues/45)) ### Previous (to fix) * v1.5.0 - updated readme on editing the source; new icons for MTGO counters * v1.4.1 - half mana symbol fix using just the icon element (issue #6) * v1.4.0 - big update: artist, Poleis, power/toughness, DFC enchantment, and multiple type symbols added; simplified split cost handling; more planeswalker loyalties; SASS support * v1.3.2 - incrementing for new npm publish and jsDelivr note; fixed docs * v1.3.1 - fixed class name issue for 1,000,000 symbol * v1.3.0 - added Guild and Clan symbols * v1.2.0 - added DFC symbols for the Origins planeswalkers (ignite and spark) and the Eldritch Moon meld cards (emrakul and moon) * v1.1.0 - added the new Energy symbol * v1.0.1 - added classes for -12 and -14 loyalty (sorry Jace and Karn!) * v1.0 - new documentation page at http://andrewgioia.github.io/Mana/ * v0.6 - adding double-faced card symbols (day, night) * v0.5 - adding the new colorless wastes symbol * v0.4 - adding classes for 16, 17, 18, 19, and 20 symbols * v0.3 - phyrexian mana classes use MTGJson standard; project-specific LESS prefix added (@JayGray) * v0.2 - Flashback symbol added * v0.1 - initial font creation and CSS/LESS files added ================================================ FILE: README.md ================================================ # Mana v1.18.0 ## The Magic: the Gathering mana symbol font! **View the [documentation site](https://mana.andrewgioia.com) to see Mana in action!** Mana is a complete set of Magic: the Gathering mana, tap, and card type symbols as a pictographic font. You can use this font anywhere you want to display mana and tap symbols—in your MtG app or website, documents, card images, anything! ## Installation The easiest way to get Mana into your project is to use the NPM package: ```shell $> npm install mana-font ``` Bower is still supported but given their notice to migrate away from it I recommend NPM if you're using a package manager. This project is registered as 'mana-font' with [NPM](https://docs.npmjs.com/getting-started/what-is-npm) and `mana` with [Bower](https://bower.io/#getting-started). Just install using the above commands in your project and you can edit anything as needed. You can also download the [zip file](https://github.com/andrewgioia/mana/archive/master.zip) here at Github and use the font files and CSS files in your project as needed. ## Using Mana in your project Each mana symbol has its own font character. Display them in a manner similar to any icon font, like [Keyrune](https://keyrune.andrewgioia.com), using the `` element and class syntax. Class name codes are based on textual mana symbol codes (like g for Green or 3 for, well, {3}). To use Mana, move the web font files to your `/fonts` directory and include the `mana.min.css` stylesheet in your ``: ```html ``` You can also include Mana via CDN thanks to the amazing [jsDelivr](http://jsdelivr.com) project! To include the latest version, reference: ```html ``` Replace `mana.min.css` with `mana.css` for the unminified version, if you need that. ## Editing the source You can edit the Sass or Less source files and compile Mana to fit your needs, add custom classes, or extend it in your project. The `mana.svg` font file contains every glyph used in Mana. If you'd like to completely decompile it, you can view the SVG coordinates in any text editor or upload it to an SVG font editor like [IcoMoon](https://icomoon.io) (which I use for Mana and Keyrune) or [Birdfont](https://birdfont.org). To add new icons, I recommend first creating a project in IcoMoon and uploading Mana into it. Draw any new glyphs in a vector/SVG editor of your choice export them as SVGs. Then upload each individual glyphs to your IcoMoon project and generate the font files when you're ready. You can add them to your project the same way you would with Mana (putting the font files in a `/fonts` directory and referencing them in your CSS file with an `@font-face` declaration). ## Using Mana in desktop software If you'd like to use Mana as a desktop font (e.g., in a Word document) there are a few steps and things to know. First, to get it loaded on your system just download the [latest zip file](https://github.com/andrewgioia/mana/archive/master.zip), extract it, and navigate to `mana-master\fonts`. In there, install the `mana.ttf` font (typically by double clicking it). Mana uses [private use characters](https://en.wikipedia.org/wiki/Private_Use_Areas) for the font glyphs so you unfortunately can't normally "type" anything in Word to see the symbols. To do so, open up the [Mana Cheatsheet](https://mana.andrewgioia.com/cheatsheet.html) and copy the symbol you want, then paste it into Word (or whatever software you're using). ## License All mana, tap, and card type symbol images are copyright Wizards of the Coast ([http://magicthegathering.com](http://magicthegathering.com)) The Mana font is licensed under the the SIL OFL 1.1 ([http://scripts.sil.org/OFL](http://scripts.sil.org/OFL)) Mana CSS, LESS, and Sass files are licensed under the MIT License ([http://opensource.org/licenses/mit-license.html](http://opensource.org/licenses/mit-license.html)) Attribution is **greatly appreciated** but not required! ================================================ FILE: css/mana.css ================================================ @font-face { font-family: "Mana"; src: url("../fonts/mana.eot?v=1.18.0"); src: url("../fonts/mana.eot?#iefix&v=1.18.0") format("embedded-opentype"), url("../fonts/mana.woff?v=1.18.0") format("woff"), url("../fonts/mana.ttf?v=1.18.0") format("truetype"), url("../fonts/mana.svg?v=1.18.0#mana") format("svg"); font-weight: normal; font-style: normal; } @font-face { font-family: "MPlantin"; src: url("../fonts/mplantin.eot?v=1.18.0"); src: url("../fonts/mplantin.eot?#iefix&v=1.18.0") format("embedded-opentype"), url("../fonts/mplantin.woff?v=1.18.0") format("woff"), url("../fonts/mplantin.ttf?v=1.18.0") format("truetype"), url("../fonts/mplantin.svg?v=1.18.0#mplantin") format("svg"); font-weight: normal; font-style: normal; } .ms { display: inline-block; font: normal normal normal 14px Mana; font-size: inherit; line-height: 1em; text-rendering: auto; transform: translate(0, 0); speak: none; text-transform: none; vertical-align: middle; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; --ms-mana-b: #a7999e; --ms-mana-c: #d0c6bb; --ms-mana-g: #9fcba6; --ms-mana-r: #f19b79; --ms-mana-u: #bcdaf7; --ms-mana-w: #fdfbce; } .ms-w::before { content: "\e600"; } .ms-w-original::before { content: "\e997"; } .ms-w-list::before { content: "\e998"; } .ms-u::before { content: "\e601"; } .ms-b::before { content: "\e602"; } .ms-r::before { content: "\e603"; } .ms-g::before { content: "\e604"; } .ms-0::before { content: "\e605"; } .ms-1::before { content: "\e606"; } .ms-2 { margin-left: inherit !important; } .ms-2::before { content: "\e607"; } .ms-3::before { content: "\e608"; } .ms-4::before { content: "\e609"; } .ms-5::before { content: "\e60a"; } .ms-6::before { content: "\e60b"; } .ms-7::before { content: "\e60c"; } .ms-8::before { content: "\e60d"; } .ms-9::before { content: "\e60e"; } .ms-10::before { content: "\e60f"; } .ms-11::before { content: "\e610"; } .ms-12::before { content: "\e611"; } .ms-13::before { content: "\e612"; } .ms-14::before { content: "\e613"; } .ms-15::before { content: "\e614"; } .ms-16::before { content: "\e62a"; } .ms-17::before { content: "\e62b"; } .ms-18::before { content: "\e62c"; } .ms-19::before { content: "\e62d"; } .ms-20::before { content: "\e62e"; } .ms-x::before { content: "\e615"; } .ms-y::before { content: "\e616"; } .ms-z::before { content: "\e617"; } .ms-s::before { content: "\e619"; } .ms-s-mtga::before { content: "\e996"; } .ms-c::before { content: "\e904"; } .ms-e::before, .ms-energy::before { content: "\e907"; } .ms-acorn::before { content: "\e929"; } .ms-ticket::before, .ms-tk::before { content: "\e9c4"; } .ms-1-2::before { content: "\e902"; } .ms-infinity::before { content: "\e903"; } .ms-l::before { content: "\ea2d"; } .ms-d::before { content: "\ea2e"; } .ms-spree::before { content: "\ea55"; } .ms-h::before, .ms-watermark-phyrexian::before { content: "\e618"; } .ms-paw::before { content: "\ea32"; } .ms-p::before { content: "\e618"; } .ms-tap::before { content: "\e61a"; } .ms-untap::before { content: "\e61b"; } .ms-tap-alt::before, .ms-tap-3ed::before { content: "\e61c"; } .ms-tap-4ed::before { content: "\ea31"; } .ms-chaos::before { content: "\e61d"; } .ms-artifact::before { content: "\e61e"; } .ms-battle::before { content: "\e9d1"; } .ms-battle-siege::before { content: "\e9d2"; } .ms-commander::before { content: "\e9c6"; } .ms-conspiracy::before { content: "\e972"; } .ms-creature::before { content: "\e61f"; } .ms-enchantment::before { content: "\e620"; } .ms-dungeon::before { content: "\e995"; } .ms-instant::before { content: "\e621"; } .ms-land::before { content: "\e622"; } .ms-multicolor::before { content: "\e985"; } .ms-phenomenon::before { content: "\e96e"; } .ms-plane::before { content: "\e96f"; } .ms-planeswalker::before, .ms-watermark-planeswalker::before { content: "\e623"; } .ms-rarity::before { content: "\e96c"; } .ms-saga::before { content: "\e92a"; } .ms-scheme::before { content: "\e970"; } .ms-sorcery::before { content: "\e624"; } .ms-token::before { content: "\e96d"; } .ms-tribal::before, .ms-multiple::before { content: "\e925"; } .ms-vanguard::before { content: "\e971"; } .ms-hand::before { content: "\e9ca"; } .ms-library::before { content: "\e9cb"; } .ms-graveyard::before { content: "\e9cc"; } .ms-exile::before { content: "\e9cd"; } .ms-wu::before, .ms-wb::before, .ms-rw::after, .ms-gw::after, .ms-2w::after, .ms-cw::after { content: "\e600"; } .ms-ub::before, .ms-ur::before, .ms-wu::after, .ms-gu::after, .ms-2u::after, .ms-cu::after { content: "\e601"; } .ms-br::before, .ms-bg::before, .ms-wb::after, .ms-ub::after, .ms-2b::after, .ms-cb::after { content: "\e602"; } .ms-rw::before, .ms-rg::before, .ms-ur::after, .ms-br::after, .ms-2r::after, .ms-cr::after { content: "\e603"; } .ms-gw::before, .ms-gu::before, .ms-bg::after, .ms-rg::after, .ms-2g::after, .ms-cg::after { content: "\e604"; } .ms-2w::before, .ms-2u::before, .ms-2b::before, .ms-2r::before, .ms-2g::before { content: "\e607"; } .ms-cw::before, .ms-cu::before, .ms-cb::before, .ms-cr::before, .ms-cg::before { content: "\e904"; } .ms-wp::before, .ms-up::before, .ms-bp::before, .ms-rp::before, .ms-gp::before, .ms-wup::before, .ms-wup::after, .ms-wbp::before, .ms-wbp::after, .ms-ubp::before, .ms-ubp::after, .ms-urp::before, .ms-urp::after, .ms-brp::before, .ms-brp::after, .ms-bgp::before, .ms-bgp::after, .ms-rwp::before, .ms-rwp::after, .ms-rgp::before, .ms-rgp::after, .ms-gwp::before, .ms-gwp::after, .ms-gup::before, .ms-gup::after { content: "\e618"; } .ms-100::before { content: "\e900"; } .ms-1000000::before { content: "\e901"; } .ms-loyalty-up::before { content: "\e627"; } .ms-loyalty-down::before { content: "\e625"; } .ms-loyalty-zero::before { content: "\e626"; } .ms-loyalty-start::before { content: "\e628"; } .ms-defense::before { content: "\e9d7"; } .ms-defense-border::before { content: "\e9d8"; } .ms-level::before { content: "\e9c7"; } .ms-level::after { content: "\e9c8"; } .ms-dfc-back::before { content: "\e9d4"; } .ms-dfc-day::before { content: "\e906"; } .ms-dfc-emrakul::before { content: "\e90a"; } .ms-dfc-enchantment::before { content: "\e920"; } .ms-dfc-facedown::before { content: "\e9d6"; } .ms-dfc-front::before { content: "\e9d3"; } .ms-dfc-ignite::before { content: "\e908"; } .ms-dfc-land::before { content: "\e9c5"; } .ms-dfc-lesson::before { content: "\e98f"; } .ms-dfc-meld::before { content: "\e9d5"; } .ms-dfc-modal-back::before { content: "\e984"; } .ms-dfc-modal-face::before { content: "\e983"; } .ms-dfc-moon::before { content: "\e90b"; } .ms-dfc-night::before { content: "\e905"; } .ms-dfc-saga::before { content: "\e9cf"; } .ms-dfc-saga-creature::before { content: "\e9d0"; } .ms-dfc-spark::before { content: "\e909"; } .ms-flashback::before { content: "\e629"; } .ms-power::before { content: "\e921"; } .ms-power-mtga::before { content: "\ea2f"; } .ms-toughness::before { content: "\e922"; } .ms-toughness-mtga::before { content: "\ea30"; } .ms-artist-brush::before { content: "\e923"; } .ms-artist-nib::before { content: "\e924"; } .ms-guild-azorius::before, .ms-watermark-azorius::before { content: "\e90c"; } .ms-guild-boros::before, .ms-watermark-boros::before { content: "\e90d"; } .ms-guild-dimir::before, .ms-watermark-dimir::before { content: "\e90e"; } .ms-guild-golgari::before, .ms-watermark-golgari::before { content: "\e90f"; } .ms-guild-gruul::before, .ms-watermark-gruul::before { content: "\e910"; } .ms-guild-izzet::before, .ms-watermark-izzet::before { content: "\e911"; } .ms-guild-orzhov::before, .ms-watermark-orzhov::before { content: "\e912"; } .ms-guild-rakdos::before, .ms-watermark-rakdos::before { content: "\e913"; } .ms-guild-selesnya::before, .ms-watermark-selesnya::before { content: "\e914"; } .ms-guild-simic::before, .ms-watermark-simic::before { content: "\e915"; } .ms-clan-abzan::before, .ms-watermark-abzan::before { content: "\e916"; } .ms-clan-jeskai::before, .ms-watermark-jeskai::before { content: "\e917"; } .ms-clan-mardu::before, .ms-watermark-mardu::before { content: "\e918"; } .ms-clan-sultai::before, .ms-watermark-sultai::before { content: "\e919"; } .ms-clan-temur::before, .ms-watermark-temur::before { content: "\e91a"; } .ms-clan-atarka::before, .ms-watermark-atarka::before { content: "\e91b"; } .ms-clan-dromoka::before, .ms-watermark-dromoka::before { content: "\e91c"; } .ms-clan-kolaghan::before, .ms-watermark-kolaghan::before { content: "\e91d"; } .ms-clan-ojutai::before, .ms-watermark-ojutai::before { content: "\e91e"; } .ms-clan-silumgar::before, .ms-watermark-silumgar::before { content: "\e91f"; } .ms-party-cleric::before { content: "\ea59"; } .ms-party-rogue::before { content: "\ea58"; } .ms-party-warrior::before { content: "\ea57"; } .ms-party-wizard::before { content: "\ea56"; } .ms-polis-setessa::before { content: "\e926"; } .ms-polis-akros::before { content: "\e927"; } .ms-polis-meletis::before { content: "\e928"; } .ms-school-lorehold::before, .ms-watermark-lorehold::before { content: "\e99a"; } .ms-school-prismari::before, .ms-watermark-prismari::before { content: "\e99c"; } .ms-school-quandrix::before, .ms-watermark-quandrix::before { content: "\e99e"; } .ms-school-silverquill::before, .ms-watermark-silverquill::before { content: "\e9a0"; } .ms-school-witherbloom::before, .ms-watermark-witherbloom::before { content: "\e9a2"; } .ms-counter-arrow::before { content: "\e92b"; } .ms-counter-brick::before { content: "\e92c"; } .ms-counter-brick-print::before { content: "\ea52"; } .ms-counter-charge::before { content: "\e92d"; } .ms-counter-charge-print::before { content: "\ea53"; } .ms-counter-damage::before { content: "\e9dd"; } .ms-counter-deathtouch::before { content: "\ea51"; } .ms-counter-devotion::before { content: "\e92e"; } .ms-counter-doom::before { content: "\e92f"; } .ms-counter-echo::before { content: "\e930"; } .ms-counter-finality::before, .ms-ability-finality::before { content: "\ea54"; } .ms-counter-flame::before { content: "\e931"; } .ms-counter-flood::before { content: "\e932"; } .ms-counter-fungus::before { content: "\e933"; } .ms-counter-gold::before { content: "\e934"; } .ms-counter-ki::before { content: "\e935"; } .ms-counter-lore::before { content: "\e936"; } .ms-counter-loyalty::before { content: "\e937"; } .ms-counter-mining::before { content: "\e938"; } .ms-counter-minus::before { content: "\e939"; } .ms-counter-minus-uneven::before { content: "\e943"; } .ms-counter-muster::before { content: "\e93a"; } .ms-counter-paw::before { content: "\e93b"; } .ms-counter-pin::before { content: "\e93c"; } .ms-counter-plus::before { content: "\e93d"; } .ms-counter-plus-uneven::before { content: "\e944"; } .ms-counter-rad::before { content: "\ea50"; } .ms-counter-scream::before { content: "\e93e"; } .ms-counter-skeleton::before { content: "\e93f"; } .ms-counter-skull::before { content: "\e940"; } .ms-counter-slime::before { content: "\e941"; } .ms-counter-time::before { content: "\e942"; } .ms-counter-verse::before { content: "\e945"; } .ms-counter-void::before { content: "\e9ec"; } .ms-counter-vortex::before { content: "\e946"; } .ms-counter-shield::before { content: "\e9c3"; } .ms-counter-stun::before { content: "\e9c2"; } .ms-ability-activated::before, .ms-ability-crew::before, .ms-ability-cycling::before { content: "\e947"; } .ms-ability-adamant::before { content: "\e974"; } .ms-ability-adapt::before { content: "\e975"; } .ms-ability-addendum::before { content: "\e976"; } .ms-ability-adventure::before { content: "\e948"; } .ms-ability-afflict::before { content: "\e977"; } .ms-ability-afterlife::before { content: "\e978"; } .ms-ability-aftermath::before { content: "\e979"; } .ms-ability-alliance::before { content: "\e9b5"; } .ms-ability-amass-orcs::before { content: "\e9e0"; } .ms-ability-amass-zombies::before, .ms-ability-amass::before { content: "\e97a"; } .ms-ability-ascend::before { content: "\e94a"; } .ms-ability-backup::before { content: "\e9d9"; } .ms-ability-bargain::before { content: "\e9e2"; } .ms-ability-blitz::before { content: "\e9b4"; } .ms-ability-boast::before { content: "\e991"; } .ms-ability-case-solved::before { content: "\ea39"; } .ms-ability-case-solved-print::before { content: "\ea3a"; } .ms-ability-casualty::before { content: "\e9b7"; } .ms-ability-celebration::before { content: "\e9e3"; } .ms-ability-changeling::before { content: "\e9a6"; } .ms-ability-channel::before { content: "\e9b1"; } .ms-ability-cleave::before { content: "\e9ad"; } .ms-ability-cloak::before { content: "\ea35"; } .ms-ability-collect-evidence::before { content: "\ea36"; } .ms-ability-combat-condition::before { content: "\e9ce"; } .ms-ability-companion::before { content: "\e97b"; } .ms-ability-constellation::before { content: "\e97c"; } .ms-ability-convoke-original::before { content: "\e949"; } .ms-ability-convoke::before { content: "\e9da"; } .ms-ability-corrupted::before { content: "\e9c0"; } .ms-ability-craft::before { content: "\ea3f"; } .ms-ability-crime::before { content: "\ea45"; } .ms-ability-coven::before { content: "\e9aa"; } .ms-ability-d20::before { content: "\e999"; } .ms-ability-day-night::before { content: "\e9a8"; } .ms-ability-daybound-nightbound::before { content: "\e9a9"; } .ms-ability-deathtouch::before { content: "\e94b"; } .ms-ability-decayed::before { content: "\e9ac"; } .ms-ability-defender::before { content: "\e94c"; } .ms-ability-delve::before { content: "\ea3b"; } .ms-ability-descend::before { content: "\ea41"; } .ms-ability-devotion::before { content: "\e97d"; } .ms-ability-discover::before { content: "\ea40"; } .ms-ability-disguise::before { content: "\ea34"; } .ms-ability-disturb::before { content: "\e9ae"; } .ms-ability-domain::before { content: "\e9a7"; } .ms-ability-double-strike::before { content: "\e94d"; } .ms-ability-dungeon::before { content: "\e995"; } .ms-ability-eerie::before { content: "\ea4d"; } .ms-ability-embalm::before { content: "\e97e"; } .ms-ability-enlist::before { content: "\e9ba"; } .ms-ability-enrage::before { content: "\e9dc"; } .ms-ability-enrage-original::before { content: "\e94e"; } .ms-ability-escape::before { content: "\e969"; } .ms-ability-eternalize::before { content: "\e97f"; } .ms-ability-exalted::before { content: "\ea33"; } .ms-ability-expend::before { content: "\ea4a"; } .ms-ability-exploit::before { content: "\e9af"; } .ms-ability-explore::before { content: "\e94f"; } .ms-ability-fabricate::before { content: "\e9a5"; } .ms-ability-ferocious::before { content: "\ea3c"; } .ms-ability-first-strike::before { content: "\e950"; } .ms-ability-flash::before { content: "\e951"; } .ms-ability-flying::before { content: "\e952"; } .ms-ability-for-mirrodin::before { content: "\e9c1"; } .ms-ability-forage::before { content: "\ea49"; } .ms-ability-foretell::before, .ms-watermark-foretell::before { content: "\e990"; } .ms-ability-gift::before { content: "\ea46"; } .ms-ability-goad::before, .ms-counter-goad::before { content: "\e9c9"; } .ms-ability-haste::before { content: "\e953"; } .ms-ability-hexproof::before { content: "\e954"; } .ms-ability-hexproof-black::before { content: "\e955"; } .ms-ability-hexproof-blue::before { content: "\e956"; } .ms-ability-hexproof-green::before { content: "\e957"; } .ms-ability-hexproof-red::before { content: "\e958"; } .ms-ability-hexproof-white::before { content: "\e959"; } .ms-ability-hideaway::before { content: "\e9b8"; } .ms-ability-impending::before { content: "\ea4c"; } .ms-ability-improvise::before { content: "\e9de"; } .ms-ability-incubate::before { content: "\e9db"; } .ms-ability-indestructible::before { content: "\e95a"; } .ms-ability-investigate::before { content: "\e9ab"; } .ms-ability-jumpstart::before { content: "\e95b"; } .ms-ability-kicker::before { content: "\e989"; } .ms-ability-landfall::before { content: "\e988"; } .ms-ability-learn::before { content: "\e994"; } .ms-ability-lifelink::before { content: "\ea4b"; } .ms-ability-lifelink-original::before { content: "\e95c"; } .ms-ability-magecraft::before { content: "\e993"; } .ms-ability-manifest-dread::before { content: "\ea4f"; } .ms-ability-meld::before { content: "\e9bd"; } .ms-ability-menace::before { content: "\e95d"; } .ms-ability-mentor::before { content: "\e95e"; } .ms-ability-morph::before { content: "\ea3e"; } .ms-ability-mutate::before { content: "\e980"; } .ms-ability-ninjutsu::before { content: "\e9b2"; } .ms-ability-obscura::before { content: "\e9b6"; } .ms-ability-offspring::before { content: "\ea47"; } .ms-ability-outlast::before { content: "\ea3d"; } .ms-ability-party::before { content: "\e987"; } .ms-ability-phyrexian::before { content: "\e618"; } .ms-ability-plot::before { content: "\ea42"; } .ms-ability-proliferate::before { content: "\e981"; } .ms-ability-prototype::before { content: "\e9be"; } .ms-ability-prowess::before { content: "\e982"; } .ms-ability-raid::before { content: "\e95f"; } .ms-ability-reach::before { content: "\e960"; } .ms-ability-read-ahead::before { content: "\e9b9"; } .ms-ability-reconfigure::before { content: "\e9b3"; } .ms-ability-revolt::before { content: "\e961"; } .ms-ability-ring-bearer::before { content: "\e9df"; } .ms-ability-riot::before { content: "\e973"; } .ms-ability-role-cursed::before { content: "\e9e6"; } .ms-ability-role-monster::before { content: "\e9e7"; } .ms-ability-role-royal::before { content: "\e9e8"; } .ms-ability-role-sorceror::before { content: "\e9e9"; } .ms-ability-role-wicked::before { content: "\e9ea"; } .ms-ability-role-young-hero::before { content: "\e9eb"; } .ms-ability-saddle::before { content: "\ea43"; } .ms-ability-specialize::before { content: "\e9bb"; } .ms-ability-spectacle::before { content: "\e96b"; } .ms-ability-spree::before { content: "\ea44"; } .ms-ability-static::before, .ms-ability-enchant::before { content: "\e962"; } .ms-ability-summoning-sickness::before { content: "\e96a"; } .ms-ability-surveil::before { content: "\ea38"; } .ms-ability-surveil-original::before { content: "\e963"; } .ms-ability-survival::before { content: "\ea4e"; } .ms-ability-suspect::before { content: "\ea37"; } .ms-ability-the-ring-tempts-you::before { content: "\e9e1"; } .ms-ability-toxic::before { content: "\e9bf"; } .ms-ability-training::before { content: "\e9b0"; } .ms-ability-trample::before { content: "\e964"; } .ms-ability-transform::before { content: "\e965"; } .ms-ability-triggered::before { content: "\e966"; } .ms-ability-undergrowth::before { content: "\e967"; } .ms-ability-unearth::before { content: "\e9bc"; } .ms-ability-valiant::before { content: "\ea48"; } .ms-ability-vigilance::before { content: "\e968"; } .ms-ability-ward::before { content: "\e992"; } .ms-ability-haktos-the-unscarred::before { content: "\e9e4"; } .ms-ability-robber-of-the-rich::before { content: "\e9e5"; } .ms-ability-duels-annihilator::before, .ms-ability-annihilator::before { content: "\ea5a"; } .ms-ability-duels-battle-cry::before, .ms-ability-battle-cry::before { content: "\ea5b"; } .ms-ability-duels-unblockable::before, .ms-ability-unblockable::before { content: "\ea5c"; } .ms-ability-duels-cannot-block::before, .ms-ability-cannot-block::before { content: "\ea5d"; } .ms-ability-duels-cannot-untap::before, .ms-ability-cannot-untap::before { content: "\ea5e"; } .ms-ability-duels-cohort::before, .ms-ability-cohort::before { content: "\ea5f"; } .ms-ability-duels-copy::before, .ms-ability-copy::before { content: "\ea60"; } .ms-ability-duels-deathtouch::before { content: "\ea61"; } .ms-ability-duels-defender::before { content: "\ea62"; } .ms-ability-duels-delirium::before, .ms-ability-delirium::before { content: "\ea63"; } .ms-ability-duels-detain::before, .ms-ability-detain::before { content: "\ea64"; } .ms-ability-duels-double-strike::before { content: "\ea65"; } .ms-ability-duels-dfc::before, .ms-ability-dfc::before { content: "\ea66"; } .ms-ability-duels-evolve::before, .ms-ability-evolve::before { content: "\ea67"; } .ms-ability-duels-exalted::before { content: "\ea68"; } .ms-ability-duels-exile::before, .ms-ability-exile::before { content: "\ea69"; } .ms-ability-duels-fading::before, .ms-ability-fading::before { content: "\ea6a"; } .ms-ability-duels-fear::before, .ms-ability-fear::before { content: "\ea6b"; } .ms-ability-duels-first-strike::before { content: "\ea6c"; } .ms-ability-duels-flying::before { content: "\ea6d"; } .ms-ability-duels-forestwalk::before, .ms-ability-forestwalk::before { content: "\ea6e"; } .ms-ability-duels-haste::before { content: "\ea6f"; } .ms-ability-duels-haunt::before, .ms-ability-haunt::before { content: "\ea70"; } .ms-ability-duels-hexproof::before { content: "\ea71"; } .ms-ability-duels-indestructible::before { content: "\ea72"; } .ms-ability-duels-infect::before, .ms-ability-infect::before { content: "\ea73"; } .ms-ability-duels-ingest::before, .ms-ability-ingest::before { content: "\ea74"; } .ms-ability-duels-intimidate::before, .ms-ability-intimidate::before { content: "\ea75"; } .ms-ability-duels-islandwalk::before, .ms-ability-islandwalk::before { content: "\ea76"; } .ms-ability-duels-legendary::before, .ms-ability-legendary::before { content: "\ea77"; } .ms-ability-duels-lifelink::before { content: "\ea78"; } .ms-ability-duels-menace::before { content: "\ea79"; } .ms-ability-duels-monstrous::before, .ms-ability-monstrous::before { content: "\ea7a"; } .ms-ability-duels-mountainwalk::before, .ms-ability-mountainwalk::before { content: "\ea7b"; } .ms-ability-duels-must-attack::before, .ms-ability-must-attack::before { content: "\ea7c"; } .ms-ability-duels-plainswalk::before, .ms-ability-plainswalk::before { content: "\ea7d"; } .ms-ability-duels-prevent-damage::before, .ms-ability-prevent-damage::before { content: "\ea7e"; } .ms-ability-duels-protection-black::before, .ms-ability-protection-black::before { content: "\ea7f"; } .ms-ability-duels-protection-blue::before, .ms-ability-protection-blue::before { content: "\ea80"; } .ms-ability-duels-protection-green::before, .ms-ability-protection-green::before { content: "\ea81"; } .ms-ability-duels-protection-red::before, .ms-ability-protection-red::before { content: "\ea82"; } .ms-ability-duels-protection-white::before, .ms-ability-protection-white::before { content: "\ea83"; } .ms-ability-duels-protection::before, .ms-ability-protection::before { content: "\ea84"; } .ms-ability-duels-rally::before, .ms-ability-rally::before { content: "\ea85"; } .ms-ability-duels-regenerate::before, .ms-ability-regenerate::before { content: "\ea86"; } .ms-ability-duels-renowned::before, .ms-ability-renowned::before { content: "\ea87"; } .ms-ability-duels-shroud::before, .ms-ability-shroud::before { content: "\ea88"; } .ms-ability-duels-skulk::before, .ms-ability-skulk::before { content: "\ea89"; } .ms-ability-duels-soulshift::before, .ms-ability-soulshift::before { content: "\ea8a"; } .ms-ability-duels-swampwalk::before, .ms-ability-swampwalk::before { content: "\ea8b"; } .ms-ability-duels-temporary-control::before, .ms-ability-temporary-control::before { content: "\ea8c"; } .ms-ability-duels-totem-armor::before, .ms-ability-totem-armor::before { content: "\ea8d"; } .ms-ability-duels-trample::before { content: "\ea8e"; } .ms-ability-duels-undying::before, .ms-ability-undying::before { content: "\ea8f"; } .ms-ability-duels-vigilance::before { content: "\ea90"; } .ms-watermark-agentsofsneak::before { content: "\ea08"; } .ms-watermark-arena::before { content: "\ea1e"; } .ms-watermark-brokers::before { content: "\ea0d"; } .ms-watermark-cabaretti::before { content: "\ea0e"; } .ms-watermark-colorpie::before { content: "\e9f0"; } .ms-watermark-conspiracy::before { content: "\ea12"; } .ms-watermark-corocoro::before { content: "\ea15"; } .ms-watermark-crossbreedlabs::before { content: "\ea09"; } .ms-watermark-cutiemark-apples::before { content: "\ea27"; } .ms-watermark-cutiemark-balloons::before { content: "\ea28"; } .ms-watermark-cutiemark-butterflies::before { content: "\ea29"; } .ms-watermark-cutiemark-gems::before { content: "\ea04"; } .ms-watermark-cutiemark-rainbow::before { content: "\ea2a"; } .ms-watermark-cutiemark-sparkle::before { content: "\ea05"; } .ms-watermark-cutiemark-waningmoon::before { content: "\ea06"; } .ms-watermark-cutiemark-waxingmoon::before { content: "\ea07"; } .ms-watermark-dci::before { content: "\ea1d"; } .ms-watermark-dengekimaoh::before { content: "\ea14"; } .ms-watermark-desparked::before { content: "\e9f1"; } .ms-watermark-dnd::before { content: "\ea17"; } .ms-watermark-flavor-aestheticconsultation::before { content: "\e9f2"; } .ms-watermark-flavor-farewelltoarms::before { content: "\e9f3"; } .ms-watermark-flavor-monkeymonkeymonkey::before { content: "\e9f4"; } .ms-watermark-flavor-moxlotus::before { content: "\e9f5"; } .ms-watermark-flavor-myfirsttome::before { content: "\e9f6"; } .ms-watermark-flavor-shoetree::before { content: "\e9f7"; } .ms-watermark-flavor-whenfluffybunniesattack::before { content: "\e9f8"; } .ms-watermark-flavor-manascrew::before { content: "\ea2c"; } .ms-watermark-fnm::before { content: "\ea16"; } .ms-watermark-goblinexplosioneers::before { content: "\ea0a"; } .ms-watermark-grandprix::before { content: "\ea1f"; } .ms-watermark-grandprix2::before { content: "\ea20"; } .ms-watermark-herospath::before { content: "\ea02"; } .ms-watermark-herospath-1::before { content: "\e9f9"; } .ms-watermark-herospath-2::before { content: "\e9fa"; } .ms-watermark-herospath-3::before { content: "\e9fb"; } .ms-watermark-herospath-4::before { content: "\e9fc"; } .ms-watermark-herospath-5::before { content: "\e9fd"; } .ms-watermark-herospath-6::before { content: "\e9fe"; } .ms-watermark-herospath-7::before { content: "\e9ff"; } .ms-watermark-herospath-8::before { content: "\ea00"; } .ms-watermark-herospath-9::before { content: "\ea01"; } .ms-watermark-japanjunior::before { content: "\ea24"; } .ms-watermark-judgeacademy::before { content: "\ea13"; } .ms-watermark-junior::before { content: "\ea23"; } .ms-watermark-juniorapac::before { content: "\ea21"; } .ms-watermark-junioreurope::before { content: "\ea22"; } .ms-watermark-leagueofdastardlydoom::before { content: "\ea0b"; } .ms-watermark-maestros::before { content: "\ea0f"; } .ms-watermark-mirran::before { content: "\ea03"; } .ms-watermark-mps::before { content: "\ea1a"; } .ms-watermark-mtg::before { content: "\e9ed"; } .ms-watermark-mtg10::before { content: "\e9ee"; } .ms-watermark-mtg15::before { content: "\e9ef"; } .ms-watermark-nerf::before { content: "\ea19"; } .ms-watermark-obscura::before { content: "\ea10"; } .ms-watermark-orderofthewidget::before { content: "\ea0c"; } .ms-watermark-protour::before { content: "\ea26"; } .ms-watermark-riveteers::before { content: "\ea11"; } .ms-watermark-scholarship::before { content: "\ea25"; } .ms-watermark-transformers::before { content: "\ea18"; } .ms-watermark-trumpkatsumai::before { content: "\ea2b"; } .ms-watermark-wotc::before { content: "\ea1b"; } .ms-watermark-wpn::before { content: "\ea1c"; } .ms-cost { background-color: #beb9b2; border-radius: 1em; color: #111; font-size: 0.95em; width: 1.3em; height: 1.3em; line-height: 1.35em; text-align: center; } .ms-cost.ms-w, .ms-cost.ms-wp { background-color: #f0f2c0; } .ms-cost.ms-u, .ms-cost.ms-up { background-color: #b5cde3; } .ms-cost.ms-b, .ms-cost.ms-bp { background-color: #aca29a; } .ms-cost.ms-r, .ms-cost.ms-rp { background-color: #db8664; } .ms-cost.ms-g, .ms-cost.ms-gp { background-color: #93b483; } .ms-cost.ms-wu, .ms-cost.ms-wb, .ms-cost.ms-ub, .ms-cost.ms-ur, .ms-cost.ms-br, .ms-cost.ms-bg, .ms-cost.ms-rw, .ms-cost.ms-rg, .ms-cost.ms-gw, .ms-cost.ms-gu, .ms-cost.ms-2w, .ms-cost.ms-2u, .ms-cost.ms-2b, .ms-cost.ms-2r, .ms-cost.ms-2g, .ms-cost.ms-cw, .ms-cost.ms-cu, .ms-cost.ms-cb, .ms-cost.ms-cr, .ms-cost.ms-cg, .ms-cost.ms-wup, .ms-cost.ms-wbp, .ms-cost.ms-ubp, .ms-cost.ms-urp, .ms-cost.ms-brp, .ms-cost.ms-bgp, .ms-cost.ms-rwp, .ms-cost.ms-rgp, .ms-cost.ms-gwp, .ms-cost.ms-gup { --ms-split-top: var(--ms-mana-c); --ms-split-bottom: var(--ms-mana-u); background: var(--ms-split-top); background: -moz-linear-gradient(135deg, var(--ms-split-top) 0%, var(--ms-split-top) 50%, var(--ms-split-bottom) 50%, var(--ms-split-bottom) 100%); background: -webkit-linear-gradient(135deg, var(--ms-split-top) 0%, var(--ms-split-top) 50%, var(--ms-split-bottom) 50%, var(--ms-split-bottom) 100%); background: linear-gradient(135deg, var(--ms-split-top) 0%, var(--ms-split-top) 50%, var(--ms-split-bottom) 50%, var(--ms-split-bottom) 100%); position: relative; width: 1.3em; height: 1.3em; } .ms-cost.ms-wu::before, .ms-cost.ms-wu::after, .ms-cost.ms-wb::before, .ms-cost.ms-wb::after, .ms-cost.ms-ub::before, .ms-cost.ms-ub::after, .ms-cost.ms-ur::before, .ms-cost.ms-ur::after, .ms-cost.ms-br::before, .ms-cost.ms-br::after, .ms-cost.ms-bg::before, .ms-cost.ms-bg::after, .ms-cost.ms-rw::before, .ms-cost.ms-rw::after, .ms-cost.ms-rg::before, .ms-cost.ms-rg::after, .ms-cost.ms-gw::before, .ms-cost.ms-gw::after, .ms-cost.ms-gu::before, .ms-cost.ms-gu::after, .ms-cost.ms-2w::before, .ms-cost.ms-2w::after, .ms-cost.ms-2u::before, .ms-cost.ms-2u::after, .ms-cost.ms-2b::before, .ms-cost.ms-2b::after, .ms-cost.ms-2r::before, .ms-cost.ms-2r::after, .ms-cost.ms-2g::before, .ms-cost.ms-2g::after, .ms-cost.ms-cw::before, .ms-cost.ms-cw::after, .ms-cost.ms-cu::before, .ms-cost.ms-cu::after, .ms-cost.ms-cb::before, .ms-cost.ms-cb::after, .ms-cost.ms-cr::before, .ms-cost.ms-cr::after, .ms-cost.ms-cg::before, .ms-cost.ms-cg::after, .ms-cost.ms-wup::before, .ms-cost.ms-wup::after, .ms-cost.ms-wbp::before, .ms-cost.ms-wbp::after, .ms-cost.ms-ubp::before, .ms-cost.ms-ubp::after, .ms-cost.ms-urp::before, .ms-cost.ms-urp::after, .ms-cost.ms-brp::before, .ms-cost.ms-brp::after, .ms-cost.ms-bgp::before, .ms-cost.ms-bgp::after, .ms-cost.ms-rwp::before, .ms-cost.ms-rwp::after, .ms-cost.ms-rgp::before, .ms-cost.ms-rgp::after, .ms-cost.ms-gwp::before, .ms-cost.ms-gwp::after, .ms-cost.ms-gup::before, .ms-cost.ms-gup::after { font-size: 0.55em !important; position: absolute; } .ms-cost.ms-wu::before, .ms-cost.ms-wb::before, .ms-cost.ms-ub::before, .ms-cost.ms-ur::before, .ms-cost.ms-br::before, .ms-cost.ms-bg::before, .ms-cost.ms-rw::before, .ms-cost.ms-rg::before, .ms-cost.ms-gw::before, .ms-cost.ms-gu::before, .ms-cost.ms-2w::before, .ms-cost.ms-2u::before, .ms-cost.ms-2b::before, .ms-cost.ms-2r::before, .ms-cost.ms-2g::before, .ms-cost.ms-cw::before, .ms-cost.ms-cu::before, .ms-cost.ms-cb::before, .ms-cost.ms-cr::before, .ms-cost.ms-cg::before, .ms-cost.ms-wup::before, .ms-cost.ms-wbp::before, .ms-cost.ms-ubp::before, .ms-cost.ms-urp::before, .ms-cost.ms-brp::before, .ms-cost.ms-bgp::before, .ms-cost.ms-rwp::before, .ms-cost.ms-rgp::before, .ms-cost.ms-gwp::before, .ms-cost.ms-gup::before { top: -0.38em; left: 0.28em; } .ms-cost.ms-wu::after, .ms-cost.ms-wb::after, .ms-cost.ms-ub::after, .ms-cost.ms-ur::after, .ms-cost.ms-br::after, .ms-cost.ms-bg::after, .ms-cost.ms-rw::after, .ms-cost.ms-rg::after, .ms-cost.ms-gw::after, .ms-cost.ms-gu::after, .ms-cost.ms-2w::after, .ms-cost.ms-2u::after, .ms-cost.ms-2b::after, .ms-cost.ms-2r::after, .ms-cost.ms-2g::after, .ms-cost.ms-cw::after, .ms-cost.ms-cu::after, .ms-cost.ms-cb::after, .ms-cost.ms-cr::after, .ms-cost.ms-cg::after, .ms-cost.ms-wup::after, .ms-cost.ms-wbp::after, .ms-cost.ms-ubp::after, .ms-cost.ms-urp::after, .ms-cost.ms-brp::after, .ms-cost.ms-bgp::after, .ms-cost.ms-rwp::after, .ms-cost.ms-rgp::after, .ms-cost.ms-gwp::after, .ms-cost.ms-gup::after { top: 0.5em; left: 1em; } .ms-cost.ms-wu, .ms-cost.ms-wup { --ms-split-top: var(--ms-mana-w); } .ms-cost.ms-wb, .ms-cost.ms-wbp { --ms-split-top: var(--ms-mana-w); --ms-split-bottom: var(--ms-mana-b); } .ms-cost.ms-ub, .ms-cost.ms-ubp { --ms-split-top: var(--ms-mana-u); --ms-split-bottom: var(--ms-mana-b); } .ms-cost.ms-ur, .ms-cost.ms-urp { --ms-split-top: var(--ms-mana-u); --ms-split-bottom: var(--ms-mana-r); } .ms-cost.ms-br, .ms-cost.ms-brp { --ms-split-top: var(--ms-mana-b); --ms-split-bottom: var(--ms-mana-r); } .ms-cost.ms-bg, .ms-cost.ms-bgp { --ms-split-top: var(--ms-mana-b); --ms-split-bottom: var(--ms-mana-g); } .ms-cost.ms-rw, .ms-cost.ms-rwp { --ms-split-top: var(--ms-mana-r); --ms-split-bottom: var(--ms-mana-w); } .ms-cost.ms-rg, .ms-cost.ms-rgp { --ms-split-top: var(--ms-mana-r); --ms-split-bottom: var(--ms-mana-g); } .ms-cost.ms-gw, .ms-cost.ms-gwp { --ms-split-top: var(--ms-mana-g); --ms-split-bottom: var(--ms-mana-w); } .ms-cost.ms-gu, .ms-cost.ms-gup { --ms-split-top: var(--ms-mana-g); } .ms-cost.ms-2w, .ms-cost.ms-cw { --ms-split-bottom: var(--ms-mana-w); } .ms-cost.ms-2b, .ms-cost.ms-cb { --ms-split-bottom: var(--ms-mana-b); } .ms-cost.ms-2r, .ms-cost.ms-cr { --ms-split-bottom: var(--ms-mana-r); } .ms-cost.ms-2g, .ms-cost.ms-cg { --ms-split-bottom: var(--ms-mana-g); } .ms-cost.ms-p::before { display: inline-block; -moz-transform: scale(1.2, 1.2); -webkit-transform: scale(1.2, 1.2); transform: scale(1.2, 1.2); } .ms-cost.ms-wp::before, .ms-cost.ms-up::before, .ms-cost.ms-bp::before, .ms-cost.ms-rp::before, .ms-cost.ms-gp::before, .ms-cost.ms-cw::before, .ms-cost.ms-cu::before, .ms-cost.ms-cb::before, .ms-cost.ms-cr::before, .ms-cost.ms-cg::before, .ms-cost.ms-wup::before, .ms-cost.ms-wbp::before, .ms-cost.ms-ubp::before, .ms-cost.ms-urp::before, .ms-cost.ms-brp::before, .ms-cost.ms-bgp::before, .ms-cost.ms-rwp::before, .ms-cost.ms-rgp::before, .ms-cost.ms-gwp::before, .ms-cost.ms-gup::before, .ms-cost.ms-wup::after, .ms-cost.ms-wbp::after, .ms-cost.ms-ubp::after, .ms-cost.ms-urp::after, .ms-cost.ms-brp::after, .ms-cost.ms-bgp::after, .ms-cost.ms-rwp::after, .ms-cost.ms-rgp::after, .ms-cost.ms-gwp::after, .ms-cost.ms-gup::after { display: inline-block; transform: scale(1.2) translateX(0.01rem) translateY(-0.03rem); } .ms-cost.ms-tap-alt::before { display: inline-block; transform: scale(1.2); padding-left: 0.06em; padding-bottom: 0.1em; } .ms-cost.ms-s::before { color: #fff; -webkit-text-stroke: 2px #fff; font-size: 0.85em; top: -0.05em; position: relative; display: inline-block; } .ms-cost.ms-s::after { content: "\e619"; position: absolute; color: #333; margin-left: -0.9em; font-size: 1.1em; } .ms-cost.ms-s-mtga::before { color: #fff; } .ms-cost.ms-untap { background-color: #111; color: #fff; } .ms-cost.ms-shadow { box-shadow: -0.06em 0.07em 0 #111, 0 0.06em 0 #111; } .ms-cost.ms-shadow.ms-untap { box-shadow: -0.06em 0.07em 0 #fff, 0 0.06em 0 #fff; } .ms-split { position: relative; width: 1.3em; height: 1.3em; } .ms-split::before, .ms-split::after { font-size: 0.55em !important; position: absolute; } .ms-split::before { top: -0.38em; left: 0.28em; } .ms-split::after { top: 0.5em; left: 1em; } span.ms-half { width: 0.675em; overflow: hidden; display: inline-block; margin-left: 0.675em; } span.ms-half > .ms-cost { margin-left: -0.675em; } .ms-half { width: 0.675em; margin-left: 0.675em; overflow: hidden; border-radius: 0 1em 1em 0; } .ms-half::before { margin-left: -0.65em; } .ms-100 { width: 2.4em; } .ms-1000000 { width: 5.4em; } /** * planeswalker and other loyalty symbols */ .ms-loyalty-up, .ms-loyalty-down, .ms-loyalty-zero, .ms-loyalty-start { color: #111; font-size: 1.5em; position: relative; text-align: center; } .ms-loyalty-start { font-size: 2em; } .ms-loyalty-zero::after { line-height: 2.1em !important; } .ms-loyalty-0::after, .ms-loyalty-1::after, .ms-loyalty-2::after, .ms-loyalty-3::after, .ms-loyalty-4::after, .ms-loyalty-5::after, .ms-loyalty-6::after, .ms-loyalty-7::after, .ms-loyalty-8::after, .ms-loyalty-9::after, .ms-loyalty-10::after, .ms-loyalty-11::after, .ms-loyalty-12::after, .ms-loyalty-13::after, .ms-loyalty-14::after, .ms-loyalty-15::after, .ms-loyalty-16::after, .ms-loyalty-17::after, .ms-loyalty-18::after, .ms-loyalty-19::after, .ms-loyalty-20::after, .ms-loyalty-25::after, .ms-loyalty-x::after { color: #fff; display: inline-block; font-size: 0.5em; font-family: "MPlantin, Garamond, Palatino, 'Times New Roman', Times, serif"; position: absolute; left: 0; line-height: 2.25em; width: 100%; text-align: center; } .ms-loyalty-0::after { content: "0"; } .ms-loyalty-up.ms-loyalty-1::after { content: "+1"; } .ms-loyalty-up.ms-loyalty-2::after { content: "+2"; } .ms-loyalty-up.ms-loyalty-3::after { content: "+3"; } .ms-loyalty-up.ms-loyalty-4::after { content: "+4"; } .ms-loyalty-up.ms-loyalty-5::after { content: "+5"; } .ms-loyalty-up.ms-loyalty-6::after { content: "+6"; } .ms-loyalty-up.ms-loyalty-7::after { content: "+7"; } .ms-loyalty-up.ms-loyalty-8::after { content: "+8"; } .ms-loyalty-up.ms-loyalty-9::after { content: "+9"; } .ms-loyalty-up.ms-loyalty-10::after { content: "+10"; } .ms-loyalty-up.ms-loyalty-11::after { content: "+10"; } .ms-loyalty-up.ms-loyalty-12::after { content: "+12"; } .ms-loyalty-up.ms-loyalty-13::after { content: "+13"; } .ms-loyalty-up.ms-loyalty-14::after { content: "+14"; } .ms-loyalty-up.ms-loyalty-15::after { content: "+15"; } .ms-loyalty-up.ms-loyalty-16::after { content: "+16"; } .ms-loyalty-up.ms-loyalty-17::after { content: "+17"; } .ms-loyalty-up.ms-loyalty-18::after { content: "+18"; } .ms-loyalty-up.ms-loyalty-19::after { content: "+19"; } .ms-loyalty-up.ms-loyalty-20::after { content: "+20"; } .ms-loyalty-up.ms-loyalty-25::after { content: "+25"; } .ms-loyalty-up.ms-loyalty-x::after { content: "+X"; } .ms-loyalty-start.ms-loyalty-1::after { content: "1"; } .ms-loyalty-start.ms-loyalty-2::after { content: "2"; } .ms-loyalty-start.ms-loyalty-3::after { content: "3"; } .ms-loyalty-start.ms-loyalty-4::after { content: "4"; } .ms-loyalty-start.ms-loyalty-5::after { content: "5"; } .ms-loyalty-start.ms-loyalty-6::after { content: "6"; } .ms-loyalty-start.ms-loyalty-7::after { content: "7"; } .ms-loyalty-start.ms-loyalty-8::after { content: "8"; } .ms-loyalty-start.ms-loyalty-9::after { content: "9"; } .ms-loyalty-start.ms-loyalty-10::after { content: "10"; } .ms-loyalty-start.ms-loyalty-11::after { content: "11"; } .ms-loyalty-start.ms-loyalty-12::after { content: "12"; } .ms-loyalty-start.ms-loyalty-13::after { content: "13"; } .ms-loyalty-start.ms-loyalty-14::after { content: "14"; } .ms-loyalty-start.ms-loyalty-15::after { content: "15"; } .ms-loyalty-start.ms-loyalty-16::after { content: "16"; } .ms-loyalty-start.ms-loyalty-17::after { content: "17"; } .ms-loyalty-start.ms-loyalty-18::after { content: "18"; } .ms-loyalty-start.ms-loyalty-19::after { content: "19"; } .ms-loyalty-start.ms-loyalty-20::after { content: "20"; } .ms-loyalty-start.ms-loyalty-25::after { content: "25"; } .ms-loyalty-start.ms-loyalty-x::after { content: "X"; } .ms-loyalty-down::after { line-height: 2em; } .ms-loyalty-down.ms-loyalty-1::after { content: "-1"; } .ms-loyalty-down.ms-loyalty-2::after { content: "-2"; } .ms-loyalty-down.ms-loyalty-3::after { content: "-3"; } .ms-loyalty-down.ms-loyalty-4::after { content: "-4"; } .ms-loyalty-down.ms-loyalty-5::after { content: "-5"; } .ms-loyalty-down.ms-loyalty-6::after { content: "-6"; } .ms-loyalty-down.ms-loyalty-7::after { content: "-7"; } .ms-loyalty-down.ms-loyalty-8::after { content: "-8"; } .ms-loyalty-down.ms-loyalty-9::after { content: "-9"; } .ms-loyalty-down.ms-loyalty-10::after { content: "-10"; } .ms-loyalty-down.ms-loyalty-11::after { content: "-11"; } .ms-loyalty-down.ms-loyalty-12::after { content: "-12"; } .ms-loyalty-down.ms-loyalty-13::after { content: "-13"; } .ms-loyalty-down.ms-loyalty-14::after { content: "-14"; } .ms-loyalty-down.ms-loyalty-15::after { content: "-15"; } .ms-loyalty-down.ms-loyalty-16::after { content: "-16"; } .ms-loyalty-down.ms-loyalty-17::after { content: "-17"; } .ms-loyalty-down.ms-loyalty-18::after { content: "-18"; } .ms-loyalty-down.ms-loyalty-19::after { content: "-19"; } .ms-loyalty-down.ms-loyalty-20::after { content: "-20"; } .ms-loyalty-down.ms-loyalty-25::after { content: "-25"; } .ms-loyalty-down.ms-loyalty-x::after { content: "-X"; } .ms-loyalty-outline::before { color: transparent; -webkit-text-stroke: 0.03em #111; } .ms-loyalty-outline::after { color: #111; } .ms-loyalty-outline.ms-loyalty-start { font-size: 1.6em; } .ms-saga { color: #111; } .ms-saga-1::after, .ms-saga-2::after, .ms-saga-3::after, .ms-saga-4::after, .ms-saga-5::after, .ms-saga-6::after { color: #fff; display: inline-block; font-size: 0.6em; font-family: "MPlantin, Garamond, Palatino, 'Times New Roman', Times, serif"; position: absolute; left: 0; line-height: 2em; width: 100%; text-align: center; } .ms-saga-1::after { content: "I"; } .ms-saga-2::after { content: "II"; } .ms-saga-3::after { content: "III"; } .ms-saga-4::after { content: "IV"; } .ms-saga-5::after { content: "V"; } .ms-saga-6::after { content: "VI"; } .ms-level > span { font-size: 0.33em; position: absolute; left: 0; top: 0; color: #000; font-family: "MPlantin, Garamond, Palatino, 'Times New Roman', Times, serif"; width: 76%; text-align: center; line-height: 3.8; } .ms-level::after { color: rgba(0, 0, 0, 0.25); display: block; font-size: 1em; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } .ms-defense { color: #111; font-size: 1.5em; position: relative; text-align: center; } .ms-defense-0::after, .ms-defense-1::after, .ms-defense-2::after, .ms-defense-3::after, .ms-defense-4::after, .ms-defense-5::after, .ms-defense-6::after, .ms-defense-7::after, .ms-defense-8::after, .ms-defense-9::after, .ms-defense-10::after, .ms-defense-11::after, .ms-defense-12::after, .ms-defense-13::after, .ms-defense-14::after, .ms-defense-15::after, .ms-defense-16::after, .ms-defense-17::after, .ms-defense-18::after, .ms-defense-19::after, .ms-defense-20::after, .ms-defense-25::after, .ms-defense-x::after { color: #fff; display: inline-block; font-size: 0.5em; font-family: "MPlantin, Garamond, Palatino, 'Times New Roman', Times, serif"; position: absolute; left: 0; line-height: 2.25em; width: 100%; text-align: center; } .ms-defense-0::after { content: "0"; } .ms-defense-1::after { content: "1"; } .ms-defense-2::after { content: "2"; } .ms-defense-3::after { content: "3"; } .ms-defense-4::after { content: "4"; } .ms-defense-5::after { content: "5"; } .ms-defense-6::after { content: "6"; } .ms-defense-7::after { content: "7"; } .ms-defense-8::after { content: "8"; } .ms-defense-9::after { content: "9"; } .ms-defense-10::after { content: "10"; } .ms-defense-11::after { content: "11"; } .ms-defense-12::after { content: "12"; } .ms-defense-13::after { content: "13"; } .ms-defense-14::after { content: "14"; } .ms-defense-15::after { content: "15"; } .ms-defense-16::after { content: "16"; } .ms-defense-17::after { content: "17"; } .ms-defense-18::after { content: "18"; } .ms-defense-19::after { content: "19"; } .ms-defense-20::after { content: "20"; } .ms-defense-25::after { content: "25"; } .ms-defense-outline::before { content: "\e9d8"; } .ms-defense-outline::after { color: #111; } .ms-defense-print { display: list-item; list-style-position: inside; width: 0.9em; } .ms-defense-print::before { color: #fff; content: "\e9d8"; position: absolute; left: 0; top: 0; text-shadow: 0 0 5px #333; } .ms-defense-print::marker { content: "\e9d7"; color: #111; } .ms-dfc { color: #111; border: 0.05em solid #111; border-radius: 2em; padding: 0.025em; } .ms-2x { font-size: 1.75em; } .ms-3x { font-size: 2.25em; } .ms-4x { font-size: 3em; } .ms-5x { font-size: 3.75em; } .ms-6x { font-size: 4.5em; } /* * Fixed width */ .ms-fw { width: 1em; text-align: center; } .ms-duo { color: #fff; } .ms-duo::after { color: #000; content: ""; display: block; font-size: 1em; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } .ms-duo.ms-multicolor::after { content: "\e986"; } .ms-duo.ms-school-lorehold::after { content: "\e99b"; } .ms-duo.ms-school-prismari::after { content: "\e99d"; } .ms-duo.ms-school-quandrix::after { content: "\e99f"; } .ms-duo.ms-school-silverquill::after { content: "\e9a1"; } .ms-duo.ms-school-witherbloom::before { content: "\e9a3"; } .ms-duo.ms-school-witherbloom::after { content: "\e9a4"; } .ms-duo-color::before { color: #010101; } .ms-duo-color.ms-multicolor::after { color: #cca753; } .ms-duo-color.ms-multicolor.ms-grad::after { background: linear-gradient(45deg, #cca54f 0%, #e0d3bb 50%, #cca54f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .ms-duo-color.ms-school-lorehold::before { color: #a03731; } .ms-duo-color.ms-school-lorehold::after { color: #e4e8c7; } .ms-duo-color.ms-school-prismari::before { color: #a23431; } .ms-duo-color.ms-school-prismari::after { color: #322f5c; } .ms-duo-color.ms-school-quandrix::before { color: #352e5f; } .ms-duo-color.ms-school-quandrix::after { color: #519e52; } .ms-duo-color.ms-school-silverquill::before { color: #181616; } .ms-duo-color.ms-school-silverquill::after { color: #e5e9ca; } .ms-duo-color.ms-school-witherbloom::before { color: #2f312d; } .ms-duo-color.ms-school-witherbloom::after { color: #4f9b4f; } .ms-ci { border-radius: 100%; box-shadow: inset 0 0 1px #fff; line-height: 0.95em; width: 1em; height: 1em; } .ms-ci::before { color: #010101; } .ms-ci-1::before { content: "\e98a"; } .ms-ci-2::before { content: "\e98b"; } .ms-ci-3::before { content: "\e98c"; } .ms-ci-4::before { content: "\e98d"; } .ms-ci-5::before { content: "\e98e"; } .ms-ci-w { background: #fff; } .ms-ci-u { background: #3b6ba0; } .ms-ci-b { background: #383431; } .ms-ci-r { background: #c6553e; } .ms-ci-g { background: #3d684b; } .ms-ci-wu, .ms-ci-uw, .ms-ci-azorius { background: conic-gradient(#fff 45deg, #3b6ba0 45deg 225deg, #fff 225deg); } .ms-ci-wb, .ms-ci-bw, .ms-ci-orzhov { background: conic-gradient(#fff 45deg, #383431 45deg 225deg, #fff 225deg); } .ms-ci-ub, .ms-ci-bu, .ms-ci-dimir { background: conic-gradient(#3b6ba0 45deg, #383431 45deg 225deg, #3b6ba0 225deg); } .ms-ci-ur, .ms-ci-ru, .ms-ci-izzet { background: conic-gradient(#3b6ba0 45deg, #c6553e 45deg 225deg, #3b6ba0 225deg); } .ms-ci-bg, .ms-ci-gb, .ms-ci-golgari, .ms-ci-rock { background: conic-gradient(#383431 45deg, #3d684b 45deg 225deg, #383431 225deg); } .ms-ci-br, .ms-ci-rb, .ms-ci-rakdos { background: conic-gradient(#383431 45deg, #c6553e 45deg 225deg, #383431 225deg); } .ms-ci-rw, .ms-ci-wr, .ms-ci-boros { background: conic-gradient(#c6553e 45deg, #fff 45deg 225deg, #c6553e 225deg); } .ms-ci-rg, .ms-ci-gr, .ms-ci-gruul { background: conic-gradient(#c6553e 45deg, #3d684b 45deg 225deg, #c6553e 225deg); } .ms-ci-gu, .ms-ci-ug, .ms-ci-simic { background: conic-gradient(#3d684b 45deg, #3b6ba0 45deg 225deg, #3d684b 225deg); } .ms-ci-gw, .ms-ci-wg, .ms-ci-selesnya { background: conic-gradient(#3d684b 45deg, #fff 45deg 225deg, #3d684b 225deg); } .ms-ci-wug, .ms-ci-wgu, .ms-ci-ugw, .ms-ci-uwg, .ms-ci-gwu, .ms-ci-guw, .ms-ci-bant { background: conic-gradient(#3b6ba0 60deg, #3d684b 60deg 180deg, #fff 180deg 300deg, #3b6ba0 300deg); } .ms-ci-ubw, .ms-ci-uwb, .ms-ci-buw, .ms-ci-bwu, .ms-ci-wub, .ms-ci-wbu, .ms-ci-esper { background: conic-gradient(#383431 60deg, #fff 60deg 180deg, #3b6ba0 180deg 300deg, #383431 300deg); } .ms-ci-bru, .ms-ci-bur, .ms-ci-rbu, .ms-ci-rub, .ms-ci-ubr, .ms-ci-urb, .ms-ci-grixis { background: conic-gradient(#c6553e 60deg, #3b6ba0 60deg 180deg, #383431 180deg 300deg, #c6553e 300deg); } .ms-ci-rgb, .ms-ci-rbg, .ms-ci-grb, .ms-ci-gbr, .ms-ci-brg, .ms-ci-bgr, .ms-ci-jund { background: conic-gradient(#3d684b 60deg, #383431 60deg 180deg, #c6553e 180deg 300deg, #3d684b 300deg); } .ms-ci-gwr, .ms-ci-grw, .ms-ci-wgr, .ms-ci-wrg, .ms-ci-rgw, .ms-ci-rwg, .ms-ci-naya { background: conic-gradient(#fff 60deg, #c6553e 60deg 180deg, #3d684b 180deg 300deg, #fff 300deg); } .ms-ci-wbg, .ms-ci-wgb, .ms-ci-bwg, .ms-ci-bgw, .ms-ci-gwb, .ms-ci-gbw, .ms-ci-abzan, .ms-ci-junk, .ms-ci-necra { background: conic-gradient(#383431 60deg, #3d684b 60deg 180deg, #fff 180deg 300deg, #383431 300deg); } .ms-ci-urw, .ms-ci-uwr, .ms-ci-ruw, .ms-ci-rwu, .ms-ci-wur, .ms-ci-wru, .ms-ci-jeskai, .ms-ci-raka { background: conic-gradient(#c6553e 60deg, #fff 60deg 180deg, #3b6ba0 180deg 300deg, #c6553e 300deg); } .ms-ci-bgu, .ms-ci-bug, .ms-ci-gbu, .ms-ci-gub, .ms-ci-ubg, .ms-ci-ugb, .ms-ci-sultai, .ms-ci-bug, .ms-ci-ana { background: conic-gradient(#3d684b 60deg, #3b6ba0 60deg 180deg, #383431 180deg 300deg, #3d684b 300deg); } .ms-ci-rwb, .ms-ci-rbw, .ms-ci-wrb, .ms-ci-wbr, .ms-ci-brw, .ms-ci-bwr, .ms-ci-mardu, .ms-ci-dega { background: conic-gradient(#fff 60deg, #383431 60deg 180deg, #c6553e 180deg 300deg, #fff 300deg); } .ms-ci-gur, .ms-ci-gru, .ms-ci-ugr, .ms-ci-urg, .ms-ci-rgu, .ms-ci-rug, .ms-ci-temur, .ms-ci-ceta { background: conic-gradient(#3b6ba0 60deg, #c6553e 60deg 180deg, #3d684b 180deg 300deg, #3b6ba0 300deg); } .ms-ci-ubrg, .ms-ci-ubgr, .ms-ci-ugbr, .ms-ci-ugrb, .ms-ci-urbg, .ms-ci-urgb, .ms-ci-bgru, .ms-ci-bgur, .ms-ci-brgu, .ms-ci-brug, .ms-ci-bugr, .ms-ci-burg, .ms-ci-gbru, .ms-ci-gbur, .ms-ci-grbu, .ms-ci-grub, .ms-ci-gubr, .ms-ci-gurb, .ms-ci-rbgu, .ms-ci-rbug, .ms-ci-rgbu, .ms-ci-rgub, .ms-ci-rubg, .ms-ci-rugb, .ms-ci-glint { background: conic-gradient(#3b6ba0 45deg, #383431 45deg 135deg, #c6553e 135deg 225deg, #3d684b 225deg 315deg, #3b6ba0 315deg); } .ms-ci-brgw, .ms-ci-bgrw, .ms-ci-bgwr, .ms-ci-brwg, .ms-ci-bwgr, .ms-ci-bwrg, .ms-ci-gbrw, .ms-ci-gbwr, .ms-ci-grbw, .ms-ci-grwb, .ms-ci-gwbr, .ms-ci-gwrb, .ms-ci-rbgw, .ms-ci-rbwg, .ms-ci-rgbw, .ms-ci-rgwb, .ms-ci-rwbg, .ms-ci-rwgb, .ms-ci-wbgr, .ms-ci-wbrg, .ms-ci-wgbr, .ms-ci-wgrb, .ms-ci-wrbg, .ms-ci-wrgb, .ms-ci-dune { background: conic-gradient(#383431 45deg, #c6553e 45deg 135deg, #3d684b 135deg 225deg, #fff 225deg 315deg, #383431 315deg); } .ms-ci-rgwu, .ms-ci-gruw, .ms-ci-grwu, .ms-ci-gurw, .ms-ci-guwr, .ms-ci-gwru, .ms-ci-gwur, .ms-ci-rguw, .ms-ci-rugw, .ms-ci-ruwg, .ms-ci-rwgu, .ms-ci-rwug, .ms-ci-ugrw, .ms-ci-ugwr, .ms-ci-urgw, .ms-ci-urwg, .ms-ci-uwgr, .ms-ci-uwrg, .ms-ci-wgru, .ms-ci-wgur, .ms-ci-wrgu, .ms-ci-wrug, .ms-ci-wugr, .ms-ci-wurg, .ms-ci-ink { background: conic-gradient(#c6553e 45deg, #3d684b 45deg 135deg, #fff 135deg 225deg, #3b6ba0 225deg 315deg, #c6553e 315deg); } .ms-ci-gwub, .ms-ci-bguw, .ms-ci-bgwu, .ms-ci-bugw, .ms-ci-buwg, .ms-ci-bwgu, .ms-ci-bwug, .ms-ci-gbuw, .ms-ci-gbwu, .ms-ci-gubw, .ms-ci-guwb, .ms-ci-gwbu, .ms-ci-ubgw, .ms-ci-ubwg, .ms-ci-ugbw, .ms-ci-ugwb, .ms-ci-uwbg, .ms-ci-uwgb, .ms-ci-wbgu, .ms-ci-wbug, .ms-ci-wgbu, .ms-ci-wgub, .ms-ci-wubg, .ms-ci-wugb, .ms-ci-witch { background: conic-gradient(#3d684b 45deg, #fff 45deg 135deg, #3b6ba0 135deg 225deg, #383431 225deg 315deg, #3d684b 315deg); } .ms-ci-wubr, .ms-ci-bruw, .ms-ci-brwu, .ms-ci-burw, .ms-ci-buwr, .ms-ci-bwru, .ms-ci-bwur, .ms-ci-rbuw, .ms-ci-rbwu, .ms-ci-rubw, .ms-ci-ruwb, .ms-ci-rwbu, .ms-ci-rwub, .ms-ci-ubrw, .ms-ci-ubwr, .ms-ci-urbw, .ms-ci-urwb, .ms-ci-uwbr, .ms-ci-uwrb, .ms-ci-wbru, .ms-ci-wbur, .ms-ci-wrbu, .ms-ci-wrub, .ms-ci-wurb, .ms-ci-yore { background: conic-gradient(#fff 45deg, #3b6ba0 45deg 135deg, #383431 135deg 225deg, #c6553e 225deg 315deg, #fff 315deg); } .ms-ci-wubrg, .ms-ci-bgruw, .ms-ci-bgrwu, .ms-ci-bgurw, .ms-ci-bguwr, .ms-ci-bgwru, .ms-ci-bgwur, .ms-ci-brguw, .ms-ci-brgwu, .ms-ci-brugw, .ms-ci-bruwg, .ms-ci-brwgu, .ms-ci-brwug, .ms-ci-bugrw, .ms-ci-bugwr, .ms-ci-burgw, .ms-ci-burwg, .ms-ci-buwgr, .ms-ci-buwrg, .ms-ci-bwgru, .ms-ci-bwgur, .ms-ci-bwrgu, .ms-ci-bwrug, .ms-ci-bwugr, .ms-ci-bwurg, .ms-ci-gbruw, .ms-ci-gbrwu, .ms-ci-gburw, .ms-ci-gbuwr, .ms-ci-gbwru, .ms-ci-gbwur, .ms-ci-grbuw, .ms-ci-grbwu, .ms-ci-grubw, .ms-ci-gruwb, .ms-ci-grwbu, .ms-ci-grwub, .ms-ci-gubrw, .ms-ci-gubwr, .ms-ci-gurbw, .ms-ci-gurwb, .ms-ci-guwbr, .ms-ci-guwrb, .ms-ci-gwbru, .ms-ci-gwbur, .ms-ci-gwrbu, .ms-ci-gwrub, .ms-ci-gwubr, .ms-ci-gwurb, .ms-ci-rbguw, .ms-ci-rbgwu, .ms-ci-rbugw, .ms-ci-rbuwg, .ms-ci-rbwgu, .ms-ci-rbwug, .ms-ci-rgbuw, .ms-ci-rgbwu, .ms-ci-rgubw, .ms-ci-rguwb, .ms-ci-rgwbu, .ms-ci-rgwub, .ms-ci-rubgw, .ms-ci-rubwg, .ms-ci-rugbw, .ms-ci-rugwb, .ms-ci-ruwbg, .ms-ci-ruwgb, .ms-ci-rwbgu, .ms-ci-rwbug, .ms-ci-rwgbu, .ms-ci-rwgub, .ms-ci-rwubg, .ms-ci-rwugb, .ms-ci-ubgrw, .ms-ci-ubgwr, .ms-ci-ubrgw, .ms-ci-ubrwg, .ms-ci-ubwgr, .ms-ci-ubwrg, .ms-ci-ugbrw, .ms-ci-ugbwr, .ms-ci-ugrbw, .ms-ci-ugrwb, .ms-ci-ugwbr, .ms-ci-ugwrb, .ms-ci-urbgw, .ms-ci-urbwg, .ms-ci-urgbw, .ms-ci-urgwb, .ms-ci-urwbg, .ms-ci-urwgb, .ms-ci-uwbgr, .ms-ci-uwbrg, .ms-ci-uwgbr, .ms-ci-uwgrb, .ms-ci-uwrbg, .ms-ci-uwrgb, .ms-ci-wbgru, .ms-ci-wbgur, .ms-ci-wbrgu, .ms-ci-wbrug, .ms-ci-wbugr, .ms-ci-wburg, .ms-ci-wgbru, .ms-ci-wgbur, .ms-ci-wgrbu, .ms-ci-wgrub, .ms-ci-wgubr, .ms-ci-wgurb, .ms-ci-wrbgu, .ms-ci-wrbug, .ms-ci-wrgbu, .ms-ci-wrgub, .ms-ci-wrubg, .ms-ci-wrugb, .ms-ci-wubgr, .ms-ci-wugbr, .ms-ci-wugrb, .ms-ci-wurbg, .ms-ci-wurgb, .ms-ci-5 { background: conic-gradient(#fff 36deg, #3b6ba0 36deg 108deg, #383431 108deg 180deg, #c6553e 180deg 252deg, #3d684b 252deg 324deg, #fff 324deg); } .ms-mechanic { background: linear-gradient(0deg, #c8913b 0%, #ecc65a 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } /*# sourceMappingURL=mana.css.map */ ================================================ FILE: docs/CNAME ================================================ mana.andrewgioia.com ================================================ FILE: docs/assets/docs.css ================================================ @import url('https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i'); @font-face { font-family: 'Beleren'; src: url( '../fonts/beleren.eot' ); src: url( '../fonts/beleren.woff' ) format( 'woff' ), url( '../fonts/beleren.ttf' ) format( 'truetype' ), url( '../fonts/beleren.svg' ) format( 'svg' ); font-weight: normal; font-style: normal; } body { background: #fff; color: #333; font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; margin: 0; padding: 0; } .wrapper { max-width: 1080px; width: 80%; margin: 0 auto; } a { color: #007185; text-decoration: none; } a:hover { color: #263D41; } section#banner { background: #b6c1b0; color: #555; padding: 12px 0; text-align: right; text-shadow: 0 1px 0 #bacec2; } section#banner .item { display: inline-block; margin-left: 15px; } section#banner .logo { color: #333; float: left; font-family: Beleren; font-size: 18px; margin-top: -2px; } header { background: #d3d8c1; border-bottom: 1px solid #adb7a7; color: #333; margin: 0; overflow-y: hidden; padding: 25px 0 15px; } header.main { height: 272px; } .bigicon { float: right; font-size: 364px; line-height: 200px; margin-top: -40px; text-shadow: 0 2px 0 #fff; } header .vs { margin-left: 5px; } p { font-size: 16px; line-height: 1.6em; margin: 20px 0; } section.icons p { margin-left: 25px; } ul { margin: 0; } li { margin: 0 0 10px; } h1 { color: #444; 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: #444; 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: #444; 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 { color: #555; font-size: 17px; font-weight: bold; margin: 15px 0 5px; padding: 0; } 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: #eee; border-bottom: 1px solid #d3d8c1; 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 #333; } .button:hover { background: #00809F; border-bottom-color: #155A6E; color: #fff; } .button .ms { margin-right: 5px; position: relative; top: -2px; } .button.vs { background: #666; border-bottom-color: #333; } .button.vs:hover { background: #555; border-bottom-color: #222; } .button.dl.float-right { margin-top: -10px; } .icons { padding: 10px 0 5px; } .icon { border-radius: 5px; display: inline-block; overflow: hidden; width: 24.5%; } .icon span { display: inline-block; padding: 9px 10px; white-space: nowrap; } .icon:hover { background: #eee; position: relative; margin-top: -4px; margin-bottom: -5px; } .icon:nth-of-type(4n+1):not(:has(+ .icon)):hover { margin-bottom: -3.5px; /* no idea why */ } .icon .ms { font-size: 22px; margin-right: 5px; margin-top: -3px; text-align: center; width: 32px; } .icon .ms-100 { font-size: 1rem; } .icon .ms-1000000 { font-size: 0.75rem; } .icon:hover .ms { font-size: 32px; text-shadow: 0 1px 0 #fff; } .icon:hover .ms-100, .icon:hover .ms-1000000 { font-size: 1.25rem; } .icon:hover .ms.ms-duo { text-shadow: none; } .icon em { color: #999; font-size: 13px; font-style: normal; } .icons.indicators .icon .ms { width: 22px; margin: -2px 10px 0 5px; } .icons.indicators .icon:hover .ms { margin: 0 5px -1px 0; width: 32px; text-shadow: none; } .vectors { padding: 10px 0 0; } .utf { display: inline-block; width: 33.333%; float: left; padding: 6px 0; } .vectors.overflow .utf { overflow-x: hidden; white-space: nowrap; } .utf.long { width: 33%; } .utf i { display: inline-block; vertical-align: top; padding: 0 5px 0 0; text-align: center; width: 1.25em; font: normal normal normal 16px/1 Mana; font-size: 1.25em; text-rendering: auto; transform: translate(0, 0); speak: none; text-transform: none; vertical-align: middle; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .utf i.long { text-align: left; width: auto; } .utf code { background-color: #f5f5f5; color: #555; margin-left: 3px; } @media (min-width: 1600px) { .utf { display: inline-block; width: 25%; float: left; padding: 6px 0; } } .example { font-size: 16px; padding: 15px 0 0; width: 200px; } .example .each { display: block; padding-top: 1px; padding-bottom: 7px; } .explanation { margin-left: 200px; } footer { border-top: 1px solid #eee; margin-top: 20px; padding: 10px 0 30px; } .float-left { float: left; } .float-right { float: right; } .clear { clear: both; } .e { color: #63A35C; } .a { color: #795DA3; } .v { color: #183691; } ================================================ FILE: docs/attributes.html ================================================ Attributes and Examples | Mana

Mana & Card Icons

Download

Complete set of Magic mana and card symbol font icons

Mana has some built in icon options to easily change the size and position, convert the mana symbols to the casting costs, and create planeswalker loyalty symbols with numbers. Take a look below at examples of each option with the class names to implement them.

The Basic Icon

.ms-u

You can place Mana icons anywhere using the CSS classname prefix ms (for "mana symbol") and then the mana/card symbol's suffix.

<i class="ms ms-u"></i>

Creating a Casting Cost

.ms-cost + .ms-shadow

Add the .ms-cost class to create a casting cost circle around the symbol. Append the .ms-shadow class to add a drop shadow.

<i class="ms ms-g ms-cost"></i>
<i class="ms ms-r ms-cost ms-shadow"></i>

Split Casting Costs

.ms-wu .ms-bgp .ms-cr + .ms-shadow

New: You no longer need the .ms-split class name, simply identifying a split or hybrid cost will now automatically handle the split styles.

<i class="ms ms-wu ms-cost"></i>
<i class="ms ms-2b ms-cost ms-shadow"></i>

For backwards compatibility and full control you can still use create split and hybrid casting costs separately with the .ms-split class along with the 2-symbols' codes. This works for color pairs and the "2" with a color.

Half Mana Casting Costs

.ms-half

Even though there's only been one two of these ever printed you can still create them :P Half costs used to require a wrapping element but as of v1.4.1 they are a regular single element:

<i class="ms ms-w ms-half ms-cost"></i>

Planeswalker Symbols

.ms-loyalty-up .ms-loyalty-down

You can create planewalker loyalty symbols for the starting value, zero, and ticking up or down. The number that appears is based on a class you add, like .ms-loyalty-4. Currently numbers 0-20 are supported for start, up, and down.

<i class="ms ms-loyalty-up ms-loyalty-3"></i>
<i class="ms ms-loyalty-down ms-loyalty-2"></i>

Saga Symbols

.ms-saga-1 .ms-saga-4

Saga symbols are supported natively up to V, even though only IV has ever been printed. The number that appears inside the hexagon is based on a class you add, like .ms-saga-2.

<i class="ms ms-saga ms-saga-1"></i>
<i class="ms ms-saga ms-saga-4"></i>

Battle Symbols

.ms-defense .ms-defense-outline .ms-defense-print

Battle cards have a unique defense box and values are supported from 0-20 using utility classes similar to Loyalty and Sagas, in the format .ms-defense-2.

There are 3 variations of the symbol that you can display. The simplest is just the black background with a white number (.ms-defense). An outline version has a black border with black number and white inside (.ms-defense-outline). Finally the full "print" version uses 3 layers and mimics the way the defense box is printed on cards; use this with .ms-defense-print.

<i class="ms ms-defense ms-defense-1"></i>
<i class="ms ms-defense ms-defense-outline ms-defense-3"></i>
<i class="ms ms-defense ms-defense-print ms-defense-5"></i>

Increase the Symbol's Size

.ms-2x .ms-3x .ms-4x .ms-5x .ms-6x

To conveniently increase the size of a mana or card symbol you can append the classes ms-2x, ms-3x, ms-4x, ms-4x, and ms-6x. These classes increase the size by a factor equal to class name number.

<i class="ms ms-r ms-2x"></i> ms-2x
<i class="ms ms-r ms-3x"></i> ms-3x
<i class="ms ms-r ms-4x"></i> ms-4x
<i class="ms ms-r ms-5x"></i> ms-5x
<i class="ms ms-r ms-6x"></i> ms-6x

Fixed Width

Planeswalker Land

Some of the card symbols are variable width by default, if you put them in a list they may stack irregularly. To fix their width to a standard size, just append the class .ms-fw and the symbols will have a constant width and centered icon.

<i class="ms ms-planeswalker ms-fw"></i> Planeswalker symbol
<i class="ms ms-land ms-fw"></i> Land symbol

Dual-Layered Symbols

One layer Two layers Two with color Prismari

The multicolor symbol has 2 layers and the only way to reliably achieve this is with 2 glyphs. Add .ms-duo and .ms-multicolor will add the background layer and knock out the foreground. If you add .ms-duo-color and optionally .ms-grad it will colorize it like the official symbol.

<i class="ms ms-multicolor"></i> One layer
<i class="ms ms-multicolor ms-duo"></i> Two layers
<i class="ms ms-multicolor ms-duo ms-duo-color ms-grad"></i> Complete multicolor symbol <i class="ms ms-school-prismari ms-duo ms-duo-color"></i> Prismari colored symbol

Arena Abilites and MODO Counters

Evergreen ability Set-specific ability MODO counter

Mana has full Arena and Modo ability and counter coverage. You can apply the set-specific gold gradient that Arena uses on abilities with .ms-mechanic.

<i class="ms ms-ability-flying"></i> Evergreen ability
<i class="ms ms-ability-adventure ms-mechanic"></i> Set-specific ability
<i class="ms ms-counter-plus"></i> MODO counter

Card Color Indicators

Green Red/Green Red/Green/Blue

Some cards use color indicator circles on their alternate faces to indicate that the card is still a certain color identity. Mana supports all 31 variations, though only about 10 different color combinations exist on cards currently.

<i class="ms ms-ci ms-ci-1 ms-ci-g"></i> Green
<i class="ms ms-ci ms-ci-2 ms-ci-rg"></i> Red/Green
<i class="ms ms-ci ms-ci-3 ms-ci-gur"></i> Red/Green/Blue

To display these, use class .ms-ci and then .ms-ci-X where "X" is the number of colors in the identity. Then add the corresponding color class, like .ms-ci-wug.

Importantly, the only SVGs used to display these are the borders, and there are 5 different border glyphs. The colors themselves are displayed using the background: conic-gradient(); CSS attribute, which you can view the support for on Can I Use. TL;DR: it has almost universal practical browser support.

================================================ FILE: docs/cheatsheet.html ================================================ Icon Cheatsheet | Mana

Mana & Card Icons

Download

The complete Mana copy-able reference

To use Mana on the desktop, install mana.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.

Icons, CSS Class, and Unicode

ms-w &#xe600; ms-u &#xe601; ms-b &#xe602; ms-r &#xe603; ms-g &#xe604; ms-w-original &#xe997; ms-w-list &#xe998; ms-c &#xe904; ms-0 &#xe605; ms-1 &#xe606; ms-2 &#xe607; ms-3 &#xe608; ms-4 &#xe609; ms-5 &#xe60a; ms-6 &#xe60b; ms-7 &#xe60c; ms-8 &#xe60d; ms-9 &#xe60e; ms-10 &#xe60f; ms-11 &#xe610; ms-12 &#xe611; ms-13 &#xe612; ms-14 &#xe613; ms-15 &#xe614; ms-16 &#xe62a; ms-17 &#xe62b; ms-18 &#xe62c; ms-19 &#xe62d; ms-20 &#xe62e; ms-x &#xe615; ms-y &#xe616; ms-z &#xe617; ms-d &#xea2e; ms-e &#xe907; ms-h &#xe618; ms-l &#xea2d; ms-paw &#xea32; ms-s &#xe619; ms-s-mtga &#xe996;
ms-1-2 &#xe902; ms-acorn &#xe929; ms-artist-brush &#xe923; ms-artist-nib &#xe924; ms-chaos &#xe61d; ms-defense &#xe9d7; ms-defense-outline &#xe9d8; ms-infinity &#xe903; ms-level &#xe9c7; ms-level-border &#xe9c8; ms-loyalty-up &#xe627; ms-loyalty-down &#xe625; ms-loyalty-zero &#xe626; ms-loyalty-start &#xe628; ms-multicolor &#xe985; ms-power &#xe921; ms-power-mtga &#xea2f; ms-saga &#xe92a; ms-spree &#xea55; ms-tap &#xe61a; ms-tap-3ed &#xe61c; ms-tap-4ed &#xea31; ms-ticket &#xe9c4; ms-toughness &#xe922; ms-toughness-mtga &#xea30; ms-untap &#xe61b; ms-ci-1 &#xe98a; ms-ci-2 &#xe98b; ms-ci-3 &#xe98c; ms-ci-4 &#xe98d; ms-ci-5 &#xe98e;
ms-100 &#xe900; ms-1000000 &#xe901;
ms-artifact &#xe61e; ms-battle &#xe9d1; ms-battle-siege &#xe9d2; ms-commander &#xe9c6; ms-conspiracy &#xe972; ms-creature &#xe61f; ms-enchantment &#xe620; ms-flashback &#xe629; ms-instant &#xe621; ms-land &#xe622; ms-multiple &#xe925; ms-phenomenon &#xe96e; ms-plane &#xe96f; ms-planeswalker &#xe623; ms-rarity &#xe96c; ms-scheme &#xe970; ms-sorcery &#xe624; ms-token &#xe96d; ms-tribal &#xe925; ms-vanguard &#xe971;
ms-dfc-night &#xe905; ms-dfc-day &#xe906; ms-dfc-spark &#xe909; ms-dfc-ignite &#xe908; ms-dfc-moon &#xe90b; ms-dfc-emrakul &#xe90a; ms-dfc-enchantment &#xe920; ms-dfc-land &#xe9c5; ms-dfc-lesson &#xe98f; ms-dfc-front &#xe9d3; ms-dfc-back &#xe9d4; ms-dfc-meld &#xe9d5; ms-dfc-facedown &#xe9d6; ms-dfc-modal-face &#xe983; ms-dfc-modal-back &#xe984;
ms-guild-azorius &#xe90c; ms-guild-boros &#xe90d; ms-guild-dimir &#xe90e; ms-guild-golgari &#xe90f; ms-guild-gruul &#xe910; ms-guild-izzet &#xe911; ms-guild-orzhov &#xe912; ms-guild-rakdos &#xe913; ms-guild-selesnya &#xe914; ms-guild-simic &#xe915; ms-clan-abzan &#xe916; ms-clan-jeskai &#xe917; ms-clan-mardu &#xe918; ms-clan-sultai &#xe919; ms-clan-temur &#xe91a; ms-clan-atarka &#xe91b; ms-clan-dromoka &#xe91c; ms-clan-ojutai &#xe91d; ms-clan-kolaghan &#xe91e; ms-clan-silumgar &#xe91f; ms-party-cleric &#xea59; ms-party-rogue &#xea58; ms-party-warrior &#xea57; ms-party-wizard &#xea56; ms-polis-setessa &#xe926; ms-polis-akros &#xe927; ms-polis-meletis &#xe928; ms-school-lorehold &#xe99a; ms-school-prismari &#xe99c; ms-school-quandrix &#xe99e; ms-school-silverquill &#xe9a0; ms-school-witherbloom &#xe9a2; ms-school-brokers &#xea0d; ms-school-cabaretti &#xea0e; ms-school-maestros &#xea0e; ms-school-obscura &#xea10; ms-school-riveteers &#xea11;
ms-ability-activated &#xe947; ms-ability-adamant &#xe974; ms-ability-adapt &#xe975; ms-ability-addendum &#xe976; ms-ability-adventure &#xe948; ms-ability-afflict &#xe977; ms-ability-afterlife &#xe978; ms-ability-aftermath &#xe979; ms-ability-alliance &#xe9b5; ms-ability-amass &#xe97a; ms-ability-amass-orcs &#xe9e0; ms-ability-ascend &#xe94a; ms-ability-backup &#xe9d9; ms-ability-bargain &#xe9e2; ms-ability-blitz &#xe9b4; ms-ability-boast &#xe991; ms-ability-case-solved &#xea39; ms-ability-case-solved-print &#xea3a; ms-ability-casualty &#xe9b7; ms-ability-celebration &#xe9e3; ms-ability-changeling &#xe9a6; ms-ability-channel &#xe9b1; ms-ability-cleave &#xe9ad; ms-ability-cloak &#xea35; ms-ability-collect-evidence &#xea36; ms-ability-companion &#xe97b; ms-ability-constellation &#xe97c; ms-ability-convoke &#xe9da; ms-ability-convoke-original &#xe949; ms-ability-corrupted &#xe9c0; ms-ability-coven &#xe9aa;  ms-ability-craft &#xea3f; ms-ability-crime &#xea45; ms-ability-d20 &#xe999; ms-ability-day-night &#xe9a8; ms-ability-daybound-nightbound &#xe9a9; ms-ability-deathtouch &#xe94b; ms-ability-decayed &#xe9ac; ms-ability-defender &#xe94c; ms-ability-delve &#xea3b; ms-ability-descend &#xea41; ms-ability-devotion &#xe97d; ms-ability-discover &#xea40; ms-ability-disguise &#xea34; ms-ability-disturb &#xe9ae; ms-ability-domain &#xe9a7; ms-ability-double-strike &#xe94d; ms-ability-dungeon &#xe995; ms-ability-eerie &#xea4d; ms-ability-embalm &#xe97e; ms-ability-enlist &#xe9ba; ms-ability-enrage &#xe9dc; ms-ability-enrage-original &#xe94e; ms-ability-escape &#xe969;  ms-ability-eternalize &#xe97f; ms-ability-exalted &#xea33; ms-ability-expend &#xea4a; ms-ability-exploit &#xe9af; ms-ability-explore &#xe94f; ms-ability-ferocious &#xea3c; ms-ability-first-strike &#xe950; ms-ability-flash &#xe951; ms-ability-flying &#xe952; ms-ability-for-mirrodin &#xe9c1; ms-ability-forage &#xea49; ms-ability-foretell &#xe990; ms-ability-gift &#xea46; ms-ability-goad &#xe9c9; ms-ability-haktos-the-unscarred &#xe9e4; ms-ability-haste &#xe953; ms-ability-hexproof &#xe954; ms-ability-hexproof-black &#xe955; ms-ability-hexproof-blue &#xe956; ms-ability-hexproof-green &#xe957; ms-ability-hexproof-red &#xe958; ms-ability-hexproof-white &#xe959; ms-ability-hideaway &#xe9b8; ms-ability-impending &#xea4c; ms-ability-improvise &#xe9de; ms-ability-incubate &#xe9db; ms-ability-indestructible &#xe95a; ms-ability-investigate &#xe9ab; ms-ability-jumpstart &#xe95b; ms-ability-kicker &#xe989; ms-ability-landfall &#xe988; ms-ability-learn &#xe994; ms-ability-lifelink &#xea4b; ms-ability-lifelink-original &#xe95c; ms-ability-magecraft &#xe993; ms-ability-manifest-dread &#xea4f; ms-ability-meld &#xe9bd; ms-ability-menace &#xe95d; ms-ability-mentor &#xe95e; ms-ability-morph &#xea3e; ms-ability-mutate &#xe980; ms-ability-ninjutsu &#xe9b2; ms-ability-obscura &#xe9b6; ms-ability-offspring &#xea47; ms-ability-outlast &#xea3d; ms-ability-party &#xe987; ms-ability-phyrexian &#xe618; ms-ability-plot &#xea42; ms-ability-proliferate &#xe981; ms-ability-prototype &#xe9be; ms-ability-prowess &#xe982; ms-ability-raid &#xe95f; ms-ability-reach &#xe960; ms-ability-read-ahead &#xe9b9; ms-ability-reconfigure &#xe9b3; ms-ability-revolt &#xe961; ms-ability-ring-bearer &#xe9df; ms-ability-riot &#xe973; ms-ability-robber-of-the-rich &#xe9e5; ms-ability-role-cursed &#xe9e6; ms-ability-role-monster &#xe9e7; ms-ability-role-royal &#xe9e8; ms-ability-role-sorceror &#xe9e9; ms-ability-role-wicked &#xe9ea; ms-ability-role-young-hero &#xe9eb; ms-ability-saddle &#xea43; ms-ability-specialize &#xe9bb; ms-ability-spectacle &#xe96b; ms-ability-spree &#xea44; ms-ability-static &#xe962; ms-ability-summoning-sickness &#xe96a; ms-ability-survival &#xea4e; ms-ability-surveil &#xea38; ms-ability-surveil-original &#xe963; ms-ability-suspect &#xea37; ms-ability-the-ring-tempts-you &#xe9e1;  ms-ability-toxic &#xe9bf; ms-ability-training &#xe9b0; ms-ability-trample &#xe964; ms-ability-transform &#xe965; ms-ability-triggered &#xe966; ms-ability-unearth &#xe9bc; ms-ability-undergrowth &#xe967; ms-ability-valiant &#xea48; ms-ability-vigilance &#xe968; ms-ability-ward &#xe992;
ms-ability-duels-annihilator &#xea5a; ms-ability-duels-battle-cry &#xea5b; ms-ability-duels-unblockable &#xea5c; ms-ability-duels-cannot-block &#xea5d ms-ability-duels-cannot-untap &#xea5e; ms-ability-duels-cohort &#xea5f; ms-ability-duels-copy &#xea60; ms-ability-duels-deathtouch &#xea61; ms-ability-duels-defender &#xea62; ms-ability-duels-delirium &#xea63; ms-ability-duels-detain &#xea64; ms-ability-duels-double-strike &#xea65; ms-ability-duels-dfc &#xea66; ms-ability-duels-evolve &#xea67; ms-ability-duels-exalted &#xea68; ms-ability-duels-exile &#xea69; ms-ability-duels-fading &#xea6a; ms-ability-duels-fear &#xea6b; ms-ability-duels-first-strike &#xea6c; ms-ability-duels-flying &#xea6d; ms-ability-duels-forestwalk &#xea6e; ms-ability-duels-haste &#xea6f; ms-ability-duels-haunt &#xea70; ms-ability-duels-hexproof &#xea71; ms-ability-duels-indestructible &#xea72; ms-ability-duels-infect &#xea73; ms-ability-duels-ingest &#xea74; ms-ability-duels-intimidate &#xea75; ms-ability-duels-islandwalk &#xea76; ms-ability-duels-legendary &#xea77; ms-ability-duels-lifelink &#xea78; ms-ability-duels-menace &#xea79; ms-ability-duels-monstrous &#xea7a; ms-ability-duels-mountainwalk &#xea7b; ms-ability-duels-must-attack &#xea7c; ms-ability-duels-plainswalk &#xea7d; ms-ability-duels-prevent-damage &#xea7e;  ms-ability-duels-protection-black &#xea7f; ms-ability-duels-protection-blue &#xea80; ms-ability-duels-protection-green &#xea81; ms-ability-duels-protection-red &#xea82; ms-ability-duels-protection-white &#xea83; ms-ability-duels-protection &#xea84; ms-ability-duels-rally &#xea85; ms-ability-duels-regenerate &#xea86; ms-ability-duels-renowned &#xea87; ms-ability-duels-shroud &#xea88; ms-ability-duels-skulk &#xea89; ms-ability-duels-soulshift &#xea8a; ms-ability-duels-swampwalk &#xea8b; ms-ability-duels-temporary-control &#xea8c; ms-ability-duels-totem-armor &#xea8d; ms-ability-duels-trample &#xea8e; ms-ability-duels-undying &#xea8f; ms-ability-duels-vigilance &#xea90;
ms-counter-arrow &#xe92b; ms-counter-brick &#xe92c; ms-counter-brick-print &#xea52; ms-counter-charge &#xe92d; ms-counter-charge-print &#xea53; ms-counter-damage &#xe9dd; ms-counter-deathtouch &#xea51; ms-counter-devotion &#xe92e; ms-counter-doom &#xe92f; ms-counter-echo &#xe930; ms-counter-finality &#xea54; ms-counter-flame &#xe931; ms-counter-flood &#xe932; ms-counter-fungus &#xe933; ms-counter-gold &#xe934; ms-counter-ki &#xe935; ms-counter-lore &#xe936; ms-counter-loyalty &#xe937; ms-counter-mining &#xe938; ms-counter-minus &#xe939; ms-counter-minus-uneven &#xe943; ms-counter-muster &#xe93a; ms-counter-paw &#xe93b; ms-counter-pin &#xe93c; ms-counter-plus &#xe93d; ms-counter-plus-uneven &#xe944; ms-counter-rad &#xea50; ms-counter-scream &#xe93e; ms-counter-shield &#xe9c3;  ms-counter-skeleton &#xe93f; ms-counter-skull &#xe940; ms-counter-stun &#xe9c2; ms-counter-slime &#xe941; ms-counter-time &#xe942; ms-counter-verse &#xe945; ms-counter-void &#xe9ec; ms-counter-vortex &#xe946;
ms-watermark-agentsofsneak &#xea08; ms-watermark-arena &#xea1e; ms-watermark-colorpie &#xe9f0; ms-watermark-conspiracy &#xea12; ms-watermark-corocoro &#xea15; ms-watermark-crossbreedlabs &#xea09; ms-watermark-cutiemark-apples &#xea27; ms-watermark-cutiemark-balloons &#xea28; ms-watermark-cutiemark-butterflies &#xea29; ms-watermark-cutiemark-gems &#xea04; ms-watermark-cutiemark-rainbow &#xea2a; ms-watermark-cutiemark-sparkle &#xea05; ms-watermark-cutiemark-waningmoon &#xea06; ms-watermark-cutiemark-waxingmoon &#xea07; ms-watermark-dci &#xea1d; ms-watermark-dengekimaoh &#xea14; ms-watermark-desparked &#xe9f1; ms-watermark-dnd &#xea17; ms-watermark-flavor-aestheticconsultation &#xe9f2; ms-watermark-flavor-farewelltoarms &#xe9f8; ms-watermark-flavor-manascrew &#xea2c; ms-watermark-flavor-monkeymonkeymonkey &#xe9f7; ms-watermark-flavor-moxlotus &#xe9f5; ms-watermark-flavor-myfirsttome &#xe9f6; ms-watermark-flavor-shoetree &#xe9f7; ms-watermark-flavor-whenfluffybunniesattack &#xe9f8; ms-watermark-fnm &#xea16; ms-watermark-goblinexplosioneers &#xea0a; ms-watermark-grandprix &#xea1f; ms-watermark-grandprix2 &#xea20; ms-watermark-herospath &#xea02; ms-watermark-herospath-1 &#xe9f9; ms-watermark-herospath-2 &#xe9fa; ms-watermark-herospath-3 &#xe9fb; ms-watermark-herospath-4 &#xe9fc; ms-watermark-herospath-5 &#xe9fd; ms-watermark-herospath-6 &#xe9fe;  ms-watermark-herospath-7 &#xe9ff; ms-watermark-herospath-8 &#xea00; ms-watermark-herospath-9 &#xea01; ms-watermark-japanjunior &#xea24; ms-watermark-judgeacademy &#xea13; ms-watermark-junior &#xea23; ms-watermark-juniorapac &#xea21; ms-watermark-junioreurope &#xea22; ms-watermark-leagueofdastardlydoom &#xea0b; ms-watermark-mirran &#xea03; ms-watermark-mps &#xea1a; ms-watermark-mtg &#xe9ed; ms-watermark-mtg10 &#xe9ee; ms-watermark-mtg15 &#xe9ef; ms-watermark-nerf &#xea19; ms-watermark-orderofthewidget &#xea0c; ms-watermark-protour &#xea26; ms-watermark-scholarship &#xea25; ms-watermark-transformers &#xea18; ms-watermark-trumpkatsumai &#xea2b; ms-watermark-wotc &#xea1b; ms-watermark-wpn &#xea1c;
================================================ FILE: docs/icons.html ================================================ Mana Icons | Mana

Mana & Card Icons

Download

Complete set of Magic mana and card symbol font icons

View the full list of mana symbols and other Magic card symboles. To see all the different variations and casting cost styles, check out the Attributes page. To use the symbols on your desktop or just get the vectors, check out the Cheatsheet.

Mana & Resource Symbols

White (w)
Blue (u)
Black (b)
Red (r)
Green (g)
White (Original) (w-original)
White (List) (w-list)
Colorless Mana (c)
Phyrexian Mana (h)
Snow Mana (s)
Snow Mana (MTGA) (s-mtga)
X (x)
Y (y)
Z (z)
0 (0)
1 (1)
2 (2)
3 (3)
4 (4)
5 (5)
6 (6)
7 (7)
8 (8)
9 (9)
10 (10)
11 (11)
12 (12)
13 (13)
14 (14)
15 (15)
16 (16)
17 (17)
18 (18)
19 (19)
20 (20)
1/2 (1-2)
Infinity (infinity)
100 (100)
    1,000,000 (1000000)
Energy (e)
Pawprint (paw)
Land Drop (d)
Legendary Mana (l)

Card Symbols

Tap (tap)
Untap (untap)
Tap (3ed) (tap-3ed)
Tap (4ed) (tap-4ed)
Chaos (chaos)
Flashback (flashback)
Power (power)
Toughness (toughness)
Power (Arena) (power-mtga)
Toughness (Arena) (toughness-mtga)
Artist (Brush) (artist-brush)
Artist (Nib) (artist-nib)
Saga (saga)
Acorn (acorn)
Ticket (ticket)
Rarity (rarity)
Multicolor (multicolor)
Spree (spree)

Loyalty Symbols

Loyalty Up (loyalty-up)
Loyalty Down (loyalty-down)
Loyalty Zero (loyalty-zero)
Loyalty Start (loyalty-start)
Level (level)
Defense (defense)
Defense Outline (defense-outline)

Double-Faced Cards

Day (dfc-day)
Night (dfc-night)
Spark (dfc-spark)
Ignite (dfc-ignite)
Moon (dfc-moon)
Emrakul (dfc-emrakul)
Enchantment (dfc-enchantment)
Land (dfc-land)
Lesson (dfc-lesson)
Front (dfc-front)
Back (dfc-back)
Meld (dfc-meld)
Face Down (dfc-facedown)
Modal (Face) (dfc-modal-face)
Modal (Back) (dfc-modal-back)

Card Types

Artifact (artifact)
Creature (creature)
Enchantment (enchantment)
Instant (instant)
Land (land)
Planeswalker (planeswalker)
Sorcery (sorcery)
Tribal (tribal, multiple)
Plane (plane)
Phenomenon (phenomenon)
Scheme (scheme)
Conspiracy (conspiracy)
Vanguard (vanguard)
Token (token)
Battle (battle)
Battle - Siege (battle-siege)
Commander (commander)

Color Indicators

Blue (ci-u)
White (ci-w)
Black (ci-b)
Red (ci-r)
Green (ci-g)
WU (ci-wu)
WB (ci-wb)
UB (ci-ub)
UR (ci-ur)
BG (ci-bg)
BR (ci-br)
RW (ci-rw)
RG (ci-rg)
GU (ci-gu)
GW (ci-gw)
Bant (ci-wug)
Esper (ci-ubw)
Grixis (ci-bru)
Jund (ci-rgb)
Naya (ci-gwr)
Junk/Abzan (ci-wbg)
Jeskai (ci-urw)
BUG/Sultai (ci-bgu)
Mardu (ci-rwb)
RUG/Temur (ci-gur)
UBRG (ci-ubrg)
BRGW (ci-brgw)
RGWU (ci-rgwu)
GWUB (ci-gwub)
WUBR (ci-wubr)
WUBRG (ci-5)

Magic Online Counters

Arrow (counter-arrow)
Brick (counter-brick)
Charge (counter-charge)
Devotion (counter-devotion)
Doom (counter-doom)
Echo (counter-echo)
Flame (counter-flame)
Flood (counter-flood)
Fungus (counter-fungus)
Gold (counter-gold)
Ki (counter-ki)
Lore (counter-lore)
Loyalty (counter-loyalty)
Mining (counter-mining)
Minus (counter-minus)
Minus (Uneven) (counter-minus-uneven)
Muster (counter-muster)
Paw (counter-paw)
Pin (counter-pin)
Plus (counter-plus)
Rad (counter-rad)
Plus (Uneven) (counter-plus-uneven)
Scream (counter-scream)
Skeleton (counter-skeleton)
Skull (counter-skull)
Slime (counter-slime)
Time (counter-time)
Verse (counter-verse)
Void (counter-void)
Vortex (counter-vortex)

Arena Exclusive Counters

Damaged (counter-damage)
Shield (counter-shield)
Stun (counter-stun)

Print/Punch-out Counters

Brick (counter-brick-print)
Charge (counter-charge-print)
Deathtouch (counter-deathtouch)
Finality (counter-finality)
Goad (counter-goad)

Arena Ability Symbols

Activated (ability-activated)
Adamant (ability-adamant)
Adapt (ability-adapt)
Addendum (ability-addendum)
Adventure (ability-adventure)
Afflict (ability-afflict)
Afterlife (ability-afterlife)
Aftermath (ability-aftermath)
Alliance (ability-alliance)
Amass (ability-amass)
Amass Orcs (ability-amass-orcs)
Ascend (ability-ascend)
Backup (ability-backup)
Bargain (ability-bargain)
Blitz (ability-blitz)
Boast (ability-boast)
Case Solved (ability-case-solved)
Case Solved (Print) (ability-case-solved-print)
Casualty (ability-casualty)
Changeling (ability-changeling)
Celebration (ability-celebration)
Channel (ability-channel)
Cleave (ability-cleave)
Cloak (ability-cloak)
Collect Evidence (ability-collect-evidence)
Companion (ability-companion)
Constellation (ability-constellation)
Convoke (ability-convoke)
Convoke (Original) (ability-convoke-original)
Corrupted (ability-corrupted)
Coven (ability-coven)
Craft (ability-craft)
Crime (ability-crime)
D20 (ability-d20)
Day/Night (ability-day-night)
Daybound/Nightbound (ability-daybound-nightbound)
Deathtouch (ability-deathtouch)
Decayed (ability-decayed)
Defender (ability-defender)
Delve (ability-delve)
Descend (ability-descend)
Devotion (ability-devotion)
Discover (ability-discover)
Disguise (ability-disguise)
Disturb (ability-disturb)
Domain (ability-domain)
Double Strike (ability-double-strike)
Dungeon (ability-dungeon)
Eerie (ability-eerie)
Embalm (ability-embalm)
Enlist (ability-enlist)
Enrage (ability-enrage)
Enrage (Original) (ability-enrage-original)
Escape (ability-escape)
Eternalize (ability-eternalize)
Exalted (ability-exalted)
Expend (ability-expend)
Exploit (ability-exploit)
Explore (ability-explore)
Fabricate (ability-fabricate)
Ferocious (ability-ferocious)
First Strike (ability-first-strike)
Flash (ability-flash)
Flying (ability-flying)
For Mirrodin! (ability-for-mirrodin)
Forage (ability-forage)
Foretell (ability-foretell)
Gift (ability-gift)
Goad (ability-goad)
Haste (ability-haste)
Hexproof (ability-hexproof)
Hexproof: White (ability-hexproof-white)
Hexproof: Blue (ability-hexproof-blue)
Hexproof: Black (ability-hexproof-black)
Hexproof: Red (ability-hexproof-red)
Hexproof: Green (ability-hexproof-green)
Hideaway (ability-hideaway)
Impending (ability-impending)
Improvise (ability-improvise)
Incubate (ability-incubate)
Indestructible (ability-indestructible)
Investigate (ability-investigate)
Jumpstart (ability-jumpstart)
Kicker (ability-kicker)
Landfall (ability-landfall)
Learn (ability-learn)
Magecraft (ability-magecraft)
Manifest Dread (ability-manifest-dread)
Meld (ability-meld)
Menace (ability-menace)
Morph (ability-morph)
Mutate (ability-mutate)
Ninjutsu (ability-ninjutsu)
Obscura (ability-obscura)
Offspring (ability-offspring)
Outlast (ability-outlast)
Party (ability-party)
Phyrexian (ability-phyrexian)
Plot (ability-plot)
Proliferate (ability-proliferate)
Prototype (ability-prototype)
Prowess (ability-prowess)
Raid (ability-raid)
Reach (ability-reach)
Read Ahead (ability-read-ahead)
Reconfigure (ability-reconfigure)
Revolt (ability-revolt)
Ring Bearer (ability-ring-bearer)
Riot (ability-riot)
Cursed Role (ability-role-cursed)
Monster Role (ability-role-monster)
Royal Role (ability-role-royal)
Sorceror Role (ability-role-sorceror)
Wicked Role (ability-role-wicked)
Young Hero Role (ability-role-young-hero)
Saddle (ability-saddle)
Specialize (ability-specialize)
Spectacle (ability-spectacle)
Spree (ability-spree)
Survival (ability-survival)
Static Ability (ability-static)
Summoning Sickness (ability-summoning-sickness)
Suspect (ability-suspect)
Surveil (ability-surveil)
Surveil (Original) (ability-surveil-original)
The Ring Tempts Your (ability-the-ring-tempts-you)
Toxic (ability-toxic)
Training (ability-training)
Trample (ability-trample)
Transform (ability-transform)
Triggered Ability (ability-triggered)
Undergrowth (ability-undergrowth)
Unearth (ability-unearth)
Valiant (ability-valiant)
Vigilance (ability-vigilance)
Ward (ability-ward)
Haktos the Unscarred (ability-haktos-the-unscarred)
Robber of the Rich (ability-robber-of-the-rich)

Magic Duels Ability Symbols

Annihilator (ability-annihilator)
Battle Cry (ability-battle-cry)
Unblockable (ability-unblockable)
Can't Block (ability-cannot-block)
Can't Untap (ability-cannot-untap)
Cohort (ability-cohort)
Copy (ability-copy)
Deathtouch (ability-duels-deathtouch)
Defender (ability-duels-defender)
Delirium (ability-delirium)
Detain (ability-detain)
Double Strike (ability-duels-double-strike)
Double-Faced Card (ability-dfc)
Evolve (ability-evolve)
Exalted (ability-duels-exalted)
Exile (ability-exile)
Fading (ability-fading)
Fear (ability-fear)
First Strike (ability-duels-first-strike)
Flying (ability-duels-flying)
Forestwalk (ability-forestwalk)
Haste (ability-duels-haste)
Haunt (ability-haunt)
Hexproof (ability-duels-hexproof)
Indestructible (ability-duels-indestructible)
Infect (ability-infect)
Ingest (ability-ingest)
Intimidate (ability-intimidate)
Islandwalk (ability-islandwalk)
Legendary (ability-legendary)
Menace (ability-duels-menace)
Monstrous (ability-monstrous)
Mountainwalk (ability-mountainwalk)
Must Attack (ability-must-attack)
Plainswalk (ability-plainswalk)
Prevent Damage (ability-prevent-damage)
Protection from Black (ability-protection-black)
Protection from Blue (ability-protection-blue)
Protection from Green (ability-protection-green)
Protection from Red (ability-protection-red)
Protection from White (ability-protection-white)
Protection (ability-protection)
Rally (ability-rally)
Regenerate (ability-regenerate)
Renowned (ability-renowned)
Shroud (ability-shroud)
Skulk (ability-skulk)
Soulshift (ability-soulshift)
Swampwalk (ability-swampwalk)
Temporary Control (ability-temporary-control)
Totem Armor (ability-totem-armor)
Trample (ability-duels-trample)
Undying (ability-undying)
Vigilance (ability-duels-vigilance)

Guild, Clan, Family, Poleis, and Party Watermarks

Azorius (guild-azorius)
Boros (guild-boros)
Dimir (guild-dimir)
Golgari (guild-golgari)
Gruul (guild-gruul)
Izzet (guild-izzet)
Orzhov (guild-orzhov)
Rakdos (guild-rakdos)
Selesnya (guild-selesnya)
Simic (guild-simic)
Abzan (clan-abzan)
Jeskai (clan-jeskai)
Mardu (clan-mardu)
Sultai (clan-sultai)
Temur (clan-temur)
Atarka (clan-atarka)
Dromoka (clan-dromoka)
Kolaghan (clan-kolaghan)
Ojutai (clan-ojutai)
Silumgar (clan-silumgar)
Brokers (watermark-brokers)
Cabaretti (watermark-cabaretti)
Maestros (watermark-maestros)
Obscura (watermark-obscura)
Riveteers (watermark-riveteers)
Setessa (polis-setessa)
Akros (polis-akros)
Meletis (polis-meletis)
Cleric (party-cleric)
Rogue (party-rogue)
Warrior (party-warrior)
Wizard (party-wizard)

Strixhaven School Symbols

Lorehold (school-lorehold)
Lorehold (duo) (school-lorehold-duo)
Prismari (school-prismari)
Prismari (duo) (school-prismari-duo)
Quandrix (school-quandrix)
Quandrix (duo) (school-quandrix-duo)
Silverquill (school-silverquill)
Silverquill (duo) (school-silverquill-duo)
Witherbloom (school-witherbloom)
Witherbloom (duo) (school-witherbloom-duo)

Other Card Watermarks

Magic: the Gathering (watermark-mtg)
10th Anniversary (watermark-mtg10)
15th Anniversary (watermark-mtg15)
Color Pie (watermark-colorpie)
Desparked (watermark-desparked)
Aesthetic Consultation (watermark-flavor-aestheticconsultation)
Farewell to Arms (watermark-flavor-farewelltoarms)
Mana Screw (watermark-flavor-manascrew)
Monkey Monkey Monkey (watermark-flavor-monkeymonkeymonkey)
Mox Lotus (watermark-flavor-moxlotus)
My First Tome (watermark-flavor-myfirsttome)
Shoe Tree (watermark-flavor-shoetree)
When Fluffy Bunnies Attack (watermark-flavor-whenfluffybunniesattack)
Hero's Path 1 (watermark-herospath-1)
Hero's Path 2 (watermark-herospath-2)
Hero's Path 3 (watermark-herospath-3)
Hero's Path 4 (watermark-herospath-4)
Hero's Path 5 (watermark-herospath-5)
Hero's Path 6 (watermark-herospath-6)
Hero's Path 7 (watermark-herospath-7)
Hero's Path 8 (watermark-herospath-8)
Hero's Path 9 (watermark-herospath-9)
Hero's Path (watermark-herospath)
Mirran (watermark-mirran)
Cutie Mark Gems (watermark-cutiemark-gems)
Cutie Mark Sparkle (watermark-cutiemark-sparkle)
Cutie Mark Waning Moon (watermark-cutiemark-waningmoon)
Cutie Mark Waxing Moon (watermark-cutiemark-waxingmoon)
Cutie Mark Apples (watermark-cutiemark-apples)
Cutie Mark Balloons (watermark-cutiemark-balloons)
Cutie Mark Butterflies (watermark-cutiemark-butterflies)
Cutie Mark Rainbow (watermark-cutiemark-rainbow)
Agents of S.N.E.A.K. (watermark-agentsofsneak)
Crossbreed Labs (watermark-crossbreedlabs)
Goblin Explosioneers (watermark-goblinexplosioneers)
League of Dastardly Doom (watermark-leagueofdastardlydoom)
Order of the Widget (watermark-orderofthewidget)
Conspiracy (watermark-conspiracy)
Judge Academy (watermark-judgeacademy)
Dengeki Maoh (watermark-dengekimaoh)
Coro Coro (watermark-corocoro)
Trump Katsumai (watermark-trumpkatsumai)
Friday Night Magic (watermark-fnm)
Dungeons & Dragons (watermark-dnd)
Transformers (watermark-transformers)
Nerf (watermark-nerf)
MPS (watermark-mps)
Wizards of the Coast (watermark-wotc)
Wizards Play Network (watermark-wpn)
DCI (watermark-dci)
Arena League (watermark-arena)
Grand Prix (watermark-grandprix)
Grand Prix 2 (watermark-grandprix2)
APAC Junior Series (watermark-juniorapac)
Europe Junior Series (watermark-junioreurope)
Junior Super Series (watermark-junior)
Japan Junior Tournament (watermark-japanjunior)
Scholarship Series (watermark-scholarship)
Pro Tour (watermark-protour)
================================================ FILE: docs/index.html ================================================ Mana | Andrew Gioia

Mana

Magic: the Gathering card symbol font

Current version 1.18.0 includes all known mana and card symbols up to Foundations!

Mana is a complete set of scalable vector icons for Magic mana (and other card) symbols. Drop them into your application, website, or custom cards (like this ) and control their size, color, drop shadow, or any dimension just as you would with text!

Using Mana

Each mana/card symbol has its own font character. Display them in a manner similar to Font Awesome using the <i class="ms ..."></i> element. There are class names for each mana color (w, u, b, r, g, c) and for the various symbols that appear on cards (like tap). See the full list of available symbols.

To use Mana, move the font files to your /fonts directory and include the mana.css stylesheet in your <head>:

<link href="css/mana.css" rel="stylesheet" type="text/css" />

New! You can also now use Mana via CDN thanks to the amazing jsDelivr project! You can include the latest version in your project (and note the name is "mana-font"):

<link href="//cdn.jsdelivr.net/npm/mana-font@latest/css/mana.css" rel="stylesheet" type="text/css" />

Insert set symbol icons by using the .ms class and then the mana/symbol code class(es), such as .ms-u for blue mana:

<i class="ms ms-u"></i>

Editing the Source

Feel free to edit the source files and compile Mana to fit your needs. All SVG glyphs are compiled into font files using the wonderful IcoMoon app. For styling, both LESS and Sass are included.

License

Please review the following licenses for each component of Mana:

Attribution is greatly appreciated but not required!

================================================ FILE: index.html ================================================ Mana

Mana

MTG Mana Symbol Demos

This HTML file is for demo purposes and is not necessary for Mana installation or use. You can view all of the mana symbol font icons and the available examples below (casting cost background and increased sizes). Please take a look at the Mana documentation page for the full set of icons, attributes, and usages.

Regular mana symbols

  

Phyrexian, snow, colorless, energy, split, and other costs




Tap and roll symbols

2x size (3-6x also included)

Half mana symbols [Source]

Power, toughness, and other frame symbols

4 / 5        

Un-set mana symbols

Color indicators

 
   

Loyalty symbols

   1-2   

Double-faced card symbols

  

Card Watermarks

Arena Ability Symbols

  

Magic Duels Ability Symbols

Arena Counters

Print/Punch-out Counters

Magic Online Counters

Card type and game zone symbols

  

Guild Symbols

Clan Symbols

  

Strixhaven School Symbols

       

Party Symbols

Poleis Symbols

================================================ FILE: less/colors.less ================================================ // color indicator circles .@{ms-prefix}-ci { // base styles border-radius: 100%; box-shadow: inset 0 0 1px #fff; // to remove spill over line-height: 0.95em; // shifts the border up a touch width: 1em; height: 1em; // set the border color &::before { color: @ms-border-black; } // borders based on number of colors in identity &-1::before { content: "\e98a"; } &-2::before { content: "\e98b"; } &-3::before { content: "\e98c"; } &-4::before { content: "\e98d"; } &-5::before { content: "\e98e"; } // 1 color backgrounds &-w { background: @ms-white; } &-u { background: @ms-blue; } &-b { background: @ms-black; } &-r { background: @ms-red; } &-g { background: @ms-green; } // 2 color backgrounds &-wu, &-uw, &-azorius { background: conic-gradient( @ms-white 45deg, @ms-blue 45deg 225deg, @ms-white 225deg ); } &-wb, &-bw, &-orzhov { background: conic-gradient( @ms-white 45deg, @ms-black 45deg 225deg, @ms-white 225deg ); } &-ub, &-bu, &-dimir { background: conic-gradient( @ms-blue 45deg, @ms-black 45deg 225deg, @ms-blue 225deg ); } &-ur, &-ru, &-izzet { background: conic-gradient( @ms-blue 45deg, @ms-red 45deg 225deg, @ms-blue 225deg ); } &-bg, &-gb, &-golgari, &-rock { background: conic-gradient( @ms-black 45deg, @ms-green 45deg 225deg, @ms-black 225deg ); } &-br, &-rb, &-rakdos { background: conic-gradient( @ms-black 45deg, @ms-red 45deg 225deg, @ms-black 225deg ); } &-rw, &-wr, &-boros { background: conic-gradient( @ms-red 45deg, @ms-white 45deg 225deg, @ms-red 225deg ); } &-rg, &-gr, &-gruul { background: conic-gradient( @ms-red 45deg, @ms-green 45deg 225deg, @ms-red 225deg ); } &-gu, &-ug, &-simic { background: conic-gradient( @ms-green 45deg, @ms-blue 45deg 225deg, @ms-green 225deg ); } &-gw, &-wg, &-selesnya { background: conic-gradient( @ms-green 45deg, @ms-white 45deg 225deg, @ms-green 225deg ); } // 3-color backgrounds &-wug, &-wgu, &-ugw, &-uwg, &-gwu, &-guw, &-bant { background: conic-gradient( @ms-blue 60deg, @ms-green 60deg 180deg, @ms-white 180deg 300deg, @ms-blue 300deg ); } &-ubw, &-uwb, &-buw, &-bwu, &-wub, &-wbu, &-esper { background: conic-gradient( @ms-black 60deg, @ms-white 60deg 180deg, @ms-blue 180deg 300deg, @ms-black 300deg ); } &-bru, &-bur, &-rbu, &-rub, &-ubr, &-urb, &-grixis { background: conic-gradient( @ms-red 60deg, @ms-blue 60deg 180deg, @ms-black 180deg 300deg, @ms-red 300deg ); } &-rgb, &-rbg, &-grb, &-gbr, &-brg, &-bgr, &-jund { background: conic-gradient( @ms-green 60deg, @ms-black 60deg 180deg, @ms-red 180deg 300deg, @ms-green 300deg ); } &-gwr, &-grw, &-wgr, &-wrg, &-rgw, &-rwg, &-naya { background: conic-gradient( @ms-white 60deg, @ms-red 60deg 180deg, @ms-green 180deg 300deg, @ms-white 300deg ); } &-wbg, &-wgb, &-bwg, &-bgw, &-gwb, &-gbw, &-abzan, &-junk, &-necra { background: conic-gradient( @ms-black 60deg, @ms-green 60deg 180deg, @ms-white 180deg 300deg, @ms-black 300deg ); } &-urw, &-uwr, &-ruw, &-rwu, &-wur, &-wru, &-jeskai, &-raka { background: conic-gradient( @ms-red 60deg, @ms-white 60deg 180deg, @ms-blue 180deg 300deg, @ms-red 300deg ); } &-bgu, &-bug, &-gbu, &-gub, &-ubg, &-ugb, &-sultai, &-bug, &-ana { background: conic-gradient( @ms-green 60deg, @ms-blue 60deg 180deg, @ms-black 180deg 300deg, @ms-green 300deg ); } &-rwb, &-rbw, &-wrb, &-wbr, &-brw, &-bwr, &-mardu, &-dega { background: conic-gradient( @ms-white 60deg, @ms-black 60deg 180deg, @ms-red 180deg 300deg, @ms-white 300deg ); } &-gur, &-gru, &-ugr, &-urg, &-rgu, &-rug, &-temur, &-ceta { background: conic-gradient( @ms-blue 60deg, @ms-red 60deg 180deg, @ms-green 180deg 300deg, @ms-blue 300deg ); } // 4 color backgrounds // note: not using aliaes like sass because less is so feature limited &-ubrg, &-glint, &-ubgr, &-ugbr, &-ugrb, &-urbg, &-urgb, &-bgru, &-bgur, &-brgu, &-brug, &-bugr, &-burg, &-gbru, &-gbur, &-grbu, &-grub, &-gubr, &-gurb, &-rbgu, &-rbug, &-rgbu, &-rgub, &-rubg, &-rugb { background: conic-gradient( @ms-blue 45deg, @ms-black 45deg 135deg, @ms-red 135deg 225deg, @ms-green 225deg 315deg, @ms-blue 315deg ); } &-brgw, &-dune, &-bgrw, &-bgwr, &-brwg, &-bwgr, &-bwrg, &-gbrw, &-gbwr, &-grbw, &-grwb, &-gwbr, &-gwrb, &-rbgw, &-rbwg, &-rgbw, &-rgwb, &-rwbg, &-rwgb, &-wbgr, &-wbrg, &-wgbr, &-wgrb, &-wrbg, &-wrgb { background: conic-gradient( @ms-black 45deg, @ms-red 45deg 135deg, @ms-green 135deg 225deg, @ms-white 225deg 315deg, @ms-black 315deg ); } &-rgwu, &-ink, &-gruw, &-grwu, &-gurw, &-guwr, &-gwru, &-gwur, &-rguw, &-rugw, &-ruwg, &-rwgu, &-rwug, &-ugrw, &-ugwr, &-urgw, &-urwg, &-uwgr, &-uwrg, &-wgru, &-wgur, &-wrgu, &-wrug, &-wugr, &-wurg { background: conic-gradient( @ms-red 45deg, @ms-green 45deg 135deg, @ms-white 135deg 225deg, @ms-blue 225deg 315deg, @ms-red 315deg ); } &-gwub, &-witch, &-bguw, &-bgwu, &-bugw, &-buwg, &-bwgu, &-bwug, &-gbuw, &-gbwu, &-gubw, &-guwb, &-gwbu, &-ubgw, &-ubwg, &-ugbw, &-ugwb, &-uwbg, &-uwgb, &-wbgu, &-wbug, &-wgbu, &-wgub, &-wubg, &-wugb { background: conic-gradient( @ms-green 45deg, @ms-white 45deg 135deg, @ms-blue 135deg 225deg, @ms-black 225deg 315deg, @ms-green 315deg ); } &-wubr, &-yore, &-bruw, &-brwu, &-burw, &-buwr, &-bwru, &-bwur, &-rbuw, &-rbwu, &-rubw, &-ruwb, &-rwbu, &-rwub, &-ubrw, &-ubwr, &-urbw, &-urwb, &-uwbr, &-uwrb, &-wbru, &-wbur, &-wrbu, &-wrub, &-wurb { background: conic-gradient( @ms-white 45deg, @ms-blue 45deg 135deg, @ms-black 135deg 225deg, @ms-red 225deg 315deg, @ms-white 315deg ); } // 5 color background &-wubrg, &-5, &-bgruw, &-bgrwu, &-bgurw, &-bguwr, &-bgwru, &-bgwur, &-brguw, &-brgwu, &-brugw, &-bruwg, &-brwgu, &-brwug, &-bugrw, &-bugwr, &-burgw, &-burwg, &-buwgr, &-buwrg, &-bwgru, &-bwgur, &-bwrgu, &-bwrug, &-bwugr, &-bwurg, &-gbruw, &-gbrwu, &-gburw, &-gbuwr, &-gbwru, &-gbwur, &-grbuw, &-grbwu, &-grubw, &-gruwb, &-grwbu, &-grwub, &-gubrw, &-gubwr, &-gurbw, &-gurwb, &-guwbr, &-guwrb, &-gwbru, &-gwbur, &-gwrbu, &-gwrub, &-gwubr, &-gwurb, &-rbguw, &-rbgwu, &-rbugw, &-rbuwg, &-rbwgu, &-rbwug, &-rgbuw, &-rgbwu, &-rgubw, &-rguwb, &-rgwbu, &-rgwub, &-rubgw, &-rubwg, &-rugbw, &-rugwb, &-ruwbg, &-ruwgb, &-rwbgu, &-rwbug, &-rwgbu, &-rwgub, &-rwubg, &-rwugb, &-ubgrw, &-ubgwr, &-ubrgw, &-ubrwg, &-ubwgr, &-ubwrg, &-ugbrw, &-ugbwr, &-ugrbw, &-ugrwb, &-ugwbr, &-ugwrb, &-urbgw, &-urbwg, &-urgbw, &-urgwb, &-urwbg, &-urwgb, &-uwbgr, &-uwbrg, &-uwgbr, &-uwgrb, &-uwrbg, &-uwrgb, &-wbgru, &-wbgur, &-wbrgu, &-wbrug, &-wbugr, &-wburg, &-wgbru, &-wgbur, &-wgrbu, &-wgrub, &-wgubr, &-wgurb, &-wrbgu, &-wrbug, &-wrgbu, &-wrgub, &-wrubg, &-wrugb, &-wubgr, &-wugbr, &-wugrb, &-wurbg, &-wurgb { background: conic-gradient( @ms-white 36deg, @ms-blue 36deg 108deg, @ms-black 108deg 180deg, @ms-red 180deg 252deg, @ms-green 252deg 324deg, @ms-white 324deg ); } } ================================================ FILE: less/core.less ================================================ // base .@{ms-prefix} { display: inline-block; font: normal normal normal @ms-font-size-base/1 Mana; font-size: inherit; line-height: 1em; text-rendering: auto; transform: translate(0, 0); speak: none; text-transform: none; vertical-align: middle; // Better font rendering -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } ================================================ FILE: less/cost.less ================================================ // cost style .@{ms-prefix}-cost { // Base cost styles background-color: @ms-base-colorless; border-radius: 1em; color: #111; font-size: 0.95em; width: 1.3em; height: 1.3em; line-height: 1.35em; text-align: center; // Single symbols &.@{ms-prefix}-w, &.@{ms-prefix}-wp { background-color: @ms-base-white; } &.@{ms-prefix}-u, &.@{ms-prefix}-up { background-color: @ms-base-blue; } &.@{ms-prefix}-b, &.@{ms-prefix}-bp { background-color: @ms-base-black; } &.@{ms-prefix}-r, &.@{ms-prefix}-rp { background-color: @ms-base-red; } &.@{ms-prefix}-g, &.@{ms-prefix}-gp { background-color: @ms-base-green; } // Split symbols &.@{ms-prefix}-wu, &.@{ms-prefix}-wb, &.@{ms-prefix}-ub, &.@{ms-prefix}-ur, &.@{ms-prefix}-br, &.@{ms-prefix}-bg, &.@{ms-prefix}-rw, &.@{ms-prefix}-rg, &.@{ms-prefix}-gw, &.@{ms-prefix}-gu, &.@{ms-prefix}-2w, &.@{ms-prefix}-2u, &.@{ms-prefix}-2b, &.@{ms-prefix}-2r, &.@{ms-prefix}-2g, &.@{ms-prefix}-wup, &.@{ms-prefix}-wbp, &.@{ms-prefix}-ubp, &.@{ms-prefix}-urp, &.@{ms-prefix}-brp, &.@{ms-prefix}-bgp, &.@{ms-prefix}-rwp, &.@{ms-prefix}-rgp, &.@{ms-prefix}-gwp, &.@{ms-prefix}-gup { position: relative; width: 1.3em; height: 1.3em; &::before, &::after { font-size: 0.55em !important; position: absolute; } &::before { top: -0.38em; left: 0.28em; } &::after { top: 0.5em; left: 1.0em; } } &.@{ms-prefix}-wu, &.@{ms-prefix}-wup { background: #edf2b0; // Old browsers background: -moz-linear-gradient(-45deg, #edf2b0 0%, #edf2b0 50%, #a6c1dd 50%, #a6c1dd 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#edf2b0), color-stop(50%,#edf2b0), color-stop(50%,#a6c1dd), color-stop(100%,#a6c1dd)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#a6c1dd 50%,#a6c1dd 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#a6c1dd 50%,#a6c1dd 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#a6c1dd 50%,#a6c1dd 100%); // IE10+ background: linear-gradient(135deg, #edf2b0 0%,#edf2b0 50%,#a6c1dd 50%,#a6c1dd 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edf2b0', endColorstr='#a6c1dd',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-wb, &.@{ms-prefix}-wbp { background: #edf2b0; // Old browsers background: -moz-linear-gradient(-45deg, #edf2b0 0%, #edf2b0 50%, #9c9188 50%, #9c9188 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#edf2b0), color-stop(50%,#edf2b0), color-stop(50%,#9c9188), color-stop(100%,#9c9188)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#9c9188 50%,#9c9188 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#9c9188 50%,#9c9188 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #edf2b0 0%,#edf2b0 50%,#9c9188 50%,#9c9188 100%); // IE10+ background: linear-gradient(135deg, #edf2b0 0%,#edf2b0 50%,#9c9188 50%,#9c9188 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edf2b0', endColorstr='#9c9188',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-ub, &.@{ms-prefix}-ubp { background: #a6c1dd; // Old browsers background: -moz-linear-gradient(-45deg, #a6c1dd 0%, #a6c1dd 50%, #9c9188 50%, #9c9188 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#a6c1dd), color-stop(50%,#a6c1dd), color-stop(50%,#9c9188), color-stop(100%,#9c9188)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#9c9188 50%,#9c9188 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#9c9188 50%,#9c9188 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#9c9188 50%,#9c9188 100%); // IE10+ background: linear-gradient(135deg, #a6c1dd 0%,#a6c1dd 50%,#9c9188 50%,#9c9188 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6c1dd', endColorstr='#9c9188',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-ur, &.@{ms-prefix}-urp { background: #a6c1dd; // Old browsers background: -moz-linear-gradient(-45deg, #a6c1dd 0%, #a6c1dd 50%, #db8664 50%, #db8664 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#a6c1dd), color-stop(50%,#a6c1dd), color-stop(50%,#db8664), color-stop(100%,#db8664)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#db8664 50%,#db8664 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#db8664 50%,#db8664 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #a6c1dd 0%,#a6c1dd 50%,#db8664 50%,#db8664 100%); // IE10+ background: linear-gradient(135deg, #a6c1dd 0%,#a6c1dd 50%,#db8664 50%,#db8664 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6c1dd', endColorstr='#db8664',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-br, &.@{ms-prefix}-brp { background: #aca29a; // Old browsers background: -moz-linear-gradient(-45deg, #aca29a 0%, #aca29a 50%, #db8664 50%, #db8664 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#aca29a), color-stop(50%,#aca29a), color-stop(50%,#db8664), color-stop(100%,#db8664)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#db8664 50%,#db8664 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#db8664 50%,#db8664 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#db8664 50%,#db8664 100%); // IE10+ background: linear-gradient(135deg, #aca29a 0%,#aca29a 50%,#db8664 50%,#db8664 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aca29a', endColorstr='#db8664',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-bg, &.@{ms-prefix}-bgp { background: #aca29a; // Old browsers background: -moz-linear-gradient(-45deg, #aca29a 0%, #aca29a 50%, #93b483 50%, #93b483 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#aca29a), color-stop(50%,#aca29a), color-stop(50%,#93b483), color-stop(100%,#93b483)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#93b483 50%,#93b483 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#93b483 50%,#93b483 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #aca29a 0%,#aca29a 50%,#93b483 50%,#93b483 100%); // IE10+ background: linear-gradient(135deg, #aca29a 0%,#aca29a 50%,#93b483 50%,#93b483 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#aca29a', endColorstr='#93b483',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-rw, &.@{ms-prefix}-rwp { background: #db8664; // Old browsers background: -moz-linear-gradient(-45deg, #db8664 0%, #db8664 50%, #edf2b0 50%, #edf2b0 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#db8664), color-stop(50%,#db8664), color-stop(50%,#edf2b0), color-stop(100%,#edf2b0)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#edf2b0 50%,#edf2b0 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#edf2b0 50%,#edf2b0 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#edf2b0 50%,#edf2b0 100%); // IE10+ background: linear-gradient(135deg, #db8664 0%,#db8664 50%,#edf2b0 50%,#edf2b0 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#db8664', endColorstr='#edf2b0',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-rg, &.@{ms-prefix}-rgp { background: #db8664; // Old browsers background: -moz-linear-gradient(-45deg, #db8664 0%, #db8664 50%, #93b483 50%, #93b483 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#db8664), color-stop(50%,#db8664), color-stop(50%,#93b483), color-stop(100%,#93b483)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#93b483 50%,#93b483 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#93b483 50%,#93b483 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #db8664 0%,#db8664 50%,#93b483 50%,#93b483 100%); // IE10+ background: linear-gradient(135deg, #db8664 0%,#db8664 50%,#93b483 50%,#93b483 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#db8664', endColorstr='#93b483',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-gw, &.@{ms-prefix}-gwp { background: #93b483; // Old browsers background: -moz-linear-gradient(-45deg, #93b483 0%, #93b483 50%, #edf2b0 50%, #edf2b0 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#93b483), color-stop(50%,#93b483), color-stop(50%,#edf2b0), color-stop(100%,#edf2b0)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#edf2b0 50%,#edf2b0 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#edf2b0 50%,#edf2b0 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#edf2b0 50%,#edf2b0 100%); // IE10+ background: linear-gradient(135deg, #93b483 0%,#93b483 50%,#edf2b0 50%,#edf2b0 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#93b483', endColorstr='#edf2b0',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-gu, &.@{ms-prefix}-gup { background: #93b483; // Old browsers background: -moz-linear-gradient(-45deg, #93b483 0%, #93b483 50%, #b5cde3 50%, #b5cde3 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#93b483), color-stop(50%,#93b483), color-stop(50%,#b5cde3), color-stop(100%,#b5cde3)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#b5cde3 50%,#b5cde3 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#b5cde3 50%,#b5cde3 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #93b483 0%,#93b483 50%,#b5cde3 50%,#b5cde3 100%); // IE10+ background: linear-gradient(135deg, #93b483 0%,#93b483 50%,#b5cde3 50%,#b5cde3 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#93b483', endColorstr='#b5cde3',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-2w { background: #beb9b2; // Old browsers background: -moz-linear-gradient(-45deg, #beb9b2 0%, #beb9b2 50%, #edf2b0 50%, #edf2b0 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#beb9b2), color-stop(50%,#beb9b2), color-stop(50%,#edf2b0), color-stop(100%,#edf2b0)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#edf2b0 50%,#edf2b0 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#edf2b0 50%,#edf2b0 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#edf2b0 50%,#edf2b0 100%); // IE10+ background: linear-gradient(135deg, #beb9b2 0%,#beb9b2 50%,#edf2b0 50%,#edf2b0 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#beb9b2', endColorstr='#edf2b0',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-2u { background: #beb9b2; // Old browsers background: -moz-linear-gradient(-45deg, #beb9b2 0%, #beb9b2 50%, #b5cde3 50%, #b5cde3 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#beb9b2), color-stop(50%,#beb9b2), color-stop(50%,#b5cde3), color-stop(100%,#b5cde3)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#b5cde3 50%,#b5cde3 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#b5cde3 50%,#b5cde3 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#b5cde3 50%,#b5cde3 100%); // IE10+ background: linear-gradient(135deg, #beb9b2 0%,#beb9b2 50%,#b5cde3 50%,#b5cde3 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#beb9b2', endColorstr='#b5cde3',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-2b { background: #beb9b2; // Old browsers background: -moz-linear-gradient(-45deg, #beb9b2 0%, #beb9b2 50%, #9c9188 50%, #9c9188 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#beb9b2), color-stop(50%,#beb9b2), color-stop(50%,#9c9188), color-stop(100%,#9c9188)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#9c9188 50%,#9c9188 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#9c9188 50%,#9c9188 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#9c9188 50%,#9c9188 100%); // IE10+ background: linear-gradient(135deg, #beb9b2 0%,#beb9b2 50%,#9c9188 50%,#9c9188 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#beb9b2', endColorstr='#9c9188',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-2r { background: #beb9b2; // Old browsers background: -moz-linear-gradient(-45deg, #beb9b2 0%, #beb9b2 50%, #db8664 50%, #db8664 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#beb9b2), color-stop(50%,#beb9b2), color-stop(50%,#db8664), color-stop(100%,#db8664)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#db8664 50%,#db8664 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#db8664 50%,#db8664 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#db8664 50%,#db8664 100%); // IE10+ background: linear-gradient(135deg, #beb9b2 0%,#beb9b2 50%,#db8664 50%,#db8664 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#beb9b2', endColorstr='#db8664',GradientType=1 ); // IE6-9 fallback on horizontal gradient } &.@{ms-prefix}-2g { background: #beb9b2; // Old browsers background: -moz-linear-gradient(-45deg, #beb9b2 0%, #beb9b2 50%, #93b483 50%, #93b483 100%); // FF3.6+ background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#beb9b2), color-stop(50%,#beb9b2), color-stop(50%,#93b483), color-stop(100%,#93b483)); // Chrome,Safari4+ background: -webkit-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#93b483 50%,#93b483 100%); // Chrome10+,Safari5.1+ background: -o-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#93b483 50%,#93b483 100%); // Opera 11.10+ background: -ms-linear-gradient(-45deg, #beb9b2 0%,#beb9b2 50%,#93b483 50%,#93b483 100%); // IE10+ background: linear-gradient(135deg, #beb9b2 0%,#beb9b2 50%,#93b483 50%,#93b483 100%); // W3C filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#beb9b2', endColorstr='#93b483',GradientType=1 ); // IE6-9 fallback on horizontal gradient } // phyrexian mana size increases &.@{ms-prefix}-p::before, &.@{ms-prefix}-wp::before, &.@{ms-prefix}-up::before, &.@{ms-prefix}-bp::before, &.@{ms-prefix}-rp::before, &.@{ms-prefix}-gp::before, &.@{ms-prefix}-wup::before, &.@{ms-prefix}-wbp::before, &.@{ms-prefix}-ubp::before, &.@{ms-prefix}-urp::before, &.@{ms-prefix}-brp::before, &.@{ms-prefix}-bgp::before, &.@{ms-prefix}-rwp::before, &.@{ms-prefix}-rgp::before, &.@{ms-prefix}-gwp::before, &.@{ms-prefix}-gup::before { display: inline-block; -moz-transform: scale( 1.2, 1.2 ); -webkit-transform: scale( 1.2, 1.2 ); transform: scale( 1.2, 1.2 ); } // Alternate tap &.@{ms-prefix}-tap-alt::before { display: inline-block; -moz-transform: scale( 1.2, 1.2 ); -webkit-transform: scale( 1.2, 1.2 ); transform: scale( 1.2, 1.2 ); padding-left: .06em; padding-bottom: 0.10em; } // Snow mana &.@{ms-prefix}-s { &::before { color: #fff; -webkit-text-stroke: 2px #fff; font-size: 0.85em; top: -0.05em; position: relative; display: inline-block; } &::after { //text-shadow: -1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, 1px 1px 0 #fff; content: "\e619"; position: absolute; color: #333; margin-left: -0.9em; font-size: 1.1em; } &-mtga::before { color: #fff; } } // Tap symbols &.@{ms-prefix}-untap { background-color: #111; color: #fff; } // Shadow &.@{ms-prefix}-shadow { box-shadow: -0.06em 0.07em 0 #111, 0 0.06em 0 #111; &.@{ms-prefix}-untap { box-shadow: -0.06em 0.07em 0 #fff, 0 0.06em 0 #fff; } } } /** * Split costs (separate handling) */ .@{ms-prefix}-split { position: relative; width: 1.3em; height: 1.3em; } .@{ms-prefix}-split::before, .@{ms-prefix}-split::after { font-size: 0.55em !important; position: absolute; } .@{ms-prefix}-split::before { top: -0.38em; left: 0.28em; } .@{ms-prefix}-split::after { top: 0.5em; left: 1.0em; } /** * Half costs */ // Legacy handling with tag span.@{ms-prefix}-half { width: .675em; overflow: hidden; display: inline-block; margin-left: .675em; > .@{ms-prefix}-cost { margin-left: -.675em; } } // New single-element handling! .@{ms-prefix}-half { width: .675em; margin-left: .675em; overflow: hidden; border-radius: 0 1em 1em 0; &::before { margin-left: -.65em; } } /** * Un-set costs */ .@{ms-prefix}-100 { width: 2.4em; } .@{ms-prefix}-1000000 { width: 5.4em; } ================================================ FILE: less/dfc.less ================================================ // double faced cards .@{ms-prefix}-dfc { color: #111; border: .05em solid #111; border-radius: 2em; padding: 0.025em; } ================================================ FILE: less/duo.less ================================================ // dual-layered symbol handling .@{ms-prefix}-duo { // base border styles &::after { color: #000; content: ''; display: block; font-size: 1em; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } // set default inner to black unless we're adding color to the background color: #fff; // multicolor symbol &.@{ms-prefix}-multicolor::after { content: "\e986"; } // strixhaven schools &.@{ms-prefix}-school { &-lorehold::after { content: "\e99b"; } &-prismari::after { content: "\e99d"; } &-quandrix::after { content: "\e99f"; } &-silverquill::after { content: "\e9a1"; } &-witherbloom { &::before { content: "\e9a3"; } &::after { content: "\e9a4"; } } } // colorized versions &-color { // default outer color &::before { color: @ms-border-black; } // multicolor &.@{ms-prefix}-multicolor { &::after { color: @ms-multicolor-flat; } &.@{ms-prefix}-grad::after { background: @ms-multicolor-grad; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } } // strixhaven schools &.@{ms-prefix}-school { &-lorehold { &::before { color: #a03731; } &::after { color: #e4e8c7; } } &-prismari { &::before { color: #a23431; } &::after { color: #322f5c; } } &-quandrix { &::before { color: #352e5f; } &::after { color: #519e52; } } &-silverquill { &::before { color: #181616; } &::after { color: #e5e9ca; } } &-witherbloom { &::before { color: #2f312d; } &::after { color: #4f9b4f; } } } } } ================================================ FILE: less/extras.less ================================================ // evergreen ability coloring .@{ms-prefix}-mechanic { background: @ms-ability-grad; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } ================================================ FILE: less/icons.less ================================================ // symbols .@{ms-prefix} { // resources &-w::before { content: "\e600"; } &-w-original::before { content: "\e997"; } &-w-list::before { content: "\e998"; } &-u::before { content: "\e601"; } &-b::before { content: "\e602"; } &-r::before { content: "\e603"; } &-g::before { content: "\e604"; } &-0::before { content: "\e605"; } &-1::before { content: "\e606"; } &-2::before { content: "\e607"; } &-3::before { content: "\e608"; } &-4::before { content: "\e609"; } &-5::before { content: "\e60a"; } &-6::before { content: "\e60b"; } &-7::before { content: "\e60c"; } &-8::before { content: "\e60d"; } &-9::before { content: "\e60e"; } &-10::before { content: "\e60f"; } &-11::before { content: "\e610"; } &-12::before { content: "\e611"; } &-13::before { content: "\e612"; } &-14::before { content: "\e613"; } &-15::before { content: "\e614"; } &-16::before { content: "\e62a"; } &-17::before { content: "\e62b"; } &-18::before { content: "\e62c"; } &-19::before { content: "\e62d"; } &-20::before { content: "\e62e"; } &-x::before { content: "\e615"; } &-y::before { content: "\e616"; } &-z::before { content: "\e617"; } &-p::before { content: "\e618"; } &-s::before { content: "\e619"; } &-s-mtga::before { content: "\e996"; } &-c::before { content: "\e904"; } &-e::before, &-energy::before{ content: "\e907"; } &-acorn::before { content: "\e929"; } &-ticket::before, &-tk::before { content: "\e9c4"; } &-1-2::before { content: "\e902"; } &-infinity::before { content: "\e903"; } // tap/roll &-tap::before { content: "\e61a"; } &-untap::before { content: "\e61b"; } &-tap-alt::before { content: "\e61c"; } &-chaos::before { content: "\e61d"; } // card types &-artifact::before { content: "\e61e"; } &-battle::before { content: "\e9d1"; } &-battle-siege::before { content: "\e9d2"; } &-commander::before { content: "\e9c6"; } &-conspiracy::before { content: "\e972"; } &-creature::before { content: "\e61f"; } &-enchantment::before { content: "\e620"; } &-instant::before { content: "\e621"; } &-land::before { content: "\e622"; } &-multicolor::before { content: "\e985"; } &-phenomenon::before { content: "\e96e"; } &-plane::before { content: "\e96f"; } &-planeswalker::before { content: "\e623"; } &-rarity::before { content: "\e96c"; } &-saga::before { content: "\e92a"; } &-scheme::before { content: "\e970"; } &-sorcery::before { content: "\e624"; } &-token::before { content: "\e96d"; } &-tribal::before, &-multiple::before { content: "\e925"; } &-vanguard::before { content: "\e971"; } // zones &-hand::before { content: "\e9ca"; } &-library::before { content: "\e9cb"; } &-graveyard::before { content: "\e9cc"; } &-exile::before { content: "\e9cd"; } // splits &-wu::before, &-wb::before, &-rw::after, &-gw::after, &-2w::after { content: "\e600"; } // white &-ub::before, &-ur::before, &-wu::after, &-gu::after, &-2u::after { content: "\e601"; } // blue &-br::before, &-bg::before, &-wb::after, &-ub::after, &-2b::after { content: "\e602"; } // black &-rw::before, &-rg::before, &-ur::after, &-br::after, &-2r::after { content: "\e603"; } // red &-gw::before, &-gu::before, &-bg::after, &-rg::after, &-2g::after { content: "\e604"; } // green &-2w::before, &-2u::before, &-2b::before, &-2r::before, &-2g::before { content: "\e607"; } // 2 // phyrexian splits &-wp::before, &-up::before, &-bp::before, &-rp::before, &-gp::before, &-wup::before, &-wup::after, &-wbp::before, &-wbp::after, &-ubp::before, &-ubp::after, &-urp::before, &-urp::after, &-brp::before, &-brp::after, &-bgp::before, &-bgp::after, &-rwp::before, &-rwp::after, &-rgp::before, &-rgp::after, &-gwp::before, &-gwp::after, &-gup::before, &-gup::after { content: "\e618"; } // p/p // un-sets &-100::before { content: "\e900"; } &-1000000::before { content: "\e901"; } // loyalty &-loyalty { &-up::before { content: "\e627"; } // Up &-down::before { content: "\e625"; } // Down &-zero::before { content: "\e626"; } // Zero &-start::before { content: "\e628"; } // Start } &-defense { &::before { content: "\e9d7"; } &-border::before { content: "\e9d8"; } } // levelers &-level { &::before { content: "\e9c7"; } &::after { content: "\e9c8"; } } // double-faced cards &-dfc { &-back::before { content: "\e9d4"; } &-day::before { content: "\e906"; } &-emrakul::before { content: "\e90a"; } &-enchantment::before { content: "\e920"; } &-facedown::before { content: "\e9d6"; } &-front::before { content: "\e9d3"; } &-ignite::before { content: "\e908"; } &-land::before { content: "\e9c5"; } &-lesson::before { content: "\e98f"; } &-meld::before { content: "\e9d5"; } &-modal-back::before { content: "\e984"; } &-modal-face::before { content: "\e983"; } &-moon::before { content: "\e90b"; } &-night::before { content: "\e905"; } &-saga::before { content: "\e9cf"; } &-saga-creature::before { content: "\e9d0"; } &-spark::before { content: "\e909"; } } // other card elements &-flashback::before { content: "\e629"; } &-power::before { content: "\e921"; } &-toughness::before { content: "\e922"; } &-artist { &-brush::before { content: "\e923"; } &-nib::before { content: "\e924"; } } // guilds/clans/poleis &-guild{ &-azorius::before { content: "\e90c"; } &-boros::before { content: "\e90d"; } &-dimir::before { content: "\e90e"; } &-golgari::before { content: "\e90f"; } &-gruul::before { content: "\e910"; } &-izzet::before { content: "\e911"; } &-orzhov::before { content: "\e912"; } &-rakdos::before { content: "\e913"; } &-selesnya::before { content: "\e914"; } &-simic::before { content: "\e915"; } } &-clan { &-abzan::before { content: "\e916"; } &-jeskai::before { content: "\e917"; } &-mardu::before { content: "\e918"; } &-sultai::before { content: "\e919"; } &-temur::before { content: "\e91a"; } &-atarka::before { content: "\e91b"; } &-dromoka::before { content: "\e91c"; } &-kolaghan::before { content: "\e91d"; } &-ojutai::before { content: "\e91e"; } &-silumgar::before { content: "\e91f"; } } &-polis { &-setessa::before { content: "\e926"; } &-akros::before { content: "\e927"; } &-meletis::before { content: "\e928"; } } &-school { &-lorehold::before { content: "\e99a"; } &-prismari::before { content: "\e99c"; } &-quandrix::before { content: "\e99e"; } &-silverquill::before { content: "\e9a0"; } &-witherbloom::before { content: "\e9a2"; } } // counters &-counter { &-arrow::before { content: "\e92b"; } &-brick::before { content: "\e92c"; } &-charge::before { content: "\e92d"; } &-damage::before { content: "\e9dd"; } // same as original enrage &-devotion::before { content: "\e92e"; } &-doom::before { content: "\e92f"; } &-echo::before { content: "\e930"; } &-flame::before { content: "\e931"; } &-flood::before { content: "\e932"; } &-fungus::before { content: "\e933"; } &-gold::before { content: "\e934"; } &-ki::before { content: "\e935"; } &-lore::before { content: "\e936"; } &-loyalty::before { content: "\e937"; } &-mining::before { content: "\e938"; } &-minus::before { content: "\e939"; } &-muster::before { content: "\e93a"; } &-paw::before { content: "\e93b"; } &-pin::before { content: "\e93c"; } &-plus::before { content: "\e93d"; } &-scream::before { content: "\e93e"; } &-skeleton::before { content: "\e93f"; } &-skull::before { content: "\e940"; } &-slime::before { content: "\e941"; } &-time::before { content: "\e942"; } &-minus-uneven::before { content: "\e943"; } &-plus-uneven::before { content: "\e944"; } &-verse::before { content: "\e945"; } &-void::before { content: "\e9ec"; } &-vortex::before { content: "\e946"; } // arena &-shield::before { content: "\e9c3"; } &-stun::before { content: "\e9c2"; } } // abilities &-ability { &-activated::before, &-crew::before, &-cycling::before { content: "\e947"; } &-adamant::before { content: "\e974"; } &-adapt::before { content: "\e975"; } &-addendum::before { content: "\e976"; } &-adventure::before { content: "\e948"; } &-afflict::before { content: "\e977"; } &-afterlife::before { content: "\e978"; } &-aftermath::before { content: "\e979"; } &-alliance::before { content: "\e9b5"; } &-amass { &-orcs::before { content: "\e9e0"; } &-zombies::before, &::before { content: "\e97a"; } } &-ascend::before { content: "\e94a"; } &-backup::before { content: "\e9d9"; } &-bargain::before { content: "\e9e2"; } &-blitz::before { content: "\e9b4"; } &-boast::before { content: "\e991"; } &-casualty::before { content: "\e9b7"; } &-celebration::before { content: "\e9e3"; } &-changeling::before { content: "\e9a6"; } &-channel::before { content: "\e9b1"; } &-cleave::before { content: "\e9ad"; } &-combat-condition::before { content: "\e9ce"; } &-companion::before { content: "\e97b"; } &-constellation::before { content: "\e97c"; } &-convoke { &-original::before { content: "\e949"; } &::before { content: "\e9da"; } } &-corrupted::before { content: "\e9c0"; } &-coven::before { content: "\e9aa"; } &-d20::before { content: "\e999"; } &-day-night::before { content: "\e9a8"; } &-daybound-nightbound::before { content: "\e9a9"; } &-deathtouch::before { content: "\e94b"; } &-decayed::before { content: "\e9ac"; } &-defender::before { content: "\e94c"; } &-devotion::before { content: "\e97d"; } &-disturb::before { content: "\e9ae"; } &-domain::before { content: "\e9a7"; } &-double-strike::before { content: "\e94d"; } &-dungeon::before { content: "\e995"; } &-embalm::before { content: "\e97e"; } &-enlist::before { content: "\e9ba"; } &-enrage { &::before { content: "\e9dc"; } &-original::before { content: "\e94e"; } } &-escape::before { content: "\e969"; } &-eternalize::before { content: "\e97f"; } &-exploit::before { content: "\e9af"; } &-explore::before { content: "\e94f"; } &-fabricate::before { content: "\e9a5"; } &-first-strike::before { content: "\e950"; } &-flash::before { content: "\e951"; } &-flying::before { content: "\e952"; } &-for-mirrodin::before { content: "\e9c1"; } &-foretell::before { content: "\e990"; } &-goad::before { content: "\e9c9"; } &-haste::before { content: "\e953"; } &-hexproof { &::before { content: "\e954"; } &-black::before { content: "\e955"; } &-blue::before { content: "\e956"; } &-green::before { content: "\e957"; } &-red::before { content: "\e958"; } &-white::before { content: "\e959"; } } &-hideaway::before { content: "\e9b8"; } &-improvise::before { content: "\e9de"; } &-incubate::before { content: "\e9db"; } &-indestructible::before { content: "\e95a"; } &-investigate::before { content: "\e9ab"; } &-jumpstart::before { content: "\e95b"; } &-kicker::before { content: "\e989"; } &-landfall::before { content: "\e988"; } &-learn::before { content: "\e994"; } &-lifelink::before { content: "\e95c"; } &-magecraft::before { content: "\e993"; } &-meld::before { content: "\e9bd"; } &-menace::before { content: "\e95d"; } &-mentor::before { content: "\e95e"; } &-mutate::before { content: "\e980"; } &-ninjutsu::before { content: "\e9b2"; } &-obscura::before { content: "\e9b6"; } &-party::before { content: "\e987"; } &-phyrexian::before { content: "\e618"; } &-proliferate::before { content: "\e981"; } &-prototype::before { content: "\e9be"; } &-prowess::before { content: "\e982"; } &-raid::before { content: "\e95f"; } &-reach::before { content: "\e960"; } &-read-ahead::before { content: "\e9b9"; } &-reconfigure::before { content: "\e9b3"; } &-revolt::before { content: "\e961"; } &-ring-bearer::before { content: "\e9df"; } &-riot::before { content: "\e973"; } &-role { &-cursed::before { content: "\e9e6"; } &-monster::before { content: "\e9e7"; } &-royal::before { content: "\e9e8"; } &-sorceror::before { content: "\e9e9"; } &-wicked::before { content: "\e9ea"; } &-young-hero::before { content: "\e9eb"; } } &-specialize::before { content: "\e9bb"; } &-spectacle::before { content: "\e96b"; } &-static::before, &-enchant::before { content: "\e962"; } &-summoning-sickness::before { content: "\e96a"; } &-surveil::before { content: "\e963"; } &-the-ring-tempts-you::before { content: "\e9e1"; } &-toxic::before { content: "\e9bf"; } &-training::before { content: "\e9b0"; } &-trample::before { content: "\e964"; } &-transform::before { content: "\e965"; } &-triggered::before { content: "\e966"; } &-undergrowth::before { content: "\e967"; } &-unearth::before { content: "\e9bc"; } &-vigilance::before { content: "\e968"; } &-ward::before { content: "\e992"; } // arena card-specific ability symbols &-haktos-the-unscarred::before { content: "\e9e4"; } &-robber-of-the-rich::before { content: "\e9e5"; } } // watermarks &-watermark { &-agentsofsneak::before { content: "\ea08"; } &-arena::before { content: "\ea1e"; } &-brokers::before { content: "\ea0d"; } &-cabaretti::before { content: "\ea0e"; } &-colorpie::before { content: "\e9f0"; } &-conspiracy::before { content: "\ea12"; } &-corocoro::before { content: "\ea15"; } &-crossbreedlabs::before { content: "\ea09"; } &-dci::before { content: "\ea1d"; } &-dengekimaoh::before { content: "\ea14"; } &-desparked::before { content: "\e9f1"; } &-dnd::before { content: "\ea17"; } &-flavor { &-aestheticconsultation::before { content: "\e9f2"; } &-farewelltoarms::before { content: "\e9f3"; } &-monkeymonkeymonkey::before { content: "\e9f4"; } &-moxlotus::before { content: "\e9f5"; } &-myfirsttome::before { content: "\e9f6"; } &-shoetree::before { content: "\e9f7"; } &-whenfluffybunniesattack::before { content: "\e9f8"; } } &-fnm::before { content: "\ea16"; } &-goblinexplosioneers::before { content: "\ea0a"; } &-grandprix::before { content: "\ea1f"; } &-grandprix2::before { content: "\ea20"; } &-herospath { &::before { content: "\ea02"; } &-1::before { content: "\e9f9"; } &-2::before { content: "\e9fa"; } &-3::before { content: "\e9fb"; } &-4::before { content: "\e9fc"; } &-5::before { content: "\e9fd"; } &-6::before { content: "\e9fe"; } &-7::before { content: "\e9ff"; } &-8::before { content: "\ea00"; } &-9::before { content: "\ea01"; } } &-japanjunior::before { content: "\ea24"; } &-judgeacademy::before { content: "\ea13"; } &-junior::before { content: "\ea23"; } &-juniorapac::before { content: "\ea21"; } &-junioreurope::before { content: "\ea22"; } &-leagueofdastardlydoom::before { content: "\ea0b"; } &-maestros::before { content: "\ea0f"; } &-mirran::before { content: "\ea03"; } &-cutiemark { &-apples::before { content: "\ea27"; } &-balloons::before { content: "\ea28"; } &-butterflies::before { content: "\ea29"; } &-gems::before { content: "\ea04"; } &-rainbow::before { content: "\ea2a"; } &-sparkle::before { content: "\ea05"; } &-waningmoon::before { content: "\ea06"; } &-waxingmoon::before { content: "\ea07"; } } &-mps::before { content: "\ea1a"; } &-mtg::before { content: "\e9ed"; } &-mtg10::before { content: "\e9ee"; } &-mtg15::before { content: "\e9ef"; } &-nerf::before { content: "\ea19"; } &-obscura::before { content: "\ea10"; } &-orderofthewidget::before { content: "\ea0c"; } &-protour::before { content: "\ea26"; } &-riveteers::before { content: "\ea11"; } &-scholarship::before { content: "\ea25"; } &-transformers::before { content: "\ea18"; } &-wotc::before { content: "\ea1b"; } &-wpn::before { content: "\ea1c"; } } } ================================================ FILE: less/loyalty.less ================================================ /** * planeswalker and other loyalty symbols */ .@{ms-prefix}-loyalty { // all &-up, &-down, &-zero, &-start { color: #111; font-size: 1.5em; position: relative; text-align: center; } // variant alterations &-start { font-size: 2.0em; // increase the size a bit by default } &-zero::after { line-height: 2.1em !important; // slight correction } // base styles for counters &-0::after, &-1::after, &-2::after, &-3::after, &-4::after, &-5::after, &-6::after, &-7::after, &-8::after, &-9::after, &-10::after, &-11::after, &-12::after, &-13::after, &-14::after, &-15::after, &-16::after, &-17::after, &-18::after, &-19::after, &-20::after, &-25::after, &-x::after { color: #fff; display: inline-block; font-size: 0.5em; font-family: @ms-serif-font; position: absolute; left: 0; line-height: 2.25em; width: 100%; text-align: center; } &-0::after { content: "0"; } &-up { &.@{ms-prefix}-loyalty-1::after { content: "+1"; } &.@{ms-prefix}-loyalty-2::after { content: "+2"; } &.@{ms-prefix}-loyalty-3::after { content: "+3"; } &.@{ms-prefix}-loyalty-4::after { content: "+4"; } &.@{ms-prefix}-loyalty-5::after { content: "+5"; } &.@{ms-prefix}-loyalty-6::after { content: "+6"; } &.@{ms-prefix}-loyalty-7::after { content: "+7"; } &.@{ms-prefix}-loyalty-8::after { content: "+8"; } &.@{ms-prefix}-loyalty-9::after { content: "+9"; } &.@{ms-prefix}-loyalty-10::after { content: "+10"; } &.@{ms-prefix}-loyalty-11::after { content: "+11"; } &.@{ms-prefix}-loyalty-12::after { content: "+12"; } &.@{ms-prefix}-loyalty-13::after { content: "+13"; } &.@{ms-prefix}-loyalty-14::after { content: "+14"; } &.@{ms-prefix}-loyalty-15::after { content: "+15"; } &.@{ms-prefix}-loyalty-16::after { content: "+16"; } &.@{ms-prefix}-loyalty-17::after { content: "+17"; } &.@{ms-prefix}-loyalty-18::after { content: "+18"; } &.@{ms-prefix}-loyalty-19::after { content: "+19"; } &.@{ms-prefix}-loyalty-20::after { content: "+20"; } &.@{ms-prefix}-loyalty-25::after { content: "+25"; } &.@{ms-prefix}-loyalty-x::after { content: "+X"; } } &-start { &.@{ms-prefix}-loyalty-1::after { content: "1"; } &.@{ms-prefix}-loyalty-2::after { content: "2"; } &.@{ms-prefix}-loyalty-3::after { content: "3"; } &.@{ms-prefix}-loyalty-4::after { content: "4"; } &.@{ms-prefix}-loyalty-5::after { content: "5"; } &.@{ms-prefix}-loyalty-6::after { content: "6"; } &.@{ms-prefix}-loyalty-7::after { content: "7"; } &.@{ms-prefix}-loyalty-8::after { content: "8"; } &.@{ms-prefix}-loyalty-9::after { content: "9"; } &.@{ms-prefix}-loyalty-10::after { content: "10"; } &.@{ms-prefix}-loyalty-11::after { content: "11"; } &.@{ms-prefix}-loyalty-12::after { content: "12"; } &.@{ms-prefix}-loyalty-13::after { content: "13"; } &.@{ms-prefix}-loyalty-14::after { content: "14"; } &.@{ms-prefix}-loyalty-15::after { content: "15"; } &.@{ms-prefix}-loyalty-16::after { content: "16"; } &.@{ms-prefix}-loyalty-17::after { content: "17"; } &.@{ms-prefix}-loyalty-18::after { content: "18"; } &.@{ms-prefix}-loyalty-19::after { content: "19"; } &.@{ms-prefix}-loyalty-20::after { content: "20"; } &.@{ms-prefix}-loyalty-25::after { content: "25"; } &.@{ms-prefix}-loyalty-x::after { content: "X"; } } &-down { &::after{ line-height: 2.0em; } &.@{ms-prefix}-loyalty-1::after { content: "-1"; } &.@{ms-prefix}-loyalty-2::after { content: "-2"; } &.@{ms-prefix}-loyalty-3::after { content: "-3"; } &.@{ms-prefix}-loyalty-4::after { content: "-4"; } &.@{ms-prefix}-loyalty-5::after { content: "-5"; } &.@{ms-prefix}-loyalty-6::after { content: "-6"; } &.@{ms-prefix}-loyalty-7::after { content: "-7"; } &.@{ms-prefix}-loyalty-8::after { content: "-8"; } &.@{ms-prefix}-loyalty-9::after { content: "-9"; } &.@{ms-prefix}-loyalty-10::after { content: "-10"; } &.@{ms-prefix}-loyalty-11::after { content: "-11"; } &.@{ms-prefix}-loyalty-12::after { content: "-12"; } &.@{ms-prefix}-loyalty-13::after { content: "-13"; } &.@{ms-prefix}-loyalty-14::after { content: "-14"; } &.@{ms-prefix}-loyalty-15::after { content: "-15"; } &.@{ms-prefix}-loyalty-16::after { content: "-16"; } &.@{ms-prefix}-loyalty-17::after { content: "-17"; } &.@{ms-prefix}-loyalty-18::after { content: "-18"; } &.@{ms-prefix}-loyalty-19::after { content: "-19"; } &.@{ms-prefix}-loyalty-20::after { content: "-20"; } &.@{ms-prefix}-loyalty-25::after { content: "-25"; } &.@{ms-prefix}-loyalty-x::after { content: "-X"; } } // outline style for card text &-outline { &::before { color: transparent; -webkit-text-stroke: 0.03em #111; } &::after { color: #111; } // correction for starting loyalty size &.@{ms-prefix}-loyalty-start { font-size: 1.6em; } } } // saga loyalty .@{ms-prefix}-saga { // all color: #111; // numbers &-1::after, &-2::after, &-3::after, &-4::after, &-5::after, &-6::after { color: #fff; display: inline-block; font-size: 0.6em; font-family: @ms-serif-font; position: absolute; left: 0; line-height: 2.0em; width: 100%; text-align: center; } &-1::after { content: "I"; } &-2::after { content: "II"; } &-3::after { content: "III"; } &-4::after { content: "IV"; } &-5::after { content: "V"; } &-6::after { content: "VI"; } } // level card levels .@{ms-prefix}-level { // level numbers must be in a span for now unfortunately > span { font-size: 0.33em; position: absolute; left: 0; top: 0; color: #000; font-family: @ms-serif-font; width: 76%; text-align: center; line-height: 3.8; } // alt border similar to duo handling &::after { color: rgba(0,0,0,0.25); display: block; font-size: 1em; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } } // defense loyalty .@{ms-prefix}-defense { color: #111; font-size: 1.5em; position: relative; text-align: center; // base styles for counters &-0::after, &-1::after, &-2::after, &-3::after, &-4::after, &-5::after, &-6::after, &-7::after, &-8::after, &-9::after, &-10::after, &-11::after, &-12::after, &-13::after, &-14::after, &-15::after, &-16::after, &-17::after, &-18::after, &-19::after, &-20::after, &-25::after, &-x::after { color: #fff; display: inline-block; font-size: 0.5em; font-family: @ms-serif-font; position: absolute; left: 0; line-height: 2.25em; width: 100%; text-align: center; } // values &-0::after { content: "0"; } &-1::after { content: "1"; } &-2::after { content: "2"; } &-3::after { content: "3"; } &-4::after { content: "4"; } &-5::after { content: "5"; } &-6::after { content: "6"; } &-7::after { content: "7"; } &-8::after { content: "8"; } &-9::after { content: "9"; } &-10::after { content: "10"; } &-11::after { content: "11"; } &-12::after { content: "12"; } &-13::after { content: "13"; } &-14::after { content: "14"; } &-15::after { content: "15"; } &-16::after { content: "16"; } &-17::after { content: "17"; } &-18::after { content: "18"; } &-19::after { content: "19"; } &-20::after { content: "20"; } &-25::after { content: "25"; } // outline version &-outline { &::before { content: "\e9d8"; } &::after { color: #111; } } // experimental third layer for the border &-print { display: list-item; list-style-position: inside; width: 0.9em; &::before { color: #fff; content: "\e9d8"; position: absolute; left: 0; top: 0; text-shadow: 0 0 5px #333; } &::marker { content: "\e9d7"; color: #111; } } } ================================================ FILE: less/mana.less ================================================ @import "variables.less"; @import "path.less"; @import "core.less"; @import "icons.less"; @import "cost.less"; @import "loyalty.less"; @import "dfc.less"; @import "sizes.less"; @import "duo.less"; @import "colors.less"; @import "extras.less"; ================================================ FILE: less/path.less ================================================ // fonts @font-face { font-family: 'Mana'; src:url( '@{ms-font-path}/mana.eot?v=@{ms-version}' ); src:url( '@{ms-font-path}/mana.eot?#iefix&v=@{ms-version}') format( 'embedded-opentype' ), url( '@{ms-font-path}/mana.woff?v=@{ms-version}') format( 'woff' ), url( '@{ms-font-path}/mana.ttf?v=@{ms-version}') format( 'truetype' ), url( '@{ms-font-path}/mana.svg?v=@{ms-version}#mana') format( 'svg' ); font-weight: normal; font-style: normal; } @font-face { font-family: 'MPlantin'; src:url( '@{ms-font-path}/mplantin.eot?v=@{ms-version}' ); src:url( '@{ms-font-path}/mplantin.eot?#iefix&v=@{ms-version}') format( 'embedded-opentype' ), url( '@{ms-font-path}/mplantin.woff?v=@{ms-version}') format( 'woff' ), url( '@{ms-font-path}/mplantin.ttf?v=@{ms-version}') format( 'truetype' ), url( '@{ms-font-path}/mplantin.svg?v=@{ms-version}#mplantin') format( 'svg' ); font-weight: normal; font-style: normal; } ================================================ FILE: less/sizes.less ================================================ /* * Larger sizes */ .@{ms-prefix}-2x { font-size: 1.75em; } .@{ms-prefix}-3x { font-size: 2.25em; } .@{ms-prefix}-4x { font-size: 3.0em; } .@{ms-prefix}-5x { font-size: 3.75em; } .@{ms-prefix}-6x { font-size: 4.5em; } /* * Fixed width */ .@{ms-prefix}-fw { width: 1em; text-align: center; } ================================================ FILE: less/variables.less ================================================ // base variables @ms-font-path: '../fonts'; @ms-version: '1.16.0'; @ms-font-size-base: 14px; @ms-prefix: ms; @ms-serif-font: MPlantin, Garamond, Palatino, 'Times New Roman', Times, serif; // mana colors @ms-border-black: #010101; @ms-base-colorless: #beb9b2; @ms-base-white: #f0f2c0; @ms-base-blue: #b5cde3; @ms-base-black: #aca29a; @ms-base-red: #db8664; @ms-base-green: #93b483; @ms-white: #fff; @ms-blue: #3b6ba0; @ms-black: #383431; @ms-red: #c6553e; @ms-green: #3d684b; // project colors @ms-multicolor-flat: #cca753; @ms-multicolor-grad: linear-gradient(45deg, #cca54f 0%, #e0d3bb 50%, #cca54f 100%); @ms-ability-grad: linear-gradient(0deg, #c8913b 0%, #ecc65a 100%); ================================================ FILE: package.json ================================================ { "name": "mana-font", "version": "1.18.0", "description": "Magic: the Gathering mana symbol pictographic font", "main": "css/mana.css", "repository": { "type": "git", "url": "git+https://github.com/andrewgioia/mana.git" }, "keywords": [ "mana", "mtg", "mana", "symbols", "magic", "gathering", "font" ], "scripts": { "less": "lessc less/mana.less css/mana.css", "lessmin": "lessc --clean-css less/mana.less css/mana.min.css", "sass": "sass sass/mana.scss css/mana.css --style=expanded", "sassmin": "sass sass/mana.scss css/mana.min.css --style compressed", "rename": "for f in `find fonts/*`; do mv -v \"$f\" \"`echo $f | tr '[A-Z]' '[a-z]'`\"; done", "build": "npm run rename && rsync -avzh ./fonts/mana* ./docs/fonts/ && npm run -s sass && npm run -s sassmin && rsync -avzh css/mana.min* ./docs/assets/" }, "author": "Andrew Gioia ", "license": "MIT", "bugs": { "url": "https://github.com/andrewgioia/mana/issues" }, "homepage": "https://mana.andrewgioia.com", "devDependencies": { "sass": "^1.80.4" } } ================================================ FILE: sass/_aliases.scss ================================================ @use "variables"; @use "colors"; @use "icons"; // color indicator convenience classes .#{variables.$ms-prefix}-ci { // 4 color &-ubgr, &-ugbr, &-ugrb, &-urbg, &-urgb, &-bgru, &-bgur, &-brgu, &-brug, &-bugr, &-burg, &-gbru, &-gbur, &-grbu, &-grub, &-gubr, &-gurb, &-rbgu, &-rbug, &-rgbu, &-rgub, &-rubg, &-rugb { @extend .#{variables.$ms-prefix}-ci-ubrg; } &-bgrw, &-bgwr, &-brwg, &-bwgr, &-bwrg, &-gbrw, &-gbwr, &-grbw, &-grwb, &-gwbr, &-gwrb, &-rbgw, &-rbwg, &-rgbw, &-rgwb, &-rwbg, &-rwgb, &-wbgr, &-wbrg, &-wgbr, &-wgrb, &-wrbg, &-wrgb { @extend .#{variables.$ms-prefix}-ci-brgw; } &-gruw, &-grwu, &-gurw, &-guwr, &-gwru, &-gwur, &-rguw, &-rugw, &-ruwg, &-rwgu, &-rwug, &-ugrw, &-ugwr, &-urgw, &-urwg, &-uwgr, &-uwrg, &-wgru, &-wgur, &-wrgu, &-wrug, &-wugr, &-wurg { @extend .#{variables.$ms-prefix}-ci-rgwu; } &-bguw, &-bgwu, &-bugw, &-buwg, &-bwgu, &-bwug, &-gbuw, &-gbwu, &-gubw, &-guwb, &-gwbu, &-ubgw, &-ubwg, &-ugbw, &-ugwb, &-uwbg, &-uwgb, &-wbgu, &-wbug, &-wgbu, &-wgub, &-wubg, &-wugb { @extend .#{variables.$ms-prefix}-ci-gwub; } &-bruw, &-brwu, &-burw, &-buwr, &-bwru, &-bwur, &-rbuw, &-rbwu, &-rubw, &-ruwb, &-rwbu, &-rwub, &-ubrw, &-ubwr, &-urbw, &-urwb, &-uwbr, &-uwrb, &-wbru, &-wbur, &-wrbu, &-wrub, &-wurb { @extend .#{variables.$ms-prefix}-ci-wubr; } // 5 color &-bgruw, &-bgrwu, &-bgurw, &-bguwr, &-bgwru, &-bgwur, &-brguw, &-brgwu, &-brugw, &-bruwg, &-brwgu, &-brwug, &-bugrw, &-bugwr, &-burgw, &-burwg, &-buwgr, &-buwrg, &-bwgru, &-bwgur, &-bwrgu, &-bwrug, &-bwugr, &-bwurg, &-gbruw, &-gbrwu, &-gburw, &-gbuwr, &-gbwru, &-gbwur, &-grbuw, &-grbwu, &-grubw, &-gruwb, &-grwbu, &-grwub, &-gubrw, &-gubwr, &-gurbw, &-gurwb, &-guwbr, &-guwrb, &-gwbru, &-gwbur, &-gwrbu, &-gwrub, &-gwubr, &-gwurb, &-rbguw, &-rbgwu, &-rbugw, &-rbuwg, &-rbwgu, &-rbwug, &-rgbuw, &-rgbwu, &-rgubw, &-rguwb, &-rgwbu, &-rgwub, &-rubgw, &-rubwg { @extend .#{variables.$ms-prefix}-ci-wubrg; } // breaking this up, editor was showing a warning with so many in a row &-rugbw, &-rugwb, &-ruwbg, &-ruwgb, &-rwbgu, &-rwbug, &-rwgbu, &-rwgub, &-rwubg, &-rwugb, &-ubgrw, &-ubgwr, &-ubrgw, &-ubrwg, &-ubwgr, &-ubwrg, &-ugbrw, &-ugbwr, &-ugrbw, &-ugrwb, &-ugwbr, &-ugwrb, &-urbgw, &-urbwg, &-urgbw, &-urgwb, &-urwbg, &-urwgb, &-uwbgr, &-uwbrg, &-uwgbr, &-uwgrb, &-uwrbg, &-uwrgb, &-wbgru, &-wbgur, &-wbrgu, &-wbrug, &-wbugr, &-wburg, &-wgbru, &-wgbur, &-wgrbu, &-wgrub, &-wgubr, &-wgurb, &-wrbgu, &-wrbug, &-wrgbu, &-wrgub, &-wrubg, &-wrugb, &-wubgr, &-wugbr, &-wugrb, &-wurbg, &-wurgb { @extend .#{variables.$ms-prefix}-ci-wubrg; } } // counter/ability aliases .#{variables.$ms-prefix}-counter { &-goad { @extend .#{variables.$ms-prefix}-ability-goad; } } .#{variables.$ms-prefix}-ability { &-finality { @extend .#{variables.$ms-prefix}-counter-finality; } } // duels ability symbols that don't have a new one yet .#{variables.$ms-prefix}-ability { &-annihilator { @extend .#{variables.$ms-prefix}-ability-duels-annihilator; } &-battle-cry { @extend .#{variables.$ms-prefix}-ability-duels-battle-cry; } &-unblockable { @extend .#{variables.$ms-prefix}-ability-duels-unblockable; } &-cannot-block { @extend .#{variables.$ms-prefix}-ability-duels-cannot-block; } &-cannot-untap { @extend .#{variables.$ms-prefix}-ability-duels-cannot-untap; } &-cohort { @extend .#{variables.$ms-prefix}-ability-duels-cohort; } &-copy { @extend .#{variables.$ms-prefix}-ability-duels-copy; } &-delirium { @extend .#{variables.$ms-prefix}-ability-duels-delirium; } &-detain { @extend .#{variables.$ms-prefix}-ability-duels-detain; } &-dfc { @extend .#{variables.$ms-prefix}-ability-duels-dfc; } &-evolve { @extend .#{variables.$ms-prefix}-ability-duels-evolve; } &-exile { @extend .#{variables.$ms-prefix}-ability-duels-exile; } &-fading { @extend .#{variables.$ms-prefix}-ability-duels-fading; } &-fear { @extend .#{variables.$ms-prefix}-ability-duels-fear; } &-forestwalk { @extend .#{variables.$ms-prefix}-ability-duels-forestwalk; } &-haunt { @extend .#{variables.$ms-prefix}-ability-duels-haunt; } &-infect { @extend .#{variables.$ms-prefix}-ability-duels-infect; } &-ingest { @extend .#{variables.$ms-prefix}-ability-duels-ingest; } &-intimidate { @extend .#{variables.$ms-prefix}-ability-duels-intimidate; } &-islandwalk { @extend .#{variables.$ms-prefix}-ability-duels-islandwalk; } &-legendary { @extend .#{variables.$ms-prefix}-ability-duels-legendary; } &-monstrous { @extend .#{variables.$ms-prefix}-ability-duels-monstrous; } &-mountainwalk { @extend .#{variables.$ms-prefix}-ability-duels-mountainwalk; } &-must-attack { @extend .#{variables.$ms-prefix}-ability-duels-must-attack; } &-plainswalk { @extend .#{variables.$ms-prefix}-ability-duels-plainswalk; } &-prevent-damage { @extend .#{variables.$ms-prefix}-ability-duels-prevent-damage; } &-protection-black { @extend .#{variables.$ms-prefix}-ability-duels-protection-black; } &-protection-blue { @extend .#{variables.$ms-prefix}-ability-duels-protection-blue; } &-protection-green { @extend .#{variables.$ms-prefix}-ability-duels-protection-green; } &-protection-red { @extend .#{variables.$ms-prefix}-ability-duels-protection-red; } &-protection-white { @extend .#{variables.$ms-prefix}-ability-duels-protection-white; } &-protection { @extend .#{variables.$ms-prefix}-ability-duels-protection; } &-rally { @extend .#{variables.$ms-prefix}-ability-duels-rally; } &-regenerate { @extend .#{variables.$ms-prefix}-ability-duels-regenerate; } &-renowned { @extend .#{variables.$ms-prefix}-ability-duels-renowned; } &-shroud { @extend .#{variables.$ms-prefix}-ability-duels-shroud; } &-skulk { @extend .#{variables.$ms-prefix}-ability-duels-skulk; } &-soulshift { @extend .#{variables.$ms-prefix}-ability-duels-soulshift; } &-swampwalk { @extend .#{variables.$ms-prefix}-ability-duels-swampwalk; } &-temporary-control { @extend .#{variables.$ms-prefix}-ability-duels-temporary-control; } &-totem-armor { @extend .#{variables.$ms-prefix}-ability-duels-totem-armor; } &-undying { @extend .#{variables.$ms-prefix}-ability-duels-undying; } } // watermark aliases .#{variables.$ms-prefix}-watermark { &-abzan { @extend .#{variables.$ms-prefix}-clan-abzan; } &-atarka { @extend .#{variables.$ms-prefix}-clan-atarka; } &-azorius { @extend .#{variables.$ms-prefix}-guild-azorius; } &-boros { @extend .#{variables.$ms-prefix}-guild-boros; } &-dimir { @extend .#{variables.$ms-prefix}-guild-dimir; } &-dromoka { @extend .#{variables.$ms-prefix}-clan-dromoka; } &-foretell { @extend .#{variables.$ms-prefix}-ability-foretell; } &-golgari { @extend .#{variables.$ms-prefix}-guild-golgari; } &-gruul { @extend .#{variables.$ms-prefix}-guild-gruul; } &-izzet { @extend .#{variables.$ms-prefix}-guild-izzet; } &-jeskai { @extend .#{variables.$ms-prefix}-clan-jeskai; } &-kolaghan { @extend .#{variables.$ms-prefix}-clan-kolaghan; } &-lorehold { @extend .#{variables.$ms-prefix}-school-lorehold; } &-mardu { @extend .#{variables.$ms-prefix}-clan-mardu; } &-ojutai { @extend .#{variables.$ms-prefix}-clan-ojutai; } &-orzhov { @extend .#{variables.$ms-prefix}-guild-orzhov; } &-phyrexian { @extend .#{variables.$ms-prefix}-h; } &-planeswalker { @extend .#{variables.$ms-prefix}-planeswalker; } &-prismari { @extend .#{variables.$ms-prefix}-school-prismari; } &-quandrix { @extend .#{variables.$ms-prefix}-school-quandrix; } &-rakdos { @extend .#{variables.$ms-prefix}-guild-rakdos; } &-selesnya { @extend .#{variables.$ms-prefix}-guild-selesnya; } &-silumgar { @extend .#{variables.$ms-prefix}-clan-silumgar; } &-silverquill { @extend .#{variables.$ms-prefix}-school-silverquill; } &-simic { @extend .#{variables.$ms-prefix}-guild-simic; } &-sultai { @extend .#{variables.$ms-prefix}-clan-sultai; } &-temur { @extend .#{variables.$ms-prefix}-clan-temur; } &-witherbloom { @extend .#{variables.$ms-prefix}-school-witherbloom; } } ================================================ FILE: sass/_colors.scss ================================================ @use "variables"; // color indicator circles .#{variables.$ms-prefix}-ci { // base styles border-radius: 100%; box-shadow: inset 0 0 1px #fff; // to remove spill over line-height: 0.95em; // shifts the border up a touch width: 1em; height: 1em; // set the border color &::before { color: variables.$ms-border-black; } // borders based on number of colors in identity &-1::before { content: "\e98a"; } &-2::before { content: "\e98b"; } &-3::before { content: "\e98c"; } &-4::before { content: "\e98d"; } &-5::before { content: "\e98e"; } // 1 color backgrounds &-w { background: variables.$ms-white; } &-u { background: variables.$ms-blue; } &-b { background: variables.$ms-black; } &-r { background: variables.$ms-red; } &-g { background: variables.$ms-green; } // 2 color backgrounds &-wu, &-uw, &-azorius { background: conic-gradient( variables.$ms-white 45deg, variables.$ms-blue 45deg 225deg, variables.$ms-white 225deg ); } &-wb, &-bw, &-orzhov { background: conic-gradient( variables.$ms-white 45deg, variables.$ms-black 45deg 225deg, variables.$ms-white 225deg ); } &-ub, &-bu, &-dimir { background: conic-gradient( variables.$ms-blue 45deg, variables.$ms-black 45deg 225deg, variables.$ms-blue 225deg ); } &-ur, &-ru, &-izzet { background: conic-gradient( variables.$ms-blue 45deg, variables.$ms-red 45deg 225deg, variables.$ms-blue 225deg ); } &-bg, &-gb, &-golgari, &-rock { background: conic-gradient( variables.$ms-black 45deg, variables.$ms-green 45deg 225deg, variables.$ms-black 225deg ); } &-br, &-rb, &-rakdos { background: conic-gradient( variables.$ms-black 45deg, variables.$ms-red 45deg 225deg, variables.$ms-black 225deg ); } &-rw, &-wr, &-boros { background: conic-gradient( variables.$ms-red 45deg, variables.$ms-white 45deg 225deg, variables.$ms-red 225deg ); } &-rg, &-gr, &-gruul { background: conic-gradient( variables.$ms-red 45deg, variables.$ms-green 45deg 225deg, variables.$ms-red 225deg ); } &-gu, &-ug, &-simic { background: conic-gradient( variables.$ms-green 45deg, variables.$ms-blue 45deg 225deg, variables.$ms-green 225deg ); } &-gw, &-wg, &-selesnya { background: conic-gradient( variables.$ms-green 45deg, variables.$ms-white 45deg 225deg, variables.$ms-green 225deg ); } // 3-color backgrounds &-wug, &-wgu, &-ugw, &-uwg, &-gwu, &-guw, &-bant { background: conic-gradient( variables.$ms-blue 60deg, variables.$ms-green 60deg 180deg, variables.$ms-white 180deg 300deg, variables.$ms-blue 300deg ); } &-ubw, &-uwb, &-buw, &-bwu, &-wub, &-wbu, &-esper { background: conic-gradient( variables.$ms-black 60deg, variables.$ms-white 60deg 180deg, variables.$ms-blue 180deg 300deg, variables.$ms-black 300deg ); } &-bru, &-bur, &-rbu, &-rub, &-ubr, &-urb, &-grixis { background: conic-gradient( variables.$ms-red 60deg, variables.$ms-blue 60deg 180deg, variables.$ms-black 180deg 300deg, variables.$ms-red 300deg ); } &-rgb, &-rbg, &-grb, &-gbr, &-brg, &-bgr, &-jund { background: conic-gradient( variables.$ms-green 60deg, variables.$ms-black 60deg 180deg, variables.$ms-red 180deg 300deg, variables.$ms-green 300deg ); } &-gwr, &-grw, &-wgr, &-wrg, &-rgw, &-rwg, &-naya { background: conic-gradient( variables.$ms-white 60deg, variables.$ms-red 60deg 180deg, variables.$ms-green 180deg 300deg, variables.$ms-white 300deg ); } &-wbg, &-wgb, &-bwg, &-bgw, &-gwb, &-gbw, &-abzan, &-junk, &-necra { background: conic-gradient( variables.$ms-black 60deg, variables.$ms-green 60deg 180deg, variables.$ms-white 180deg 300deg, variables.$ms-black 300deg ); } &-urw, &-uwr, &-ruw, &-rwu, &-wur, &-wru, &-jeskai, &-raka { background: conic-gradient( variables.$ms-red 60deg, variables.$ms-white 60deg 180deg, variables.$ms-blue 180deg 300deg, variables.$ms-red 300deg ); } &-bgu, &-bug, &-gbu, &-gub, &-ubg, &-ugb, &-sultai, &-bug, &-ana { background: conic-gradient( variables.$ms-green 60deg, variables.$ms-blue 60deg 180deg, variables.$ms-black 180deg 300deg, variables.$ms-green 300deg ); } &-rwb, &-rbw, &-wrb, &-wbr, &-brw, &-bwr, &-mardu, &-dega { background: conic-gradient( variables.$ms-white 60deg, variables.$ms-black 60deg 180deg, variables.$ms-red 180deg 300deg, variables.$ms-white 300deg ); } &-gur, &-gru, &-ugr, &-urg, &-rgu, &-rug, &-temur, &-ceta { background: conic-gradient( variables.$ms-blue 60deg, variables.$ms-red 60deg 180deg, variables.$ms-green 180deg 300deg, variables.$ms-blue 300deg ); } // 4 color backgrounds &-ubrg, &-glint { background: conic-gradient( variables.$ms-blue 45deg, variables.$ms-black 45deg 135deg, variables.$ms-red 135deg 225deg, variables.$ms-green 225deg 315deg, variables.$ms-blue 315deg ); } &-brgw, &-dune { background: conic-gradient( variables.$ms-black 45deg, variables.$ms-red 45deg 135deg, variables.$ms-green 135deg 225deg, variables.$ms-white 225deg 315deg, variables.$ms-black 315deg ); } &-rgwu, &-ink { background: conic-gradient( variables.$ms-red 45deg, variables.$ms-green 45deg 135deg, variables.$ms-white 135deg 225deg, variables.$ms-blue 225deg 315deg, variables.$ms-red 315deg ); } &-gwub, &-witch { background: conic-gradient( variables.$ms-green 45deg, variables.$ms-white 45deg 135deg, variables.$ms-blue 135deg 225deg, variables.$ms-black 225deg 315deg, variables.$ms-green 315deg ); } &-wubr, &-yore { background: conic-gradient( variables.$ms-white 45deg, variables.$ms-blue 45deg 135deg, variables.$ms-black 135deg 225deg, variables.$ms-red 225deg 315deg, variables.$ms-white 315deg ); } // 5 color background &-wubrg, &-5 { background: conic-gradient( variables.$ms-white 36deg, variables.$ms-blue 36deg 108deg, variables.$ms-black 108deg 180deg, variables.$ms-red 180deg 252deg, variables.$ms-green 252deg 324deg, variables.$ms-white 324deg ); } } ================================================ FILE: sass/_core.scss ================================================ @use "variables"; // base .#{variables.$ms-prefix} { display: inline-block; font: normal normal normal variables.$ms-font-size-base Mana; font-size: inherit; line-height: 1em; text-rendering: auto; transform: translate(0, 0); speak: none; text-transform: none; vertical-align: middle; // Better font rendering -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; --ms-mana-b: #a7999e; --ms-mana-c: #d0c6bb; --ms-mana-g: #9fcba6; //#9ba; --ms-mana-r: #f19b79; --ms-mana-u: #bcdaf7; --ms-mana-w: #fdfbce; } ================================================ FILE: sass/_cost.scss ================================================ @use "variables"; // costs .#{variables.$ms-prefix}-cost { background-color: variables.$ms-base-colorless; border-radius: 1em; color: #111; font-size: 0.95em; width: 1.3em; height: 1.3em; line-height: 1.35em; text-align: center; // single costs &.#{variables.$ms-prefix}-w, &.#{variables.$ms-prefix}-wp { background-color: variables.$ms-base-white; } &.#{variables.$ms-prefix}-u, &.#{variables.$ms-prefix}-up { background-color: variables.$ms-base-blue; } &.#{variables.$ms-prefix}-b, &.#{variables.$ms-prefix}-bp { background-color: variables.$ms-base-black; } &.#{variables.$ms-prefix}-r, &.#{variables.$ms-prefix}-rp { background-color: variables.$ms-base-red; } &.#{variables.$ms-prefix}-g, &.#{variables.$ms-prefix}-gp { background-color: variables.$ms-base-green; } // split costs &.#{variables.$ms-prefix}-wu, &.#{variables.$ms-prefix}-wb, &.#{variables.$ms-prefix}-ub, &.#{variables.$ms-prefix}-ur, &.#{variables.$ms-prefix}-br, &.#{variables.$ms-prefix}-bg, &.#{variables.$ms-prefix}-rw, &.#{variables.$ms-prefix}-rg, &.#{variables.$ms-prefix}-gw, &.#{variables.$ms-prefix}-gu, &.#{variables.$ms-prefix}-2w, &.#{variables.$ms-prefix}-2u, &.#{variables.$ms-prefix}-2b, &.#{variables.$ms-prefix}-2r, &.#{variables.$ms-prefix}-2g, &.#{variables.$ms-prefix}-cw, &.#{variables.$ms-prefix}-cu, &.#{variables.$ms-prefix}-cb, &.#{variables.$ms-prefix}-cr, &.#{variables.$ms-prefix}-cg, &.#{variables.$ms-prefix}-wup, &.#{variables.$ms-prefix}-wbp, &.#{variables.$ms-prefix}-ubp, &.#{variables.$ms-prefix}-urp, &.#{variables.$ms-prefix}-brp, &.#{variables.$ms-prefix}-bgp, &.#{variables.$ms-prefix}-rwp, &.#{variables.$ms-prefix}-rgp, &.#{variables.$ms-prefix}-gwp, &.#{variables.$ms-prefix}-gup { --ms-split-top: var(--ms-mana-c); --ms-split-bottom: var(--ms-mana-u); background: var(--ms-split-top); // fallback background: -moz-linear-gradient(135deg, var(--ms-split-top) 0%, var(--ms-split-top) 50%, var(--ms-split-bottom) 50%, var(--ms-split-bottom) 100%); background: -webkit-linear-gradient(135deg, var(--ms-split-top) 0%, var(--ms-split-top) 50%, var(--ms-split-bottom) 50%, var(--ms-split-bottom) 100%); background: linear-gradient(135deg, var(--ms-split-top) 0%, var(--ms-split-top) 50%, var(--ms-split-bottom) 50%, var(--ms-split-bottom) 100%); position: relative; width: 1.3em; height: 1.3em; &::before, &::after { font-size: 0.55em !important; position: absolute; } &::before { top: -0.38em; left: 0.28em; } &::after { top: 0.5em; left: 1.0em; } } &.#{variables.$ms-prefix}-wu, &.#{variables.$ms-prefix}-wup { --ms-split-top: var(--ms-mana-w); } &.#{variables.$ms-prefix}-wb, &.#{variables.$ms-prefix}-wbp { --ms-split-top: var(--ms-mana-w); --ms-split-bottom: var(--ms-mana-b); } &.#{variables.$ms-prefix}-ub, &.#{variables.$ms-prefix}-ubp { --ms-split-top: var(--ms-mana-u); --ms-split-bottom: var(--ms-mana-b); } &.#{variables.$ms-prefix}-ur, &.#{variables.$ms-prefix}-urp { --ms-split-top: var(--ms-mana-u); --ms-split-bottom: var(--ms-mana-r); } &.#{variables.$ms-prefix}-br, &.#{variables.$ms-prefix}-brp { --ms-split-top: var(--ms-mana-b); --ms-split-bottom: var(--ms-mana-r); } &.#{variables.$ms-prefix}-bg, &.#{variables.$ms-prefix}-bgp { --ms-split-top: var(--ms-mana-b); --ms-split-bottom: var(--ms-mana-g); } &.#{variables.$ms-prefix}-rw, &.#{variables.$ms-prefix}-rwp { --ms-split-top: var(--ms-mana-r); --ms-split-bottom: var(--ms-mana-w); } &.#{variables.$ms-prefix}-rg, &.#{variables.$ms-prefix}-rgp { --ms-split-top: var(--ms-mana-r); --ms-split-bottom: var(--ms-mana-g); } &.#{variables.$ms-prefix}-gw, &.#{variables.$ms-prefix}-gwp { --ms-split-top: var(--ms-mana-g); --ms-split-bottom: var(--ms-mana-w); } &.#{variables.$ms-prefix}-gu, &.#{variables.$ms-prefix}-gup { --ms-split-top: var(--ms-mana-g); } &.#{variables.$ms-prefix}-2w, &.#{variables.$ms-prefix}-cw { --ms-split-bottom: var(--ms-mana-w); } &.#{variables.$ms-prefix}-2u, &.#{variables.$ms-prefix}-cu { // defaults } &.#{variables.$ms-prefix}-2b, &.#{variables.$ms-prefix}-cb { --ms-split-bottom: var(--ms-mana-b); } &.#{variables.$ms-prefix}-2r, &.#{variables.$ms-prefix}-cr { --ms-split-bottom: var(--ms-mana-r); } &.#{variables.$ms-prefix}-2g, &.#{variables.$ms-prefix}-cg { --ms-split-bottom: var(--ms-mana-g); } // new tan: #d0c6bb // phyrexian and other split mana size increases @if variables.$ms-phyrexian-h { &.#{variables.$ms-prefix}-h::before { display: inline-block; -moz-transform: scale( 1.2, 1.2 ); -webkit-transform: scale( 1.2, 1.2 ); transform: scale( 1.2, 1.2 ); } } @else { &.#{variables.$ms-prefix}-p::before { display: inline-block; -moz-transform: scale( 1.2, 1.2 ); -webkit-transform: scale( 1.2, 1.2 ); transform: scale( 1.2, 1.2 ); } } &.#{variables.$ms-prefix}-wp::before, &.#{variables.$ms-prefix}-up::before, &.#{variables.$ms-prefix}-bp::before, &.#{variables.$ms-prefix}-rp::before, &.#{variables.$ms-prefix}-gp::before, &.#{variables.$ms-prefix}-cw::before, &.#{variables.$ms-prefix}-cu::before, &.#{variables.$ms-prefix}-cb::before, &.#{variables.$ms-prefix}-cr::before, &.#{variables.$ms-prefix}-cg::before, &.#{variables.$ms-prefix}-wup::before, &.#{variables.$ms-prefix}-wbp::before, &.#{variables.$ms-prefix}-ubp::before, &.#{variables.$ms-prefix}-urp::before, &.#{variables.$ms-prefix}-brp::before, &.#{variables.$ms-prefix}-bgp::before, &.#{variables.$ms-prefix}-rwp::before, &.#{variables.$ms-prefix}-rgp::before, &.#{variables.$ms-prefix}-gwp::before, &.#{variables.$ms-prefix}-gup::before, &.#{variables.$ms-prefix}-wup::after, &.#{variables.$ms-prefix}-wbp::after, &.#{variables.$ms-prefix}-ubp::after, &.#{variables.$ms-prefix}-urp::after, &.#{variables.$ms-prefix}-brp::after, &.#{variables.$ms-prefix}-bgp::after, &.#{variables.$ms-prefix}-rwp::after, &.#{variables.$ms-prefix}-rgp::after, &.#{variables.$ms-prefix}-gwp::after, &.#{variables.$ms-prefix}-gup::after { display: inline-block; transform: scale(1.2) translateX(0.01rem) translateY(-0.03rem); } // alternate tap &.#{variables.$ms-prefix}-tap-alt::before { display: inline-block; transform: scale(1.2); padding-left: .06em; padding-bottom: 0.10em; } // snow mana &.#{variables.$ms-prefix}-s { &::before { color: #fff; -webkit-text-stroke: 2px #fff; font-size: 0.85em; top: -0.05em; position: relative; display: inline-block; } &::after { //text-shadow: -1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, 1px 1px 0 #fff; content: "\e619"; position: absolute; color: #333; margin-left: -0.9em; font-size: 1.1em; } &-mtga::before { color: #fff; } } // tap symbols &.#{variables.$ms-prefix}-untap { background-color: #111; color: #fff; } // shadow alternative &.#{variables.$ms-prefix}-shadow { box-shadow: -0.06em 0.07em 0 #111, 0 0.06em 0 #111; &.#{variables.$ms-prefix}-untap { box-shadow: -0.06em 0.07em 0 #fff, 0 0.06em 0 #fff; } } } // split cost specifics .#{variables.$ms-prefix}-split { position: relative; width: 1.3em; height: 1.3em; } .#{variables.$ms-prefix}-split::before, .#{variables.$ms-prefix}-split::after { font-size: 0.55em !important; position: absolute; } .#{variables.$ms-prefix}-split::before { top: -0.38em; left: 0.28em; } .#{variables.$ms-prefix}-split::after { top: 0.5em; left: 1.0em; } // half costs specifics span.#{variables.$ms-prefix}-half { // legacy handling with tag width: .675em; overflow: hidden; display: inline-block; margin-left: .675em; > .#{variables.$ms-prefix}-cost { margin-left: -.675em; } } .#{variables.$ms-prefix}-half { // new single-element handling! width: .675em; margin-left: .675em; overflow: hidden; border-radius: 0 1em 1em 0; &::before { margin-left: -.65em; } } // un-set costs .#{variables.$ms-prefix}-100 { width: 2.4em; } .#{variables.$ms-prefix}-1000000 { width: 5.4em; } ================================================ FILE: sass/_dfc.scss ================================================ @use "variables"; // double-faced specifics .#{variables.$ms-prefix}-dfc { color: #111; border: .05em solid #111; border-radius: 2em; padding: 0.025em; } ================================================ FILE: sass/_duo.scss ================================================ @use "variables"; .#{variables.$ms-prefix}-duo { // base border styles &::after { color: #000; content: ''; display: block; font-size: 1em; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } // set default inner to black unless we're adding color to the background color: #fff; // multicolor symbol &.#{variables.$ms-prefix}-multicolor::after { content: "\e986"; } // strixhaven schools &.#{variables.$ms-prefix}-school { &-lorehold::after { content: "\e99b"; } &-prismari::after { content: "\e99d"; } &-quandrix::after { content: "\e99f"; } &-silverquill::after { content: "\e9a1"; } &-witherbloom { &::before { content: "\e9a3"; } &::after { content: "\e9a4"; } } } // colorized versions &-color { // default outer color &::before { color: variables.$ms-border-black; } // multicolor &.#{variables.$ms-prefix}-multicolor { &::after { color: variables.$ms-multicolor-flat; } &.#{variables.$ms-prefix}-grad::after { background: variables.$ms-multicolor-grad; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } } // strixhaven schools &.#{variables.$ms-prefix}-school { &-lorehold { &::before { color: #a03731; } &::after { color: #e4e8c7; } } &-prismari { &::before { color: #a23431; } &::after { color: #322f5c; } } &-quandrix { &::before { color: #352e5f; } &::after { color: #519e52; } } &-silverquill { &::before { color: #181616; } &::after { color: #e5e9ca; } } &-witherbloom { &::before { color: #2f312d; } &::after { color: #4f9b4f; } } } } } ================================================ FILE: sass/_extras.scss ================================================ @use "variables"; .#{variables.$ms-prefix}-mechanic { background: variables.$ms-ability-grad; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } ================================================ FILE: sass/_icons.scss ================================================ @use "variables"; // symbols .#{variables.$ms-prefix} { // resources &-w::before { content: "\e600"; } &-w-original::before { content: "\e997"; } &-w-list::before { content: "\e998"; } &-u::before { content: "\e601"; } &-b::before { content: "\e602"; } &-r::before { content: "\e603"; } &-g::before { content: "\e604"; } &-0::before { content: "\e605"; } &-1::before { content: "\e606"; } &-2 { // need to correct for bootstrap's .ms-2 utility class margin-left: inherit !important; &::before { content: "\e607"; } } &-3::before { content: "\e608"; } &-4::before { content: "\e609"; } &-5::before { content: "\e60a"; } &-6::before { content: "\e60b"; } &-7::before { content: "\e60c"; } &-8::before { content: "\e60d"; } &-9::before { content: "\e60e"; } &-10::before { content: "\e60f"; } &-11::before { content: "\e610"; } &-12::before { content: "\e611"; } &-13::before { content: "\e612"; } &-14::before { content: "\e613"; } &-15::before { content: "\e614"; } &-16::before { content: "\e62a"; } &-17::before { content: "\e62b"; } &-18::before { content: "\e62c"; } &-19::before { content: "\e62d"; } &-20::before { content: "\e62e"; } &-x::before { content: "\e615"; } &-y::before { content: "\e616"; } &-z::before { content: "\e617"; } &-s::before { content: "\e619"; } &-s-mtga::before { content: "\e996"; } &-c::before { content: "\e904"; } &-e::before, &-energy::before{ content: "\e907"; } &-acorn::before { content: "\e929"; } &-ticket::before, &-tk::before { content: "\e9c4"; } &-1-2::before { content: "\e902"; } &-infinity::before { content: "\e903"; } &-l::before { content: "\ea2d"; } &-d::before { content: "\ea2e"; } &-spree::before { content: "\ea55"; } // phyrexian/paw handling &-h::before { content: "\e618"; } &-paw::before { content: "\ea32"; } &-p { @if variables.$ms-phyrexian-h { // paw as p &::before { content: "\ea32"; } } @else { // old .ms-p for phyrexian &::before { content: "\e618"; } } } // tap/roll &-tap::before { content: "\e61a"; } &-untap::before { content: "\e61b"; } &-tap-alt::before, &-tap-3ed::before { content: "\e61c"; } &-tap-4ed::before { content: "\ea31"; } &-chaos::before { content: "\e61d"; } // card types &-artifact::before { content: "\e61e"; } &-battle::before { content: "\e9d1"; } &-battle-siege::before { content: "\e9d2"; } &-commander::before { content: "\e9c6"; } &-conspiracy::before { content: "\e972"; } &-creature::before { content: "\e61f"; } &-enchantment::before { content: "\e620"; } &-dungeon::before { content: "\e995"; } &-instant::before { content: "\e621"; } &-land::before { content: "\e622"; } &-multicolor::before { content: "\e985"; } &-phenomenon::before { content: "\e96e"; } &-plane::before { content: "\e96f"; } &-planeswalker::before { content: "\e623"; } &-rarity::before { content: "\e96c"; } &-saga::before { content: "\e92a"; } &-scheme::before { content: "\e970"; } &-sorcery::before { content: "\e624"; } &-token::before { content: "\e96d"; } &-tribal::before, &-multiple::before { content: "\e925"; } &-vanguard::before { content: "\e971"; } // zones &-hand::before { content: "\e9ca"; } &-library::before { content: "\e9cb"; } &-graveyard::before { content: "\e9cc"; } &-exile::before { content: "\e9cd"; } // splits &-wu::before, &-wb::before, &-rw::after, &-gw::after, &-2w::after, &-cw::after { content: "\e600"; } // white &-ub::before, &-ur::before, &-wu::after, &-gu::after, &-2u::after, &-cu::after { content: "\e601"; } // blue &-br::before, &-bg::before, &-wb::after, &-ub::after, &-2b::after, &-cb::after { content: "\e602"; } // black &-rw::before, &-rg::before, &-ur::after, &-br::after, &-2r::after, &-cr::after { content: "\e603"; } // red &-gw::before, &-gu::before, &-bg::after, &-rg::after, &-2g::after, &-cg::after { content: "\e604"; } // green &-2w::before, &-2u::before, &-2b::before, &-2r::before, &-2g::before { content: "\e607"; } // 2 &-cw::before, &-cu::before, &-cb::before, &-cr::before, &-cg::before { content: "\e904"; } // c // phyrexian splits &-wp::before, &-up::before, &-bp::before, &-rp::before, &-gp::before, &-wup::before, &-wup::after, &-wbp::before, &-wbp::after, &-ubp::before, &-ubp::after, &-urp::before, &-urp::after, &-brp::before, &-brp::after, &-bgp::before, &-bgp::after, &-rwp::before, &-rwp::after, &-rgp::before, &-rgp::after, &-gwp::before, &-gwp::after, &-gup::before, &-gup::after { content: "\e618"; } // p/p // un-sets &-100::before { content: "\e900"; } &-1000000::before { content: "\e901"; } // loyalty &-loyalty { &-up::before { content: "\e627"; } // up &-down::before { content: "\e625"; } // down &-zero::before { content: "\e626"; } // zero &-start::before { content: "\e628"; } // start } &-defense { &::before { content: "\e9d7"; } &-border::before { content: "\e9d8"; } } // levelers &-level { &::before { content: "\e9c7"; } &::after { content: "\e9c8"; } } // double-faced cards &-dfc { &-back::before { content: "\e9d4"; } &-day::before { content: "\e906"; } &-emrakul::before { content: "\e90a"; } &-enchantment::before { content: "\e920"; } &-facedown::before { content: "\e9d6"; } &-front::before { content: "\e9d3"; } &-ignite::before { content: "\e908"; } &-land::before { content: "\e9c5"; } &-lesson::before { content: "\e98f"; } &-meld::before { content: "\e9d5"; } &-modal-back::before { content: "\e984"; } &-modal-face::before { content: "\e983"; } &-moon::before { content: "\e90b"; } &-night::before { content: "\e905"; } &-saga::before { content: "\e9cf"; } &-saga-creature::before { content: "\e9d0"; } &-spark::before { content: "\e909"; } } // other card elements &-flashback::before { content: "\e629"; } &-power { &::before { content: "\e921"; } &-mtga::before { content: "\ea2f"; } } &-toughness { &::before { content: "\e922"; } &-mtga::before { content: "\ea30"; } } &-artist { &-brush::before { content: "\e923"; } &-nib::before { content: "\e924"; } } // guilds/clans/poleis &-guild { &-azorius::before { content: "\e90c"; } &-boros::before { content: "\e90d"; } &-dimir::before { content: "\e90e"; } &-golgari::before { content: "\e90f"; } &-gruul::before { content: "\e910"; } &-izzet::before { content: "\e911"; } &-orzhov::before { content: "\e912"; } &-rakdos::before { content: "\e913"; } &-selesnya::before { content: "\e914"; } &-simic::before { content: "\e915"; } } &-clan { &-abzan::before { content: "\e916"; } &-jeskai::before { content: "\e917"; } &-mardu::before { content: "\e918"; } &-sultai::before { content: "\e919"; } &-temur::before { content: "\e91a"; } &-atarka::before { content: "\e91b"; } &-dromoka::before { content: "\e91c"; } &-kolaghan::before { content: "\e91d"; } &-ojutai::before { content: "\e91e"; } &-silumgar::before { content: "\e91f"; } } &-party { &-cleric::before { content: "\ea59"; } &-rogue::before { content: "\ea58"; } &-warrior::before { content: "\ea57"; } &-wizard::before { content: "\ea56"; } } &-polis { &-setessa::before { content: "\e926"; } &-akros::before { content: "\e927"; } &-meletis::before { content: "\e928"; } } &-school { &-lorehold::before { content: "\e99a"; } &-prismari::before { content: "\e99c"; } &-quandrix::before { content: "\e99e"; } &-silverquill::before { content: "\e9a0"; } &-witherbloom::before { content: "\e9a2"; } } // counters &-counter { &-arrow::before { content: "\e92b"; } &-brick::before { content: "\e92c"; } &-brick-print::before { content: "\ea52"; } &-charge::before { content: "\e92d"; } &-charge-print::before { content: "\ea53"; } &-damage::before { content: "\e9dd"; } // same as original enrage &-deathtouch::before { content: "\ea51"; } &-devotion::before { content: "\e92e"; } &-doom::before { content: "\e92f"; } &-echo::before { content: "\e930"; } &-finality::before { content: "\ea54"; } &-flame::before { content: "\e931"; } &-flood::before { content: "\e932"; } &-fungus::before { content: "\e933"; } &-gold::before { content: "\e934"; } &-ki::before { content: "\e935"; } &-lore::before { content: "\e936"; } &-loyalty::before { content: "\e937"; } &-mining::before { content: "\e938"; } &-minus::before { content: "\e939"; } &-minus-uneven::before { content: "\e943"; } &-muster::before { content: "\e93a"; } &-paw::before { content: "\e93b"; } &-pin::before { content: "\e93c"; } &-plus::before { content: "\e93d"; } &-plus-uneven::before { content: "\e944"; } &-rad::before { content: "\ea50"; } &-scream::before { content: "\e93e"; } &-skeleton::before { content: "\e93f"; } &-skull::before { content: "\e940"; } &-slime::before { content: "\e941"; } &-time::before { content: "\e942"; } &-verse::before { content: "\e945"; } &-void::before { content: "\e9ec"; } &-vortex::before { content: "\e946"; } // arena &-shield::before { content: "\e9c3"; } &-stun::before { content: "\e9c2"; } } // abilities &-ability { &-activated::before, &-crew::before, &-cycling::before { content: "\e947"; } &-adamant::before { content: "\e974"; } &-adapt::before { content: "\e975"; } &-addendum::before { content: "\e976"; } &-adventure::before { content: "\e948"; } &-afflict::before { content: "\e977"; } &-afterlife::before { content: "\e978"; } &-aftermath::before { content: "\e979"; } &-alliance::before { content: "\e9b5"; } &-amass { &-orcs::before { content: "\e9e0"; } &-zombies::before, &::before { content: "\e97a"; } } &-ascend::before { content: "\e94a"; } &-backup::before { content: "\e9d9"; } &-bargain::before { content: "\e9e2"; } &-blitz::before { content: "\e9b4"; } &-boast::before { content: "\e991"; } &-case-solved::before { content: "\ea39"; } &-case-solved-print::before { content: "\ea3a"; } &-casualty::before { content: "\e9b7"; } &-celebration::before { content: "\e9e3"; } &-changeling::before { content: "\e9a6"; } &-channel::before { content: "\e9b1"; } &-cleave::before { content: "\e9ad"; } &-cloak::before { content: "\ea35"; } &-collect-evidence::before { content: "\ea36"; } &-combat-condition::before { content: "\e9ce"; } &-companion::before { content: "\e97b"; } &-constellation::before { content: "\e97c"; } &-convoke { &-original::before { content: "\e949"; } &::before { content: "\e9da"; } } &-corrupted::before { content: "\e9c0"; } &-craft::before { content: "\ea3f"; } &-crime::before { content: "\ea45"; } &-coven::before { content: "\e9aa"; } &-d20::before { content: "\e999"; } &-day-night::before { content: "\e9a8"; } &-daybound-nightbound::before { content: "\e9a9"; } &-deathtouch::before { content: "\e94b"; } &-decayed::before { content: "\e9ac"; } &-defender::before { content: "\e94c"; } &-delve::before { content: "\ea3b"; } &-descend::before { content: "\ea41"; } &-devotion::before { content: "\e97d"; } &-discover::before { content: "\ea40"; } &-disguise::before { content: "\ea34"; } &-disturb::before { content: "\e9ae"; } &-domain::before { content: "\e9a7"; } &-double-strike::before { content: "\e94d"; } &-dungeon::before { content: "\e995"; } &-eerie::before { content: "\ea4d"; } &-embalm::before { content: "\e97e"; } &-enlist::before { content: "\e9ba"; } &-enrage { &::before { content: "\e9dc"; } &-original::before { content: "\e94e"; } } &-escape::before { content: "\e969"; } &-eternalize::before { content: "\e97f"; } &-exalted::before { content: "\ea33"; } &-expend::before { content: "\ea4a"; } &-exploit::before { content: "\e9af"; } &-explore::before { content: "\e94f"; } &-fabricate::before { content: "\e9a5"; } &-ferocious::before { content: "\ea3c"; } &-first-strike::before { content: "\e950"; } &-flash::before { content: "\e951"; } &-flying::before { content: "\e952"; } &-for-mirrodin::before { content: "\e9c1"; } &-forage::before { content: "\ea49"; } &-foretell::before { content: "\e990"; } &-gift::before { content: "\ea46"; } &-goad::before { content: "\e9c9"; } &-haste::before { content: "\e953"; } &-hexproof { &::before { content: "\e954"; } &-black::before { content: "\e955"; } &-blue::before { content: "\e956"; } &-green::before { content: "\e957"; } &-red::before { content: "\e958"; } &-white::before { content: "\e959"; } } &-hideaway::before { content: "\e9b8"; } &-impending::before { content: "\ea4c"; } &-improvise::before { content: "\e9de"; } &-incubate::before { content: "\e9db"; } &-indestructible::before { content: "\e95a"; } &-investigate::before { content: "\e9ab"; } &-jumpstart::before { content: "\e95b"; } &-kicker::before { content: "\e989"; } &-landfall::before { content: "\e988"; } &-learn::before { content: "\e994"; } &-lifelink::before { content: "\ea4b"; } &-lifelink-original::before { content: "\e95c"; } &-magecraft::before { content: "\e993"; } &-manifest-dread::before { content: "\ea4f"; } &-meld::before { content: "\e9bd"; } &-menace::before { content: "\e95d"; } &-mentor::before { content: "\e95e"; } &-morph::before { content: "\ea3e"; } &-mutate::before { content: "\e980"; } &-ninjutsu::before { content: "\e9b2"; } &-obscura::before { content: "\e9b6"; } &-offspring::before { content: "\ea47"; } &-outlast::before { content: "\ea3d"; } &-party::before { content: "\e987"; } &-phyrexian::before { content: "\e618"; } &-plot::before { content: "\ea42"; } &-proliferate::before { content: "\e981"; } &-prototype::before { content: "\e9be"; } &-prowess::before { content: "\e982"; } &-raid::before { content: "\e95f"; } &-reach::before { content: "\e960"; } &-read-ahead::before { content: "\e9b9"; } &-reconfigure::before { content: "\e9b3"; } &-revolt::before { content: "\e961"; } &-ring-bearer::before { content: "\e9df"; } &-riot::before { content: "\e973"; } &-role { &-cursed::before { content: "\e9e6"; } &-monster::before { content: "\e9e7"; } &-royal::before { content: "\e9e8"; } &-sorceror::before { content: "\e9e9"; } &-wicked::before { content: "\e9ea"; } &-young-hero::before { content: "\e9eb"; } } &-saddle::before { content: "\ea43"; } &-specialize::before { content: "\e9bb"; } &-spectacle::before { content: "\e96b"; } &-spree::before { content: "\ea44"; } &-static::before, &-enchant::before { content: "\e962"; } &-summoning-sickness::before { content: "\e96a"; } &-surveil::before { content: "\ea38"; } &-surveil-original::before { content: "\e963"; } &-survival::before { content: "\ea4e"; } &-suspect::before { content: "\ea37"; } &-the-ring-tempts-you::before { content: "\e9e1"; } &-toxic::before { content: "\e9bf"; } &-training::before { content: "\e9b0"; } &-trample::before { content: "\e964"; } &-transform::before { content: "\e965"; } &-triggered::before { content: "\e966"; } &-undergrowth::before { content: "\e967"; } &-unearth::before { content: "\e9bc"; } &-valiant::before { content: "\ea48"; } &-vigilance::before { content: "\e968"; } &-ward::before { content: "\e992"; } // arena card-specific ability symbols &-haktos-the-unscarred::before { content: "\e9e4"; } &-robber-of-the-rich::before { content: "\e9e5"; } // duels symbols &-duels { &-annihilator::before { content: "\ea5a"; } &-battle-cry::before { content: "\ea5b"; } &-unblockable::before { content: "\ea5c"; } &-cannot-block::before { content: "\ea5d"; } &-cannot-untap::before { content: "\ea5e"; } &-cohort::before { content: "\ea5f"; } &-copy::before { content: "\ea60"; } &-deathtouch::before { content: "\ea61"; } &-defender::before { content: "\ea62"; } &-delirium::before { content: "\ea63"; } &-detain::before { content: "\ea64"; } &-double-strike::before { content: "\ea65"; } &-dfc::before { content: "\ea66"; } &-evolve::before { content: "\ea67"; } &-exalted::before { content: "\ea68"; } &-exile::before { content: "\ea69"; } &-fading::before { content: "\ea6a"; } &-fear::before { content: "\ea6b"; } &-first-strike::before { content: "\ea6c"; } &-flying::before { content: "\ea6d"; } &-forestwalk::before { content: "\ea6e"; } &-haste::before { content: "\ea6f"; } &-haunt::before { content: "\ea70"; } &-hexproof::before { content: "\ea71"; } &-indestructible::before { content: "\ea72"; } &-infect::before { content: "\ea73"; } &-ingest::before { content: "\ea74"; } &-intimidate::before { content: "\ea75"; } &-islandwalk::before { content: "\ea76"; } &-legendary::before { content: "\ea77"; } &-lifelink::before { content: "\ea78"; } &-menace::before { content: "\ea79"; } &-monstrous::before { content: "\ea7a"; } &-mountainwalk::before { content: "\ea7b"; } &-must-attack::before { content: "\ea7c"; } &-plainswalk::before { content: "\ea7d"; } &-prevent-damage::before { content: "\ea7e"; } &-protection-black::before { content: "\ea7f"; } &-protection-blue::before { content: "\ea80"; } &-protection-green::before { content: "\ea81"; } &-protection-red::before { content: "\ea82"; } &-protection-white::before { content: "\ea83"; } &-protection::before { content: "\ea84"; } &-rally::before { content: "\ea85"; } &-regenerate::before { content: "\ea86"; } &-renowned::before { content: "\ea87"; } &-shroud::before { content: "\ea88"; } &-skulk::before { content: "\ea89"; } &-soulshift::before { content: "\ea8a"; } &-swampwalk::before { content: "\ea8b"; } &-temporary-control::before { content: "\ea8c"; } &-totem-armor::before { content: "\ea8d"; } &-trample::before { content: "\ea8e"; } &-undying::before { content: "\ea8f"; } &-vigilance::before { content: "\ea90"; } } } // watermarks &-watermark { &-agentsofsneak::before { content: "\ea08"; } &-arena::before { content: "\ea1e"; } &-brokers::before { content: "\ea0d"; } &-cabaretti::before { content: "\ea0e"; } &-colorpie::before { content: "\e9f0"; } &-conspiracy::before { content: "\ea12"; } &-corocoro::before { content: "\ea15"; } &-crossbreedlabs::before { content: "\ea09"; } &-cutiemark { &-apples::before { content: "\ea27"; } &-balloons::before { content: "\ea28"; } &-butterflies::before { content: "\ea29"; } &-gems::before { content: "\ea04"; } &-rainbow::before { content: "\ea2a"; } &-sparkle::before { content: "\ea05"; } &-waningmoon::before { content: "\ea06"; } &-waxingmoon::before { content: "\ea07"; } } &-dci::before { content: "\ea1d"; } &-dengekimaoh::before { content: "\ea14"; } &-desparked::before { content: "\e9f1"; } &-dnd::before { content: "\ea17"; } &-flavor { &-aestheticconsultation::before { content: "\e9f2"; } &-farewelltoarms::before { content: "\e9f3"; } &-monkeymonkeymonkey::before { content: "\e9f4"; } &-moxlotus::before { content: "\e9f5"; } &-myfirsttome::before { content: "\e9f6"; } &-shoetree::before { content: "\e9f7"; } &-whenfluffybunniesattack::before { content: "\e9f8"; } &-manascrew::before { content: "\ea2c"; } } &-fnm::before { content: "\ea16"; } &-goblinexplosioneers::before { content: "\ea0a"; } &-grandprix::before { content: "\ea1f"; } &-grandprix2::before { content: "\ea20"; } &-herospath { &::before { content: "\ea02"; } &-1::before { content: "\e9f9"; } &-2::before { content: "\e9fa"; } &-3::before { content: "\e9fb"; } &-4::before { content: "\e9fc"; } &-5::before { content: "\e9fd"; } &-6::before { content: "\e9fe"; } &-7::before { content: "\e9ff"; } &-8::before { content: "\ea00"; } &-9::before { content: "\ea01"; } } &-japanjunior::before { content: "\ea24"; } &-judgeacademy::before { content: "\ea13"; } &-junior::before { content: "\ea23"; } &-juniorapac::before { content: "\ea21"; } &-junioreurope::before { content: "\ea22"; } &-leagueofdastardlydoom::before { content: "\ea0b"; } &-maestros::before { content: "\ea0f"; } &-mirran::before { content: "\ea03"; } &-mps::before { content: "\ea1a"; } &-mtg::before { content: "\e9ed"; } &-mtg10::before { content: "\e9ee"; } &-mtg15::before { content: "\e9ef"; } &-nerf::before { content: "\ea19"; } &-obscura::before { content: "\ea10"; } &-orderofthewidget::before { content: "\ea0c"; } &-protour::before { content: "\ea26"; } &-riveteers::before { content: "\ea11"; } &-scholarship::before { content: "\ea25"; } &-transformers::before { content: "\ea18"; } &-trumpkatsumai::before { content: "\ea2b"; } &-wotc::before { content: "\ea1b"; } &-wpn::before { content: "\ea1c"; } } } ================================================ FILE: sass/_loyalty.scss ================================================ @use "variables"; /** * planeswalker and other loyalty symbols */ .#{variables.$ms-prefix}-loyalty { // all &-up, &-down, &-zero, &-start { color: #111; font-size: 1.5em; position: relative; text-align: center; } // variant alterations &-start { font-size: 2.0em; // increase the size a bit by default } &-zero::after { line-height: 2.1em !important; // slight correction } // base styles for counters &-0::after, &-1::after, &-2::after, &-3::after, &-4::after, &-5::after, &-6::after, &-7::after, &-8::after, &-9::after, &-10::after, &-11::after, &-12::after, &-13::after, &-14::after, &-15::after, &-16::after, &-17::after, &-18::after, &-19::after, &-20::after, &-25::after, &-x::after { color: #fff; display: inline-block; font-size: 0.5em; font-family: variables.$ms-serif-font; position: absolute; left: 0; line-height: 2.25em; width: 100%; text-align: center; } &-0::after { content: "0"; } &-up { &.#{variables.$ms-prefix}-loyalty { &-1::after { content: "+1"; } &-2::after { content: "+2"; } &-3::after { content: "+3"; } &-4::after { content: "+4"; } &-5::after { content: "+5"; } &-6::after { content: "+6"; } &-7::after { content: "+7"; } &-8::after { content: "+8"; } &-9::after { content: "+9"; } &-10::after { content: "+10"; } &-11::after { content: "+10"; } &-12::after { content: "+12"; } &-13::after { content: "+13"; } &-14::after { content: "+14"; } &-15::after { content: "+15"; } &-16::after { content: "+16"; } &-17::after { content: "+17"; } &-18::after { content: "+18"; } &-19::after { content: "+19"; } &-20::after { content: "+20"; } &-25::after { content: "+25"; } &-x::after { content: "+X"; } } } &-start { &.#{variables.$ms-prefix}-loyalty { &-1::after { content: "1"; } &-2::after { content: "2"; } &-3::after { content: "3"; } &-4::after { content: "4"; } &-5::after { content: "5"; } &-6::after { content: "6"; } &-7::after { content: "7"; } &-8::after { content: "8"; } &-9::after { content: "9"; } &-10::after { content: "10"; } &-11::after { content: "11"; } &-12::after { content: "12"; } &-13::after { content: "13"; } &-14::after { content: "14"; } &-15::after { content: "15"; } &-16::after { content: "16"; } &-17::after { content: "17"; } &-18::after { content: "18"; } &-19::after { content: "19"; } &-20::after { content: "20"; } &-25::after { content: "25"; } &-x::after { content: "X"; } } } &-down { &::after { line-height: 2em; } &.#{variables.$ms-prefix}-loyalty { &-1::after { content: "-1"; } &-2::after { content: "-2"; } &-3::after { content: "-3"; } &-4::after { content: "-4"; } &-5::after { content: "-5"; } &-6::after { content: "-6"; } &-7::after { content: "-7"; } &-8::after { content: "-8"; } &-9::after { content: "-9"; } &-10::after { content: "-10"; } &-11::after { content: "-11"; } &-12::after { content: "-12"; } &-13::after { content: "-13"; } &-14::after { content: "-14"; } &-15::after { content: "-15"; } &-16::after { content: "-16"; } &-17::after { content: "-17"; } &-18::after { content: "-18"; } &-19::after { content: "-19"; } &-20::after { content: "-20"; } &-25::after { content: "-25"; } &-x::after { content: "-X"; } } } // outline style for card text &-outline { &::before { color: transparent; -webkit-text-stroke: 0.03em #111; } &::after { color: #111; } // correction for starting loyalty size &.#{variables.$ms-prefix}-loyalty-start { font-size: 1.6em; } } } // saga loyalty .#{variables.$ms-prefix}-saga { // all color: #111; // numbers &-1::after, &-2::after, &-3::after, &-4::after, &-5::after, &-6::after { color: #fff; display: inline-block; font-size: 0.6em; font-family: variables.$ms-serif-font; position: absolute; left: 0; line-height: 2.0em; width: 100%; text-align: center; } &-1::after { content: "I"; } &-2::after { content: "II"; } &-3::after { content: "III"; } &-4::after { content: "IV"; } &-5::after { content: "V"; } &-6::after { content: "VI"; } } // level card levels .#{variables.$ms-prefix}-level { // level numbers must be in a span for now unfortunately > span { font-size: 0.33em; position: absolute; left: 0; top: 0; color: #000; font-family: variables.$ms-serif-font; width: 76%; text-align: center; line-height: 3.8; } // alt border similar to duo handling &::after { color: rgba(0,0,0,0.25); display: block; font-size: 1em; height: 100%; left: 0; position: absolute; top: 0; width: 100%; } } // defense loyalty .#{variables.$ms-prefix}-defense { color: #111; font-size: 1.5em; position: relative; text-align: center; // base styles for counters &-0::after, &-1::after, &-2::after, &-3::after, &-4::after, &-5::after, &-6::after, &-7::after, &-8::after, &-9::after, &-10::after, &-11::after, &-12::after, &-13::after, &-14::after, &-15::after, &-16::after, &-17::after, &-18::after, &-19::after, &-20::after, &-25::after, &-x::after { color: #fff; display: inline-block; font-size: 0.5em; font-family: variables.$ms-serif-font; position: absolute; left: 0; line-height: 2.25em; width: 100%; text-align: center; } // values &-0::after { content: "0"; } &-1::after { content: "1"; } &-2::after { content: "2"; } &-3::after { content: "3"; } &-4::after { content: "4"; } &-5::after { content: "5"; } &-6::after { content: "6"; } &-7::after { content: "7"; } &-8::after { content: "8"; } &-9::after { content: "9"; } &-10::after { content: "10"; } &-11::after { content: "11"; } &-12::after { content: "12"; } &-13::after { content: "13"; } &-14::after { content: "14"; } &-15::after { content: "15"; } &-16::after { content: "16"; } &-17::after { content: "17"; } &-18::after { content: "18"; } &-19::after { content: "19"; } &-20::after { content: "20"; } &-25::after { content: "25"; } // outline version &-outline { &::before { content: "\e9d8"; } &::after { color: #111; } } // experimental third layer for the border &-print { display: list-item; list-style-position: inside; width: 0.9em; &::before { color: #fff; content: "\e9d8"; position: absolute; left: 0; top: 0; text-shadow: 0 0 5px #333; } &::marker { content: "\e9d7"; color: #111; } } } ================================================ FILE: sass/_path.scss ================================================ @use "variables"; // fonts @font-face { font-family: 'Mana'; src:url( '#{variables.$ms-font-path}/mana.eot?v=#{variables.$ms-version}' ); src:url( '#{variables.$ms-font-path}/mana.eot?#iefix&v=#{variables.$ms-version}') format( 'embedded-opentype' ), url( '#{variables.$ms-font-path}/mana.woff?v=#{variables.$ms-version}') format( 'woff' ), url( '#{variables.$ms-font-path}/mana.ttf?v=#{variables.$ms-version}') format( 'truetype' ), url( '#{variables.$ms-font-path}/mana.svg?v=#{variables.$ms-version}#mana') format( 'svg' ); font-weight: normal; font-style: normal; } @font-face { font-family: 'MPlantin'; src:url( '#{variables.$ms-font-path}/mplantin.eot?v=#{variables.$ms-version}' ); src:url( '#{variables.$ms-font-path}/mplantin.eot?#iefix&v=#{variables.$ms-version}') format( 'embedded-opentype' ), url( '#{variables.$ms-font-path}/mplantin.woff?v=#{variables.$ms-version}') format( 'woff' ), url( '#{variables.$ms-font-path}/mplantin.ttf?v=#{variables.$ms-version}') format( 'truetype' ), url( '#{variables.$ms-font-path}/mplantin.svg?v=#{variables.$ms-version}#mplantin') format( 'svg' ); font-weight: normal; font-style: normal; } ================================================ FILE: sass/_sizes.scss ================================================ @use "variables"; // sizes .#{variables.$ms-prefix}-2x { font-size: 1.75em; } .#{variables.$ms-prefix}-3x { font-size: 2.25em; } .#{variables.$ms-prefix}-4x { font-size: 3.0em; } .#{variables.$ms-prefix}-5x { font-size: 3.75em; } .#{variables.$ms-prefix}-6x { font-size: 4.5em; } /* * Fixed width */ .#{variables.$ms-prefix}-fw { width: 1em; text-align: center; } ================================================ FILE: sass/_variables.scss ================================================ // base variables $ms-font-path: '../fonts' !default; $ms-version: '1.18.0' !default; $ms-font-size-base: 14px !default; $ms-prefix: ms !default; $ms-serif-font: 'MPlantin, Garamond, Palatino, \'Times New Roman\', Times, serif' !default; $ms-phyrexian-h: false !default; // mana colors $ms-border-black: #010101; $ms-base-colorless: #beb9b2; $ms-base-white: #f0f2c0; $ms-base-blue: #b5cde3; $ms-base-black: #aca29a; $ms-base-red: #db8664; $ms-base-green: #93b483; $ms-white: #fff; $ms-blue: #3b6ba0; $ms-black: #383431; $ms-red: #c6553e; $ms-green: #3d684b; // project colors $ms-multicolor-flat: #cca753; $ms-multicolor-grad: linear-gradient(45deg, #cca54f 0%, #e0d3bb 50%, #cca54f 100%); $ms-ability-grad: linear-gradient(0deg, #c8913b 0%, #ecc65a 100%); ================================================ FILE: sass/mana.scss ================================================ @use "variables"; @use "path"; @use "core"; @use "icons"; @use "cost"; @use "loyalty"; @use "dfc"; @use "sizes"; @use "duo"; @use "colors"; @use "extras"; @use "aliases";