]> git.localhorst.tv Git - alttp.git/blobdiff - resources/sass/common.scss
add APNG player
[alttp.git] / resources / sass / common.scss
index 14cbd07be4a3d4178d66b3da3bf0c4a52224b65c..3e88649417c1dcc9b8ced28749acd14768bc205e 100644 (file)
@@ -23,6 +23,31 @@ h1 {
        max-width: none !important;
 }
 
+.png-player {
+       display: flex;
+       flex-direction: column;
+       align-items: center;
+
+       .screen {
+               background: black;
+               display: flex;
+               width: 100%;
+               height: auto;
+
+               canvas {
+                       flex-grow: 1;
+                       -ms-interpolation-mode: nearest-neighbor;
+                       image-rendering: crisp-edges;
+                       image-rendering: pixelated;
+               }
+       }
+
+       .controls {
+               margin-top: 0.5rem;
+               margin-bottom: 0.5rem;
+       }
+}
+
 .quote-alert {
        position: relative;
        &::after {