diff --git a/index.html b/index.html index 56b24fe..8672a33 100644 --- a/index.html +++ b/index.html @@ -6,10 +6,16 @@ - 🥣 + 🥣 Soup Gen +
+

Soup Gen Cookbook

+
+
+
+

Soup Generator

@@ -18,23 +24,25 @@
-

A. Title [string]

-
B. Description [string]
-
C. Chef [string]
+

Title [string]

+
Description [string]
+
Chef [string]
-

D. List of ingredients [array of strings]

+

List of ingredients [array of strings]

  • First ingredient
  • Second ingredient
  • +
  • ...
-

E. List of instructions [array of strings]

+

List of instructions [array of strings]

  1. First instruction
  2. Second instruction
  3. +
  4. ...
@@ -56,13 +64,26 @@
- Ask to Michael: what is the best solution to add images?? -
- -
-

Soup Gen Cookbook

-
-
+
diff --git a/style.css b/style.css index bc7c15c..c0edd6f 100644 --- a/style.css +++ b/style.css @@ -5,7 +5,8 @@ body { } .intro { - margin: 16px; + margin: 32px; + max-width: 800px; } .intro .recipe { @@ -26,14 +27,29 @@ ol { em { display: block; - margin: 1em 0; + margin-top: 1.6em; + margin-bottom: 1em; font-weight: bold; } +.questions { + list-style: none; +} + +.questions li::before { + content: "❓"; +} + +.questions li { + margin-bottom: 1em; + padding-left: 8px; + border-left: 2px dotted tomato; +} + /* COOCKBOOK */ .cookbook { - margin: 16px; + margin: 32px; padding: 24px; background-color: #cec; border-radius: 16px; @@ -66,6 +82,14 @@ em { margin-bottom: 8px; } +.recipe .description { + font-style: italic; +} + +.recipe .chef { + margin-top: 8px; +} + .recipe .info { margin: 16px 0; } @@ -74,6 +98,19 @@ em { margin: 16px 0; } +.ingredients li { + list-style: none; + display: inline; +} + +.ingredients li::after { + content: ", "; +} + +.ingredients li:last-of-type::after { + content: ""; +} + .recipe ul, .recipe ol { margin: 0;