git.shiar.nl
/
sc2-widget
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
members first even in mobile view
[sc2-widget]
/
battle.css
diff --git
a/battle.css
b/battle.css
index 194bf8485c346cdd7c318186748a72615f877892..6568fdc8e93cb5028981fb03edaf3d88167bb933 100644
(file)
--- a/
battle.css
+++ b/
battle.css
@@
-12,7
+12,7
@@
h1 {
margin-top: 0;
}
h1:before {
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;
width: 50px;
height: 50px;
display: inline-block;
@@
-134,14
+134,34
@@
li, li img {
background-position: -100px -150px;
}
background-position: -100px -150px;
}
+.old {
+ text-decoration: line-through;
+}
+.old:before {
+ opacity: .5;
+}
+
.ladders li {
float: none;
margin-right: 0;
}
.ladders li {
float: none;
margin-right: 0;
}
+body {
+ display: grid;
+ grid-auto-columns: minmax(auto, max-content);
+}
+.ladders {
+ grid-row: 3;
+}
+
@media (min-width: 576px) {
@media (min-width: 576px) {
+ .members {
+ grid-column: 1;
+ grid-row: 2;
+ }
.ladders {
.ladders {
- float: right;
+ grid-column: 2;
+ grid-row: 2;
margin: 0;
margin-top: -3ex;
}
margin: 0;
margin-top: -3ex;
}