mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-04-30 14:39:30 +08:00
🔨 decrese the card shadow and remove image shadow
This commit is contained in:
parent
9519c931a4
commit
9acbd6721b
1 changed files with 2 additions and 3 deletions
|
@ -38,7 +38,7 @@
|
||||||
class:group={preview}
|
class:group={preview}
|
||||||
class:image-full={preview && post.type === 'article' && post.image}
|
class:image-full={preview && post.type === 'article' && post.image}
|
||||||
class:before:!rounded-none={preview && post.image}
|
class:before:!rounded-none={preview && post.image}
|
||||||
class="h-entry card bg-base-100 rounded-none md:rounded-box md:shadow-xl overflow-hidden z-10 heti">
|
class="h-entry card bg-base-100 rounded-none md:rounded-box md:shadow-lg md:shadow-grey-10 overflow-hidden z-10">
|
||||||
{#if !preview && postConfig.bridgy}
|
{#if !preview && postConfig.bridgy}
|
||||||
<div id="bridgy" class="hidden">
|
<div id="bridgy" class="hidden">
|
||||||
{#each post.flags?.some( flag => flag.startsWith('bridgy') ) ? post.flags.flatMap( flag => (flag.startsWith('bridgy') ? flag.slice(7) : []) ) : [...(postConfig.bridgy.post ?? []), ...(postConfig.bridgy[post.type] ?? [])] as target}
|
{#each post.flags?.some( flag => flag.startsWith('bridgy') ) ? post.flags.flatMap( flag => (flag.startsWith('bridgy') ? flag.slice(7) : []) ) : [...(postConfig.bridgy.post ?? []), ...(postConfig.bridgy[post.type] ?? [])] as target}
|
||||||
|
@ -72,8 +72,7 @@
|
||||||
<div class="flex flex-col gap-2">
|
<div class="flex flex-col gap-2">
|
||||||
{#if post.image && !preview}
|
{#if post.image && !preview}
|
||||||
<figure
|
<figure
|
||||||
class={`md:order-last rounded-box shadow-xl mb-4 ${
|
class={`md:order-last rounded-lg mb-4 ${post.type === 'article' ? 'flex-col gap-2 -mt-8 md:mt-0' : 'flex-col -mx-8'}'
|
||||||
post.type === 'article' ? 'flex-col gap-2 -mx-4 -mt-8 md:mt-0' : 'flex-col -mx-8'
|
|
||||||
}`}>
|
}`}>
|
||||||
<Image
|
<Image
|
||||||
class={`${post.type === 'article' ? 'u-featured' : 'u-photo'}`}
|
class={`${post.type === 'article' ? 'u-featured' : 'u-photo'}`}
|
||||||
|
|
Loading…
Reference in a new issue