feat(list): add header shadow
This commit is contained in:
parent
8090737996
commit
d494aacd80
1 changed files with 20 additions and 14 deletions
|
@ -5,22 +5,24 @@ const props = defineProps<{
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="slant mb-12 bg-light-card-bg dark:bg-dark-card-bg">
|
<div class="slant-shadow">
|
||||||
<ThemeController class="h-12" />
|
<div class="slant mb-12 bg-light-card-bg dark:bg-dark-card-bg">
|
||||||
|
<ThemeController class="h-12" />
|
||||||
|
|
||||||
<h1
|
<h1
|
||||||
class="mb-12 text-center text-4xl leading-[3rem] text-slate-800 dark:text-slate-200"
|
class="mb-12 text-center text-4xl leading-[3rem] text-slate-800 dark:text-slate-200"
|
||||||
>
|
|
||||||
<span class="font-semibold">pomp</span>'s<br />
|
|
||||||
biased & opinionated
|
|
||||||
<br />
|
|
||||||
list of
|
|
||||||
<span
|
|
||||||
class="highlight px-1 font-extrabold text-light-text-default dark:text-dark-text-default"
|
|
||||||
>
|
>
|
||||||
{{ props.highlight }}
|
<span class="font-semibold">pomp</span>'s<br />
|
||||||
</span>
|
biased & opinionated
|
||||||
</h1>
|
<br />
|
||||||
|
list of
|
||||||
|
<span
|
||||||
|
class="highlight px-1 font-extrabold text-light-text-default dark:text-dark-text-default"
|
||||||
|
>
|
||||||
|
{{ props.highlight }}
|
||||||
|
</span>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -34,4 +36,8 @@ const props = defineProps<{
|
||||||
padding-bottom: 8rem /* 128px (pb-32) */;
|
padding-bottom: 8rem /* 128px (pb-32) */;
|
||||||
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 128px));
|
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 128px));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.slant-shadow {
|
||||||
|
filter: drop-shadow(0px 0px 20px #ccc);
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue