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

Change subject: keys: Simplify and update keys.html styling to match other 
simple pages
......................................................................

keys: Simplify and update keys.html styling to match other simple pages

Loosely based on https://noc.wikimedia.org/css/base.css and the
various simple (error) pages we have for 404, 503, docroot/default etc.

Considered loading https://noc.wikimedia.org/css/base.css, but figured
it would be preferable for this page not to load styles cross-domain.

Change-Id: I8cfe38fe7ad266701497f83d66ebca79c2e62f9c
---
M docroot/mediawiki/keys/keys.html
M docroot/mediawiki/static
2 files changed, 27 insertions(+), 119 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/69/403569/1

diff --git a/docroot/mediawiki/keys/keys.html b/docroot/mediawiki/keys/keys.html
index 6005044..82da4c1 100644
--- a/docroot/mediawiki/keys/keys.html
+++ b/docroot/mediawiki/keys/keys.html
@@ -1,120 +1,29 @@
-<!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 public key list</title>
-               <style type="text/css" media="screen,projection">/*<![CDATA[*/
-body {
-       font: x-small sans-serif;
-       background: #f9f9f9 
url(https://svn.wikimedia.org/skins/custom/images/page-base.png) 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;
-}
-
-.visualClear {
-       clear: both;
-}
-
-/*]]>*/</style>
-
+<!DOCTYPE html>
+<html lang="en" dir="ltr">
+<head>
+<meta charset="UTF-8">
+<title>Wikimedia public key list</title>
+<style>
+html, body { margin: 0; padding: 0; }
+body { background: #fff; font: 15px/1.6 sans-serif; color: #333; }
+.content { margin: 7% auto 0; padding: 2em 1em 1em; max-width: 640px; 
overflow: hidden; }
+.clear { clear: both; }
+img { float: left; margin: 0 2em 2em 0; }
+a img { border: 0; }
+a { color: #0645AD; text-decoration: none; }
+a:hover { text-decoration: underline; }
+</style>
 </head>
 <body>
-       <div id="globalWrapper">
-               <div id="content">
-                       <h1>Wikimedia public key list</h1>
-                       <p>
-                       <big>
-                               A <a href="keys.txt">plain text bundle</a> is 
also available. You can use the following to
-                               automatically import it:
-                               <br />
-                               <code>gpg --fetch-keys 
"https://www.mediawiki.org/keys/keys.txt";</code>
-                       </big>
-                       </p>
-                       <h2>Tim Starling</h2>
+<div class="content" role="main">
+       <a href="https://www.wikimedia.org";><img src="../static/images/wmf.png" 
srcset="../static/images/wmf-2x.png 2x" alt=Wikimedia width=135 height=135></a>
+       <h1>Wikimedia public key list</h1>
+       <p>A <a href="keys.txt">plain text bundle</a> is also available.
+               You can use the following to automatically import it:<br />
+               <code>gpg --fetch-keys 
"https://www.mediawiki.org/keys/keys.txt";</code>
+       </p>
+       <div class="clear"></div>
+<h2>Tim Starling</h2>
 <pre>
 -----BEGIN PGP PUBLIC KEY BLOCK-----
 Version: GnuPG v1.4.9 (GNU/Linux)
@@ -894,7 +803,6 @@
 =vhcr
 -----END PGP PUBLIC KEY BLOCK-----
 </pre>
-                       </div>
-               </div>
-       </body>
+</div>
+</body>
 </html>
diff --git a/docroot/mediawiki/static b/docroot/mediawiki/static
index de3aae3..8e9b74c 120000
--- a/docroot/mediawiki/static
+++ b/docroot/mediawiki/static
@@ -1 +1 @@
-/srv/mediawiki/static
\ No newline at end of file
+../../static
\ No newline at end of file

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8cfe38fe7ad266701497f83d66ebca79c2e62f9c
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Krinkle <krinklem...@gmail.com>

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

Reply via email to