MTG button redesign
This commit is contained in:
parent
6bb2b02920
commit
690edd01b9
@ -24,8 +24,13 @@
|
||||
<div id="nav_menu">
|
||||
</div>
|
||||
</nav>
|
||||
<div id="full" onclick="fullscreen()">
|
||||
<i class="fas fa-expand"></i>
|
||||
<div id="buttonWrapper">
|
||||
<div onclick="removePlayer()" id="removePlayer" class="buttons"><i class="fas fa-minus-circle"></i></div>
|
||||
<div onclick="reset()" id="reset" class="buttons"><i class="fas fa-undo-alt"></i><span class="buttonText"></span></div>
|
||||
<!-- <div onclick="resetName()" id="reset" class="buttons">↻<span class="buttonText">reset name</span></div> -->
|
||||
<div onclick="addPlayer()" id="addPlayer" class="buttons"><i class="fas fa-plus-circle"></i></div>
|
||||
<div class="buttons"><i id="full" onclick="fullscreen()" class="fas fa-expand"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="/menu/menu.js"></script>
|
||||
<main>
|
||||
@ -150,12 +155,7 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="buttonWrapper">
|
||||
<div onclick="removePlayer()" id="removePlayer" class="buttons"><i class="fas fa-minus-circle"></i></div>
|
||||
<div onclick="reset()" id="reset" class="buttons"><i class="fas fa-undo-alt"></i><span class="buttonText"></span></div>
|
||||
<!-- <div onclick="resetName()" id="reset" class="buttons">↻<span class="buttonText">reset name</span></div> -->
|
||||
<div onclick="addPlayer()" id="addPlayer" class="buttons"><i class="fas fa-plus-circle"></i></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</main>
|
||||
|
||||
@ -18,10 +18,7 @@ background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(137,137,194,1) 47%,
|
||||
/* align-items: center */
|
||||
}
|
||||
#full{
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 0;
|
||||
z-index: 100;
|
||||
|
||||
color:rgb(165, 162, 162);
|
||||
font-size: 3rem;
|
||||
margin-right:5px;
|
||||
@ -105,41 +102,40 @@ main {
|
||||
}
|
||||
|
||||
.player {
|
||||
/* padding: 20px; */
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
/* flex-grow: 1; */
|
||||
margin: 1.5rem;
|
||||
gap: 0;
|
||||
max-height: 300px !important;
|
||||
|
||||
|
||||
}
|
||||
|
||||
.buttons {
|
||||
font-size: 3em;
|
||||
line-height: 1.3em;
|
||||
text-align: center;
|
||||
height: 65px;
|
||||
width: 100%;
|
||||
|
||||
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva,
|
||||
Verdana, sans-serif;
|
||||
color: #333;
|
||||
/* color: #333; */
|
||||
color:rgb(141, 140, 140);
|
||||
|
||||
text-shadow: 0 1px 0 #eee;
|
||||
opacity: 0.6;
|
||||
background-color: #eee;
|
||||
|
||||
user-select: none;
|
||||
border-radius: 30px;
|
||||
align-content: center;
|
||||
|
||||
}
|
||||
#buttonWrapper {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
justify-content:space-evenly;
|
||||
/* z-index: 100; */
|
||||
width: 70%;
|
||||
border-radius: 30px;
|
||||
opacity: 0.6;
|
||||
background-color: #eee;
|
||||
position:absolute;
|
||||
bottom: 0;
|
||||
height:fit-content;
|
||||
top: 5px;
|
||||
right: 0;
|
||||
padding-right: 5px;
|
||||
align-content: center;
|
||||
}
|
||||
.buttonText {
|
||||
@ -153,14 +149,7 @@ main {
|
||||
z-index: 10;
|
||||
/* font-size: 3rem; */
|
||||
}
|
||||
.fiveLife::after{
|
||||
content: '5';
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
font-size: 10px;
|
||||
color: #aaa;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.lifeUp{
|
||||
color: #00cc00
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user