html{ height: 100%; max-width: 100%; } body{ display: flex; flex-direction: row; font-family: 'Saira', sans-serif; height: 100%; max-width: 100%; } .contentBlock{ width: 100%; height: 100vh; flex: 1; box-sizing: border-box; padding: 50px; } .strand{ flex-direction: column; max-height: 100%; width: 100%; } .strand > *:first-of-type{ text-align: left; margin: 15px; } /* 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; } .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; height: 100vh; box-sizing: border-box; padding-right: 100px; } #ingredientsStrand > h1{ margin-bottom: 100px; } #ingredientHead{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 100px; } #ingredientHead button{ display: flex; align-items: center; } #ingredientHead svg{ margin-right: 5px; } .categoryDiv > div:first-of-type{ display: flex; margin-left: 15px; width: 100%; } .categoryDiv > div:first-of-type p{ display: flex; align-items: center; padding: 20px 0 20px 100px; background: rgb(240, 252, 255); border: 1px solid gray; border-radius: 5px; margin-right: 25px; flex-grow: 1; } .categoryDiv > div:first-of-type button{ padding: 10px; background: rgb(240, 252, 255); border: 1px solid black; border-radius: 5px; width: 75px; height: 75px; cursor: pointer; } .ingredientsDiv{ flex-direction: column; } .ingredient{ display: flex; width: 40%; padding: 15px; margin-left: 150px; cursor: pointer; border-radius: 5px; } .ingredient:hover{ background: rgb(0, 27, 45); color: white; } .ingredient > *{ width: 33%; margin-right: 15px; } .ingredient > p:last-of-type{ text-align: right; } /* Recipe Book Strand */ #recipeBookStrand{ display: none; } #recipeHead{ display: flex; justify-content: space-between; } #recipeList{ display: flex; flex-direction: column; } .recipeItem{ display: flex; justify-content: space-between; background: rgb(240, 252, 255); box-shadow: 0 2px 5px gray; border-radius: 5px; padding: 15px; margin: 3px 3px 3px 100px; width: 25vw; border: 1px solid black; cursor: pointer; } .recipeItem p:first-of-type{ font-size: 20px; font-weight: bold; } .recipeItem:hover{ background: rgb(0, 27, 45); color: white; } /* Orders Strand */ #ordersStrand{ display: none; }