diff --git a/docs/website/assets/css/main.css b/docs/website/assets/css/main.css index 9464ab476..123926e79 100644 --- a/docs/website/assets/css/main.css +++ b/docs/website/assets/css/main.css @@ -24,13 +24,8 @@ body { @apply flex flex-col min-h-screen; } -.content { - flex: 1; -} - .c-rich-text a { color: #1a76c1; - font-weight: 400; } .c-rich-text a:hover { @@ -38,7 +33,11 @@ body { } .c-rich-text ul { - @apply mb-4 list-outside pl-8 + @apply mb-4 list-outside pl-8; +} + +.c-rich-text ol { + @apply list-outside pl-4; } pre { @@ -83,14 +82,6 @@ p a:hover { color: #12283a; } -.kind-section #content, -.section-docs #content { - @apply max-w-6xl mx-auto px-6; -} -.section-docs .page-heading { - @apply mb-1; -} - .header-anchor { @apply text-sm hidden align-top; } @@ -107,7 +98,7 @@ h2:hover > a.header-anchor, h3:hover > a.header-anchor, h4:hover > a.header-anch the scroll lands with the header visible. 🤷‍♂️ */ -h1::before, h2::before, h3::before { +h1::before, h2::before, h3::before, h4::before { display: block; content: " "; margin-top: -100px; diff --git a/docs/website/assets/css/navigation.css b/docs/website/assets/css/navigation.css index b5d79011e..aaea08021 100644 --- a/docs/website/assets/css/navigation.css +++ b/docs/website/assets/css/navigation.css @@ -90,4 +90,4 @@ header { .dropdown:hover .dropdown-menu { display: block; height: auto; -} +} \ No newline at end of file diff --git a/docs/website/assets/css/tailwind.css b/docs/website/assets/css/tailwind.css index a31e44411..45746c54b 100644 --- a/docs/website/assets/css/tailwind.css +++ b/docs/website/assets/css/tailwind.css @@ -1,3 +1,14 @@ @import 'tailwindcss/base'; @import 'tailwindcss/components'; @import 'tailwindcss/utilities'; + + +h1 { + @apply text-4xl; +} +h2 { + @apply text-2xl; +} +h3 { + @apply text-xl; +} diff --git a/docs/website/components/Content.vue b/docs/website/components/Content.vue index 75a531701..9d9440597 100644 --- a/docs/website/components/Content.vue +++ b/docs/website/components/Content.vue @@ -1,58 +1,22 @@ diff --git a/docs/website/components/DocumentationDropdown.vue b/docs/website/components/DocumentationDropdown.vue index 78a2ccdd1..c6b842fe1 100644 --- a/docs/website/components/DocumentationDropdown.vue +++ b/docs/website/components/DocumentationDropdown.vue @@ -1,6 +1,9 @@