Files
2023-08-25 13:31:04 +05:30

63 lines
2.0 KiB
CSS

.webgl-content * {border: 0; margin: 0; padding: 0}
.webgl-content {top: 0; left: 0;}
.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.webgl-content .logo {
background: url('logo.png') no-repeat center / contain;
display: block;
height: 16vw; width: 16vw;
}
.webgl-content .progress {height: 22px; width: 191px; margin-top: 90px;}
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}
.webgl-content .logo.Dark {background-image: url('logo.png');}
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty.Dark.png');}
.webgl-content .progress.Dark .full {background-image: url('progressFull.Dark.png');}
.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;}
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;}
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.png'); width: 204px; float: left;}
.webgl-content .footer .title {margin-right: 10px; float: right;}
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;}
body, html{
margin:0;
padding:0;
}
#gameContainer canvas{
position:absolute;
transform:translate(-50%, -50%);
top:50%;
left:50%;
}
.simmer{
position:absolute;
bottom:10px;
right:10px;
color:#aaa;
font-size:9px;
font-family:sans-serif;
}
.simmer a{
color:#cccccc;
text-decoration:none;
font-size:12px;
transition:opacity 3s;
}
.simmer a:hover{
color:#fff;
text-decoration:underline;
}
.simmer.hide {
opacity:0;
}