1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

made docsite ads configurable by marketing

This commit is contained in:
John Mitchell 2016-01-04 19:58:51 -05:00
parent 0d7c328459
commit 692ef6dcc9
2 changed files with 14 additions and 29 deletions

View file

@ -166,7 +166,7 @@
<!-- changeable widget --> <!-- changeable widget -->
<center> <center>
<br/> <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" /> <img style="border-width:0px;" src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-left-rail.png" />
</a> </a>
</center> </center>
@ -189,15 +189,17 @@
<div class="wy-nav-content"> <div class="wy-nav-content">
<div class="rst-content"> <div class="rst-content">
<!-- Tower ads --> <!-- Banner ads -->
<a class="DocSiteBanner" href="http://www.ansible.com/tower?utm_source=docs"> <div class="DocSiteBanner">
<div class="DocSiteBanner-imgWrapper"> <a class="DocSiteBanner-imgWrapper"
<img src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-top-left.png"> href="http://www.ansible.com/docs-top?utm_source=docs">
</div> <img src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-top-left.png">
<div class="DocSiteBanner-imgWrapper"> </a>
<img src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-top-right.png"> <a class="DocSiteBanner-imgWrapper"
</div> href="http://www.ansible.com/docs-top?utm_source=docs">
</a> <img src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-top-right.png">
</a>
</div>
{% include "breadcrumbs.html" %} {% include "breadcrumbs.html" %}
<div id="page-content"> <div id="page-content">

View file

@ -4723,33 +4723,16 @@ span[id*='MathJax-Span'] {
padding: 0.4045em 1.618em; padding: 0.4045em 1.618em;
} }
.DocSiteBanner { .DocSiteBanner {
width: 100%;
display: flex; display: flex;
display: -webkit-flex; display: -webkit-flex;
justify-content: center;
-webkit-justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
-webkit-flex-wrap: wrap; -webkit-flex-wrap: wrap;
justify-content: space-between;
-webkit-justify-content: space-between;
background-color: #ff5850;
margin-bottom: 25px; margin-bottom: 25px;
} }
.DocSiteBanner-imgWrapper { .DocSiteBanner-imgWrapper {
max-width: 100%; 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;
}
}