html{ height: 100%; } body{ display: flex; flex-direction: row; font-family: 'Saira', sans-serif; height: 100%; } .contentBlock{ width: 100%; height: 100vh; box-sizing: border-box; padding: 25px; } /* Cards */ .card{ margin: 15px; border: 1px solid rgba(183, 183, 183, 0.9); border-radius: 7px; box-sizing: border-box; box-shadow: 1px 2px gray; padding: 25px; flex-grow: 1; } .card > *{ margin: 10px; } .card p:first-of-type{ font-size: 14px; font-weight: bold; text-align: center; } /* Home Strand */ #homeStrand{ display: flex; flex-direction: column; max-height: 100%; width: 100%; } #homeStrand h1{ text-align: left; margin: 15px; } .flexRow{ display: flex; justify-content: space-around; width: 100%; } .flexColumn{ display: flex; flex-direction: column; justify-content: space-between; } #revenueCard{ display: flex; flex-direction: column; justify-content: center; } #revenue{ text-align: center; font-size: 30px; font-weight: bold; } #revenueChange{ display: flex; } #revenueChange > p{ font-weight: 100; } #revenueChange img{ height: 15px; width: 15px; margin-right: 10px; } #graphCard{ flex-grow: 1; max-height: 40vh; height: 100%; } #graphCard canvas{ height: 95%; width: 100%; } #inventoryCheckCard{ flex-grow: 0.1; } #inventoryCheckCard ul{ list-style: none; } #inventoryCheckCard li{ margin: 15px 0; } #inventoryCheckCard li > p{ font-weight: 300; font-size: 15px; margin-right: 25px; } #inventoryCheckCard li > p:nth-of-type(1){ width: 50%; } #inventoryCheckCard li input{ width: 75px; margin-right: 25px; font-size: 20px; text-align: center; } #inventoryCheckCard li p:nth-of-type(2){ width: 25%; min-width: 75px; } #inventoryCheckCard button{ margin: 0; margin-top: 10px; float: right; height: 25px; padding: 0 29px; font-size: 15px; } #popularIngredientsCard{ display: flex; flex-direction: column; align-items: center; height: 100%; } /* Ingredients Strand */ #ingredientsStrand{ display: none; } /* Recipe Book Strand */ #recipeBookStrand{ display: none; } /* Orders Strand */ #ordersStrand{ display: none; }