grid align ladders next to members
[sc2-widget] / battle.css
index 194bf8485c346cdd7c318186748a72615f877892..4f2c4d39a0df46f438efb44fed19970f7de5e67e 100644 (file)
@@ -12,7 +12,7 @@ h1 {
        margin-top: 0;
 }
 h1:before {
-       background: url('https://static.starcraft2.com/dist/images/global/logos/img-sc2-nav-icon.png') no-repeat;
+       background: url(sc2icon.png) no-repeat;
        width: 50px;
        height: 50px;
        display: inline-block;
@@ -134,14 +134,30 @@ li, li img {
        background-position: -100px -150px;
 }
 
+.old {
+       text-decoration: line-through;
+}
+.old:before {
+       opacity: .5;
+}
+
 .ladders li {
        float: none;
        margin-right: 0;
 }
 
 @media (min-width: 576px) {
+       body {
+               display: grid;
+               grid-auto-columns: minmax(auto, max-content);
+       }
+       .members {
+               grid-column: 1;
+               grid-row: 2;
+       }
        .ladders {
-               float: right;
+               grid-column: 2;
+               grid-row: 2;
                margin: 0;
                margin-top: -3ex;
        }