$width: 1080px; $height: 1920px; $button-color: rgba(255,255,255,0.8); $button-hover: rgba(255,240,104,0.9); @import "util"; html, body, .root { margin: 0; padding: 0; @include size($width, $height); position: relative; overflow: hidden; background-repeat: no-repeat; color: #2F2F27; } $logo-height: 74px; .logo { position: absolute; @extend %pos-top-left-0; @include size(100%, $logo-height); flex-shrink: 0; background-size: 100% 100%; z-index: 1; } $banner-height: 350px; .banner { position: absolute; @include pos(74px, null, null, 0); @include size($width, $banner-height); z-index: 1; background-size: 100% 100%; } .Orders1 { position: absolute; @extend %pos-top-left-0; @extend %wh-100; .logo { height: 85px; } .language_sw { position: absolute; @include pos(154px, 46px, null, null); @include size(250px, 72px); border-radius: 72px; @extend %cursor-pointer; .en & { } .zh-tw & { } } .touchstart { position: absolute; bottom: 0; left: 0; @include size(100%, 305px); font-family: Montserrat; gap: 9px; font-size: 72px; letter-spacing: 5px; display: flex; justify-content: center; align-items: center; @extend %cursor-pointer; .zh-tw & { font-family: 'Microsoft JhengHei UI'; font-weight: bold; } } } $margin-left: 34px; $margin-right: 42px; %Orders-Main { position: absolute; top: $logo-height + $banner-height; left: 0; width: calc(100% - 80px); height: $height - $logo-height - $banner-height - $margin-left - $margin-right; background-color: #F6F6F6; margin: 34px 40px 42px 40px; } .Orders2 { @extend %Orders-Main; background-color: transparent; margin: 0 40px; %Home_bart { position: absolute; top: 36px; @include size(72px, 72px); border-radius: 50px; @extend %button-bg; @extend %cursor-pointer; } .Home { @extend %Home_bart; left: 787px; background-image: url('../images/orders/home.png'); } .bart { @extend %Home_bart; left: 930px; background-image: url('../images/Orders/bart.png'); .badge { font-family: Montserrat; position: absolute; background-color: red; top: -3px; right: 0; padding: 3px 9px; border-radius: 10px; opacity: 0.6; } } } @import "fonts";