record and order by number of games
[sc2-widget] / battle.css
index d18831fed0cc0f614445947cec7db5ecf402741e..8b0490d7cd0cc1487569122a2b1dd1002c07ac0d 100644 (file)
@@ -2,11 +2,22 @@ body {
        background: #000D1A;
        color: #CCE6FF;
        font: 24px Source Sans Pro, Arial, sans-serif;
+       margin-top: 1ex;
 }
 
 h1 {
        font: 700 1.2em Eurostile Extd,Source Sans Pro,sans-serif;
        text-transform: uppercase;
+       margin-top: 0;
+}
+h1:before {
+       background: url('https://static.starcraft2.com/dist/images/global/logos/img-sc2-nav-icon.png') no-repeat;
+       width: 50px;
+       height: 50px;
+       display: inline-block;
+       content: '';
+       vertical-align: middle;
+       margin: -1ex .4em -1ex 0;
 }
 .ladders {
        font: 700 .8em Eurostile, sans-serif;
@@ -18,10 +29,16 @@ strong {
        letter-spacing: .05em;
        text-shadow: 0 2px 4px rgba(0, 0, 0, .8), 0 8px 16px rgba(0, 0, 0, .6);
 }
-h2,
 a {
-       color: #CCE6FF;
+       color: inherit;
        text-decoration: none;
+       transition: all .5s;
+}
+a:hover {
+       color: #FFF;
+}
+a:hover img {
+       border-color: #FFF;
 }
 em {
        color: #A3B8CC;
@@ -56,6 +73,23 @@ img {
        background: #021120;
 }
 
+li, li img {
+       transition: all 1s;
+}
+.select > li {
+       opacity: .5;
+}
+.select > li.select {
+       opacity: 1;
+}
+.select > .select img {
+       border-color: #055CB3;
+}
+.ladders li:hover {
+       background: #0C2643;
+       cursor: help;
+}
+
 .rank:before {
        background: url("https://static.starcraft2.com/dist/images/none.c8b435f5900fab1ac7981cc9b56f6f44.png") no-repeat;
        background-position: -100px 0;
@@ -65,6 +99,9 @@ img {
        content: '';
        vertical-align: middle;
 }
+.rank.bronze:before {
+       background-image: url("https://static.starcraft2.com/dist/images/bronze.249b7eee2d0c53c60a15403ded9bdc7c.png");
+}
 .rank.silver:before {
        background-image: url("https://static.starcraft2.com/dist/images/silver.57bb73a131314d657135d2acf533d5e5.png");
 }
@@ -80,3 +117,16 @@ img {
 .rank.master:before {
        background-image: url("https://static.starcraft2.com/dist/images/master.51c47057b8cee504613a87cd84fba16b.png");
 }
+.rank.grandmaster:before {
+       background-image: url("https://static.starcraft2.com/dist/images/grandmaster.d2ab9065434e8fa4042d30e5010df5f9.png");
+}
+
+.ladders {
+       float: right;
+       margin: 0;
+       margin-top: -3ex;
+}
+.ladders li {
+       float: none;
+       margin-right: 0;
+}