X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Fcommon.scss;h=8fe76bbf588ac5c871dff2d3690e0b2ed34441f6;hb=b5a50d74cf042fa7fc874d8184dc37ae20bb74dd;hp=4d603f06a3b4926d0a8706e4e1ffdd0cf35477fa;hpb=df85042df90aee0b09eb11a3cd5bbc98169cb765;p=alttp.git diff --git a/resources/sass/common.scss b/resources/sass/common.scss index 4d603f0..8fe76bb 100644 --- a/resources/sass/common.scss +++ b/resources/sass/common.scss @@ -78,6 +78,31 @@ h1 { } } +.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, @@ -233,6 +258,7 @@ h1 { position: relative; display: inline-flex; align-items: center; + vertical-align: middle; width: 2em; height: 2em; @@ -241,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;