diff options
Diffstat (limited to 'Recipes/Chachouka.html')
| -rw-r--r-- | Recipes/Chachouka.html | 268 |
1 files changed, 268 insertions, 0 deletions
diff --git a/Recipes/Chachouka.html b/Recipes/Chachouka.html new file mode 100644 index 0000000..fd77de1 --- /dev/null +++ b/Recipes/Chachouka.html @@ -0,0 +1,268 @@ +<!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 + 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"> + + <!-- Image --> + <div class="photobox"> + <a href="#"> + <img src="Images/19C63F94-8FD4-47B5-A10D-B0C7221E035D/008EDFBE-897F-4F1B-B298-B8B5BD590D00.jpg" itemprop="image" class="photo photoswipe"/> + </a> + </div> + + <!-- Name --> + <h1 itemprop="name" class="name">Chachouka</h1> + + <!-- Info --> + + <!-- Rating, categories --> + <p itemprop="aggregateRating" class="rating" value="5">★★★★★</p> + + <p class="metadata"> + + <!-- Cook time, prep time, servings, difficulty --> + <b>Prep Time: </b><span itemprop="">15 min</span> + <b>Cook Time: </b><span itemprop="">55 min</span> + <b>Servings: </b><span itemprop="">4</span> + + <!-- Source --> + <b>Source: </b> + + <span itemprop="author">River Cortage Veg Everyday. Pg. 20</span> + + </p> + + <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>3</strong> tbsp olive oil</p><p class="line" itemprop="recipeIngredient"><strong>1</strong> tsp cumin seeds</p><p class="line" itemprop="recipeIngredient"><strong>1</strong> large onion, halved and finely sliced</p><p class="line" itemprop="recipeIngredient"><strong>1</strong> garlic clove, crushed</p><p class="line" itemprop="recipeIngredient"><strong>1</strong> red pepper, cored, deseeded and finely sliced</p><p class="line" itemprop="recipeIngredient"><strong>1</strong> yellow pepper, cored, deseeded and finely sliced</p><p class="line" itemprop="recipeIngredient"><strong>½</strong> teaspoon smoked paprika</p><p class="line" itemprop="recipeIngredient">A pinch of saffron strands</p><p class="line" itemprop="recipeIngredient"><strong>400</strong>g tin plum tomatoes, roughly chopped, any stalky ends and skin removed</p><p class="line" itemprop="recipeIngredient"><strong>4</strong> eggs</p><p class="line" itemprop="recipeIngredient">Sea salt</p><p class="line" itemprop="recipeIngredient">freshly ground black pepper</p> + </div> + </div> + + <!-- Nutrition (in two-column mode it goes below the ingredients) --> + + </div> + + <div class="right-column"> + + <!-- Description --> + <div class="descriptionbox"> + <h3 class="subhead">Description</h3> + <div itemprop="description" class="description text"> + <p>This spicy North African pepper and tomato stew with eggs baked on top makes a lovely, lazy supper.</p><p>The classic Italian peperonata (see below) is prepared in the same way but without eggs or spices - it is equally good.</p> + </div> + </div> + + <!-- Directions --> + <div class="directionsbox"> + <h3 class="subhead">Directions</h3> + <div itemprop="recipeInstructions" class="directions text"> + <p class="line">Heat the olive oil in a large, preferably ovenproof, frying pan over a medium heat. Add the cumin seeds and let them fry gently for a couple of minutes. Add the onion and cook gently for 8-10 minutes, or until soft and golden.</p><p class="line">Add the garlic and peppers and continue to cook over a low heat for at least 20 minutes, stirring often, until the peppers are soft and wilted.</p><p class="line">Add the paprika, crumble in the saffron, then add the tomatoes with their juice and some salt and pepper. Cook gently, stirring from time to time, for 10-15 minutes.</p><p class="line">Preheat the oven to 180°C/Gas Mark 4.</p><p class="line">Taste the mixture and adjust the seasoning if necessary. If your frying pan isn't ovenproof, transfer the mixture to a baking dish.</p><p class="line">Make 4 hollows in the surface and carefully break an egg into each one. Sprinkle with salt and pepper.</p><p class="line">Bake for 10-12 minutes, until the egg white is set and the yolk still runny.</p> + </div> + </div> + + <!-- 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> + +<!-- 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> + +<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> + <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> + </div> +</div> + +<script type="text/javascript"> + var openPhotoSwipe = function(event) { + var pswp = document.querySelector('.pswp'); + + var element = event.target; + var src = element.getAttribute('src'); + + // build items array + var items = [ + { + msrc: 'Images/19C63F94-8FD4-47B5-A10D-B0C7221E035D/D1A10E59-854D-48AD-89DE-B729FD220401.jpg', + src: 'Images/19C63F94-8FD4-47B5-A10D-B0C7221E035D/D1A10E59-854D-48AD-89DE-B729FD220401.jpg', + w: 0, + h: 0, + title: '1' + }, + ]; + + var index = 0; + 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 + }; + + 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 element = elements[i]; + element.addEventListener('click', openPhotoSwipe); + } +</script> + + + </body> +</html> |
