MediaWiki:Common.less/coins.less: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 1:
/* For {{Coins}}
/* For {{Coins}} * Author: User:Cqm */ :root { --coins-color: green; --coins-pos-color: #014cc0; --coins-neg-color: #c02614;}.coins { color: var(--coins-color); background-position: 0% 50%; background-repeat: no-repeat; display: inline-block; padding: 0;}.coins-pos { color: var(--coins-pos-color);}.coins-neg { color: var(--coins-neg-color);}.coins-10000 { background-image: url('/images/rss/Coins_10000.png'); padding: 3px 0 3px 35px;}.coins-1000 { background-image: url('/images/rss/Coins_1000.png'); padding: 1px 0 1px 35px;}.coins-250 { background-image: url('/images/rss/Coins_250.png'); padding: 1px 0 1px 35px;}.coins-100 { background-image: url('/images/rss/Coins_100.png'); padding: 1px 0px 1px 32px;}.coins-25 { background-image: url('/images/rss/Coins_25.png'); padding-left: 30px;}.coins-5 { background-image: url('/images/rss/Coins_5.png'); padding-left: 30px;}.coins-4 { background-image: url('/images/rss/Coins_4.png'); padding-left: 30px;}.coins-3 { background-image: url('/images/rss/Coins_3.png'); padding-left: 30px;}.coins-2 { background-image: url('/images/rss/Coins_2.png'); padding-left: 23px;}.coins-1 { background-image: url('/images/rss/Coins_1.png'); padding-left: 15px;}
* Author: User:Cqm
*/
:root {
--coins-color: green;
--coins-pos-color: #014cc0;
--coins-neg-color: #c02614;
}
 
.coins {
color: var(--coins-color);
background-position: 0% 50%;
background-repeat: no-repeat;
display: inline-block;
padding: 0;
}
 
.coins-pos {
color: var(--coins-pos-color);
}
 
.coins-neg {
color: var(--coins-neg-color);
}
 
.coins-10000 {
background-image: url('/images/rss/Coins_10000.png');
padding: 3px 0 3px 35px;
}
.coins-1000 {
background-image: url('/images/rss/Coins_1000.png');
padding: 1px 0 1px 35px;
}
 
.coins-250 {
background-image: url('/images/rss/Coins_250.png');
padding: 1px 0 1px 35px;
}
 
.coins-100 {
background-image: url('/images/rss/Coins_100.png');
padding: 1px 0px 1px 32px;
}
 
.coins-25 {
background-image: url('/images/rss/Coins_25.png');
padding-left: 30px;
}
 
.coins-5 {
background-image: url('/images/rss/Coins_5.png');
padding-left: 30px;
}
 
.coins-4 {
background-image: url('/images/rss/Coins_4.png');
padding-left: 30px;
}
 
.coins-3 {
background-image: url('/images/rss/Coins_3.png');
padding-left: 30px;
}
 
.coins-2 {
background-image: url('/images/rss/Coins_2.png');
padding-left: 23px;
}
 
.coins-1 {
background-image: url('/images/rss/Coins_1.png');
padding-left: 15px;
}