body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 1.25rem; } .intro { margin: 32px; max-width: 1000px; } .intro .recipe { border: 1px solid currentColor; } h1, h2, h3 { margin: 0; } ul, ol { margin: 0; padding: 0; list-style-position: inside; } ul { list-style: none; } h3 { display: block; margin-top: 1em; margin-bottom: 0.4em; font-weight: bold; font-size: 1.25rem; } .questions { list-style: none; } .questions li::before { content: "❓"; } .questions li { margin-bottom: 1em; padding-left: 8px; border-left: 2px dotted tomato; } .how-to { padding-left: 1ch; border-left: 2px dotted currentColor; } /* COOCKBOOK */ .cookbook { margin: 32px; padding: 24px; background-color: #cec; border-radius: 16px; } .cookbook-info { margin: 16px 0; font-style: italic; } .tag, button.tag { background-color: transparent; font-size: 20px; display: inline-block; border: 1px solid currentColor; padding: 0 0.5ch; border-radius: 1em; margin: 4px; text-transform: capitalize; user-select: none; cursor: pointer; } .tag.active { background-color: white; } .recipes { display: flex; justify-content: flex-start; flex-direction: row; flex-wrap: wrap; row-gap: 16px; column-gap: 16px; } .recipe, .recipe-info , .diary{ display: none; background-color: #ffffff; flex-grow: 1; flex-basis: 55ch; border-radius: 16px; padding: 0 1ch; } .recipe.active{ display: inline-block; } .diary{ display: inline-block; background-color: rgb(233, 224, 248); color: #2d2c5f; } .diary .info{ display: flex; flex-direction: row; justify-content: space-between; align-items: baseline; color: rgb(104, 104, 104); font-size: 0.8em; } .diary .title{ font-size: 1em; } .diary .text{ margin: 1ch 0 1ch 0; } .recipe-info { display: block; max-width: 55ch; border: 1px solid currentColor; margin: 16px 0; } .recipe .title { margin-bottom: 8px; } .recipe .description { font-style: italic; } .chef::before { content: "👩‍🍳 "; } .info { margin: 16px 0; } .ingredients, .instructions { margin: 16px 0; } .ingredients li { list-style: none; display: inline; } .ingredients li::after { content: ", "; } .ingredients li:last-of-type::after { content: ""; } .intro .recipe { margin: 16px 0; } .done { text-decoration: line-through; opacity: 0.75; } #ingredients-container { margin: 24px 0; } @media (max-width: 991.98px) { .intro { margin: 16px; } .cookbook { margin: 0; border-radius: 0; padding: 16px; } li { margin-bottom: 0.6em; } }