mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-04-30 18:59:31 +08:00
format code
This commit is contained in:
parent
40468ba170
commit
3b91c65936
15 changed files with 26 additions and 27 deletions
|
@ -29,4 +29,4 @@
|
||||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
allowfullscreen />
|
allowfullscreen />
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -43,4 +43,4 @@
|
||||||
{/if}
|
{/if}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -135,4 +135,4 @@
|
||||||
class="border-4 border-base-content/10 group-hover:border-transparent col-start-1 row-start-1 rounded-full w-full h-full p-4 grid duration-500 ease-in-out">
|
class="border-4 border-base-content/10 group-hover:border-transparent col-start-1 row-start-1 rounded-full w-full h-full p-4 grid duration-500 ease-in-out">
|
||||||
<span class="i-heroicons-solid-chevron-up !w-6 !h-6" />
|
<span class="i-heroicons-solid-chevron-up !w-6 !h-6" />
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
|
|
|
@ -72,4 +72,4 @@
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,18 +7,17 @@
|
||||||
<div class="h-card flex flex-col gap-4 card card-body p-4 items-right xl:border-2 xl:py-8 border-base-content/10 ">
|
<div class="h-card flex flex-col gap-4 card card-body p-4 items-right xl:border-2 xl:py-8 border-base-content/10 ">
|
||||||
<a href={site.protocol + site.domain} class="hidden u-url u-uid">{site.author.name}</a>
|
<a href={site.protocol + site.domain} class="hidden u-url u-uid">{site.author.name}</a>
|
||||||
<figure class="relative mx-auto group">
|
<figure class="relative mx-auto group">
|
||||||
{#if site.author.avatar}
|
{#if site.author.avatar}
|
||||||
<img
|
<img
|
||||||
class="u-photo rounded-full shadow-xl w-32 h-32 hover:rotate-[360deg] transition-transform duration-1000 ease-in-out"
|
class="u-photo rounded-full shadow-xl w-32 h-32 hover:rotate-[360deg] transition-transform duration-1000 ease-in-out"
|
||||||
src={site.author.avatar}
|
src={site.author.avatar}
|
||||||
alt={site.author.name} />
|
alt={site.author.name} />
|
||||||
{/if}
|
{/if}
|
||||||
{#if site.author.status}
|
{#if site.author.status}
|
||||||
<div
|
<div class="heart absolute rounded-full w-10 h-10 bottom-0 right-0 bg-base-100 shadow-xl text-xl text-center py-1.5">
|
||||||
class="heart absolute rounded-full w-10 h-10 bottom-0 right-0 bg-base-100 shadow-xl text-xl text-center py-1.5">
|
{site.author.status}
|
||||||
{site.author.status}
|
</div>
|
||||||
</div>
|
{/if}
|
||||||
{/if}
|
|
||||||
</figure>
|
</figure>
|
||||||
<div class="text-center flex flex-col gap-2">
|
<div class="text-center flex flex-col gap-2">
|
||||||
<h2 class="text-2xl font-bold mt-0 mb-2 p-name">{site.author.name}</h2>
|
<h2 class="text-2xl font-bold mt-0 mb-2 p-name">{site.author.name}</h2>
|
||||||
|
|
|
@ -9,4 +9,4 @@
|
||||||
<svelte:component this={action} {post} />
|
<svelte:component this={action} {post} />
|
||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -40,4 +40,4 @@
|
||||||
{/key}
|
{/key}
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -54,4 +54,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</nav>
|
</nav>
|
||||||
|
|
|
@ -14,4 +14,4 @@
|
||||||
<span class="i-heroicons-outline-reply my-auto !w-4 !h-4" />
|
<span class="i-heroicons-outline-reply my-auto !w-4 !h-4" />
|
||||||
{in_reply_to}
|
{in_reply_to}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -77,4 +77,4 @@
|
||||||
{/each}
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
|
@ -34,4 +34,4 @@
|
||||||
</picture>
|
</picture>
|
||||||
{:else}
|
{:else}
|
||||||
<img {src} {alt} class={className ?? 'rounded-lg my-2'} {loading} {decoding} />
|
<img {src} {alt} class={className ?? 'rounded-lg my-2'} {loading} {decoding} />
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
@ -10,4 +10,4 @@
|
||||||
out:fly={{ y: -100, duration: 300 }}>
|
out:fly={{ y: -100, duration: 300 }}>
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
{/key}
|
{/key}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
let { res, path } = data
|
let { res, path } = data
|
||||||
|
|
||||||
$: if (data) path = data.path
|
$: if (data) path = data.path
|
||||||
|
|
||||||
posts.set(res)
|
posts.set(res)
|
||||||
tags.set(genTags(res))
|
tags.set(genTags(res))
|
||||||
onMount(
|
onMount(
|
||||||
|
@ -37,4 +37,4 @@
|
||||||
|
|
||||||
<Transition {path}>
|
<Transition {path}>
|
||||||
<slot />
|
<slot />
|
||||||
</Transition>
|
</Transition>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
---
|
---
|
||||||
title: Nonsense Wander ~ Vol3
|
title: Nonsense Wander ~ Vol3
|
||||||
created: 2022-08-15
|
created: 2022-08-15
|
||||||
summary: ActivityWatch / scrut.ch / 微信聊天记录导出工具 / 秋天到了
|
summary: ActivityWatch / scrut.ch / 微信聊天记录导出工具 / 秋天到了
|
||||||
tags:
|
tags:
|
||||||
- Nonsense Wander
|
- Nonsense Wander
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
title: CSS · 玻璃按钮和优雅的文字描边
|
title: CSS · 新拟态玻璃按钮和优雅的文字描边
|
||||||
created: 2023-01-29
|
created: 2023-01-29
|
||||||
summary: Glass buttons and elegant text stroke
|
summary: Glass buttons and elegant text stroke
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue