Compare commits
No commits in common. "61488a8ce9884d13989d3c4d095d7c4670987db3" and "177e2c8fca9acdb664f53ea0aad88d146535ade2" have entirely different histories.
61488a8ce9
...
177e2c8fca
@ -48,8 +48,6 @@ onMount(() => {
|
|||||||
height: 255px;
|
height: 255px;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
transition: 200ms;
|
transition: 200ms;
|
||||||
}
|
|
||||||
.blur{
|
|
||||||
filter: blur(10px);
|
filter: blur(10px);
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
}
|
}
|
||||||
@ -170,14 +168,11 @@ onMount(() => {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<a class=card_anchor href="/rezepte/{recipe.short_name}" class:search_me={search} data-tags=[{recipe.tags}]>
|
<a class=card_anchor href="/rezepte/{recipe.short_name}">
|
||||||
<div class="card" >
|
<div class="card" class:search_me={search} data-tags=[{recipe.tags}]>
|
||||||
<div class=div_div_image >
|
<div class=div_div_image >
|
||||||
<div class=div_image style="background-image:url({'https://bocken.org/static/rezepte/placeholder/' + recipe.short_name + '.webp'})">
|
<div class=div_image style="background-image:url({'https://bocken.org/static/rezepte/placeholder/' + recipe.short_name + '.webp'})">
|
||||||
<noscript>
|
<img class:unblur={isloaded} id=image src={'https://bocken.org/static/rezepte/thumb/' + recipe.short_name + '.webp'} loading=lazy alt="{recipe.alt}" on:load={() => isloaded=true}/>
|
||||||
<img id=image src={'https://bocken.org/static/rezepte/thumb/' + recipe.short_name + '.webp'} loading=lazy alt="{recipe.alt}"/>
|
|
||||||
</noscript>
|
|
||||||
<img class:blur={!isloaded} id=image class=blur src={'https://bocken.org/static/rezepte/thumb/' + recipe.short_name + '.webp'} loading=lazy alt="{recipe.alt}" on:load={() => isloaded=true}/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{#if icon_override || recipe.season.includes(current_month)}
|
{#if icon_override || recipe.season.includes(current_month)}
|
||||||
|
@ -170,11 +170,6 @@ dialog button{
|
|||||||
<img class:unblur={isloaded} id=image {src} on:load={() => {isloaded=true}} alt=""/>
|
<img class:unblur={isloaded} id=image {src} on:load={() => {isloaded=true}} alt=""/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<noscript>
|
|
||||||
<div class=placeholder style="background-image:url({placeholder_src})" >
|
|
||||||
<img class="unblur" id=image {src} on:load={() => {isloaded=true}} alt=""/>
|
|
||||||
</div>
|
|
||||||
</noscript>
|
|
||||||
</div>
|
</div>
|
||||||
</figure>
|
</figure>
|
||||||
<div class=content><slot></slot></div>
|
<div class=content><slot></slot></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user