summaryrefslogtreecommitdiff
path: root/docsite/_themes
diff options
context:
space:
mode:
authorJohn Mitchell <jlmitch5@ncsu.edu>2016-01-04 19:58:51 -0500
committerJohn Mitchell <jlmitch5@ncsu.edu>2016-01-04 19:59:47 -0500
commit692ef6dcc90cf696b4bc25bedb979150adf6e7b9 (patch)
treeb34a16986b1339080849f6548ce7461f02d802ca /docsite/_themes
parent0d7c3284595c34f53c903995b8dff5fc65303c89 (diff)
downloadansible-692ef6dcc90cf696b4bc25bedb979150adf6e7b9.tar.gz
made docsite ads configurable by marketing
Diffstat (limited to 'docsite/_themes')
-rw-r--r--docsite/_themes/srtd/layout.html22
-rw-r--r--docsite/_themes/srtd/static/css/theme.css21
2 files changed, 14 insertions, 29 deletions
diff --git a/docsite/_themes/srtd/layout.html b/docsite/_themes/srtd/layout.html
index 16f0d8d266..1408be8165 100644
--- a/docsite/_themes/srtd/layout.html
+++ b/docsite/_themes/srtd/layout.html
@@ -166,7 +166,7 @@
<!-- changeable widget -->
<center>
<br/>
-<a href="http://www.ansible.com/tower?utm_source=docs">
+<a href="http://www.ansible.com/docs-left?utm_source=docs">
<img style="border-width:0px;" src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-left-rail.png" />
</a>
</center>
@@ -189,15 +189,17 @@
<div class="wy-nav-content">
<div class="rst-content">
- <!-- Tower ads -->
- <a class="DocSiteBanner" href="http://www.ansible.com/tower?utm_source=docs">
- <div class="DocSiteBanner-imgWrapper">
- <img src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-top-left.png">
- </div>
- <div class="DocSiteBanner-imgWrapper">
- <img src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-top-right.png">
- </div>
- </a>
+ <!-- Banner ads -->
+ <div class="DocSiteBanner">
+ <a class="DocSiteBanner-imgWrapper"
+ href="http://www.ansible.com/docs-top?utm_source=docs">
+ <img src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-top-left.png">
+ </a>
+ <a class="DocSiteBanner-imgWrapper"
+ href="http://www.ansible.com/docs-top?utm_source=docs">
+ <img src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-top-right.png">
+ </a>
+ </div>
{% include "breadcrumbs.html" %}
<div id="page-content">
diff --git a/docsite/_themes/srtd/static/css/theme.css b/docsite/_themes/srtd/static/css/theme.css
index 4f7cbc8caa..246e513b79 100644
--- a/docsite/_themes/srtd/static/css/theme.css
+++ b/docsite/_themes/srtd/static/css/theme.css
@@ -4723,33 +4723,16 @@ span[id*='MathJax-Span'] {
padding: 0.4045em 1.618em;
}
-
.DocSiteBanner {
- width: 100%;
display: flex;
display: -webkit-flex;
+ justify-content: center;
+ -webkit-justify-content: center;
flex-wrap: wrap;
-webkit-flex-wrap: wrap;
- justify-content: space-between;
- -webkit-justify-content: space-between;
- background-color: #ff5850;
margin-bottom: 25px;
}
.DocSiteBanner-imgWrapper {
max-width: 100%;
}
-
-@media screen and (max-width: 1403px) {
- .DocSiteBanner {
- width: 100%;
- display: flex;
- display: -webkit-flex;
- flex-wrap: wrap;
- -webkit-flex-wrap: wrap;
- justify-content: center;
- -webkit-justify-content: center;
- background-color: #fff;
- margin-bottom: 25px;
- }
-}