File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ const toc = generateToc(headings)
4040
4141<details
4242 open
43- class =" relative md:mx-2 xl:mx-0 text-foreground/90 bg-foreground/6 xl:bg-transparent px-8 xl:pr-2 py-6 mt-5 xl:mt-0 xl:w-full rounded-xl border-3 xl:border-none border-accent/10 xl:sticky xl:top-10 xl:basis-[266px] 2xl:basis-[340px] xl:order-2 xl:shrink-0"
43+ class =" relative md:mx-2 xl:mx-0 text-foreground/90 bg-foreground/5 xl:bg-transparent px-8 xl:pr-2 py-6 mt-5 xl:mt-0 xl:w-full rounded-xl border-3 xl:border-none border-accent/10 xl:sticky xl:top-10 xl:basis-[266px] 2xl:basis-[340px] xl:order-2 xl:shrink-0"
4444>
4545 <summary
4646 class =" list-none marker:hidden marker:content-[''] before:content-['>'] before:text-accent before:font-semibold before:absolute before:left-3 cursor-pointer"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const { tags } = Astro.props
1212 tags .map ((tag ) => (
1313 <a
1414 href = { ` /tags/${encodeURIComponent (tag )} ` }
15- class = " py-1 px-3 bg-accent/2 hover:bg-accent/10 border-1 border-accent/10 text-accent/90 rounded-2xl"
15+ class = " py-1 px-3 bg-accent/2 hover:bg-accent/10 border-1 border-accent/10 text-accent/90 rounded-2xl transition-colors "
1616 >
1717 { tag }
1818 </a >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const tagsWithCount = Array.from(tags)
2222 <li >
2323 <a
2424 href = { ` /tags/${encodeURIComponent (tag )} ` }
25- class = " flex gap-2.5 py-2 pl-4 pr-3 bg-accent/7 rounded-3xl"
25+ class = " flex gap-2.5 py-2 pl-4 pr-3 bg-accent/7 rounded-3xl border-transparent hover:border-accent/20 border-1 "
2626 >
2727 { tag }
2828 <span class = " rounded-full bg-foreground/7 text-primary px-2 py-1 text-xs font-semibold" >
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if (addendum.length > 0) {
5757 )
5858 }
5959 <div class =" md:mx-2" >
60- <h1 class =" mb-3 text-[1.75rem] text-[var(--theme-h1)] font-semibold" >
60+ <h1 class =" mb-4 text-[1.75rem] text-[var(--theme-h1)] font-semibold" >
6161 # { postData .title }
6262 </h1 >
6363 <div class =" text-foreground/80 mb-1" >
Original file line number Diff line number Diff line change @@ -71,6 +71,10 @@ button:active {
7171 @apply outline-1 outline-accent outline-offset-2;
7272}
7373
74+ a , button {
75+ @apply hover:cursor-pointer;
76+ }
77+
7478a .button {
7579 @apply inline-flex text-accent border-3 border-accent/30 border-double py-1.5 px-3 whitespace-nowrap hover:bg-accent/10 rounded-xl transition-colors;
7680}
@@ -341,7 +345,7 @@ article img {
341345 }
342346
343347 blockquote {
344- @apply relative bg-foreground/6 before:content-['>' ] before:block before:absolute before:text-accent before:font-bold before:left-3;
348+ @apply relative bg-foreground/5 before:content-['>' ] before:block before:absolute before:text-accent before:font-bold before:left-3;
345349 }
346350
347351 aside {
You can’t perform that action at this time.
0 commit comments