Skip to content

Commit

Permalink
markdown typography style tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
parkerhendo committed Mar 1, 2025
1 parent 3ef3583 commit 1df5a9a
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions docs/src/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,64 @@ site-search button[data-open-modal] {
}
}

/* MARKDOWN CONTENT STYLES */

.sl-markdown-content {
h1 {
@apply text-3xl font-bold;
}

h2 {
@apply text-2xl font-bold;
}

h3 {
@apply text-xl font-bold;
}

h4 {
@apply text-lg font-bold;
}

h5 {
@apply text-base font-bold;
}

h6 {
@apply text-sm font-bold;
}

p {
@apply text-base leading-normal text-gray-900;
}

a {
@apply text-violet-600 no-underline hover:underline hover:text-violet-700;
}

code {
@apply font-mono bg-gray-50 border border-gray-200 px-1.5 py-0.5 text-sm text-gray-600 rounded-md;
}
}

.content-panel {
border-top: none !important;
}

/* Next/Previous Page Links */
.content-panel footer {
.pagination-links > a {
@apply text-sm border-gray-300/50 border shadow-none;

svg {
@apply hidden;
}

span {
@apply text-gray-400 text-xs font-bold;
span {
@apply text-base text-gray-900 font-normal;
}
}
}
}

0 comments on commit 1df5a9a

Please sign in to comment.