[Wikis-SVN] SF.net SVN: wikis:[306] tshome/trunk
Brought to you by:
hydria
|
From: <hy...@us...> - 2011-06-06 02:56:04
|
Revision: 306
http://wikis.svn.sourceforge.net/wikis/?rev=306&view=rev
Author: hydria
Date: 2011-06-06 02:55:56 +0000 (Mon, 06 Jun 2011)
Log Message:
-----------
Phase2 rewrite
Added Paths:
-----------
tshome/trunk/phase2/
tshome/trunk/phase2/README
tshome/trunk/phase2/RELEASE-NOTES
tshome/trunk/phase2/images/
tshome/trunk/phase2/images/arrow-down-icon.png
tshome/trunk/phase2/images/audio-icon.png
tshome/trunk/phase2/images/border.png
tshome/trunk/phase2/images/bullet-icon.png
tshome/trunk/phase2/images/document-icon.png
tshome/trunk/phase2/images/edit-icon.png
tshome/trunk/phase2/images/external-link-ltr-icon.png
tshome/trunk/phase2/images/external-link-rtl-icon.png
tshome/trunk/phase2/images/file-icon.png
tshome/trunk/phase2/images/license.png
tshome/trunk/phase2/images/link-icon.png
tshome/trunk/phase2/images/lock-icon.png
tshome/trunk/phase2/images/logo.png
tshome/trunk/phase2/images/magnify-clip.png
tshome/trunk/phase2/images/mail-icon.png
tshome/trunk/phase2/images/news-icon.png
tshome/trunk/phase2/images/page-base.png
tshome/trunk/phase2/images/page-fade.png
tshome/trunk/phase2/images/portal-break-ltr.png
tshome/trunk/phase2/images/portal-break-rtl.png
tshome/trunk/phase2/images/portal-break.png
tshome/trunk/phase2/images/powered-by.png
tshome/trunk/phase2/images/preferences-base.png
tshome/trunk/phase2/images/preferences-break.png
tshome/trunk/phase2/images/preferences-edge.png
tshome/trunk/phase2/images/preferences-fade.png
tshome/trunk/phase2/images/search-fade.png
tshome/trunk/phase2/images/search-ltr.png
tshome/trunk/phase2/images/search-rtl.png
tshome/trunk/phase2/images/search.png
tshome/trunk/phase2/images/tab-break.png
tshome/trunk/phase2/images/tab-current-fade.png
tshome/trunk/phase2/images/tab-normal-fade.png
tshome/trunk/phase2/images/talk-icon.png
tshome/trunk/phase2/images/user-icon.png
tshome/trunk/phase2/images/video-icon.png
tshome/trunk/phase2/images/watch-icon-loading.gif
tshome/trunk/phase2/images/watch-icons.png
tshome/trunk/phase2/index.html
tshome/trunk/phase2/style.css
tshome/trunk/phase2/style.js
Added: tshome/trunk/phase2/README
===================================================================
--- tshome/trunk/phase2/README (rev 0)
+++ tshome/trunk/phase2/README 2011-06-06 02:55:56 UTC (rev 306)
@@ -0,0 +1,10 @@
+README
+
+== Hytools 2.1 ==
+This is the phase 2 rewrite of the Hytools software, aimed to completely
+redesign the interface of the Hytools software and reduce the dependency
+of the original HTML code from Wikipedia.
+
+Please note that this is still very much in beta and we expect to be able
+to officially release this version in late 2011/early 2012. Please conti-
+nue to follow the changes in the trunk folder for the latest code changes.
Added: tshome/trunk/phase2/RELEASE-NOTES
===================================================================
--- tshome/trunk/phase2/RELEASE-NOTES (rev 0)
+++ tshome/trunk/phase2/RELEASE-NOTES 2011-06-06 02:55:56 UTC (rev 306)
@@ -0,0 +1,16 @@
+= Hytools release notes =
+
+== Hytools 2.1 ==
+
+THIS IS NOT A RELEASE YET.
+
+While many attempts have been made to make this version be able to work on as
+many machines as possible, we are unable to guarantee that this version of
+Hytools is able to provide a stable interface for users using this software as
+a commercial purpose.
+
+=== New features in 2.1 ===
+* The Vector skin from MediaWiki 1.16 has been adapted for use on Hytools,
+which can simplify the way the different HTML pages use the skin.
+* Support for SSL can now be enabled as all content used by the software are
+now being locally hosted by the software itself.
Added: tshome/trunk/phase2/images/arrow-down-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/arrow-down-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/audio-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/audio-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/border.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/border.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/bullet-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/bullet-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/document-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/document-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/edit-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/edit-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/external-link-ltr-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/external-link-ltr-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/external-link-rtl-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/external-link-rtl-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/file-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/file-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/license.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/license.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/link-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/link-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/lock-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/lock-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/logo.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/logo.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/magnify-clip.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/magnify-clip.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/mail-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/mail-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/news-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/news-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/page-base.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/page-base.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/page-fade.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/page-fade.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/portal-break-ltr.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/portal-break-ltr.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/portal-break-rtl.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/portal-break-rtl.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/portal-break.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/portal-break.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/powered-by.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/powered-by.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/preferences-base.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/preferences-base.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/preferences-break.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/preferences-break.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/preferences-edge.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/preferences-edge.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/preferences-fade.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/preferences-fade.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/search-fade.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/search-fade.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/search-ltr.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/search-ltr.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/search-rtl.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/search-rtl.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/search.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/search.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/tab-break.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/tab-break.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/tab-current-fade.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/tab-current-fade.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/tab-normal-fade.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/tab-normal-fade.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/talk-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/talk-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/user-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/user-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/video-icon.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/video-icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/watch-icon-loading.gif
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/watch-icon-loading.gif
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/images/watch-icons.png
===================================================================
(Binary files differ)
Property changes on: tshome/trunk/phase2/images/watch-icons.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: tshome/trunk/phase2/index.html
===================================================================
--- tshome/trunk/phase2/index.html (rev 0)
+++ tshome/trunk/phase2/index.html 2011-06-06 02:55:56 UTC (rev 306)
@@ -0,0 +1,151 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Hydriz on Toolserver</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<meta http-equiv="Content-Style-Type" content="text/css" />
+<meta name="generator" content="Hytools 2.1" />
+<link rel="copyright" href="http://creativecommons.org/licenses/by-sa/3.0/" />
+<link rel="stylesheet" href="style.css" type="text/css" media="all" />
+<script type="text/javascript" src="style.js"></script>
+<body>
+<div id="mw-page-base" class="noprint"></div>
+<div id="mw-head-base" class="noprint"></div>
+<div id="content">
+<a id="top"></a>
+<div id="mw-js-message" style="display:none;"></div>
+<h1 id="firstHeading" class="firstHeading">Main Page</h1>
+<div id="bodyContent">
+<div id="siteSub">By <a title="m:Hydriz" href="http://meta.wikimedia.org/wiki/User:Hydriz">Hydriz</a></div>
+<div id="contentSub"></div>
+<div id="jump-to-nav">
+Jump to: <a href="#mw-head">navigation</a>,
+<a href="#p-search">search</a>
+</div>
+<p>Hi, I am <a title='m:User:Hydriz' href="http://meta.wikimedia.org/wiki/User:Hydriz">Hydriz</a> on the <a title="m:Toolserver" href="http://meta.wikimedia.org/wiki/Toolserver">Wikimedia Toolserver</a>, see my <a title="m:User talk:Hydriz" href="http://meta.wikimedia.org/wiki/User_talk:Hydriz">user talk page on Meta</a> to contact me or email me at: <tt>hydriz [at] toolserver [dot] org</tt>.</p>
+<p>Do take a look at my <a href="./matrix.html">Account Matrix</a> too!</p>
+<h2>Services I use on my Toolserver account</h2>
+<p>I currently use my Toolserver for the following jobs:</p>
+<li><a href="http://countervandalism.net">Countervandalism bot</a> - A special bot that tracks the live RecentChanges feed from the <a title="wmf:Home" href="http://wikimediafoundation.org/wiki/Home">Wikimedia</a> IRC. (Bot list available <a href="./bots.html">here</a>)</li>
+<li><a href="http://pywikipediabot.sourceforge.net/">Pywikipediabot</a> - A bot that adds <a title="m:Help:Interwiki linking" href="http://meta.wikimedia.org/wiki/Help:Interwiki_linking"</a>Interwiki links</a> to other languages.</li>
+<p><i>More services would be added soon...</i></p>
+</p>
+<div class="visualClear"></div>
+</div>
+</div>
+<div id="mw-head" class="noprint">
+<div id="p-personal" class="">
+ <h5>Personal tools</h5>
+ <ul>
+ <li id="pt-userpage" class="active"><a href="http://meta.wikimedia.org/wiki/User:Hydriz" title="Visit Hydriz's userpage on Meta Wiki" accesskey=".">Hydriz on Meta</a></li>
+ <li id="pt-mytalk"><a href="http://meta.wikimedia.org/wiki/User_talk:Hydriz" title="Visit Hydriz's talk page on Meta Wiki" accesskey="n">Talk page</a></li>
+ <li id="pt-preferences"><a href="http://toolserver.org/~vvv/sulutil.php?user=Hydriz" title="Information about Hydriz on Wikimedia">Global Hydriz</a></li>
+ <li id="pt-logout"><a href="http://meta.wikimedia.org" title="Brings you back to Meta Wiki on Wikimedia">Back to Meta</a></li>
+ </ul>
+</div>
+<div id="left-navigation">
+<div id="p-namespaces" class="vectorTabs">
+ <h5>Namespaces</h5>
+ <ul>
+ <li id="ca-nstab-user" class="selected"><span><a href="./index.html" title="Visits the Main Page" accesskey="c">Main Page</a></span></li>
+ <li id="ca-talk"><span><a href="./matrix.html" title="Visits the account matrix of Hydriz" accesskey="t">Account Matrix</a></span></li>
+ <li id="ca-bots"><span><a href="./bots.html" title="Statuses of bots in CVT" accesskey="t">Bots</a></span></li>
+ </ul>
+</div>
+<div id="p-variants" class="vectorMenu emptyPortlet">
+ <h5><span>Variants</span><a href="#"></a></h5>
+ <div class="menu">
+ <ul>
+ </ul>
+ </div>
+</div>
+</div>
+<div id="right-navigation">
+<div id="p-views" class="vectorTabs">
+ <h5>Views</h5>
+ <ul>
+ <li id="ca-view" class="selected"><span><a href="./index.html" >Read</a></span></li>
+ <li id="ca-edit"><span><a href="https://wikis.svn.sourceforge.net/svnroot/wikis/tshome/trunk/phase2/index.html" title="Preview the source code for this page" accesskey="e">View source</a></span></li>
+ <li id="ca-history" class="collapsible "><span><a href="http://wikis.svn.sourceforge.net/viewvc/wikis/tshome/trunk/phase2/index.html?view=log" title="Find out the history of this page" accesskey="h">View history</a></span></li>
+ </ul>
+</div>
+<div id="p-search">
+ <h5><label for="searchInput">Search</label></h5>
+ <form action="http://en.wikipedia.org/w/index.php" id="searchform">
+ <input type='hidden' name="title" value="Special:Search"/>
+ <div id="simpleSearch">
+ <input id="searchInput" name="search" type="text" title="Search Wikipedia [f]" accesskey="f" value="" />
+ <button id="searchButton" type='submit' name='button' title="Search Wikipedia for this text"><img src="./images/search-ltr.png" alt="Search" /></button>
+ </div>
+ </form>
+</div>
+</div>
+</div>
+<div id="mw-panel" class="noprint">
+ <div id="p-logo"><a style="background-image: url(./images/logo.png);" href="./index.html" title="Visit the main page"></a></div>
+<div class="portal" id='p-navigation'>
+ <h5>Navigation</h5>
+ <div class="body">
+ <ul>
+ <li id="n-mainpage-description"><a href="./index.html" title="Visit the main page [z]" accesskey="z">Main page</a></li>
+ <li id="n-contents"><a href="./matrix.html" title="Account matrix of Hydriz">Account Matrix</a></li>
+ <li id="n-featuredcontent"><a href="./bots.html" title="Statuses of bots in CVT">CVT bot list</a></li>
+ <li id="n-sitesupport"><a href="http://wikimediafoundation.org/wiki/Special:Landingcheck?landing_page=WMFJA085&language=en&utm_source=donate&utm_medium=sidebar&utm_campaign=20101204SB002" title="Support us">Donate to Wikimedia</a></li>
+ </ul>
+ </div>
+</div>
+<div class="portal" id='p-interaction'>
+ <h5>On Wikimedia</h5>
+ <div class="body">
+ <ul>
+ <li id="n-help"><a href="http://meta.wikimedia.org/wiki/User:Hydriz" title="Hydriz's userpage on Meta Wiki">Hydriz's userpage</a></li>
+ <li id="n-aboutsite"><a href="http://meta.wikimedia.org/wiki/User_talk:Hydriz" title="Send messages to Hydriz on Meta Wiki">Hydriz's talk page</a></li>
+ <li id="n-portal"><a href="http://meta.wikimedia.org/wiki/Special:CentralAuth/Hydriz" title="Information of Hydriz's global account using CentralAuth">Global Hydriz</a></li>
+ </ul>
+ </div>
+</div>
+<div class="portal" id="p-tb">
+ <h5>Toolbox</h5>
+ <div class="body">
+ <ul>
+ <li id="t-whatlinkshere"><a href="http://commons.wikimedia.org/wiki/Commons:Upload" title="Upload a file to Wikimedia Commons" accesskey="j">Upload a file to Commons</a></li>
+ <li id="t-emailuser"><a href="http://meta.wikimedia.org/wiki/Special:EmailUser/Hydriz" title="Send an e-mail to Hydriz on Meta Wiki">E-mail Hydriz</a></li>
+ <li id="t-upload"><a href="http://svn.wikimedia.org/svnroot/mediawiki/" title="Visit the Subversion repository of Wikimedia" accesskey="u">Wikimedia subversion repository</a></li>
+ <li id="t-specialpages"><a href="https://wikis.svn.sourceforge.net/svnroot/wikis/" title="Visit the Subversion repository of Hydriz" accesskey="q">Hydriz's subversion repository</a></li>
+ </ul>
+ </div>
+</div>
+<div class="portal" id="p-lang">
+ <h5>In Wikipedia</h5>
+ <div class="body">
+ <ul>
+ <li class="interwiki-en"><a href="http://en.wikipedia.org/wiki/User:Hydriz" title="User:Hydriz">English</a></li>
+ <li class="interwiki-simple"><a href="http://simple.wikipedia.org/wiki/User:Hydriz" title="User:Hydriz">Simple English</a></li>
+ <li class="interwiki-zh"><a href="http://zh.wikipedia.org/wiki/User:Hydriz" title="User:Hydriz">中文</a></li>
+ </ul>
+ </div>
+</div>
+ </div>
+<div id="footer">
+ <ul id="footer-info">
+ <li id="footer-info-copyright">Text is available under the <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution/Share-Alike License</a>;
+additional terms may apply.
+See <a href="http://wikimediafoundation.org/wiki/Terms_of_Use">Terms of Use</a> for details.</li>
+ </ul>
+ <ul id="footer-places">
+ <li id="footer-places-privacy"><a href="http://wikimediafoundation.org/wiki/Privacy_policy" title="wikimedia:Privacy policy">Privacy policy</a></li>
+ <li id="footer-places-about"><a href="http://wikimediafoundation.org/wiki/Main_Page" title="wikimedia:Main Page">About Wikimedia Foundation</a></li>
+ <li id="footer-places-disclaimer"><a href="http://en.wikipedia.org/wiki/Wikipedia:General_disclaimer" title="en:Wikipedia:General disclaimer">Disclaimers</a></li>
+ </ul>
+ <ul id="footer-icons" class="noprint">
+ <li id="footer-copyrightico">
+ <a href="http://wikimediafoundation.org/"><img src="images/license.png" width="88" height="31"/></a>
+ </li>
+ <li id="footer-poweredbyico">
+ <a href="http://www.mediawiki.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a>
+ </li>
+ </ul>
+ <div style="clear:both"></div>
+</div>
+</body>
+</html>
Added: tshome/trunk/phase2/style.css
===================================================================
--- tshome/trunk/phase2/style.css (rev 0)
+++ tshome/trunk/phase2/style.css 2011-06-06 02:55:56 UTC (rev 306)
@@ -0,0 +1,1211 @@
+/*
+ * Any rules which should not be flipped automatically in right-to-left situations should be
+ * prepended with @noflip in a comment block. Images that should be embedded as base64 data-URLs
+ * should be prepended with @embed in a comment block.
+ *
+ * This style-sheet employs a few CSS trick to accomplish compatibility with a wide range of web
+ * browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using
+ * a rule that makes things work in IE6, and then following it with a rule that begins with
+ * "html > body" or use a child selector ">", which is ignored by IE6 because it does not support
+ * the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and
+ * "IGNORED BY IE6" comments.
+ */
+
+/* Framework */
+html,
+body {
+ height: 100%;
+ margin: 0;
+ padding: 0;
+ font-family: sans-serif;
+ font-size: 1em;
+}
+body {
+ background-color: #f3f3f3;
+ /* @embed */
+ background-image: url(images/page-base.png);
+}
+/* Content */
+div#content {
+ margin-left: 10em;
+ padding: 1em;
+ /* @embed */
+ background-image: url(images/border.png);
+ background-position: top left;
+ background-repeat: repeat-y;
+ background-color: white;
+ color: black;
+ direction: ltr;
+}
+/* Head */
+#mw-page-base {
+ height: 5em;
+ background-color: white;
+ /* @embed */
+ background-image: url(images/page-fade.png);
+ background-position: bottom left;
+ background-repeat: repeat-x;
+}
+#mw-head-base {
+ margin-top: -5em;
+ margin-left: 10em;
+ height: 5em;
+ /* @embed */
+ background-image: url(images/border.png);
+ background-position: bottom left;
+ background-repeat: repeat-x;
+}
+div#mw-head {
+ position: absolute;
+ top: 0;
+ right: 0;
+ width: 100%;
+}
+div#mw-head h5 {
+ margin: 0;
+ padding: 0;
+}
+ /* Hide empty portlets */
+ div.emptyPortlet {
+ display: none;
+ }
+ /* Personal */
+ #p-personal {
+ position: absolute;
+ top: 0;
+ right: 0.75em;
+ }
+ #p-personal h5 {
+ display: none;
+ }
+ #p-personal ul {
+ list-style: none;
+ margin: 0;
+ padding-left: 10em; /* Keep from overlapping logo */
+ }
+ /* @noflip */
+ #p-personal li {
+ line-height: 1.125em;
+ float: left;
+ }
+ /* This one flips! */
+ #p-personal li {
+ margin-left: 0.75em;
+ margin-top: 0.5em;
+ font-size: 0.75em;
+ white-space: nowrap;
+ }
+ /* Navigation Containers */
+ #left-navigation {
+ position: absolute;
+ left: 10em;
+ top: 2.5em;
+ }
+ #right-navigation {
+ float: right;
+ margin-top: 2.5em;
+ }
+ /* Navigation Labels */
+ div.vectorTabs h5,
+ div.vectorMenu h5 span {
+ display: none;
+ }
+ /* Namespaces and Views */
+ /* @noflip */
+ div.vectorTabs {
+ float: left;
+ height: 2.5em;
+ }
+ div.vectorTabs {
+ /* @embed */
+ background-image: url(images/tab-break.png);
+ background-position: bottom left;
+ background-repeat: no-repeat;
+ padding-left: 1px;
+ }
+ /* @noflip */
+ div.vectorTabs ul {
+ float: left;
+ }
+ div.vectorTabs ul {
+ height: 100%;
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ }
+ /* @noflip */
+ div.vectorTabs ul li {
+ float: left;
+ }
+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
+ div.vectorTabs ul li {
+ line-height: 1.125em;
+ display: inline-block;
+ height: 100%;
+ margin: 0;
+ padding: 0;
+ background-color: #f3f3f3;
+ /* @embed */
+ background-image: url(images/tab-normal-fade.png);
+ background-position: bottom left;
+ background-repeat: repeat-x;
+ white-space:nowrap;
+ }
+ /* IGNORED BY IE6 */
+ div.vectorTabs ul > li {
+ display: block;
+ }
+ div.vectorTabs li.selected {
+ /* @embed */
+ background-image: url(images/tab-current-fade.png);
+ }
+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
+ div.vectorTabs li a {
+ display: inline-block;
+ height: 1.9em;
+ padding-left: 0.5em;
+ padding-right: 0.5em;
+ /* @embed */
+ background-image: url(images/tab-break.png);
+ background-position: bottom right;
+ background-repeat: no-repeat;
+ color: #0645ad;
+ cursor: pointer;
+ font-size: 0.8em;
+ }
+ /* IGNORED BY IE6 */
+ div.vectorTabs li > a {
+ display: block;
+ }
+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
+ div.vectorTabs span a {
+ display: inline-block;
+ padding-top: 1.25em;
+ }
+ /* IGNORED BY IE6 */
+ /* @noflip */
+ div.vectorTabs span > a {
+ float: left;
+ display: block;
+ }
+ div.vectorTabs li.selected a,
+ div.vectorTabs li.selected a:visited{
+ color: #333333;
+ text-decoration: none;
+ }
+ div.vectorTabs li.new a,
+ div.vectorTabs li.new a:visited{
+ color: #a55858;
+ }
+ /* Variants and Actions */
+ /* @noflip */
+ div.vectorMenu {
+ direction: ltr;
+ float: left;
+ /* @embed */
+ background-image: url(images/arrow-down-icon.png);
+ background-position: 100% 60%;
+ background-repeat: no-repeat;
+ cursor: pointer;
+ }
+ /* @noflip */
+ body.rtl div.vectorMenu {
+ direction: rtl;
+ }
+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
+ /* @noflip */
+ div#mw-head div.vectorMenu h5 {
+ float: left;
+ /* @embed */
+ background-image: url(images/tab-break.png);
+ background-repeat: no-repeat;
+ }
+ /* This will be flipped - unlike the one above it */
+ div#mw-head div.vectorMenu h5 {
+ background-position: bottom left;
+ margin-left: -1px;
+ }
+ /* IGNORED BY IE6 */
+ div#mw-head div.vectorMenu > h5 {
+ background-image: none;
+ }
+ div#mw-head div.vectorMenu h4 {
+ display: inline-block;
+ float: left;
+ font-size: 0.8em;
+ padding-left: 0.5em;
+ padding-top: 1.375em;
+ font-weight: normal;
+ border: none;
+ }
+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
+ /* @noflip */
+ div.vectorMenu h5 a {
+ display: inline-block;
+ width: 24px;
+ height: 2.5em;
+ text-decoration: none;
+ /* @embed */
+ background-image: url(images/tab-break.png);
+ background-repeat: no-repeat;
+ }
+ /* This will be flipped - unlike the one above it */
+ div.vectorMenu h5 a {
+ background-position: bottom right;
+ }
+ /* IGNORED BY IE6 */
+ div.vectorMenu h5 > a {
+ display: block;
+ }
+ div.vectorMenu div.menu {
+ position: relative;
+ display: none;
+ clear: both;
+ text-align: left;
+ }
+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
+ /* @noflip */
+ body.rtl div.vectorMenu div.menu {
+ margin-left: 24px;
+ }
+ /* IGNORED BY IE6 */
+ /* @noflip */
+ body.rtl div.vectorMenu > div.menu {
+ margin-left: auto;
+ }
+ /* IGNORED BY IE6 */
+ /* Also fixes old versions of FireFox */
+ /* @noflip */
+ body.rtl div.vectorMenu > div.menu,
+ x:-moz-any-link {
+ margin-left: 23px;
+ }
+ div.vectorMenu:hover div.menu {
+ display: block;
+ }
+ div.vectorMenu ul {
+ position: absolute;
+ background-color: white;
+ border: solid 1px silver;
+ border-top-width: 0;
+ list-style: none;
+ list-style-image: none;
+ list-style-type: none;
+ padding: 0;
+ margin: 0;
+ margin-left: -1px;
+ text-align: left;
+ }
+ /* Fixes old versions of FireFox */
+ div.vectorMenu ul,
+ x:-moz-any-link {
+ min-width: 5em;
+ }
+ /* Returns things back to normal in modern versions of FireFox */
+ div.vectorMenu ul,
+ x:-moz-any-link,
+ x:default {
+ min-width: 0;
+ }
+ div.vectorMenu li {
+ padding: 0;
+ margin: 0;
+ text-align: left;
+ line-height: 1em;
+ }
+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
+ div.vectorMenu li a {
+ display: inline-block;
+ padding: 0.5em;
+ white-space: nowrap;
+ color: #0645ad;
+ cursor: pointer;
+ font-size: 0.8em;
+ }
+ /* IGNORED BY IE6 */
+ div.vectorMenu li > a {
+ display: block;
+ }
+ div.vectorMenu li.selected a,
+ div.vectorMenu li.selected a:visited {
+ color: #333333;
+ text-decoration: none;
+ }
+ /* Search */
+ #p-search h5 {
+ display: none;
+ }
+ /* @noflip */
+ #p-search {
+ float: left;
+ }
+ #p-search {
+ margin-right: 0.5em;
+ margin-left: 0.5em;
+ }
+ #p-search form,
+ #p-search input {
+ margin: 0;
+ margin-top: 0.4em;
+ }
+ div#simpleSearch {
+ display: block;
+ width: 14em;
+ height: 1.4em;
+ margin-top: 0.65em;
+ position: relative;
+ min-height: 1px; /* Gotta trigger hasLayout for IE7 */
+ border: solid 1px #AAAAAA;
+ color: black;
+ background-color: white;
+ /* @embed */
+ background-image: url(images/search-fade.png);
+ background-position: top left;
+ background-repeat: repeat-x;
+ }
+ div#simpleSearch label {
+ /*
+ * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
+ * this from ever being shown anyways.
+ */
+ font-size: 13px;
+ top: 0.25em;
+ direction: ltr;
+ }
+ div#simpleSearch input {
+ color: black;
+ direction: ltr;
+ }
+ div#simpleSearch input:focus {
+ outline: none;
+ }
+ div#simpleSearch input.placeholder {
+ color: #999999;
+ }
+ div#simpleSearch input::-webkit-input-placeholder {
+ color: #999999;
+ }
+ div#simpleSearch input#searchInput {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 90%;
+ margin: 0;
+ padding: 0;
+ padding-left: 0.2em;
+ padding-top: 0.2em;
+ padding-bottom: 0.2em;
+ outline: none;
+ border: none;
+ /*
+ * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
+ * this from ever being shown anyways.
+ */
+ font-size: 13px;
+ background-color: transparent;
+ direction: ltr;
+ }
+ div#simpleSearch button#searchButton {
+ position: absolute;
+ width: 10%;
+ right: 0;
+ top: 0;
+ padding: 0;
+ padding-top: 0.2em;
+ padding-bottom: 0.2em;
+ padding-right: 0.4em;
+ margin: 0;
+ border: none;
+ cursor: pointer;
+ background-color: transparent;
+ }
+ /* OVERRIDDEN BY COMPLIANT BROWSERS */
+ div#simpleSearch button#searchButton img {
+ border: none;
+ margin: 0;
+ margin-top: -3px;
+ padding: 0;
+ }
+ /* IGNORED BY IE6 */
+ div#simpleSearch button#searchButton > img {
+ margin: 0;
+ }
+/* Panel */
+div#mw-panel {
+ position: absolute;
+ top: 160px;
+ padding-top: 1em;
+ width: 10em;
+ left: 0;
+}
+ div#mw-panel div.portal {
+ padding-bottom: 1.5em;
+ direction: ltr;
+ }
+ div#mw-panel div.portal h5 {
+ font-weight: normal;
+ color: #444444;
+ padding: 0.25em;
+ padding-top: 0;
+ padding-left: 1.75em;
+ cursor: default;
+ border: none;
+ font-size: 0.75em;
+ }
+ div#mw-panel div.portal div.body {
+ margin: 0;
+ padding-top: 0.5em;
+ margin-left: 1.25em;
+ /* @embed */
+ background-image: url(images/portal-break.png);
+ background-repeat: no-repeat;
+ background-position: top left;
+ }
+ div#mw-panel div.portal div.body ul {
+ list-style: none;
+ list-style-image: none;
+ list-style-type: none;
+ padding: 0;
+ margin: 0;
+ }
+ div#mw-panel div.portal div.body ul li {
+ line-height: 1.125em;
+ padding: 0;
+ padding-bottom: 0.5em;
+ margin: 0;
+ overflow: hidden;
+ font-size: 0.75em;
+ }
+ div#mw-panel div.portal div.body ul li a {
+ color: #0645ad;
+ }
+ div#mw-panel div.portal div.body ul li a:visited {
+ color: #0b0080;
+ }
+/* Footer */
+div#footer {
+ margin-left: 10em;
+ margin-top: 0;
+ padding: 0.75em;
+ /* @embed */
+ background-image: url(images/border.png);
+ background-position: top left;
+ background-repeat: repeat-x;
+ direction: ltr;
+}
+div#footer ul {
+ list-style: none;
+ list-style-image: none;
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+}
+div#footer ul li {
+ margin: 0;
+ padding: 0;
+ padding-top: 0.5em;
+ padding-bottom: 0.5em;
+ color: #333333;
+ font-size: 0.7em;
+}
+div#footer #footer-icons {
+ float: right;
+}
+/* @noflip */
+body.ltr div#footer #footer-places {
+ float: left;
+}
+div#footer #footer-info li {
+ line-height: 1.4em;
+}
+div#footer #footer-icons li {
+ float: left;
+ margin-left: 0.5em;
+ line-height: 2em;
+}
+div#footer #footer-places li {
+ float: left;
+ margin-right: 1em;
+ line-height: 2em;
+}
+/* Logo */
+#p-logo {
+ position: absolute;
+ top: -160px;
+ left: 0;
+ width: 10em;
+ height: 160px;
+}
+#p-logo a {
+ display: block;
+ width: 10em;
+ height: 160px;
+ background-repeat: no-repeat;
+ background-position: center center;
+ text-decoration: none;
+}
+
+/*
+ *
+ * The following code is highly modified from monobook. It would be nice if the
+ * preftoc id was more human readable like preferences-toc for instance,
+ * howerver this would require backporting the other skins.
+ */
+
+/* Preferences */
+#preftoc {
+ /* Tabs */
+ width: 100%;
+ float: left;
+ clear: both;
+ margin: 0 !important;
+ padding: 0 !important;
+ /* @embed */
+ background-image: url(images/preferences-break.png);
+ background-position: bottom left;
+ background-repeat: no-repeat;
+}
+ #preftoc li {
+ /* Tab */
+ float: left;
+ margin: 0;
+ padding: 0;
+ padding-right: 1px;
+ height: 2.25em;
+ white-space: nowrap;
+ list-style-type: none;
+ list-style-image: none;
+ /* @embed */
+ background-image: url(images/preferences-break.png);
+ background-position: bottom right;
+ background-repeat: no-repeat;
+ }
+ /* Sadly, IE6 won't understand this */
+ #preftoc li:first-child {
+ margin-left: 1px;
+ }
+ #preftoc a,
+ #preftoc a:active {
+ display: inline-block;
+ position: relative;
+ color: #0645ad;
+ padding: 0.5em;
+ text-decoration: none;
+ background-image: none;
+ font-size: 0.9em;
+ }
+ #preftoc a:hover,
+ #preftoc a:focus {
+ text-decoration: underline;
+ }
+ #preftoc li.selected a {
+ /* @embed */
+ background-image: url(images/preferences-fade.png);
+ background-position: bottom;
+ background-repeat: repeat-x;
+ color: #333333;
+ text-decoration: none;
+ }
+#preferences {
+ float: left;
+ width: 100%;
+ margin: 0;
+ margin-top: -2px;
+ clear: both;
+ border: solid 1px #cccccc;
+ background-color: #f9f9f9;
+ /* @embed */
+ background-image: url(images/preferences-base.png);
+}
+#preferences fieldset.prefsection {
+ border: none;
+ padding: 0;
+ margin: 1em;
+}
+#preferences fieldset.prefsection fieldset {
+ border: none;
+ border-top: solid 1px #cccccc;
+}
+#preferences legend {
+ color: #666666;
+}
+#preferences fieldset.prefsection legend.mainLegend {
+ display: none;
+}
+#preferences td {
+ padding-left: 0.5em;
+ padding-right: 0.5em;
+}
+#preferences td.htmlform-tip {
+ font-size: x-small;
+ padding: .2em 2em;
+ color: #666666;
+}
+#preferences div.mw-prefs-buttons {
+ padding: 1em;
+}
+#preferences div.mw-prefs-buttons input {
+ margin-right: 0.25em;
+}
+
+/*
+ * Styles for the user login and create account forms
+ */
+#userlogin, #userloginForm {
+ border: solid 1px #cccccc;
+ padding: 1.2em;
+ margin: .5em;
+ float: left;
+}
+
+#userlogin {
+ min-width: 20em;
+ max-width: 90%;
+ width: 40em;
+}
+
+/*
+ *
+ * The following code is slightly modified from monobook
+ *
+ */
+div#content {
+ line-height: 1.5em;
+}
+#bodyContent {
+ font-size: 0.8em;
+}
+/* Links */
+a {
+ text-decoration: none;
+ color: #0645ad;
+ background: none;
+}
+a:visited {
+ color: #0b0080;
+}
+a:active {
+ color: #faa700;
+}
+a:hover, a:focus {
+ text-decoration: underline;
+}
+a.stub {
+ color: #772233;
+}
+a.new, #p-personal a.new {
+ color: #ba0000;
+}
+a.new:visited, #p-personal a.new:visited {
+ color: #a55858;
+}
+
+/* Inline Elements */
+img {
+ border: none;
+ vertical-align: middle;
+}
+hr {
+ height: 1px;
+ color: #aaa;
+ background-color: #aaa;
+ border: 0;
+ margin: .2em 0 .2em 0;
+}
+
+/* Structural Elements */
+h1,
+h2,
+h3,
+h4,
+h5,
+h6 {
+ color: black;
+ background: none;
+ font-weight: normal;
+ margin: 0;
+ overflow: hidden;
+ padding-top: .5em;
+ padding-bottom: .17em;
+ border-bottom: 1px solid #aaa;
+ width: auto;
+}
+h1 { font-size: 188%; }
+h1 .editsection { font-size: 53%; }
+h2 { font-size: 150%; }
+h2 .editsection { font-size: 67%; }
+h3,
+h4,
+h5,
+h6 {
+ border-bottom: none;
+ font-weight: bold;
+}
+h3 { font-size: 132%; }
+h3 .editsection { font-size: 76%; font-weight: normal; }
+h4 { font-size: 116%; }
+h4 .editsection { font-size: 86%; font-weight: normal; }
+h5 { font-size: 100%; }
+h5 .editsection { font-weight: normal; }
+h6 { font-size: 80%; }
+h6 .editsection { font-size: 125%; font-weight: normal; }
+.editsection { float: right; }
+p {
+ margin: .4em 0 .5em 0;
+ line-height: 1.5em;
+}
+ p img {
+ margin: 0;
+ }
+abbr,
+acronym,
+.explain {
+ border-bottom: 1px dotted black;
+ color: black;
+ background: none;
+ cursor: help;
+}
+q {
+ font-family: Times, "Times New Roman", serif;
+ font-style: italic;
+}
+/* Disabled for now
+blockquote {
+ font-family: Times, "Times New Roman", serif;
+ font-style: italic;
+}*/
+pre, code, tt, kbd, samp {
+ /*
+ * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
+ * too small otherwise, namely Firefox, Chrome and Safari
+ */
+ font-family: monospace, "Courier New";
+}
+code {
+ background-color: #f9f9f9;
+}
+pre {
+ padding: 1em;
+ border: 1px dashed #2f6fab;
+ color: black;
+ background-color: #f9f9f9;
+ line-height: 1.1em;
+}
+ul {
+ line-height: 1.5em;
+ list-style-type: square;
+ margin: .3em 0 0 1.5em;
+ padding: 0;
+ /* @embed */
+ list-style-image: url(images/bullet-icon.png);
+}
+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: .1em;
+}
+dl {
+ margin-top: .2em;
+ margin-bottom: .5em;
+}
+dd {
+ line-height: 1.5em;
+ margin-left: 2em;
+ margin-bottom: .1em;
+}
+/* Tables */
+table {
+ font-size: 100%;
+}
+/* Forms */
+fieldset {
+ border: 1px solid #2f6fab;
+ margin: 1em 0 1em 0;
+ padding: 0 1em 1em;
+ line-height: 1.5em;
+}
+ fieldset.nested {
+ margin: 0 0 0.5em 0;
+ padding: 0 0.5em 0.5em;
+ }
+legend {
+ padding: .5em;
+ font-size: 95%;
+}
+form {
+ border: none;
+ margin: 0;
+}
+textarea {
+ width: 100%;
+ padding: .1em;
+}
+select {
+ vertical-align: top;
+}
+/* Table of Contents */
+#toc,
+.toc,
+.mw-warning {
+ border: 1px solid #aaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ font-size: 95%;
+}
+#toc h2,
+.toc h2 {
+ display: inline;
+ border: none;
+ padding: 0;
+ font-size: 100%;
+ font-weight: bold;
+}
+#toc #toctitle,
+.toc #toctitle,
+#toc .toctitle,
+.toc .toctitle {
+ text-align: center;
+}
+#toc ul,
+.toc ul {
+ list-style-type: none;
+ list-style-image: none;
+ margin-left: 0;
+ padding-left: 0;
+ text-align: left;
+}
+#toc ul ul,
+.toc ul ul {
+ margin: 0 0 0 2em;
+}
+#toc .toctoggle,
+.toc .toctoggle {
+ font-size: 94%;
+}
+/* Images */
+div.floatright, table.floatright {
+ clear: right;
+ float: right;
+ position: relative;
+ margin: 0 0 .5em .5em;
+ border: 0;
+}
+div.floatright p { font-style: italic; }
+div.floatleft, table.floatleft {
+ float: left;
+ clear: left;
+ position: relative;
+ margin: 0 .5em .5em 0;
+ border: 0;
+}
+div.floatleft p { font-style: italic; }
+/* Thumbnails */
+div.thumb {
+ margin-bottom: .5em;
+ width: auto;
+ background-color: transparent;
+}
+div.thumbinner {
+ border: 1px solid #ccc;
+ padding: 3px !important;
+ background-color: #f9f9f9;
+ font-size: 94%;
+ text-align: center;
+ overflow: hidden;
+}
+html .thumbimage {
+ border: 1px solid #ccc;
+}
+html .thumbcaption {
+ border: none;
+ text-align: left;
+ line-height: 1.4em;
+ padding: 3px !important;
+ font-size: 94%;
+}
+div.magnify {
+ float: right;
+ border: none !important;
+ background: none !important;
+}
+div.magnify a, div.magnify img {
+ display: block;
+ border: none !important;
+ background: none !important;
+}
+/* @noflip */
+div.tright {
+ clear: right;
+ float: right;
+ margin: .5em 0 1.3em 1.4em;
+}
+/* @noflip */
+div.tleft {
+ float: left;
+ clear: left;
+ margin: .5em 1.4em 1.3em 0;
+}
+img.thumbborder {
+ border: 1px solid #dddddd;
+}
+.hiddenStructure {
+ display: none;
+}
+/* Warning */
+.mw-warning {
+ margin-left: 50px;
+ margin-right: 50px;
+ text-align: center;
+}
+/* User Message */
+.usermessage {
+ background-color: #ffce7b;
+ border: 1px solid #ffa500;
+ color: black;
+ font-weight: bold;
+ margin: 2em 0 1em;
+ padding: .5em 1em;
+ vertical-align: middle;
+}
+/* Site Notice (includes notices from CentralNotice extension) */
+#siteNotice {
+ position: relative;
+ text-align: center;
+ font-size: 0.8em;
+ margin: 0;
+}
+#localNotice {
+ margin-bottom: 0.9em;
+}
+/* Categories */
+.catlinks {
+ border: 1px solid #aaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ margin-top: 1em;
+ clear: both;
+}
+/* Sub-navigation */
+#siteSub {
+ display: none;
+}
+#jump-to-nav {
+ display: none;
+}
+#contentSub, #contentSub2 {
+ font-size: 84%;
+ line-height: 1.2em;
+ margin: 0 0 1.4em 1em;
+ color: #7d7d7d;
+ width: auto;
+}
+span.subpages {
+ display: block;
+}
+/* Emulate Center */
+.center {
+ width: 100%;
+ text-align: center;
+}
+*.center * {
+ margin-left: auto;
+ margin-right: auto;
+}
+/* Small for tables and similar */
+.small, .small * {
+ font-size: 94%;
+}
+table.small {
+ font-size: 100%;
+}
+/* Edge Cases for Content */
+h1, h2 {
+ margin-bottom: .6em;
+}
+h3, h4, h5 {
+ margin-bottom: .3em;
+}
+#firstHeading {
+ padding-top: 0;
+ margin-top: 0;
+ padding-top: 0;
+ margin-bottom: 0.1em;
+ line-height: 1.2em;
+ font-size: 1.6em;
+ padding-bottom: 0;
+}
+div#content a.external,
+div#content a[href ^="gopher://"] {
+ /* @embed */
+ background: url(images/external-link-ltr-icon.png) center right no-repeat;
+ padding-right: 13px;
+}
+div#content a[href ^="https://"],
+.link-https {
+ /* @embed */
+ background: url(images/lock-icon.png) center right no-repeat;
+ padding-right: 13px;
+}
+div#content a[href ^="mailto:"],
+.link-mailto {
+ /* @embed */
+ background: url(images/mail-icon.png) center right no-repeat;
+ padding-right: 13px;
+}
+div#content a[href ^="news://"] {
+ /* @embed */
+ background: url(images/news-icon.png) center right no-repeat;
+ padding-right: 13px;
+}
+div#content a[href ^="ftp://"],
+.link-ftp {
+ /* @embed */
+ background: url(images/file-icon.png) center right no-repeat;
+ padding-right: 13px;
+}
+div#content a[href ^="irc://"],
+div#content a.extiw[href ^="irc://"],
+.link-irc {
+ /* @embed */
+ background: url(images/talk-icon.png) center right no-repeat;
+ padding-right: 13px;
+}
+div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
+div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
+div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
+div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
+div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
+div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
+.link-audio {
+ /* @embed */
+ background: url("images/audio-icon.png?2") center right no-repeat;
+ padding-right: 13px;
+}
+div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
+div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
+div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
+div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
+.link-video {
+ /* @embed */
+ background: url("images/video-icon.png?2") center right no-repeat;
+ padding-right: 13px;
+}
+div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"],
+div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"],
+div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
+.link-document {
+ /* @embed */
+ background: url("images/document-icon.png?2") center right no-repeat;
+ padding-right: 13px;
+}
+/* Interwiki Styling (Disabled) */
+div#content a.extiw,
+div#content a.extiw:active {
+ color: #36b;
+ background: none;
+ padding: 0;
+}
+div#content a.external {
+ color: #36b;
+}
+div#content .printfooter {
+ display: none;
+}
+/* Icon for Usernames */
+#pt-userpage,
+#pt-anonuserpage,
+#pt-login {
+ /* @embed */
+ background: url(images/user-icon.png) left top no-repeat;
+ padding-left: 15px !important;
+ text-transform: none;
+}
+
+.toccolours {
+ border: 1px solid #aaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ font-size: 95%;
+}
+#bodyContent {
+ position: relative;
+ width: 100%;
+}
+#mw-js-message {
+ font-size: 0.8em;
+}
+div#bodyContent {
+ line-height: 1.5em;
+}
+
+/* Watch/Unwatch Icon Styling */
+#ca-unwatch.icon,
+#ca-watch.icon {
+ margin-right:1px;
+}
+#ca-unwatch.icon a,
+#ca-watch.icon a {
+ margin: 0;
+ padding: 0;
+ outline: none;
+ display: block;
+ width: 26px;
+ /* This hides the text but shows the background image */
+ padding-top: 3.1em;
+ margin-top: 0;
+ /* Only applied in IE6 */
+ margin-top: -0.8em !ie;
+ height: 0;
+ overflow: hidden;
+ /* @embed */
+ background-image: url(images/watch-icons.png);
+}
+#ca-unwatch.icon a {
+ background-position: -43px 60%;
+}
+#ca-watch.icon a {
+ background-position: 5px 60%;
+}
+#ca-unwatch.icon a:hover,
+#ca-unwatch.icon a:focus {
+ background-position: -67px 60%;
+}
+#ca-watch.icon a:hover,
+#ca-watch.icon a:focus {
+ background-position: -19px 60%;
+}
+#ca-unwatch.icon a.loading,
+#ca-watch.icon a.loading {
+ /* @embed */
+ background-image: url(images/watch-icon-loading.gif);
+ background-position: 5px 60%;
+}
+#ca-unwatch.icon a span,
+#ca-watch.icon a span {
+ display: none;
+}
+div.vectorTabs ul {
+ /* @embed */
+ background-image:url(images/tab-break.png);
+ background-position:right bottom;
+ background-repeat:no-repeat;
+}
+
+/* Convenience links to edit block, delete and protect reasons */
+p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
+p.mw-filedelete-editreasons, p.mw-delete-editreasons {
+ float: right;
+}
+
+/* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
+.tipsy {
+ font-size: 0.8em;
+}
Added: tshome/trunk/phase2/style.js
===================================================================
--- tshome/trunk/phase2/style.js (rev 0)
+++ tshome/trunk/phase2/style.js 2011-06-06 02:55:56 UTC (rev 306)
@@ -0,0 +1,122 @@
+/* JavaScript for SimpleSearch extension */
+
+$( document ).ready( function() {
+
+ // Compatibility map
+ var map = {
+ 'browsers': {
+ // Left-to-right languages
+ 'ltr': {
+ // SimpleSearch is broken in Opera < 9.6
+ 'opera': [['>=', 9.6]],
+ 'docomo': false,
+ 'blackberry': false,
+ 'ipod': false,
+ 'iphone': false
+ },
+ // Right-to-left languages
+ 'rtl': {
+ 'opera': [['>=', 9.6]],
+ 'docomo': false,
+ 'blackberry': false,
+ 'ipod': false,
+ 'iphone': false
+ }
+ }
+ };
+ if ( !$.client.test( map ) ) {
+ return true;
+ }
+
+ // Disable MWSuggest if loaded
+ if ( window.os_MWSuggestDisable ) {
+ window.os_MWSuggestDisable();
+ }
+
+ // Placeholder text for SimpleSearch box
+ $( 'div#simpleSearch > input#searchInput' )
+ .attr( 'placeholder', mediaWiki.msg( 'vector-simplesearch-search' ) )
+ .placeholder();
+
+ // General suggestions functionality for all search boxes
+ $( '#searchInput, #searchInput2, #powerSearchText, #searchText' )
+ .suggestions( {
+ fetch: function( query ) {
+ var $this = $(this);
+ var request = $.ajax( {
+ url: wgScriptPath + '/api.php',
+ data: {
+ 'action': 'opensearch',
+ 'search': query,
+ 'namespace': 0,
+ 'suggest': ''
+ },
+ dataType: 'json',
+ success: function( data ) {
+ if ( data && 1 in data ) {
+ $this.suggestions( 'suggestions', data[1] );
+ }
+ }
+ });
+ $(this).data( 'request', request );
+ },
+ cancel: function () {
+ var request = $(this).data( 'request' );
+ // If the delay setting has caused the fetch to have not even happend yet, the request object will
+ // have never been set
+ if ( request && typeof request.abort == 'function' ) {
+ request.abort();
+ $(this).removeData( 'request' );
+ }
+ },
+ result: {
+ select: function( $input ) {
+ $input.closest( 'form' ).submit();
+ }
+ },
+ delay: 120,
+ positionFromLeft: $( 'body' ).is( '.rtl' ),
+ highlightInput: true
+ } )
+ .bind( 'paste cut drop', function( e ) {
+ // make sure paste and cut events from the mouse and drag&drop events
+ // trigger the keypress handler and cause the suggestions to update
+ $( this ).trigger( 'keypress' );
+ } );
+ // Special suggestions functionality for skin-provided search box
+ $( '#searchInput' ).suggestions( {
+ result: {
+ select: function( $input ) {
+ $input.closest( 'form' ).submit();
+ }
+ },
+ special: {
+ render: function( query ) {
+ if ( $(this).children().size() == 0 ) {
+ $(this).show();
+ $label = $( '<div />' )
+ .addClass( 'special-label' )
+ .text( mediaWiki.msg( 'vector-simplesearch-containing' ) )
+ .appendTo( $(this) );
+ $query = $( '<div />' )
+ .addClass( 'special-query' )
+ .text( query )
+ .appendTo( $(this) );
+ $query.autoEllipsis();
+ } else {
+ $(this).find( '.special-query' )
+ .empty()
+ .text( query )
+ .autoEllipsis();
+ }
+ },
+ select: function( $input ) {
+ $input.closest( 'form' ).append(
+ $( '<input />' ).attr( { 'type': 'hidden', 'name': 'fulltext', 'value': 1 } )
+ );
+ $input.closest( 'form' ).submit();
+ }
+ },
+ $region: $( '#simpleSearch' )
+ } );
+});
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|