141 lines
4.2 KiB
CSS
141 lines
4.2 KiB
CSS
*, *:after, *:before {
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
body{
|
|
background-color: darkslategray;
|
|
height: 100%;
|
|
}
|
|
main{
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
|
flex-wrap: wrap;
|
|
}
|
|
.name{
|
|
font-size: xx-large;
|
|
display: flex;
|
|
margin: 0 0 20px;
|
|
padding: 10px 0;
|
|
opacity: 0.9;
|
|
background-color: #EEE;
|
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #EEE), color-stop(100%, #CCC));
|
|
background-image: -webkit-linear-gradient(top, #EEE, #AAA);
|
|
background-image: -moz-linear-gradient(top, #EEE, #AAA);
|
|
background-image: -ms-linear-gradient(top, #EEE, #AAA);
|
|
background-image: -o-linear-gradient(top, #EEE, #AAA);
|
|
background-image: linear-gradient(top, #EEE, #AAA);
|
|
border: 1px solid #999;
|
|
border-bottom: 1px solid #BBB;
|
|
-webkit-border-radius: 30px;
|
|
-moz-border-radius: 30px;
|
|
border-radius: 30px;
|
|
text-shadow: 0 1px 0 #EEE;
|
|
background-color: #EEE;
|
|
width: 400px;
|
|
justify-content: center;
|
|
}
|
|
.life{
|
|
opacity: 0.9;
|
|
background-color: #EEE;
|
|
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #EEE), color-stop(100%, #CCC));
|
|
background-image: -webkit-linear-gradient(top, #EEE, #AAA);
|
|
background-image: -moz-linear-gradient(top, #EEE, #AAA);
|
|
background-image: -ms-linear-gradient(top, #EEE, #AAA);
|
|
background-image: -o-linear-gradient(top, #EEE, #AAA);
|
|
background-image: linear-gradient(top, #EEE, #AAA);
|
|
border: 1px solid #999;
|
|
border-bottom: 1px solid #BBB;
|
|
-webkit-border-radius: 30px;
|
|
-moz-border-radius: 30px;
|
|
border-radius: 30px;
|
|
color: #333;
|
|
padding: 8px 0;
|
|
text-shadow: 0 1px 0 #EEE;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 200px;
|
|
font-size: 5rem;
|
|
user-select: none;
|
|
}
|
|
|
|
.player{
|
|
padding: 20px
|
|
}
|
|
|
|
.buttons-left{
|
|
|
|
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;
|
|
text-shadow: 0 1px 0 #EEE;
|
|
opacity: 0.2;
|
|
background-color: #EEE;
|
|
user-select: none;
|
|
-webkit-border-top-left-radius: 30px;
|
|
-moz-border-radius-topleft: 30px;
|
|
border-top-left-radius: 30px;
|
|
-webkit-border-top-right-radius: 30px;
|
|
-moz-border-radius-topright: 30px;
|
|
border-top-right-radius: 30px;
|
|
}
|
|
.buttons-right{
|
|
|
|
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;
|
|
text-shadow: 0 1px 0 #EEE;
|
|
opacity: 0.2;
|
|
background-color: #EEE;
|
|
user-select: none;
|
|
-webkit-border-top-left-radius: 30px;
|
|
-moz-border-radius-topleft: 30px;
|
|
border-top-left-radius: 30px;
|
|
-webkit-border-top-right-radius: 30px;
|
|
-moz-border-radius-topright: 30px;
|
|
border-top-right-radius: 30px;
|
|
}
|
|
.buttons-middle{
|
|
|
|
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;
|
|
text-shadow: 0 1px 0 #EEE;
|
|
opacity: 0.2;
|
|
background-color: #EEE;
|
|
user-select: none;
|
|
-webkit-border-top-left-radius: 30px;
|
|
-moz-border-radius-topleft: 30px;
|
|
border-top-left-radius: 30px;
|
|
-webkit-border-top-right-radius: 30px;
|
|
-moz-border-radius-topright: 30px;
|
|
border-top-right-radius: 30px;
|
|
|
|
}
|
|
#buttonWrapper{
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content:space-around;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
margin-top: auto;
|
|
}
|
|
#lifeCount{
|
|
padding: 10px;
|
|
} |