@use 'mixins'; @use 'reset'; html { background: black; } body { font-size: 1.22em; display: flex; justify-content: center; align-items: center; background: black; color: white; background: radial-gradient(ellipse at 00% 100%, rgba(48, 25, 25, 0.3) 0%, rgba(52, 8, 8, 0.4) 35%, rgba(0, 0, 0, 0.4) 100%); @include mixins.text; } h1, h2, h3, h4, h5, h6 { @include mixins.heading; } .wrapper { width: 90vw; height: 90vh; display: grid; grid-template-rows: 100px 1fr; grid-template-columns: 2fr 6fr; grid-gap: 15px; } header, aside, main { background: rgba(12, 12, 12, 1); filter: drop-shadow(1px 1px 0px #6f142a) drop-shadow(2px 1px 0px #6f142a) drop-shadow(3px 2px 0px #6e1329); position: relative; } header { grid-row: 1/2; grid-column: 1/3; display: flex; .campaign-image { width: 100px; img { width: 100%; height: 100%; object-fit: cover; /* or contain, or fill */ } overflow: hidden; } section { width: 100%; display: grid; grid-template-columns: 3fr 1fr; grid-template-rows: 2fr 1fr 1fr; padding-left: 20px; } .campaign-name { font-size: 2em; grid-row: 1/2; grid-column: 1/2; align-self: last baseline; padding-bottom: 3px; } .version { font-size: 0.6em; text-transform: lowercase; grid-row: 1/2; grid-column: 2/3; align-self: start; justify-self: end; padding: 3px; color: #888; } .controls { grid-row: 2/4; grid-column: 2/3; padding: 3px; display: flex; justify-content: flex-end; align-items: flex-end; button { background: #ccc; padding: 3px 5px; text-transform: lowercase; font-size: 0.66em; line-height: 1em; margin: 2px 5px; @include mixins.heading; } } .game-date, .session-number { display: flex; align-items: center; :first-child { width: 120px; } .adjust { margin: 0 1px; width: 20px; text-align: center; &:hover { transform: scale(1.4); transition: transform .2s; cursor: pointer; } } } .session-number { grid-row: 2/3; grid-column: 1/2; font-weight: 300; } .game-date { grid-row: 3/4; grid-column: 1/2; } } aside { grid-row: 2/3; grid-column: 1/2; } main { grid-row: 2/3; grid-column: 2/3; } input { border: 1px solid black; height: 36px; font-size: 28px; padding: 3px; } .item-search-card { display: flex; flex-direction: row; } input.header-input { border: none; color: white; &-1, &-2 { font-weight: 800; } &-3, &-4 { font-weight: 500; } &-5, &-6 { font-weight: 200; } @include mixins.heading; }