keyrune/less/border.less

108 lines
3.0 KiB
Plaintext
Raw Normal View History

.@{ss-prefix}-border {
/*&:not(.ss-duo)::after {
content: "";
position: absolute;
left: -.05em;
top: 0em;
color: #fff;
font-size: 1.15em;
z-index: -1;
background: #fff;
-webkit-text-stroke: 0.05em #fff;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}*/
/*&:not(.ss-duo)::after { // this needs ::after to get the same content as ::before to work again
-webkit-text-stroke: 0.05em #fff;
text-stroke: 0.5em #fff;
}*/
&.@{ss-prefix}-van:after { content: "\e655"; } // Vanguard
&.@{ss-prefix}-hop:after { content: "\e656"; } // Planechase 2009
&.@{ss-prefix}-arc:after { content: "\e657"; } // Archenemy
&.@{ss-prefix}-cmd:after { content: "\e658"; } // Commander
&.@{ss-prefix}-pc2:after { content: "\e659"; } // Planechase 2012
&.@{ss-prefix}-cm1:after { content: "\e65a"; } // Commander's Arsenal
&.@{ss-prefix}-c13:after { content: "\e65b"; } // Commander 2013
&.@{ss-prefix}-cns:after { content: "\e65c"; } // Conspiracy
&.@{ss-prefix}-c14:after { content: "\e65d"; } // Commander 2014
&.@{ss-prefix}-c15:after { content: "\e900"; } // Commander 2015
&.@{ss-prefix}-inr:after { content: "\e9e3"; } // Innistrad Remastered
// corrections for various duo icons
// SIS: the regular symbol becomes the border now
&.@{ss-prefix}-sis {
&::before {
content: "\e9b3";
}
&::after {
content: "\e9b2";
}
}
// c16: regular symbol becomes the border
&.@{ss-prefix}-c16 {
&::before {
content: "\e910"; // rarity
}
&::after {
content: "\e9e5"; // new border
}
}
// dft: regular symbol becomes the border
&.@{ss-prefix}-dft {
&::before {
content: "\e9e1"; // rarity
}
&::after {
content: "\e9e0"; // new border
}
}
// experimental ::marker for 3 layer icons
&.@{ss-prefix}-40k {
display: list-item;
list-style-position: inside;
&::before {
position: absolute;
left: 0;
top: 0;
}
&::marker {
content: "\e99a";
color: #000;
}
}
&.@{ss-prefix}-dmc {
display: list-item;
list-style-position: inside;
&::before {
position: absolute;
left: 0;
top: 0;
}
&::marker {
content: "\e996";
color: #000;
}
}
&.@{ss-prefix}-dsc {
display: list-item;
list-style-position: inside;
&.@{ss-prefix}-fw {
text-align: revert !important; // not sure why we have to remove center
}
&::before {
position: absolute;
left: 0;
top: 0;
}
&::marker {
content: "\e9dd";
color: #000;
}
}
}