/* Generic layout rules */ body { margin: 0; } .row, .column { overflow: hidden; position: absolute; } .row { left: 0; right: 0; } .column { top: 0; bottom: 0; } .scroll-x { overflow-x: auto; } .scroll-y { overflow-y: auto; } /* Specific layout rules */ .main.column { left: 0; right: 300px; } .chat.column { width: 300px; right: 0; } .header.row { height: 75px; line-height: 75px; } .body.row { top: 75px; bottom: 66px; } .body.row.nofooter { bottom: 0; } .body.row.noheader { top: 0; } .footer.row { height: 66px; bottom: 0; } .chat.column { border-left: 1px solid black; } .chat.column .body { padding: 0 10px; } .chat.column .footer { border-top: 1px solid black; box-sizing: border-box; padding: 10px; padding-bottom: 5px; } .lobby.column { width: 300px; left: 0; } .lobby.column .body { padding: 0 10px; } .lobby.column.primary { width: inherit; right: 0; } .game.column.primary { left: 300px; right: 0; border-left: 1px solid black; }