X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Fcommon.scss;h=0cb6655c981dd8046b2f040c7dc5f1186acde644;hb=b874da96f3fbd49635a68d3729af357178d42fc7;hp=3e88649417c1dcc9b8ced28749acd14768bc205e;hpb=c01ebf99d629029288a2ea7cf6874ca076d87f70;p=alttp.git diff --git a/resources/sass/common.scss b/resources/sass/common.scss index 3e88649..0cb6655 100644 --- a/resources/sass/common.scss +++ b/resources/sass/common.scss @@ -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,