webmine / TemplateData /style.css
clone3's picture
Upload 19 files
4c3b17d verified
body { padding: 0; margin: 0 }
#unity-container { position: absolute }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { background: #1a1a1a } /* Match the dark background */
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
display: none;
align-items: center;
flex-direction: column;
gap: 20px;
}
#unity-logo {
width: 64px;
height: 64px;
position: relative;
background-image:
linear-gradient(#ffffff 16px, transparent 0),
linear-gradient(#ffffff 16px, transparent 0),
linear-gradient(#ffffff 16px, transparent 0),
linear-gradient(#ffffff 16px, transparent 0);
background-repeat: no-repeat;
background-size: 16px 16px;
background-position: left top, left bottom, right top, right bottom;
animation: rotate 1s linear infinite;
}
@keyframes rotate {
0% {
width: 64px;
height: 64px;
transform: rotate(0deg);
}
50% {
width: 30px;
height: 30px;
transform: rotate(180deg);
}
100% {
width: 64px;
height: 64px;
transform: rotate(360deg);
}
}
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('webgl-logo.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px; color: #ffffff; }
#unity-fullscreen-button { float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }
#unity-warning { position: absolute; left: 50%; top: 5%; transform: translate(-50%); background: #1a1a1a; padding: 10px; display: none; color: #ffffff; }