Author: fschumacher
Date: Sun Mar  8 08:29:36 2015
New Revision: 1664952

URL: http://svn.apache.org/r1664952
Log:
Use smaller ad banner for apache. Correct margins and width for smaller devices.

Bugzilla Id: 53764

Modified:
    jmeter/trunk/xdocs/css/new-style.css
    jmeter/trunk/xdocs/stylesheets/website-style.xsl

Modified: jmeter/trunk/xdocs/css/new-style.css
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/xdocs/css/new-style.css?rev=1664952&r1=1664951&r2=1664952&view=diff
==============================================================================
--- jmeter/trunk/xdocs/css/new-style.css (original)
+++ jmeter/trunk/xdocs/css/new-style.css Sun Mar  8 08:29:36 2015
@@ -69,13 +69,18 @@ h1, h2, h3, h4, h5, .title {
 }
 
 .banner>iframe {
-  width: 140px;
-  height: 130px;
+  width: 240px;
+  height: 70px;
 }
 .banner>iframe>body {
   margin: 0px;
   padding: 0px;
 }
+.banner>iframe img {
+  width: auto;
+  max-width: 100%
+  height: auto;
+}
 
 body {
   margin: 0px;
@@ -308,13 +313,13 @@ table {
 @media screen and (max-width: 900px) {
   .nav {
     display: block;
-    width: 100%;
-    max-width: 100%;
+    width: 95%;
+    max-width: 95%;
   }
   .main {
     display: block;
-    width: 100%;
-    max-width: 100%;
+    width: 95%;
+    max-width: 95%;
     margin-left: 0.5em;
   }
   .section-index, pagelinks {
@@ -374,4 +379,20 @@ table {
   .section-index li:hover>ul {
     display: block;
   }
+  .subsection {
+    padding: 0.3rem;
+    margin: 0.1rem;
+  }
+  .header > .twitter {
+   width: 100%;
+   text-align: center;
+  }
+  .header > .twitter > div {
+    display: inline;
+    width: 50%;
+  }
+  .header > .banner {
+    width: 100%;
+    text-align: center;
+  }
 }

Modified: jmeter/trunk/xdocs/stylesheets/website-style.xsl
URL: 
http://svn.apache.org/viewvc/jmeter/trunk/xdocs/stylesheets/website-style.xsl?rev=1664952&r1=1664951&r2=1664952&view=diff
==============================================================================
--- jmeter/trunk/xdocs/stylesheets/website-style.xsl (original)
+++ jmeter/trunk/xdocs/stylesheets/website-style.xsl Sun Mar  8 08:29:36 2015
@@ -90,7 +90,7 @@
               </a>
             </div>
           </xsl:if>
-          <div>
+          <div class="twitter">
             <div>
               <a href="https://twitter.com/share"; class="twitter-share-button"
                 data-text="Powerful Load Testing with Apache #JMeter"
@@ -129,7 +129,7 @@
             </div>
           </div>
           <div class="banner">
-            <iframe src="http://www.apache.org/ads/button.html";
+            <iframe src="http://www.apache.org/ads/bannerbar.html";
               style="border-width:0;" frameborder="0" scrolling="no"
             ></iframe>
             <div class="clear"></div>


Reply via email to