2015-03-24 15:44:44 +00:00
|
|
|
/**
|
2023-03-10 20:23:18 +00:00
|
|
|
* planeswalker and other loyalty symbols */
|
2015-03-24 15:44:44 +00:00
|
|
|
|
2015-04-09 17:27:38 +00:00
|
|
|
.@{ms-prefix}-loyalty {
|
2015-03-24 15:44:44 +00:00
|
|
|
|
2023-03-10 20:23:18 +00:00
|
|
|
// all
|
2015-03-24 15:44:44 +00:00
|
|
|
&-up,
|
|
|
|
&-down,
|
|
|
|
&-zero,
|
|
|
|
&-start {
|
|
|
|
color: #111;
|
2023-03-10 20:23:18 +00:00
|
|
|
font-size: 1.5em;
|
2015-03-24 15:44:44 +00:00
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2023-03-10 20:42:43 +00:00
|
|
|
// variant alterations
|
2015-03-24 15:44:44 +00:00
|
|
|
&-start {
|
2023-03-10 20:23:18 +00:00
|
|
|
font-size: 2.0em; // increase the size a bit by default
|
2015-03-24 15:44:44 +00:00
|
|
|
}
|
2023-03-10 20:42:43 +00:00
|
|
|
&-zero::after {
|
|
|
|
line-height: 2.1em !important; // slight correction
|
|
|
|
}
|
2015-03-24 15:44:44 +00:00
|
|
|
|
2023-03-10 20:23:18 +00:00
|
|
|
// base styles for counters
|
2020-09-03 17:42:58 +00:00
|
|
|
&-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 {
|
2015-03-24 15:44:44 +00:00
|
|
|
color: #fff;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 0.5em;
|
2015-04-09 17:27:38 +00:00
|
|
|
font-family: @ms-serif-font;
|
2015-03-24 15:44:44 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
2023-03-10 20:23:18 +00:00
|
|
|
line-height: 2.25em;
|
2015-03-24 15:44:44 +00:00
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-03-10 20:23:18 +00:00
|
|
|
&-0::after {
|
|
|
|
content: "0";
|
|
|
|
}
|
2015-03-24 15:44:44 +00:00
|
|
|
&-up {
|
2020-09-03 17:42:58 +00:00
|
|
|
&.@{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"; }
|
2015-03-24 15:44:44 +00:00
|
|
|
}
|
|
|
|
&-start {
|
2020-09-03 17:42:58 +00:00
|
|
|
&.@{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"; }
|
2015-03-24 15:44:44 +00:00
|
|
|
}
|
|
|
|
&-down {
|
2023-03-10 20:23:18 +00:00
|
|
|
&::after{
|
|
|
|
line-height: 2.0em;
|
|
|
|
}
|
2020-09-03 17:42:58 +00:00
|
|
|
&.@{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"; }
|
2015-03-24 15:44:44 +00:00
|
|
|
}
|
2020-01-30 19:11:13 +00:00
|
|
|
|
2023-03-10 20:42:43 +00:00
|
|
|
// outline style for card text
|
|
|
|
&-outline {
|
|
|
|
&::before {
|
|
|
|
color: transparent;
|
|
|
|
-webkit-text-stroke: 0.03em #111;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
color: #111;
|
|
|
|
}
|
|
|
|
// correction for starting loyalty size
|
2023-05-29 17:00:59 +00:00
|
|
|
&.@{ms-prefix}-loyalty-start {
|
2023-03-10 20:42:43 +00:00
|
|
|
font-size: 1.6em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-30 19:11:13 +00:00
|
|
|
}
|
|
|
|
|
2023-03-10 20:23:18 +00:00
|
|
|
// saga loyalty
|
2020-01-30 19:11:13 +00:00
|
|
|
|
|
|
|
.@{ms-prefix}-saga {
|
2020-09-03 17:42:58 +00:00
|
|
|
|
2023-03-10 20:23:18 +00:00
|
|
|
// all
|
|
|
|
color: #111;
|
|
|
|
|
|
|
|
// numbers
|
2020-09-03 17:42:58 +00:00
|
|
|
&-1::after,
|
|
|
|
&-2::after,
|
|
|
|
&-3::after,
|
|
|
|
&-4::after,
|
2023-09-11 00:52:46 +00:00
|
|
|
&-5::after,
|
|
|
|
&-6::after {
|
2020-01-30 19:11:13 +00:00
|
|
|
color: #fff;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 0.6em;
|
|
|
|
font-family: @ms-serif-font;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
2023-03-10 20:23:18 +00:00
|
|
|
line-height: 2.0em;
|
2020-01-30 19:11:13 +00:00
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2020-09-03 17:42:58 +00:00
|
|
|
|
|
|
|
&-1::after { content: "I"; }
|
|
|
|
&-2::after { content: "II"; }
|
|
|
|
&-3::after { content: "III"; }
|
|
|
|
&-4::after { content: "IV"; }
|
|
|
|
&-5::after { content: "V"; }
|
2023-09-11 00:52:46 +00:00
|
|
|
&-6::after { content: "VI"; }
|
2020-09-03 17:42:58 +00:00
|
|
|
|
2023-03-09 04:27:04 +00:00
|
|
|
}
|
|
|
|
|
2023-03-10 20:23:18 +00:00
|
|
|
// level card levels
|
2023-03-09 04:27:04 +00:00
|
|
|
|
|
|
|
.@{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%;
|
|
|
|
}
|
|
|
|
|
2023-05-29 17:00:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// 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;
|
2023-05-29 17:34:13 +00:00
|
|
|
width: 0.9em;
|
2023-05-29 17:00:59 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
color: #fff;
|
|
|
|
content: "\e9d8";
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
text-shadow: 0 0 5px #333;
|
|
|
|
}
|
|
|
|
&::marker {
|
|
|
|
content: "\e9d7";
|
|
|
|
color: #111;
|
|
|
|
}
|
|
|
|
}
|
2020-09-03 17:42:58 +00:00
|
|
|
}
|