This commit is contained in:
parent
8e547576e0
commit
56803dd8c6
@ -102,7 +102,7 @@ const Unit = ({
|
|||||||
}, [unitLevel, unitType]);
|
}, [unitLevel, unitType]);
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
onClick={() => addUnit(unitType, 10)}
|
onClick={() => addUnit(unitType)}
|
||||||
className={`${styles.armyUnit} ${
|
className={`${styles.armyUnit} ${
|
||||||
canPurchase ? "" : styles.isUnavailable
|
canPurchase ? "" : styles.isUnavailable
|
||||||
}`}
|
}`}
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
thunder 4s linear infinite;
|
thunder 4s linear infinite;
|
||||||
}
|
}
|
||||||
.clouds_small {
|
.clouds_small {
|
||||||
top: 270px;
|
top: 285px;
|
||||||
height: 82px;
|
height: 82px;
|
||||||
background-image: url("/background/clouds_small.png");
|
background-image: url("/background/clouds_small.png");
|
||||||
animation:
|
animation:
|
||||||
@ -60,6 +60,9 @@
|
|||||||
top: 130px;
|
top: 130px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
left: auto;
|
left: auto;
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
right: -20px;
|
||||||
|
}
|
||||||
animation: thunder_hue_hard 12s linear infinite;
|
animation: thunder_hue_hard 12s linear infinite;
|
||||||
transition: all 0.1s cubic-bezier(0.265, 1.4, 0.68, 1.65);
|
transition: all 0.1s cubic-bezier(0.265, 1.4, 0.68, 1.65);
|
||||||
transform-origin: bottom center;
|
transform-origin: bottom center;
|
||||||
@ -119,6 +122,9 @@
|
|||||||
height: 372px;
|
height: 372px;
|
||||||
top: 90px;
|
top: 90px;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
|
left: -80px;
|
||||||
|
}
|
||||||
animation: thunder_hue_hard 12s linear infinite;
|
animation: thunder_hue_hard 12s linear infinite;
|
||||||
transition: all 0.1s cubic-bezier(0.265, 1.4, 0.68, 1.65);
|
transition: all 0.1s cubic-bezier(0.265, 1.4, 0.68, 1.65);
|
||||||
transform-origin: bottom center;
|
transform-origin: bottom center;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user