diff options
Diffstat (limited to 'Recipes/Roast Pumpkin, Baked Lentil & Spiced Nut salad.html')
| -rw-r--r-- | Recipes/Roast Pumpkin, Baked Lentil & Spiced Nut salad.html | 546 |
1 files changed, 294 insertions, 252 deletions
diff --git a/Recipes/Roast Pumpkin, Baked Lentil & Spiced Nut salad.html b/Recipes/Roast Pumpkin, Baked Lentil & Spiced Nut salad.html index 1f13eaf..9a9d7b3 100644 --- a/Recipes/Roast Pumpkin, Baked Lentil & Spiced Nut salad.html +++ b/Recipes/Roast Pumpkin, Baked Lentil & Spiced Nut salad.html @@ -1,299 +1,341 @@ -<!DOCTYPE html> +<!doctype html> <html> - <head> - <meta charset="UTF-8"> - <style type="text/css"> - /* Shared styles */ - body { - font-family: Helvetica, sans-serif; - font-size: 16px; - color: #34302e; - margin: 0.25in; - } - @page { - size: letter portrait; - margin: 0.25in; - } - .name { - font-size: 18px; - font-family: Helvetica, sans-serif; - font-weight: normal; - margin: 0 0 10px 0; - } - .categories { - color: #605D5D; - font-size: 14px; - font-family: Helvetica, sans-serif; - font-style: italic; - } - .rating { - color: #d10505; - font-size: 14px; - } - .metadata { - font-size: 14px; - } - .infobox p { - margin: 0; - line-height: 150%; - } - .subhead { - color: #d10505; - font-weight: bold; - font-size: 14px; - text-transform: uppercase; - margin: 10px 0; - } - - .ingredients p { - margin: 4px 0; - } - /* To prevent nutrition/directions from getting too close + <head> + <meta charset="UTF-8" /> + <style type="text/css"> + /* Shared styles */ + body { + font-family: Helvetica, sans-serif; + font-size: 16px; + color: #34302e; + margin: 0.25in; + } + .name { + font-size: 18px; + font-family: Helvetica, sans-serif; + font-weight: normal; + margin: 0 0 10px 0; + } + .categories { + color: #605d5d; + font-size: 14px; + font-family: Helvetica, sans-serif; + font-style: italic; + } + .rating { + color: #d10505; + font-size: 14px; + } + .metadata { + font-size: 14px; + } + .infobox p { + margin: 0; + line-height: 150%; + } + .subhead { + color: #d10505; + font-weight: bold; + font-size: 14px; + text-transform: uppercase; + margin: 10px 0; + } + + .ingredients p { + margin: 4px 0; + } + /* To prevent nutrition/directions from getting too close to ingredients */ - .ingredients { - padding-bottom: 10px; - } - .clear { - clear:both; - } - a { - color: #4990E2; - text-decoration: none; - } - /* Full page specific styles */ - .text { - line-height: 130%; - } - .photobox { - float: left; - margin-right: 14px; - } - .photo { - max-width: 140px; - max-height: 140px; - width: auto; - height: auto; - } - .inline-image { - max-width: 25%; - max-height: 25%; - width: auto; - height: auto; - } - .photoswipe { - border: 1px #dddddd solid; - cursor: pointer; - } - .pswp__caption__center { - text-align: center !important; - } - .recipe { - page-break-after: always; - } - .recipe:first-child { - border-top: 0 none; - margin-top: 0; - padding-top: 0; - } - </style> - </head> - <body> - <!-- Recipe --> -<div class="recipe" itemscope itemtype="http://schema.org/Recipe" > - - <div class="infobox"> + .ingredients { + padding-bottom: 10px; + } + .clear { + clear: both; + } + a { + color: #4990e2; + text-decoration: none; + } + /* Full page specific styles */ + .text { + line-height: 130%; + } + .photobox { + float: left; + margin-right: 14px; + } + .photo { + max-width: 140px; + max-height: 140px; + width: auto; + height: auto; + } + .inline-image { + max-width: 25%; + max-height: 25%; + width: auto; + height: auto; + } + .photoswipe { + border: 1px #dddddd solid; + cursor: pointer; + } + .pswp__caption__center { + text-align: center !important; + } + .recipe { + page-break-after: always; + } + .recipe:first-child { + border-top: 0 none; + margin-top: 0; + padding-top: 0; + } + </style> + </head> + <body> + <!-- Recipe --> + <div class="recipe" itemscope itemtype="http://schema.org/Recipe"> + <div class="infobox"> <!-- Image --> + <div class="photobox"> - <a href="#"> - <img src="Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/60FBBBD1-4C41-4737-82A1-BD163FA082A0-60771-0000077DEEF5D759.jpg" itemprop="image" class="photo photoswipe"/> - </a> - </div> + <a href="#"> + <img + src="Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/60FBBBD1-4C41-4737-82A1-BD163FA082A0-60771-0000077DEEF5D759.jpg" + itemprop="image" + class="photo photoswipe" + /> + </a> + </div> <!-- Name --> - <h1 itemprop="name" class="name">Roast Pumpkin, Baked Lentil & Spiced Nut salad</h1> - + <h1 itemprop="name" class="name"> + Roast Pumpkin, Baked Lentil & Spiced Nut salad + </h1> + <!-- Info --> - + <!-- Rating, categories --> <p itemprop="aggregateRating" class="rating" value="0"></p> - - <p class="metadata"> - - <!-- Cook time, prep time, servings, difficulty --> - <!-- Source --> + <p class="metadata"> + <!-- Cook time, prep time, servings, difficulty --> + <!-- Source --> </p> - - <div class="clear"></div> - </div> - - <div class="left-column"> + <div class="clear"></div> + </div> + <div class="left-column"> <!-- Ingredients --> + <div class="ingredientsbox"> - <h3 class="subhead">Ingredients</h3> - <div class="ingredients text"> - <p class="line" itemprop="recipeIngredient"><strong>800</strong> g Butternut Pumpkin </p><p class="line" itemprop="recipeIngredient"><strong>6</strong> tbsp olive oil</p><p class="line" itemprop="recipeIngredient"><strong>2</strong> tbsp balsamic vinegar </p><p class="line" itemprop="recipeIngredient"><strong>1</strong> tbsp dijon mustard </p><p class="line" itemprop="recipeIngredient"><strong>1/2</strong> cup roasted almonds</p><p class="line" itemprop="recipeIngredient"><strong>3</strong> tbsp sunflower seeds</p><p class="line" itemprop="recipeIngredient"><strong>4</strong> tbsp pepitas</p><p class="line" itemprop="recipeIngredient">Small Bag of Baby spinach </p><p class="line" itemprop="recipeIngredient"><strong>100</strong>g fetta cheese</p><p class="line" itemprop="recipeIngredient"><strong>2</strong> tins brown lentils </p> - </div> + <h3 class="subhead">Ingredients</h3> + <div class="ingredients text"> + <p class="line" itemprop="recipeIngredient"> + <strong>800</strong> g Butternut Pumpkin + </p> + <p class="line" itemprop="recipeIngredient"> + <strong>6</strong> tbsp olive oil + </p> + <p class="line" itemprop="recipeIngredient"> + <strong>2</strong> tbsp balsamic vinegar + </p> + <p class="line" itemprop="recipeIngredient"> + <strong>1</strong> tbsp dijon mustard + </p> + <p class="line" itemprop="recipeIngredient"> + <strong>1/2</strong> cup roasted almonds + </p> + <p class="line" itemprop="recipeIngredient"> + <strong>3</strong> tbsp sunflower seeds + </p> + <p class="line" itemprop="recipeIngredient"> + <strong>4</strong> tbsp pepitas + </p> + <p class="line" itemprop="recipeIngredient"> + Small Bag of Baby spinach + </p> + <p class="line" itemprop="recipeIngredient"> + <strong>100</strong>g fetta cheese + </p> + <p class="line" itemprop="recipeIngredient"> + <strong>2</strong> tins brown lentils + </p> + </div> </div> - + <!-- Nutrition (in two-column mode it goes below the ingredients) --> + </div> - </div> - - <div class="right-column"> - - <!-- Description --> - - <!-- Directions --> - - <!-- Notes --> - - <div class="notesbox"> - <h3 class="subhead">Notes</h3> - <div itemprop="comment" class="notes text"> + <div class="right-column"> + <!-- Description --> + + <!-- Directions --> + + <!-- Notes --> + + <div class="notesbox"> + <h3 class="subhead">Notes</h3> + <div itemprop="comment" class="notes text"> <p>Hello Fresh pamphlet</p> + </div> </div> - </div> - - <!-- Nutrition (in regular mode it goes below the notes) --> + <!-- Nutrition (in regular mode it goes below the notes) --> + <!-- Used in two different places depending on the recipe layout --> + </div> - + <div class="clear"></div> </div> - - <div class="clear"></div> -</div> + <!-- Photo gallery is only included when exporting. --> + <!-- PhotoSwipe gallery --> -<!-- Photo gallery is only included when exporting. --> -<!-- PhotoSwipe gallery --> + <link rel="stylesheet" href="Resources/PhotoSwipe/photoswipe.css" /> + <link + rel="stylesheet" + href="Resources/PhotoSwipe/default-skin/default-skin.css" + /> + <script src="Resources/PhotoSwipe/photoswipe.min.js"></script> + <script src="Resources/PhotoSwipe/photoswipe-ui-default.min.js"></script> -<link rel="stylesheet" href="Resources/PhotoSwipe/photoswipe.css"> -<link rel="stylesheet" href="Resources/PhotoSwipe/default-skin/default-skin.css"> -<script src="Resources/PhotoSwipe/photoswipe.min.js"></script> -<script src="Resources/PhotoSwipe/photoswipe-ui-default.min.js"></script> - -<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"> - <div class="pswp__bg"></div> - <div class="pswp__scroll-wrap"> + <div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"> + <div class="pswp__bg"></div> + <div class="pswp__scroll-wrap"> <div class="pswp__container"> - <div class="pswp__item"></div> - <div class="pswp__item"></div> - <div class="pswp__item"></div> + <div class="pswp__item"></div> + <div class="pswp__item"></div> + <div class="pswp__item"></div> </div> <div class="pswp__ui pswp__ui--hidden"> - <div class="pswp__top-bar"> - <div class="pswp__counter"></div> - <button class="pswp__button pswp__button--close" title="Close"></button> - </div> - <button class="pswp__button pswp__button--arrow--left" title="Previous"> - </button> - <button class="pswp__button pswp__button--arrow--right" title="Next"> - </button> - <div class="pswp__caption"> - <div class="pswp__caption__center"></div> - </div> + <div class="pswp__top-bar"> + <div class="pswp__counter"></div> + <button + class="pswp__button pswp__button--close" + title="Close" + ></button> + </div> + <button + class="pswp__button pswp__button--arrow--left" + title="Previous" + ></button> + <button + class="pswp__button pswp__button--arrow--right" + title="Next" + ></button> + <div class="pswp__caption"> + <div class="pswp__caption__center"></div> + </div> </div> + </div> </div> -</div> -<script type="text/javascript"> - var openPhotoSwipe = function(event) { - var pswp = document.querySelector('.pswp'); - + <script type="text/javascript"> + var openPhotoSwipe = function (event) { + var pswp = document.querySelector(".pswp"); + var element = event.target; - var src = element.getAttribute('src'); - + var src = element.getAttribute("src"); + // build items array var items = [ - { - msrc: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/AA7C97BF-7F89-4CB9-8436-8CDCC17311B9-60771-0000077B62FF104E.jpg', - src: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/AA7C97BF-7F89-4CB9-8436-8CDCC17311B9-60771-0000077B62FF104E.jpg', - w: 0, - h: 0, - title: '1' - }, - { - msrc: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/145A1BB2-4DE2-40C5-8059-A9304FD7F3FB-60771-0000077D5F166E18.jpg', - src: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/145A1BB2-4DE2-40C5-8059-A9304FD7F3FB-60771-0000077D5F166E18.jpg', - w: 0, - h: 0, - title: '2' - }, - { - msrc: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/0450DF15-F5CE-4FD1-B371-5CA8FD6FF444-60771-0000077D7313DE13.jpg', - src: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/0450DF15-F5CE-4FD1-B371-5CA8FD6FF444-60771-0000077D7313DE13.jpg', - w: 0, - h: 0, - title: '3' - }, - { - msrc: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/B7D5482B-AEDA-439D-BB20-628E4B8A524E-60771-0000077D7FCA130B.jpg', - src: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/B7D5482B-AEDA-439D-BB20-628E4B8A524E-60771-0000077D7FCA130B.jpg', - w: 0, - h: 0, - title: '4' - }, - { - msrc: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/091D3DD1-E26B-4430-AE4C-C3780E53B6F0-60771-0000077D8BF4EE68.jpg', - src: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/091D3DD1-E26B-4430-AE4C-C3780E53B6F0-60771-0000077D8BF4EE68.jpg', - w: 0, - h: 0, - title: '5' - }, - { - msrc: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/952ED788-9419-4896-A7D8-CE9731621A8D-60771-0000077D9880127D.jpg', - src: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/952ED788-9419-4896-A7D8-CE9731621A8D-60771-0000077D9880127D.jpg', - w: 0, - h: 0, - title: '6' - }, - { - msrc: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/54CC90D1-FA66-47DD-AC6B-8B65BA0BC84E-60771-0000077DA704A2B4.jpg', - src: 'Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/54CC90D1-FA66-47DD-AC6B-8B65BA0BC84E-60771-0000077DA704A2B4.jpg', - w: 0, - h: 0, - title: '7' - }, + { + msrc: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/AA7C97BF-7F89-4CB9-8436-8CDCC17311B9-60771-0000077B62FF104E.jpg", + src: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/AA7C97BF-7F89-4CB9-8436-8CDCC17311B9-60771-0000077B62FF104E.jpg", + w: 1536.0, + h: 2048.0, + title: "1", + }, + + { + msrc: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/145A1BB2-4DE2-40C5-8059-A9304FD7F3FB-60771-0000077D5F166E18.jpg", + src: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/145A1BB2-4DE2-40C5-8059-A9304FD7F3FB-60771-0000077D5F166E18.jpg", + w: 1536.0, + h: 2048.0, + title: "2", + }, + + { + msrc: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/0450DF15-F5CE-4FD1-B371-5CA8FD6FF444-60771-0000077D7313DE13.jpg", + src: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/0450DF15-F5CE-4FD1-B371-5CA8FD6FF444-60771-0000077D7313DE13.jpg", + w: 1536.0, + h: 2048.0, + title: "3", + }, + + { + msrc: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/B7D5482B-AEDA-439D-BB20-628E4B8A524E-60771-0000077D7FCA130B.jpg", + src: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/B7D5482B-AEDA-439D-BB20-628E4B8A524E-60771-0000077D7FCA130B.jpg", + w: 1536.0, + h: 2048.0, + title: "4", + }, + + { + msrc: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/091D3DD1-E26B-4430-AE4C-C3780E53B6F0-60771-0000077D8BF4EE68.jpg", + src: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/091D3DD1-E26B-4430-AE4C-C3780E53B6F0-60771-0000077D8BF4EE68.jpg", + w: 1536.0, + h: 2048.0, + title: "5", + }, + + { + msrc: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/952ED788-9419-4896-A7D8-CE9731621A8D-60771-0000077D9880127D.jpg", + src: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/952ED788-9419-4896-A7D8-CE9731621A8D-60771-0000077D9880127D.jpg", + w: 1536.0, + h: 2048.0, + title: "6", + }, + + { + msrc: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/54CC90D1-FA66-47DD-AC6B-8B65BA0BC84E-60771-0000077DA704A2B4.jpg", + src: "Images/D59410AF-510A-4CC6-A34C-D693F933CBED-60771-0000077AE10019AC/54CC90D1-FA66-47DD-AC6B-8B65BA0BC84E-60771-0000077DA704A2B4.jpg", + w: 1536.0, + h: 2048.0, + title: "7", + }, ]; - + var index = 0; - for (var i=0; i<items.length; i++) { - var item = items[i]; - if (item.src == src) { - index = i; - } + for (var i = 0; i < items.length; i++) { + var item = items[i]; + if (item.src == src) { + index = i; + } } - + var options = { - index: index, - history: false, - focus: true, - captionEl: true, - fullscreenEl: false, - zoomEl: false, - shareEl: false, - preloaderEl: false, - bgOpacity: 0.9, - showHideOpacity: true + index: index, + history: false, + focus: true, + captionEl: true, + fullscreenEl: false, + zoomEl: false, + shareEl: false, + preloaderEl: false, + bgOpacity: 0.9, + showHideOpacity: true, }; - - var gallery = new PhotoSwipe(pswp, PhotoSwipeUI_Default, items, options); + + var gallery = new PhotoSwipe( + pswp, + PhotoSwipeUI_Default, + items, + options, + ); gallery.init(); - }; + }; - var elements = document.querySelectorAll('.photoswipe'); - for (var i=0; i<elements.length; i++) { + var elements = document.querySelectorAll(".photoswipe"); + for (var i = 0; i < elements.length; i++) { var element = elements[i]; - element.addEventListener('click', openPhotoSwipe); - } -</script> - - - </body> + element.addEventListener("click", openPhotoSwipe); + } + </script> + </body> </html> |
