@import 'colours.less'; .menu { height: 100%; display: grid; grid-template-rows: minmax(min-content, 2fr) 1fr; grid-template-columns: 1fr; grid-template-areas: "top" "bottom"; .top { grid-area: top; padding: 0 0 0.5em 2em; border-bottom: 0.1em solid #222; box-sizing: border-box; } .bottom { grid-area: bottom; } .team { display: grid; grid-area: top; grid-template-columns: repeat(auto-fill, minmax(min-content, 33%)); max-height: 100%; .team-select:not(:nth-child(3n)) { margin-right: 0.5em; } .construct { flex: 1 1 33%; display: flex; flex-flow: column; text-align: center; justify-content: center; border: 1px solid black; transition-property: border; transition-duration: 0.25s; transition-delay: 0; transition-timing-function: ease; button:not(:last-child) { margin-bottom: 1em; } .avatar { background-size: contain; background-repeat: no-repeat; background-position: center; pointer-events: none; height: 100%; } } } .inventory { margin-top: 2em; grid-area: bottom; display: grid; grid-template-columns: 1fr 1fr; h1 { margin-bottom: 0.5em; } .list { letter-spacing: 0.25em; text-transform: uppercase; display: grid; grid-template-columns: repeat(4, 1fr); grid-gap: 1em; flex-flow: row wrap; align-items: flex-end; } figure { font-size: 125%; display: flex; flex-flow: column; } } }