From 1df5a9a8112af1bdb9b4893d75675290920f92bc Mon Sep 17 00:00:00 2001 From: Parker Henderson Date: Fri, 28 Feb 2025 18:01:04 -0800 Subject: [PATCH] markdown typography style tweaks --- docs/src/tailwind.css | 60 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/docs/src/tailwind.css b/docs/src/tailwind.css index 3d020c3..076af81 100644 --- a/docs/src/tailwind.css +++ b/docs/src/tailwind.css @@ -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; + } + } + } +} \ No newline at end of file