spacing mtg
This commit is contained in:
parent
8fb76a0f08
commit
e7de4a37b4
@ -30,19 +30,7 @@ playerCount = localStorage.getItem('playerCount');
|
|||||||
let playerCount1 = Number(playerCount)+1;
|
let playerCount1 = Number(playerCount)+1;
|
||||||
for (i=playerCount1; i<9; i++){document.getElementById("player"+i).style.display = "none" }
|
for (i=playerCount1; i<9; i++){document.getElementById("player"+i).style.display = "none" }
|
||||||
|
|
||||||
let lifeIncrease1 = () => {
|
|
||||||
let counter = Number(this.document.getElementById("lifeCount1").innerHTML);
|
|
||||||
counter++;
|
|
||||||
if (counter > 0) document.getElementById("lifeCount1").style.color = "black";
|
|
||||||
document.getElementById("lifeCount1").innerHTML = counter;
|
|
||||||
};
|
|
||||||
|
|
||||||
// let fiveIncreaseLife1 = () => {
|
|
||||||
// let counter = Number(this.document.getElementById("lifeCount1").innerHTML);
|
|
||||||
// counter +=5;
|
|
||||||
// if (counter > 0) document.getElementById("lifeCount1").style.color = "black";
|
|
||||||
// document.getElementById("lifeCount1").innerHTML = counter;
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
let lifeIncrease = (playerNum) => {
|
let lifeIncrease = (playerNum) => {
|
||||||
|
|||||||
@ -32,7 +32,7 @@ main {
|
|||||||
margin-top: 70px;
|
margin-top: 70px;
|
||||||
}
|
}
|
||||||
.name {
|
.name {
|
||||||
font-size: 3rem;
|
font-size: 3em;
|
||||||
display: flex;
|
display: flex;
|
||||||
margin: 0 0 20px;
|
margin: 0 0 20px;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
@ -56,6 +56,7 @@ main {
|
|||||||
text-shadow: 0 1px 0 #eee;
|
text-shadow: 0 1px 0 #eee;
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
min-height: 75px;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-content: center;
|
align-content: center;
|
||||||
}
|
}
|
||||||
@ -85,7 +86,7 @@ main {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
/* height:250px; */
|
/* height:250px; */
|
||||||
min-width: auto;
|
min-width: auto;
|
||||||
font-size: 6rem;
|
font-size: 3em;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
height:fit-content
|
height:fit-content
|
||||||
}
|
}
|
||||||
@ -99,6 +100,7 @@ main {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: 1.5rem;
|
margin: 1.5rem;
|
||||||
|
max-width: max-content;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user