From 1e5097e73252f242fb51376f336313dab9ee6d3c Mon Sep 17 00:00:00 2001 From: Lynne Date: Sun, 1 Mar 2020 19:50:53 +1000 Subject: [PATCH] rewrite ingredients.html to be less confusing, minor layout fixes and css changes --- _includes/ingredients.html | 18 ++++++++++++++++-- _includes/method.html | 2 +- _layouts/default.html | 2 +- assets/style.css | 6 ++++++ 4 files changed, 24 insertions(+), 4 deletions(-) diff --git a/_includes/ingredients.html b/_includes/ingredients.html index c9f2acc..1839644 100644 --- a/_includes/ingredients.html +++ b/_includes/ingredients.html @@ -5,6 +5,20 @@ <{{tag}}>Ingredients diff --git a/_includes/method.html b/_includes/method.html index 4fadc58..cd47a59 100644 --- a/_includes/method.html +++ b/_includes/method.html @@ -7,6 +7,6 @@
    {% for item in page.method -%}
  1. {{ item }}
  2. - {% endfor -%} + {% endfor %}
{%- endif -%} diff --git a/_layouts/default.html b/_layouts/default.html index 9ff9a92..6e1c475 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -13,7 +13,7 @@ {{ content }} - {%- include footer.html -%} + {% include footer.html -%} diff --git a/assets/style.css b/assets/style.css index 4d720f1..08c2fb5 100644 --- a/assets/style.css +++ b/assets/style.css @@ -111,6 +111,12 @@ li { background: linear-gradient(to right, turquoise 5px, #eee 5px 100%); max-width: 600px; flex: 1 0 300px; + box-shadow: 0 0 3px #0003; + transition: 0.2s all; + +} +.recipe-listing:hover { + box-shadow: 0 0 15px #0003; } a.recipe-listing { color: black;