X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Fcommon.scss;h=1f73fb450a0c0ca07ba6390e6393f6ad7625b98f;hb=4b8475936f9c0f0379d2dee4e1440f4445682715;hp=0cb6655c981dd8046b2f040c7dc5f1186acde644;hpb=167f986f468014e00d82fa2df8193f6be8dca19d;p=alttp.git diff --git a/resources/sass/common.scss b/resources/sass/common.scss index 0cb6655..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; > * { @@ -258,6 +270,7 @@ h1 { position: relative; display: inline-flex; align-items: center; + vertical-align: middle; width: 2em; height: 2em; @@ -266,6 +279,11 @@ h1 { max-width: 100%; max-height: 100%; } + .item-map-icon { + display: inline-block; + width: 100%; + height: 100%; + } .strike { position: absolute; top: 0;