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

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "→‎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('filepath://Coins_10000.png');...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 26: Line 26:


.coins-10000 {
.coins-10000 {
background-image: url('filepath://Coins_10000.png');
background-image: url('/images/rss/Coins_10000.png');
padding: 3px 0 3px 35px;
padding: 3px 0 3px 35px;
}
}
.coins-1000 {
.coins-1000 {
background-image: url('filepath://Coins_1000.png');
background-image: url('/images/rss/Coins_1000.png');
padding: 1px 0 1px 35px;
padding: 1px 0 1px 35px;
}
}


.coins-250 {
.coins-250 {
background-image: url('filepath://Coins_250.png');
background-image: url('/images/rss/Coins_250.png');
padding: 1px 0 1px 35px;
padding: 1px 0 1px 35px;
}
}


.coins-100 {
.coins-100 {
background-image: url('filepath://Coins_100.png');
background-image: url('/images/rss/Coins_100.png');
padding: 1px 0px 1px 32px;
padding: 1px 0px 1px 32px;
}
}


.coins-25 {
.coins-25 {
background-image: url('filepath://Coins_25.png');
background-image: url('/images/rss/Coins_25.png');
padding-left: 30px;
padding-left: 30px;
}
}


.coins-5 {
.coins-5 {
background-image: url('filepath://Coins_5.png');
background-image: url('/images/rss/Coins_5.png');
padding-left: 30px;
padding-left: 30px;
}
}


.coins-4 {
.coins-4 {
background-image: url('filepath://Coins_4.png');
background-image: url('/images/rss/Coins_4.png');
padding-left: 30px;
padding-left: 30px;
}
}


.coins-3 {
.coins-3 {
background-image: url('filepath://Coins_3.png');
background-image: url('/images/rss/Coins_3.png');
padding-left: 30px;
padding-left: 30px;
}
}


.coins-2 {
.coins-2 {
background-image: url('filepath://Coins_2.png');
background-image: url('/images/rss/Coins_2.png');
padding-left: 23px;
padding-left: 23px;
}
}


.coins-1 {
.coins-1 {
background-image: url('filepath://Coins_1.png');
background-image: url('/images/rss/Coins_1.png');
padding-left: 15px;
padding-left: 15px;
}
}

Latest revision as of 17:14, 17 October 2024

/* For 0

* 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;

}