@font-face { font-family: 'PetMe64Web'; font-style: normal; font-weight: normal; -webkit-font-smoothing: none; font-smooth: never; src: local("PetMe64Web"); src: local('Pet Me 64'), local('Pet Me 64'), url("PetMe64.woff") format('woff'); } html, body { height: 100%; margin: 0; padding: 0; overflow: hidden; } body { background-color:#ffffff; } .ui { border: 3px solid #000; background-color: rgba(200,200,200,0.5); font-family: 'PetMe64Web'; position: absolute; left: 50%; transform: translate(-50%, 0); z-index: 3; padding: 5px; } #controls { bottom: 0px; } #beets { top: 0px; height: 20px; overflow:hidden; #display:table-cell; #vertical-align:middle; #padding: 5px; } .beetView { position: relative; top: -50%; display: inline-block; padding: 0px; background: #333; color: #FFF; #display: table-cell; #vertical-align: middle; #background-color: rgba(0,0,0,0.7); #color: #FFF; #border-radius: 13px 13px 13px 13px; #-moz-border-radius: 13px 13px 13px 13px; #-webkit-border-radius: 13px 13px 13px 13px; #border: 0px none #000000; } #beetLeft { -webkit-border-top-left-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-topleft: 5px; -moz-border-radius-bottomleft: 5px; border-top-left-radius: 5px; border-bottom-left-radius: 5px; padding-right: 10px; } #beetRight { margin-left: -10px; -webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; padding-left: 10px; } #beetAccent { #font-size: 40px; margin-left: -10px; font-size: 2em; color: rgba(255,255,255,1); z-index: 2; padding: 7px; border-radius: 50%; } #beetAccent.fade { animation-name: textfadeout; animation-duration: 0.2s; color: rgba(255,255,255,0); } #waifu { display: block; height: 100%; #margin-left: auto; #margin-right: auto; padding: 0; z-index: -10; opacity: 0; } #waifu.loaded { opacity: 1; animation-name: fadein; animation-duration: 0.5s; -webkit-animation-name: fadein; -webkit-animation-duration: 0.5s; } #preloader { background-color: #FFF; width: 100%; height: 100%; display:flex; justify-content:center; align-items:center; font-family: 'PetMe64Web'; font-size: 30pt; position: absolute; top: 0; left: 0; z-index: 10; } #preloader.loaded { opacity: 0; animation-name: fadeout; animation-duration: 3s; -webkit-animation-name: fadeout; -webkit-animation-duration: 3s; } @keyframes fadein { from {opacity: 0;} to {opacity: 1;} } @keyframes fadeout { from {opacity: 1;} to {opacity: 0;} } @keyframes textfadeout { from {color: rgba(255,255,255,1);} to {color: rgba(255,255,255,0);} }