git.shiar.nl
/
sc2-widget
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
track rank images locally
[sc2-widget]
/
battle.css
diff --git
a/battle.css
b/battle.css
index 1f042b6320e672ffa87820caeb67af75896a689a..194bf8485c346cdd7c318186748a72615f877892 100644
(file)
--- a/
battle.css
+++ b/
battle.css
@@
-95,7
+95,7
@@
li, li img {
}
.rank:before {
}
.rank:before {
- background: url(
"https://static.starcraft2.com/dist/images/none.c8b435f5900fab1ac7981cc9b56f6f44.png"
) no-repeat;
+ background: url(
rank-none.png
) no-repeat;
background-position: -100px 0;
width: 45px;
height: 45px;
background-position: -100px 0;
width: 45px;
height: 45px;
@@
-104,25
+104,25
@@
li, li img {
vertical-align: middle;
}
.rank.bronze:before {
vertical-align: middle;
}
.rank.bronze:before {
- background-image: url(
"https://static.starcraft2.com/dist/images/bronze.249b7eee2d0c53c60a15403ded9bdc7c.png"
);
+ background-image: url(
rank-bronze.png
);
}
.rank.silver:before {
}
.rank.silver:before {
- background-image: url(
"https://static.starcraft2.com/dist/images/silver.57bb73a131314d657135d2acf533d5e5.png"
);
+ background-image: url(
rank-silver.png
);
}
.rank.gold:before {
}
.rank.gold:before {
- background-image: url(
"https://static.starcraft2.com/dist/images/gold.ef84260f60c780d9fa2d99f083668592.png"
);
+ background-image: url(
rank-gold.png
);
}
.rank.platinum:before {
}
.rank.platinum:before {
- background-image: url(
"https://static.starcraft2.com/dist/images/platinum.f407fcd425549f315098b0806ef8eac4.png"
);
+ background-image: url(
rank-platinum.png
);
}
.rank.diamond:before {
}
.rank.diamond:before {
- background-image: url(
"https://static.starcraft2.com/dist/images/diamond.6faad792f7b6bfc1c9f9bbeb5c289043.png"
);
+ background-image: url(
rank-diamond.png
);
}
.rank.master:before {
}
.rank.master:before {
- background-image: url(
"https://static.starcraft2.com/dist/images/master.51c47057b8cee504613a87cd84fba16b.png"
);
+ background-image: url(
rank-master.png
);
}
.rank.grandmaster:before {
}
.rank.grandmaster:before {
- background-image: url(
"https://static.starcraft2.com/dist/images/grandmaster.d2ab9065434e8fa4042d30e5010df5f9.png"
);
+ background-image: url(
rank-grandmaster.png
);
}
.rank.tier3:before {
background-position: -100px -50px;
}
.rank.tier3:before {
background-position: -100px -50px;