Old stuff/old_sites/threejs/16/css/style.css
(Deskargatu)
body { margin: 0; width:100%; height:100%; overflow:hidden; }
canvas { width: 100%; height: 100% }
.gui
{
pointer-events:none;
font-family:sans-serif;
position:absolute;
z-index:3;
bottom:0px;
height:9vh;
width:100%;
background:rgba(0,0,0,0.5);
color:white;
}
.staminabar
{
position:absolute;
top:50%;
left:10px;
transform:translateY(-50%);
width:10vw;
background:#808080;
height:5vh;
}
.staminabar_filled
{
display:block;
position:absolute;
top:0px;
left:0px;
width:30%;
height:100%;
background:#c0c17e;
}
.life
{
position:absolute;
top:50%;
transform:translateY(-50%);
right:10px;
font-size:5vh;
text-transform:uppercase;
text-shadow:0px 0px 2px #000;
}