Skip to content

Commit

Permalink
wheatley's heading style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ceitine committed Mar 24, 2024
1 parent a0b14ab commit 5b5dfd2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/lib/components/Heading.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</script>

<div>
<a class="decoration-blue decoration-4 underline-offset-4" href={`#${title}`} target="_self">
<a class="no-underline" href={`#${title}`} target="_self">
<svelte:element this={h} id={title} class:caption>{title}</svelte:element></a
>
{#if caption}
Expand All @@ -33,6 +33,18 @@
margin-bottom: 0px;
}
h3,
h4 {
color: blue;
}
h2 {
text-decoration: underline;
text-decoration-color: blue;
text-decoration-thickness: 4px;
text-underline-offset: 4px;
}
p {
margin-top: 0px;
}
Expand Down

0 comments on commit 5b5dfd2

Please sign in to comment.