unlock game construct size

This commit is contained in:
Mashy 2019-11-07 17:44:27 +10:00
parent 1498c6677d
commit 4cbeab19df

View File

@ -35,6 +35,14 @@
position: absolute; position: absolute;
bottom: 0; bottom: 0;
height: 50%; height: 50%;
.avatar {
z-index: 1;
position: absolute;
top: 0;
height: 100%;
width: 100%;
}
} }
.opponent { .opponent {
@ -53,6 +61,13 @@
"right" "right"
"left"; "left";
.avatar {
position: absolute;
top: 3em;
height: 100%;
width: 100%;
}
.right { .right {
height: 100%; height: 100%;
display: grid; display: grid;
@ -60,7 +75,7 @@
grid-template-areas: grid-template-areas:
"stats" "stats"
"name" "name"
"avatar"; "avatar"
} }
.effects { .effects {
@ -130,6 +145,7 @@
margin-bottom: 0.25em; margin-bottom: 0.25em;
text-align: center; text-align: center;
grid-area: name; grid-area: name;
z-index: 2;
span { span {
background-color: black; background-color: black;
} }