X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fsass%2Fcommon.scss;fp=resources%2Fsass%2Fcommon.scss;h=1f73fb450a0c0ca07ba6390e6393f6ad7625b98f;hb=e0925d5b97ab0804222195eb4231c63b33703942;hp=0d61af3f5605901eda06ee3f67b8b8cf17d09a63;hpb=abdc2ea1ade1fb12ceacc28660890750e69ae36f;p=alttp.git diff --git a/resources/sass/common.scss b/resources/sass/common.scss index 0d61af3..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; > * {