]> git.localhorst.tv Git - alttp.git/blobdiff - resources/sass/common.scss
basic auto tracking
[alttp.git] / resources / sass / common.scss
index 3e88649417c1dcc9b8ced28749acd14768bc205e..8fe76bbf588ac5c871dff2d3690e0b2ed34441f6 100644 (file)
@@ -23,6 +23,18 @@ h1 {
        max-width: none !important;
 }
 
+.pic-end {
+       float: right;
+       margin-left: 1rem;
+       margin-bottom: 1rem;
+}
+
+.pic-start {
+       float: left;
+       margin-right: 1rem;
+       margin-bottom: 1rem;
+}
+
 .png-player {
        display: flex;
        flex-direction: column;
@@ -60,6 +72,37 @@ h1 {
        }
 }
 
+.raw-html {
+       img[type="image/apng"] {
+               cursor: pointer;
+       }
+}
+
+.slider-container {
+       overflow: hidden;
+       height: 100%;
+       width: 100%;
+
+       > .slider-slides {
+               transition: transform 600ms;
+       }
+       &.horizontal {
+               > .slider-slides {
+                       height: 100%;
+                       white-space: nowrap;
+                       > .slider-slide {
+                               display: inline-block;
+                               width: 100%;
+                       }
+               }
+       }
+       &.vertical {
+               > .slider-slides {
+                       width: 100%;
+               }
+       }
+}
+
 .snes-button-a,
 .snes-button-b,
 .snes-button-x,
@@ -215,6 +258,7 @@ h1 {
        position: relative;
        display: inline-flex;
        align-items: center;
+       vertical-align: middle;
        width: 2em;
        height: 2em;
 
@@ -223,6 +267,13 @@ h1 {
                max-width: 100%;
                max-height: 100%;
        }
+       .item-map-icon {
+               display: inline-block;
+               width: 100%;
+               height: 100%;
+               background: url(/items-v1.png);
+               background-size: 800% 1100%;
+       }
        .strike {
                position: absolute;
                top: 0;