diff --git a/themes/docs-new/layouts/_default/data-api.html b/themes/docs-new/layouts/_default/data-api.html
index 43285f054f..236156d38e 100644
--- a/themes/docs-new/layouts/_default/data-api.html
+++ b/themes/docs-new/layouts/_default/data-api.html
@@ -14,14 +14,10 @@
{{- end -}}
{{- end }}
- {{ if in .Params.product "automate" }}
-
- {{ else }}
-
- {{ end }}
+
- {{ if in .Params.product "automate" }}
+ {{ if eq $.Page.Params.title "Chef Automate API" }}
Return to Docs
diff --git a/themes/docs-new/static/automate-api-stylesheet.css b/themes/docs-new/static/api-stylesheet.css
similarity index 85%
rename from themes/docs-new/static/automate-api-stylesheet.css
rename to themes/docs-new/static/api-stylesheet.css
index 5ffef397d0..9eaebea560 100644
--- a/themes/docs-new/static/automate-api-stylesheet.css
+++ b/themes/docs-new/static/api-stylesheet.css
@@ -28,30 +28,33 @@ a.return {
padding:20px;
font-family: Montserrat, sans-serif;
font-weight: 400;
- font-size: .9em;
- line-height: 1.6em;
+ font-size: 14px;
+ line-height: 1.5em;
color: rgb(51, 51, 51);
background-color: rgb(250, 250, 250);
+ border-bottom: 1px solid rgb(225, 225, 225);
}
+
#top-container-return {
padding-left: 10px;
flex: 0 0 200px;
margin-top: 1em;
}
+/* The following content is for a note at the top of the Automate API page */
+
#top-container-messages {
flex: 1 1 500px;
- margin: 1em;
- padding: 0 1em;
+ margin: 1em 1em 0 1em;
+ padding: 0;
border-radius: 3px;
display: flex;
flex-direction: column;
}
.top-container-message {
- padding: 0 15px;
- margin: 1em;
padding: 0;
+ margin: 0 1em;
border-radius: 3px;
}
@@ -82,10 +85,5 @@ p#top-container-warning {
}
.top-container-text {
- padding: 1em;
-}
-
-redoc[spec-url] a img[src^="/images/chef-automate-logo.svg"] {
- width: 220px;
- margin: 20px;
+ padding: 0 1em;
}
diff --git a/themes/docs-new/static/habitat-api-styles.css b/themes/docs-new/static/habitat-api-styles.css
deleted file mode 100644
index f065b594aa..0000000000
--- a/themes/docs-new/static/habitat-api-styles.css
+++ /dev/null
@@ -1,24 +0,0 @@
-body {
- margin: 0;
- padding: 0;
-}
-
-a.return {
- background: #EF9600;
- display: block;
- text-align: center;
- width: 260px;
- padding: 8px 0;
- color: white;
- text-decoration: none;
- font-family: montserrat;
- font-size: 14px;
- position: fixed;
- z-index: 1;
-}
-
-redoc[spec-url] a img[src^="/images/habitat-logo.svg"] {
- width: 220px;
- margin: 20px;
-}
-