.tasty-recipes-print-buttonbackground-color:#667;border:none;display:inline-block;padding:.5em 1em;text-decoration:nonebody:not(.tasty-recipes-print-view) .tasty-recipes-print-button.tasty-recipes-print-above-cardcolor:#fff;display:nonebody:not(.tasty-recipes-print-view) .tasty-recipes-print-button.tasty-recipes-print-above-card:hoverbackground-color:#b2b2bb;color:#fff;display:inline-block;padding:.5em 1em;text-decoration:none.tasty-recipes-image-button-containerdisplay:flex;flex-direction:column;flex-wrap:wrap;float:right;margin-left:10pxbody.tasty-recipes-print-view .tasty-recipes-buttons,body.tasty-recipes-print-view .tasty-recipes-cook-modedisplay:none.tasty-recipes-image-button-container .tasty-recipes-buttonsmargin-bottom:10px;margin-top:10px.tasty-recipes-image-button-container .tasty-recipes-button-wrapbox-sizing:border-box;margin-bottom:10px.tasty-recipes-image-button-container .tasty-recipes-buttons a,.tasty-recipes-quick-links a.buttonbackground-color:#f9f9f9;background-color:var(–tr-button-color,#f9f9f9);border:1px solid #aaa;border-color:var(–tr-button-color,#aaa);border-radius:0;color:#aaa;color:var(–tr-button-text-color,#aaa);cursor:pointer;display:block;font-size:16px;font-weight:700;line-height:16px;margin-top:0;padding:8px;text-align:center;text-decoration:none;text-transform:uppercase.tasty-recipes-quick-links a.buttondisplay:inline-block;margin-left:.625em;margin-right:.625em.tasty-recipes-quick-links a.button+spandisplay:none.tasty-recipes-entry-content .tasty-recipes-buttons a:hover,.tasty-recipes-image-button-container .tasty-recipes-buttons .button:hover,.tasty-recipes-quick-links a.button:hoverbackground-color:var(–tr-button-text-color,#aaa);color:var(–tr-button-color,#f9f9f9);text-decoration:none.tasty-recipes-image-button-container .tasty-recipes-buttons .button:hoveropacity:1.tasty-recipes-image-button-container .tasty-recipes-buttons a:hoverbackground-color:#979599;text-decoration:none.tasty-recipes-image-button-container .tasty-recipes-buttons svgdisplay:none.tasty-recipes-yield-scaleborder:1px solid #979599;border-radius:2px;color:#979599;font-size:.7rem;margin-left:3px;padding:0 4px.tasty-recipes-units-scale-containerdisplay:flex;flex-wrap:wrap.tasty-recipes-convert-containerpadding:0 1em 1em 0.tasty-recipes-convert-container .tasty-recipes-convert-labelalign-self:center;color:#979599;font-size:.6rem;text-transform:uppercase.tasty-recipes-convert-container buttonbackground:transparent;border:1px solid #353547;border-radius:2px;color:#353547;letter-spacing:0;margin-left:5px;min-width:34px;padding:2px 4px;text-align:center.tasty-recipes-convert-container button.tasty-recipes-convert-button-activebackground-color:#000;border-color:#000;color:#fff.tasty-recipes-convert-container button:focusoutline:none.tasty-recipes-scale-containerdisplay:flex;padding:0 0 1em.tasty-recipes-scale-container .tasty-recipes-scale-labelalign-self:center;color:#979599;font-size:.6rem;text-transform:uppercase.tasty-recipes-scale-container buttonbackground:transparent;border:1px solid #353547;border-radius:2px;color:#353547;cursor:pointer;letter-spacing:0;margin-left:5px;min-width:34px;padding:2px 4px.tasty-recipes-scale-container button.tasty-recipes-scale-button-activebackground-color:#000;border-color:#000;color:#fff.tasty-recipes-scale-container button:focusoutline:none.tasty-recipes-ingredients-headermargin:1em 0@media only screen and (min-width:520px).tasty-recipes-ingredients-headeralign-items:center;display:flex;flex-wrap:wrap;justify-content:space-between.tasty-recipes-ingredients-header .tasty-recipes-ingredients-clipboard-containeralign-items:baseline;display:inline-flex.tasty-recipes-ingredients-header h3margin:0 10px 10px 0.tasty-recipes-ingredients-clipboard-container .tasty-recipes-copy-buttonbackground:transparent;border:none;color:#353547;height:24px;padding:0;position:relative;width:24px.tasty-recipes-ingredients-clipboard-container .tasty-recipes-copy-button:hoveropacity:.5.tasty-recipes-instructions-headeralign-items:baseline;display:flex;flex-wrap:wrap;justify-content:space-between;margin:1em 0.tasty-recipes-entry-content .tasty-recipes-instructions h3margin:0 0 1rem@media only screen and (min-width:520px).tasty-recipes-entry-content .tasty-recipes-instructions h3margin:0button[name=tasty-recipes-video-toggle]background:#979599;border:#979599;border-radius:2px;display:inline-block;font-size:14px;height:30px;line-height:20px;margin:0;padding:0;text-align:center;vertical-align:middle;width:86pxbutton[name=tasty-recipes-video-toggle] spanpadding:0 4px;pointer-events:nonebutton[name=tasty-recipes-video-toggle][aria-checked=false] :last-child,button[name=tasty-recipes-video-toggle][aria-checked=true] :first-childbackground:#fff;border-radius:2px;color:#979599;padding:2px 4pxbutton[name=tasty-recipes-video-toggle][aria-checked=false] :first-child,button[name=tasty-recipes-video-toggle][aria-checked=true] :last-childcolor:#ffflabel[for=tasty-recipes-video-toggle]color:#979599;font-size:.6rem;line-height:30px;padding-right:8px;text-transform:uppercase;user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;-o-user-select:none;vertical-align:middle.tasty-recipe-responsive-iframe-containermargin:10px 0.tasty-recipes-equipmentdisplay:flex;flex-wrap:wrap;justify-content:space-evenly.tasty-recipes-equipment>h3flex:0 0 100%.tasty-recipes-equipment .tasty-link-cardflex:0 0 50%;padding:1.5rem 1rem;text-align:center@media screen and (min-width:500px).tasty-recipes-equipment .tasty-link-cardflex:0 0 33%.tasty-recipes-equipment .tasty-link-card pfont-size:1em;font-weight:700;margin-bottom:0.tasty-recipes-equipment .tasty-link-card p acolor:initial.tasty-recipes-equipment .tasty-link-card spanfont-size:.9em.tasty-recipes .tasty-recipes-nutrition ullist-style-type:none;margin:0;padding:0.tasty-recipes .tasty-recipes-nutrition ul:afterclear:both;content:” “;display:block.tasty-recipes .tasty-recipes-nutrition lifloat:left;list-style-type:none;margin-bottom:0;margin-left:0;margin-right:16px.tasty-recipes-plugalign-items:center;display:flex;flex-wrap:wrap;justify-content:center;margin-bottom:1em;text-align:center.tasty-recipes-plug abox-shadow:none;text-decoration:none.tasty-recipes-plug a imgbackground:transparent;box-shadow:none;display:inline-block;height:auto;margin:5px 0 0 8px;padding:0;width:150px.tasty-recipes-footer-contentpadding:1.5em;text-align:center.tasty-recipes-footer-content .tasty-recipes-footer-copymargin-left:0.tasty-recipes-footer-content img,.tasty-recipes-footer-content svgwidth:60px.tasty-recipes-entry-content .tasty-recipes-entry-footer h3font-size:1.25em;margin:0 0 .25em;padding:0.tasty-recipes-entry-footer pfont-size:.75em;margin:0.tasty-recipes-entry-footer p aborder-bottom:none;box-shadow:none;text-decoration:underline.tasty-recipes-flash-messagebackground-color:#fff;border-radius:4px;box-shadow:0 .3px .4px 0 rgba(0,0,0,.024),0 .9px 1.5px 0 rgba(0,0,0,.05),0 3.5px 6px 0 rgba(0,0,0,.1);color:#313135;display:inline-block;font-size:13px;letter-spacing:0;line-height:1.2em;margin-left:10px;padding:4px 10px@media screen and (min-width:500px).tasty-recipes-flash-messagepadding:4px 10px.tasty-recipes-flash-message pmargin:0;padding:0;text-transform:none@media screen and (min-width:500px).tasty-recipes-footer-contentalign-items:center;display:flex;justify-content:center;padding:1.5em 0;text-align:left.tasty-recipes-footer-content .tasty-recipes-footer-copymargin-left:.8em@media print.tasty-recipes-no-print,.tasty-recipes-no-print *display:none!important[data-tr-ingredient-checkbox]cursor:pointer;list-style-position:outside;list-style-type:none!important;margin-left:0!important[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-containerposition:relative[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container input[type=checkbox]+labeldisplay:inline-block;position:relative;vertical-align:middle[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container input[type=checkbox]clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container input[type=checkbox]+label:beforeborder:1px solid;border-radius:2px;content:””;display:inline-block;height:20px;margin-right:10px;position:relative;width:20px[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container input[type=checkbox]:checked+label:afterborder-bottom:2px solid;border-left:2px solid;content:””;display:inline-block;height:6px;left:4px;position:absolute;top:4px;transform:rotate(-45deg);width:12px[data-tr-ingredient-checkbox] .tr-ingredient-checkbox-container input[type=checkbox]:focus+label:beforebox-shadow:0 0 8px #5e9ed6;outline:1px solid #5d9dd5[data-tr-ingredient-checkbox=checked]opacity:.8;text-decoration:line-through.tasty-recipes-cook-mode__containeralign-items:center;display:flex;line-height:100%.tasty-recipes-cook-mode__container labelfont-size:inherit.tasty-recipes-cook-mode__switchdisplay:inline-block;height:17px;margin-right:10px;position:relative;width:30px.tasty-recipes-cook-mode__switch-sliderbackground-color:#737373;bottom:0;cursor:pointer;display:block;left:0;opacity:.4;position:absolute;right:0;top:0;transition:.4s.tasty-recipes-cook-mode__switch-slider:beforebackground-color:#fff;bottom:2px;content:””;height:13px;left:2px;position:absolute;transition:.4s;width:13px.tasty-recipes-cook-mode__switch inputdisplay:none.tasty-recipes-cook-mode__switch input:checked+spanopacity:1.tasty-recipes-cook-mode__switch input:checked+span:beforetransform:translateX(13px).tasty-recipes-cook-mode__switch-roundborder-radius:34px.tasty-recipes-cook-mode__switch-round:beforeborder-radius:50%.tasty-recipes-cook-mode__labelfont-weight:700@media only screen and (max-width:767px)#shop-with-instacart-v1transform:scale(.75);transform-origin:top left/* Tasty Recipes Elegant recipe card styles */ .tasty-recipes-displayborder:0.15em solid;border-color:#fff;padding:1.5em;outline:.5em solid #f9f9f9;background:#f9f9f9;margin-bottom:1em.tasty-recipes-plugmargin-bottom:1em.tasty-recipes-display h2font-weight:400;text-transform:uppercase;margin-top:0;padding-top:0.tasty-recipes-rating .rating-label,.tasty-recipes-rating-link .rating-labelfont-size:0.8em;font-style:italic.tasty-recipes-rating pmargin-bottom:1rem;margin-right:0.8rem;display:inline-block.tasty-recipes-detailsfont-size:0.8em.tasty-recipes-details ul lilist-style-type:none;display:inline-block;width:30%.tasty-recipes-description pfont-size:.8em;font-style:italic.tasty-recipe-ingredients h3,.tasty-recipes-ingredients h3,.tasty-recipe-instructions h3,.tasty-recipes-instructions h3,.tasty-recipes-equipment h3,.tasty-recipes-notes h3font-weight:normal;margin-top:0.6em;margin-bottom:1.2em;text-transform:uppercase.tasty-recipe-video-embed~.tasty-recipes-equipmentpadding-top:1em.tasty-recipes-notesmargin-bottom:1rem.tasty-recipes-notes h3font-size:1.2em.tasty-recipes-notes p,.tasty-recipes-notes ulfont-size:0.8em.tasty-recipes-nutrition h3font-size:1em;text-align:center;margin-top:1em.tasty-recipes-nutritionpadding:0.5em;border-top:.15em solid #fff.tasty-recipes-nutrition ul lilist-style-type:none;font-size:0.8em;margin-left:0@media only screen and (min-width:520px).tasty-recipes-nutrition ul liwidth:30%.tasty-recipes-keywords pfont-size:.8em;margin-top:1em;margin-bottom:1em.tasty-recipes-entry-footertext-align:center;padding-top:1rem.tasty-recipes-print .tasty-recipes-details ulpadding-left:0!important;margin-left:0!important/*Print view styles*/ .tasty-recipes-print-viewfont-size:11px;line-height:1.5em.tasty-recipes-print-view .tasty-recipes-description p,.tasty-recipes-print-view .tasty-recipes-details,.tasty-recipes-print-view .tasty-recipes-notes p,.tasty-recipes-print-view .tasty-recipes-notes ul,.tasty-recipes-print-view .tasty-recipes-nutrition ul lifont-size:1em.tasty-recipes-print-view h3letter-spacing:0.1em;text-transform:uppercase.tasty-recipes-print-view .tasty-recipes-nutritionpadding:0.tasty-recipes-print-view .tasty-recipes-nutrition h3text-align:left;font-size:1.2em;font-weight:normal.tasty-recipes-cook-mode__label,.tasty-recipes-cook-mode__helperfont-size:0.8em
test new post
Description here
Ingredients
- Yes 1
- Yes 2
Instructions
- Instruction 1
- Instruction 2
window.tasty_recipes_min_rating = 4;
window.TastyRecipes = window.TastyRecipes || ;
window.TastyRecipes.cookMode = {
wakeLockApi: false,
wakeLock: false,
cookModeSelector: ‘.tasty-recipes-cook-mode’,
init() {
if (“wakeLock” in navigator && “request” in navigator.wakeLock)
this.wakeLockApi = navigator.wakeLock;
const cookModes = document.querySelectorAll(this.cookModeSelector);
if (cookModes.length > 0)
for (const cookMode of cookModes)
if (this.wakeLockApi)
cookMode.querySelector(‘input[type=”checkbox”]’).addEventListener(“change”, event =>
this.checkboxChange(event.target);
, false);
else
cookMode.style.display = “none”;
},
checkboxChange(checkbox)
checkbox.checked ? this.lock() : this.unlock();
,
setCheckboxesState(state)
const checkboxes = document.querySelectorAll(this.cookModeSelector + ‘ input[type=”checkbox”]’);
for (const checkbox of checkboxes)
checkbox.checked = state;
,
async lock()
try
this.wakeLock = await this.wakeLockApi.request(“screen”);
this.wakeLock.addEventListener(“release”, event =>
this.wakeLock = false;
this.setCheckboxesState(false);
);
this.setCheckboxesState(true);
catch (error)
this.setCheckboxesState(false);
,
unlock()
if (this.wakeLock)
this.wakeLock.release();
this.wakeLock = false;
this.setCheckboxesState(false);
};
(function(callback)
if (document.readyState !== “loading”)
callback();
else
document.addEventListener(“DOMContentLoaded”, callback);
)(() =>
window.TastyRecipes.cookMode.init();
);
window.TastyRecipes = window.TastyRecipes || ;
window.TastyRecipes.ratings =
init( min_rating )
this.min_rating = min_rating;
this.recipeRatingReflectInRespondSection();
this.addBodyClassBasedOnSelectedRating();
this.backwardCompRespondRatingPosition();
,
recipeRatingReflectInRespondSection()
const ratings = document.querySelectorAll(‘.tasty-recipes-no-ratings-buttons [data-rating]’);
if (ratings.length
this.fireRatingInRespond( event.target.dataset.rating );
);
,
fireRatingInRespond( rating )
const ratingInput = document.querySelector(‘.tasty-recipes-rating[value=”‘ + rating + ‘”]’);
if ( ! ratingInput )
return;
ratingInput.click();
,
addBodyClassBasedOnSelectedRating()
const ratingInputs = document.querySelectorAll(‘input.tasty-recipes-rating’);
if ( ratingInputs.length
let selectedRating = event.target.getAttribute( ‘value’ );
this.handleBodyClassByRating( selectedRating );
this._toggle_comment_textarea_required( selectedRating );
);
},
handleBodyClassByRating( rating )
if ( rating = comment_textarea.length )
return;
if ( rating < this.min_rating )
comment_textarea.setAttribute( 'required', '' );
return;
comment_textarea.removeAttribute('required');
,
backwardCompRespondRatingPosition()
const ratings_buttons = document.querySelector( '#respond .tasty-recipes-ratings-buttons' );
if ( ratings_buttons.length
if ( rating_span === event.target )
return;
rating_span.previousElementSibling.click();
);
}
};
(function(callback)
if (document.readyState !== “loading”)
callback();
else
document.addEventListener(“DOMContentLoaded”, callback);
)(() =>
window.TastyRecipes.ratings.init( window.tasty_recipes_min_rating );
);