X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Fcommon.scss;h=0cb6655c981dd8046b2f040c7dc5f1186acde644;hb=167f986f468014e00d82fa2df8193f6be8dca19d;hp=4d603f06a3b4926d0a8706e4e1ffdd0cf35477fa;hpb=c7eaba38c74b617fbd03da196e4131e662311cc9;p=alttp.git diff --git a/resources/sass/common.scss b/resources/sass/common.scss index 4d603f0..0cb6655 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,