X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Fcommon.scss;h=1f73fb450a0c0ca07ba6390e6393f6ad7625b98f;hb=1d3c8c6a96fc45d839f0e3719baca790059d189f;hp=8fe76bbf588ac5c871dff2d3690e0b2ed34441f6;hpb=b5a50d74cf042fa7fc874d8184dc37ae20bb74dd;p=alttp.git diff --git a/resources/sass/common.scss b/resources/sass/common.scss index 8fe76bb..1f73fb4 100644 --- a/resources/sass/common.scss +++ b/resources/sass/common.scss @@ -11,6 +11,18 @@ h1 { margin-bottom: 2rem; } +.aspect-box-container { + position: relative; + padding-top: 100%; +} +.aspect-box-content { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; +} + .button-bar { margin: -0.5ex; > * { @@ -271,8 +283,6 @@ h1 { display: inline-block; width: 100%; height: 100%; - background: url(/items-v1.png); - background-size: 800% 1100%; } .strike { position: absolute;