diff --git a/_config.yml b/_config.yml index 75a8371ae7c..029b7e44d2b 100644 --- a/_config.yml +++ b/_config.yml @@ -81,6 +81,10 @@ collections: # 3rd Party Settings # # ----------------------- # +#Search +algolia: + api_key: "ae96d94b201c5444c8a443093edf3efb" + # Twitter twitter_user: balloob twitter_tweet_button: true diff --git a/sass/custom/_paulus.scss b/sass/custom/_paulus.scss index 6f4dbb2eb8b..44308282321 100644 --- a/sass/custom/_paulus.scss +++ b/sass/custom/_paulus.scss @@ -634,3 +634,39 @@ code { border-radius: 0.4em; padding: 0.1em 0.4em; } + + +@media only screen and (max-width: $menu-collapse) { + #not_found { + .page { + text-align: center; + + .search404-container { + margin-bottom: 32px; + + } + } + } +} + +@media only screen and (min-width: $menu-collapse) { + #not_found { + .page { + text-align: center; + margin-bottom: 300px; + + .search404-container { + margin-bottom: 32px; + + #search404 { + width: 420px; + } + } + } + footer { + position: absolute; + bottom: 0; + width: 100%; + } + } +} \ No newline at end of file diff --git a/source/404.html b/source/404.html new file mode 100644 index 00000000000..d69f20e0d43 --- /dev/null +++ b/source/404.html @@ -0,0 +1,16 @@ +--- +layout: page +permalink: /404.html +sidebar: false +feedback: false +body_id: not_found +--- +