File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22@import '@codingcatdev/blackcatui/dist/styles/all.css' ;
33@import './styles/app.css' ;
44@import './styles/nav-list.css' ;
5+ @import './styles/grid-card.css' ;
Original file line number Diff line number Diff line change 3333 <div class =" p-4 sm:p-10" >
3434 <section class =" relative grid gap-4 grid-cols-fit sm:gap-10" >
3535 {#each data ?.content as content }
36- <div
37- class =" grid transition-all rounded-md shadow-lg dark:text-primary-50 dark:bg-basics-900 grid-rows-auto-2 hover:shadow-2xl hover:scale-105 bg-base-100"
38- >
36+ <div class =" ccd-grid-card" >
3937 <a class ="self-start" href ={` /${type }/${content .slug } ` }>
4038 {#if content ?.cover }
4139 <Image
5654 <section class =" grid h-full grid-cols-1 gap-2 p-4" >
5755 <div class =" space-y-2" >
5856 <h3 class =" font-sans text-lg tracking-wide text-bold" >
59- < a href ={ ` /${ type }/${ content .slug } ` }>{ content . title }</ a >
57+ { content .title }
6058 </h3 >
6159 {#if content .excerpt }
6260 <p class ="text-sm font-hairline " >{content .excerpt }</p >
6361 {/if }
6462 {#if content .authors }
6563 <div class =" flex flex-col" >
6664 {#each content .authors as author }
67- <a href ={ ` /authors/${ author . slug } ` } class =" font-sans text-lg" >
65+ <div class =" font-sans text-lg" >
6866 {author .displayName }
69- </a >
67+ </div >
7068 {/each }
7169 </div >
7270 {/if }
Original file line number Diff line number Diff line change 88 class =" flex flex-col md:flex-row justify-between items-center md:items-start gap-8 md:space-y-0"
99 >
1010 <p class =" text-xs" >
11- <a class =" bcu-button variant-soft" href =" https://codingcat.dev"
12- >Made with 💜 by CodingCat.dev</a
13- >
11+ <a class =" bcu-button variant-soft" href =" https://alexpatterson.dev" >Made by Alex Patterson</a >
1412 </p >
1513 <div class =" flex gap-2" >
1614 <a
Original file line number Diff line number Diff line change 1+ @layer components {
2+ . ccd-grid-card {
3+ @apply bcu-card grid transition-all rounded-md shadow-lg hover:shadow-2xl hover:scale-105;
4+ }
5+ . ccd-grid-card a {
6+ /* Override typograpy */
7+ @apply !no-underline !text-base-token dark:!text-dark-token;
8+ }
9+ }
You can’t perform that action at this time.
0 commit comments