Ladsgroup has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/334856 )

Change subject: dumps: Modernize design of the index page
......................................................................

dumps: Modernize design of the index page

Bug: T155697
Change-Id: I77abcc300a0453cde1be79c674e9934c610b0d51
---
M modules/snapshot/files/dumps/templates/download-index.html
1 file changed, 69 insertions(+), 109 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/56/334856/1

diff --git a/modules/snapshot/files/dumps/templates/download-index.html 
b/modules/snapshot/files/dumps/templates/download-index.html
index dbc9463..05473f3 100644
--- a/modules/snapshot/files/dumps/templates/download-index.html
+++ b/modules/snapshot/files/dumps/templates/download-index.html
@@ -1,115 +1,76 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en" dir="ltr">
-    <head>
-        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-        <title>Wikimedia Downloads</title>
-        <style type="text/css" media="screen,projection">/*<![CDATA[*/
-body {
-    font: x-small sans-serif;
-    background: #f9f9f9 
url(//meta.wikimedia.org/static/current/skins/MonoBook/headbg.jpg) 0 0 
no-repeat;
-    color: black;
-    margin: 0;
-    padding: 0;
-}
-/* scale back up to a sane default */
-#globalWrapper {
-    font-size: 127%%;
-    width: 100%%;
-    margin: 0;
-    padding: 0;
-}
-#content {
-    margin: 2em 2em 0 2em;
-    padding: 0 1em 1.5em 1em;
-    background: white;
-    color: black;
-    border: 1px solid #aaa;
-    line-height: 1.5em;
-    position: relative;
-    z-index: 2;
-}
-h1, h2, h3, h4, h5, h6 {
-    color: black;
-    background: none;
-    font-weight: normal;
-    margin: 0;
-    padding-top: .5em;
-    padding-bottom: .17em;
-    border-bottom: 1px solid #aaa;
-}
-h1 {
-    font-size: 188%%;
-    margin-bottom: .6em;
-}
-h2 {
-    font-size: 150%%;
-    margin-bottom: .6em;
-}
-h3, h4, h5, h6 {
-    border-bottom: none;
-    font-weight: bold;
-    margin-bottom: .3em;
-}
-
-ul {
-    line-height: 1.5em;
-    list-style-type: square;
-    margin: .3em 0 0 1.5em;
-    padding: 0;
-    list-style-image: url(bullet.gif);
-}
-ol {
-    line-height: 1.5em;
-    margin: .3em 0 0 3.2em;
-    padding: 0;
-    list-style-image: none;
-}
-li {
-    margin-bottom: .1em;
-}
-dt {
-    font-weight: bold;
-    margin-bottom: .05em;
-}
-dl {
-    margin-top: .2em;
-    margin-bottom: .5em;
-}
-dd {
-    line-height: 1.5em;
-    margin-left: 2em;
-    margin-bottom: .5em;
-}
-a {
-    text-decoration: none;
-    color: #002bb8;
-    background: none;
-}
-a:visited {
-    color: #5a3696;
-}
-a:active {
-    color: #faa700;
-}
-a:hover {
-    text-decoration: underline;
-}
-
-dl {
-    margin-left:4em;
-    margin-right:4em;
-}
-
-.visualClear {
-    clear: both;
-}
-
-/*]]>*/</style>
-
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>Wikimedia Downloads</title>
+  <style type="text/css">
+    html {
+        background: #eee;
+            font-family: sans-serif;
+    -ms-text-size-adjust: 100%;
+    -webkit-text-size-adjust: 100%;
+    font-size: 10px;
+    -webkit-tap-highlight-color: transparent;
+    }
+    *, :after, :before {
+        box-sizing: border-box;
+    }
+    body {
+        max-width: 50em;
+        margin: 0px auto;
+        padding: 1em 2em;
+        background: #fff;
+        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
+        font-size: 16px;
+        line-height: 1.6;
+        color: #222;
+    }
+    .notice {
+        border: 1px solid #fc3;
+        margin: 4px 10%;
+        background: #f8f9fa;
+        padding: 0.25em 0.9em;
+    }
+    p, dt {
+        padding-top: 1em;
+    }
+    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
+        font-weight: 700;
+    }
+    .stat-text, h1 {
+        font-family: Georgia,"Times New Roman",Times,serif;
+    }
+    .h1, h1 {
+        font-size: 48px;
+    }
+    .h1, .h2, .h3, h1, h2, h3 {
+        margin-top: 25px;
+        margin-bottom: 12.5px;
+    }
+    .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
+        line-height: 1.25;
+        color: inherit;
+    }
+    h1 {
+        margin: .67em 0;
+    }
+    b, optgroup, strong {
+        font-weight: 700;
+    }
+    a {
+        color: #36c;
+        text-decoration: none;
+    }
+    dd, dt {
+        line-height: 1.6;
+    }
+    dt, kbd kbd, label {
+        font-weight: 700;
+    }
+  </style>
 </head>
 <body>
-    <div id="globalWrapper">
-        <div id="content">
+<div class="lang-list-button-wrapper">
             <h1>Wikimedia Downloads</h1>
             <p>
                 Please note that we have rate limited downloaders and we are 
capping the
@@ -170,6 +131,5 @@
                 %(items)s
             </ul>
         </div>
-    </div>
 </body>
 </html>

-- 
To view, visit https://gerrit.wikimedia.org/r/334856
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I77abcc300a0453cde1be79c674e9934c610b0d51
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ladsgroup <ladsgr...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to