html { height: 100%; } body { margin: 0; display: flex; height: 100%; font-family: sans-serif; } /* Filters */ aside { background-color: #333; color: white; width: 200px; overflow-y: auto; } ul { margin: 0; padding: 0; list-style-type: none; } .g-FilterTitle { padding: 0.5rem 1rem; background-color: #555; border-left: 8px solid transparent; font-weight: bold; } .g-Filter--Unselected { border-left: 8px solid #555; } .g-Filter--Selected { border-left: 8px solid #883333; } .g-Filter button { border: none; background-color: transparent; color: inherit; cursor: pointer; padding: 0.5rem 1rem; width: 100%; text-align: left; } .g-Filter button:hover { background-color: #888833; } /* Books */ main { width: 100%; padding: 1rem; overflow-y: auto; } header { font-size: 120%; margin-bottom: 1rem; } .g-Books { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-gap: 1rem; } .g-Book { width: 13rem; align-self: center; border: 1px solid #DDDDDD; }