From abef584fa382189b97963e6d3446ea17f2831a8c Mon Sep 17 00:00:00 2001 From: Shipow Date: Sat, 11 Aug 2018 11:42:53 +0200 Subject: [PATCH] is front-end about fixing stuff? --- docs/src/_layouts/homepage.pug | 35 +++++++++++++++++----------------- docs/src/style.css | 4 ++-- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/docs/src/_layouts/homepage.pug b/docs/src/_layouts/homepage.pug index 53fcb5c6..40c6ea87 100644 --- a/docs/src/_layouts/homepage.pug +++ b/docs/src/_layouts/homepage.pug @@ -100,16 +100,16 @@ block content .flex.flrw .fln.w-100.md_w-33.px-2.p-2 h3.pb-1.text-3.leading-2 We crawl your documentation pages - p.text-2.leading-2.text-justify We built a website crawler designed to index every section of your documentation. - p.text-2.leading-2.text-justify Just send us the URL of your documentation, and we’ll run the crawler every 24h so you’re always up-to-date. + p.text-1.leading-2.text-justify We built a website crawler designed to index every section of your documentation. + p.text-1.leading-2.text-justify Just send us the URL of your documentation, and we’ll run the crawler every 24h so you’re always up-to-date. .fln.w-100.md_w-33.px-2.p-2 h3.pb-1.text-3.leading-2 We configure your search experience - p.text-2.leading-2.text-justify You don’t need to configure any settings or even have an Algolia account. - p.text-2.leading-2.text-justify We take care of all of this automatically to ensure the best documentation search experience. + p.text-1.leading-2.text-justify You don’t need to configure any settings or even have an Algolia account. + p.text-1.leading-2.text-justify We take care of all of this automatically to ensure the best documentation search experience. .fln.w-100.md_w-33.px-2.p-2 h3.pb-1.text-3.leading-2 You add the search autocomplete to your UI - p.text-2.leading-2.text-justify We’ll send you the script so you can integrate Algolia autocomplete to power your search. - p.text-2.leading-2.text-justify You will receive the same speed, relevance and best-in-class UX as our paying customers. + p.text-1.leading-2.text-justify We’ll send you the script so you can integrate Algolia autocomplete to power your search. + p.text-1.leading-2.text-justify You will receive the same speed, relevance and best-in-class UX as our paying customers. .max-w-xl.m-auto.mt-3.px-1.pb-3 .text-solstice.text-5.normal.pb-2.text-center Try it live @@ -157,11 +157,11 @@ block content form.m-auto.max-w-sm.elevation.p-2.md_p-3 .mb-2 label.control-label(for="url") Website - input#url.form-control(name="url", placeholder="https://website.com/doc") + input#url.form-control(name="url", placeholder="https://project.org/doc") p.text-grey-dark.text-xs.italic We’ll crawl the documentation pages of your website and index them on Algolia. .mb-2 label.control-label(for="email") Email - input#email.form-control(name="email", placeholder="you@example.org", type="email") + input#email.form-control(name="email", placeholder="you@project.org", type="email") p.text-grey-dark.text-xs.italic We’ll email you the code you need to integrate the search into your documentation. .mb-2 label @@ -174,20 +174,21 @@ block content button.c-button.c-button-primary.w-100(type="submit") Join the program .text-center.p-2.pb-4 - p.text-2.mb-2.leading-2 Docsearch 2015-2018 - Designed and built with love by - img.align-top.pl-1(src="assets/algolia-logo.svg", alt="search by Algolia", width=110) - ul.list-reset.inline-block.text-2.mb-4 - li.inline.p-1 + p.text-2.mb-2.leading-2 Docsearch 2015-2018 • Designed and built with love by + a(href="https://www.algolia.com/") + img.align-top.pl-1(src="assets/algolia-logo.svg", alt="search by Algolia", width=110) + ul.list-reset.inline-block.text-2.mb-3 + li.p-1.w-100.md_w-auto.inline-block a(href="https://github.com/algolia/docsearch/blob/master/LICENSE") Code licensed under MIT - li.inline.p-1 + li.p-1.w-100.md_w-auto.inline-block a(href="https://github.com/algolia/docsearch") Github - li.inline.p-1 + li.p-1.w-100.md_w-auto.inline-block a(href="https://github.com/algolia/docsearch/issues") Issues - li.inline.p-1 + li.p-1.w-100.md_w-auto.inline-block a(href="https://github.com/algolia/docsearch/blob/master/CHANGELOG.md") Changelog - li.inline.p-1 + li.p-1.w-100.md_w-auto.inline-block a(href="https://discourse.algolia.com/tags/docsearch") Community Forum - li.inline.p-1 + li.p-1.w-100.md_w-auto.inline-block a(href="https://discord.gg/ax4NkP") Discord diff --git a/docs/src/style.css b/docs/src/style.css index 547835e9..88b73f1f 100644 --- a/docs/src/style.css +++ b/docs/src/style.css @@ -37,9 +37,9 @@ body { .bg-footer { background-image: url('assets/bg-footer.svg'); background-color: #FDFDFE; - background-size: cover; + background-size: 1600px; background-repeat: no-repeat; - background-position: center -450px; + background-position: center top; } /* Logo slider (gslide) */