From 03a28da5f78bd0f20eca3390a2dddca4ccb6ca81 Mon Sep 17 00:00:00 2001 From: Andy Rothfusz Date: Fri, 6 Sep 2013 13:34:24 -0700 Subject: [PATCH] Add Swiftype search to docs --- docs/theme/docker/layout.html | 27 +++++++++++++++++++++++++++ docs/theme/docker/static/css/main.css | 18 ++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/docs/theme/docker/layout.html b/docs/theme/docker/layout.html index 9b3f565637..91c561235c 100755 --- a/docs/theme/docker/layout.html +++ b/docs/theme/docker/layout.html @@ -110,6 +110,13 @@ @@ -121,6 +128,26 @@ {% block body %}{% endblock %} + +
+ + diff --git a/docs/theme/docker/static/css/main.css b/docs/theme/docker/static/css/main.css index fc1fd4886d..43ec37cfcd 100755 --- a/docs/theme/docker/static/css/main.css +++ b/docs/theme/docker/static/css/main.css @@ -391,3 +391,21 @@ dt:hover > a.headerlink { float: right; visibility: hidden; } + +/* Swiftype style */ + +#st-search-input { + margin-right: 14px; + margin-left: 9px; + height: 19px; + width: 120px; + +} +#swiftype-img { + border: none; + width: 145px; + height: auto; + margin: 0px auto; + margin-left: 13px; + margin-top: -30px; +} \ No newline at end of file