diff --git a/docs/src/_layouts/homepage.pug b/docs/src/_layouts/homepage.pug index 86e932375..56e82f659 100644 --- a/docs/src/_layouts/homepage.pug +++ b/docs/src/_layouts/homepage.pug @@ -14,7 +14,7 @@ block content .max-w-md.m-auto.text-center.px-2 img.mt-3.mb-1(src="assets/docsearch-logo.svg", alt="DocSearch logo" width=480) .text-2.text-nova.mb-3 The best search experience for docs, integrates in minutes, for free - .text-5.text-telluric.mb-3 Providing search for 900+ docs, and counting + .text-5.text-telluric.mb-3 Providing search for 900+ docs, and counting. a.c-button.c-button-primary(href="#join-docsearch-program") Join the Program .bg-moon.px-2 @@ -23,7 +23,7 @@ block content .glide__track(data-glide-el="track") .glide__slides .glide__slide - img(src="assets/logos/babel.png", alt="DocSearch + Babel", width=60) + img(src="assets/logos/babel.jpg", alt="DocSearch + Babel", width=60) .glide__slide img(src="assets/logos/bootstrap.jpg", alt="DocSearch + Bootstrap", width=60) .glide__slide diff --git a/docs/src/_layouts/two-columns.pug b/docs/src/_layouts/two-columns.pug index d2aca74a0..8af316875 100644 --- a/docs/src/_layouts/two-columns.pug +++ b/docs/src/_layouts/two-columns.pug @@ -16,11 +16,11 @@ block nav path(d="M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z") block content - .bgtb-moon-white-pure.px-2 + .bgtb-moon-white-pure .md_flex.max-w-lg.m-auto - .navigation-sidebar.hidden.absolute.z-90.-m-2.md_m-0.w-100.md_static.bg-white.md_bg-transparent.md_w-25.md_block.md_border-0.text-center.md_text-left + .navigation-sidebar.hidden.absolute.z-90.md_static.bg-white.md_bg-transparent.w-100.md_w-25.md_block.md_border-0.text-center.md_text-left.md_pl-2 // Adding subsections from markdown - .sticky.pin-t.h-100vh.overflow-y-auto.pt-4.md_pt-3.lg_pt-4 + .sticky.pin-t.h-100vh.overflow-y-auto.pt-4.md_pt-3.lg_pt-4.w-full each category in sidebar .category.text-nebula.poppins.uppercase.mb-1.text-2.md_text-1=category.title ul.list-reset.pb-1.text-1.mb-1.md_ml-0x @@ -36,12 +36,12 @@ block content li a.block.py-0x.text-telluric(href=`${page.url}#${heading.anchor}`)=heading.title - .documentation-content.text-1.pt-2.md_pt-3.lg_pt-4.max-w-md.pb-4.md_pl-2 + .documentation-content.text-1.pt-2.md_pt-3.lg_pt-4.pb-4.px-2.w_100.md_w-75 .block.md_hidden.mb-1 a(href=site.url) DocSearch span  >  a(href=`${site.url}/what-is-docsearch.html`) Documentation - .text-5.lg_text-6.uppercase.tracking-poppins.text-solstice.bold.mb-2=current.title + .text-5.lg_text-7.uppercase.tracking-poppins.text-solstice.bold.mb-2=current.title !=current.content // Include the apply form if current.includeForm diff --git a/docs/src/_styles/docs.css b/docs/src/_styles/docs.css index 79518b97e..a3b71400b 100644 --- a/docs/src/_styles/docs.css +++ b/docs/src/_styles/docs.css @@ -1,5 +1,6 @@ /* Content converted form markdown */ .documentation-content { + /* max-width: 700px; */ /* Paragraphs */ p { @apply .leading-2 my-1; @@ -32,7 +33,7 @@ } .navigation-sidebar{ - min-width: 180px; + min-width: 200px; } body.navigation-menu-open {