]> git.localhorst.tv Git - alttp.git/blobdiff - resources/sass/common.scss
draggable tracker icons
[alttp.git] / resources / sass / common.scss
index 0d61af3f5605901eda06ee3f67b8b8cf17d09a63..1f73fb450a0c0ca07ba6390e6393f6ad7625b98f 100644 (file)
@@ -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;
        > * {