r153 - in trunk: . docs.openmoko.org docs.openmoko.org/space_www_wiki_skins docs.openmoko.org/space_www_wiki_skins/common docs.openmoko.org/space_www_wiki_skins/common/images docs.openmoko.org/space_www_wiki_skins/common/images/icons docs.openmoko.org/space_www_wiki_skins/openmoko docs.openmoko.org/space_www_wiki_skins/openmoko/navigation
roh at sita.openmoko.org
roh at sita.openmoko.org
Fri Nov 23 00:39:40 CET 2007
Author: roh
Date: 2007-11-23 00:39:31 +0100 (Fri, 23 Nov 2007)
New Revision: 153
Added:
trunk/docs.openmoko.org/
trunk/docs.openmoko.org/space_www_wiki_skins/
trunk/docs.openmoko.org/space_www_wiki_skins/OpenMoko.php
trunk/docs.openmoko.org/space_www_wiki_skins/common/
trunk/docs.openmoko.org/space_www_wiki_skins/common/IEFixes.js
trunk/docs.openmoko.org/space_www_wiki_skins/common/ajax.js
trunk/docs.openmoko.org/space_www_wiki_skins/common/cologneblue.css
trunk/docs.openmoko.org/space_www_wiki_skins/common/common.css
trunk/docs.openmoko.org/space_www_wiki_skins/common/commonPrint.css
trunk/docs.openmoko.org/space_www_wiki_skins/common/common_rtl.css
trunk/docs.openmoko.org/space_www_wiki_skins/common/feed.css
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_d.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_l.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_r.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_r.xcf
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Zoom_sans.gif
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/bullet.gif
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_bold.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_extlink.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_headline.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_hr.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_image.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_italic.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_link.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_math.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_media.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_nowiki.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_sig.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_template.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/fileicon.xcf
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/gnu-fdl.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/gnu-fdl.xcf
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-c.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-cpp.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-deb.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-djvu.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-djvu.xcf
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-dvi.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-exe.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-h.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-html.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-iso.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-java.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-mid.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-mov.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-o.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ogg.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ogg.xcf
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-pdf.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ps.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-rm.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-rpm.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-svg.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-tar.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-tex.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ttf.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-txt.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/link_icon.gif
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/magnify-clip.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/mediawiki-small.xcf
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/mediawiki.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/poweredby_mediawiki_88x31.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/redirectltr.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/redirectrtl.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/images/wiki.png
trunk/docs.openmoko.org/space_www_wiki_skins/common/metadata.js
trunk/docs.openmoko.org/space_www_wiki_skins/common/nostalgia.css
trunk/docs.openmoko.org/space_www_wiki_skins/common/preview.js
trunk/docs.openmoko.org/space_www_wiki_skins/common/protect.js
trunk/docs.openmoko.org/space_www_wiki_skins/common/quickbar-right.css
trunk/docs.openmoko.org/space_www_wiki_skins/common/quickbar.css
trunk/docs.openmoko.org/space_www_wiki_skins/common/sticky.js
trunk/docs.openmoko.org/space_www_wiki_skins/common/upload.js
trunk/docs.openmoko.org/space_www_wiki_skins/common/wikibits.js
trunk/docs.openmoko.org/space_www_wiki_skins/common/wikiprintable.css
trunk/docs.openmoko.org/space_www_wiki_skins/common/wikistandard.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE50Fixes.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE55Fixes.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE60Fixes.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE70Fixes.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IEMacFixes.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/KHTMLFixes.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/Opera6Fixes.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/Opera7Fixes.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/audio.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/bullet.gif
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/discussionitem_icon.gif
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/document.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/external.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/file_icon.gif
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/handheld.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/headbg.jpg
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/link_icon.gif
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/lock_icon.gif
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/magnify-clip.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/mail_icon.gif
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/main.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/bugzilla.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/docs.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/home.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/lists.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/planet.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/projects.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/wiki.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation_bullet.gif
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/news_icon.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/poweredby_mediawiki_88x31.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/required.gif
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/rtl.css
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/user.gif
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/video.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki-indexed.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki_logo.png
trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki_logo_docs.png
Log:
- import new skin for docs.openmoko.org - based on the wikiskin with modifications to hide its a wiki to not logged in users
Added: trunk/docs.openmoko.org/space_www_wiki_skins/OpenMoko.php
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/OpenMoko.php 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/OpenMoko.php 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,294 @@
+<?php
+/**
+ * MonoBook nouveau
+ *
+ * Translated from gwicke's previous TAL template version to remove
+ * dependency on PHPTAL.
+ *
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+
+if( !defined( 'MEDIAWIKI' ) )
+ die( -1 );
+
+/** */
+require_once('includes/SkinTemplate.php');
+
+/**
+ * Inherit main code from SkinTemplate, set the CSS and template filter.
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+class SkinOpenMoko extends SkinTemplate {
+ /** Using openmoko. */
+ function initPage( &$out ) {
+ SkinTemplate::initPage( $out );
+ $this->skinname = 'openmoko';
+ $this->stylename = 'openmoko';
+ $this->template = 'OpenMokoTemplate';
+ }
+}
+
+/**
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+class OpenMokoTemplate extends QuickTemplate {
+ /**
+ * Template filter callback for MonoBook skin.
+ * Takes an associative array of data set from a SkinTemplate-based
+ * class, and a wrapper for MediaWiki's localization database, and
+ * outputs a formatted page.
+ *
+ * @access private
+ */
+ function execute() {
+ // Suppress warnings to prevent notices about missing indexes in $this->data
+ wfSuppressWarnings();
+
+?><!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="<?php $this->text('lang') ?>" lang="<?php $this->text('lang') ?>" dir="<?php $this->text('dir') ?>">
+ <head>
+ <meta http-equiv="Content-Type" content="<?php $this->text('mimetype') ?>; charset=<?php $this->text('charset') ?>" />
+ <?php $this->html('headlinks') ?>
+ <title><?php $this->text('pagetitle') ?></title>
+ <style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/main.css?7"; /*]]>*/</style>
+
+ <!--[if lt IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE50Fixes.css";</style><![endif]-->
+ <!--[if IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE55Fixes.css";</style><![endif]-->
+ <!--[if IE 6]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE60Fixes.css";</style><![endif]-->
+ <!--[if IE 7]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE70Fixes.css?1";</style><![endif]-->
+ <!--[if lt IE 7]><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath') ?>/common/IEFixes.js"></script>
+ <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
+ <script type="<?php $this->text('jsmimetype') ?>">var skin = '<?php $this->text('skinname')?>';var stylepath = '<?php $this->text('stylepath')?>';</script>
+ <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js"><!-- wikibits js --></script>
+<?php if($this->data['jsvarurl' ]) { ?>
+ <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('jsvarurl' ) ?>"><!-- site js --></script>
+<?php } ?>
+<?php if($this->data['pagecss' ]) { ?>
+ <style type="text/css"><?php $this->html('pagecss' ) ?></style>
+<?php }
+ if($this->data['usercss' ]) { ?>
+ <style type="text/css"><?php $this->html('usercss' ) ?></style>
+<?php }
+ if($this->data['userjs' ]) { ?>
+ <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('userjs' ) ?>"></script>
+<?php }
+ if($this->data['userjsprev']) { ?>
+ <script type="<?php $this->text('jsmimetype') ?>"><?php $this->html('userjsprev') ?></script>
+<?php }
+ if($this->data['trackbackhtml']) print $this->data['trackbackhtml']; ?>
+ <!-- Head Scripts -->
+ <?php $this->html('headscripts') ?>
+ </head>
+<body <?php if($this->data['body_ondblclick']) { ?>ondblclick="<?php $this->text('body_ondblclick') ?>"<?php } ?>
+<?php if($this->data['body_onload' ]) { ?>onload="<?php $this->text('body_onload') ?>"<?php } ?>
+ class="<?php $this->text('nsclass') ?> <?php $this->text('dir') ?>">
+ <div id="globalWrapper">
+
+ <div id="common_header">
+ <a href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>" id="site_logo"><img src="<?php $this->text('logopath') ?>" alt="docs.openmoko.org" /></a>
+
+ <div id="main_navigation">
+ <ul>
+ <li><a href="http://www.openmoko.org/" class="nav_home"><span>Home</span></a></li>
+ <li><a href="http://wiki.openmoko.org/" class="nav_wiki"><span>Wiki</span></a></li>
+ <li><a href="http://docs.openmoko.org/" class="nav_docs selected"><span>Docs</span></a></li>
+ <li><a href="http://bugzilla.openmoko.org/" class="nav_bugzilla"><span>Bugzilla</span></a></li>
+ <li><a href="http://planet.openmoko.org/" class="nav_planet"><span>Planet</span></a></li>
+ <li><a href="http://projects.openmoko.org/" class="nav_projects"><span>Projects</span></a></li>
+ <li><a href="http://lists.openmoko.org/" class="nav_lists"><span>Lists</span></a></li>
+ </ul>
+ </div>
+ </div>
+
+ <div id="column-content">
+ <div id="content">
+ <a name="top" id="top"></a>
+ <?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?>
+ <h1 class="firstHeading"><?php $this->text('title') ?></h1>
+ <div id="bodyContent">
+ <h3 id="siteSub"><?php $this->msg('tagline') ?></h3>
+ <div id="contentSub"><?php $this->html('subtitle') ?></div>
+ <?php if($this->data['undelete']) { ?><div id="contentSub2"><?php $this->html('undelete') ?></div><?php } ?>
+ <?php if($this->data['newtalk'] ) { ?><div class="usermessage"><?php $this->html('newtalk') ?></div><?php } ?>
+ <?php if($this->data['showjumplinks']) { ?><div id="jump-to-nav"><?php $this->msg('jumpto') ?> <a href="#column-one"><?php $this->msg('jumptonavigation') ?></a>, <a href="#searchInput"><?php $this->msg('jumptosearch') ?></a></div><?php } ?>
+ <!-- start content -->
+ <?php $this->html('bodytext') ?>
+ <?php if($this->data['catlinks']) { ?><div id="catlinks"><?php $this->html('catlinks') ?></div><?php } ?>
+ <!-- end content -->
+ <div class="visualClear"></div>
+ </div>
+ </div>
+ </div>
+ <div id="column-one">
+ <div id="p-cactions" class="portlet">
+ <h5><?php $this->msg('views') ?></h5>
+ <ul>
+<?php if ( $this->data['loggedin'] == 1 ) {
+ foreach($this->data['content_actions'] as $key => $tab) { ?>
+ <li id="ca-<?php echo htmlspecialchars($key) ?>"<?php
+ if($tab['class']) { ?> class="<?php echo htmlspecialchars($tab['class']) ?>"<?php }
+ ?>><a href="<?php echo htmlspecialchars($tab['href']) ?>"><?php
+ echo htmlspecialchars($tab['text']) ?></a></li>
+<?php }} ?>
+ </ul>
+ </div>
+ <div class="portlet" id="p-personal">
+ <h5><?php $this->msg('personaltools') ?></h5>
+ <div class="pBody">
+ <ul>
+<?php foreach($this->data['personal_urls'] as $key => $item) { ?>
+ <li id="pt-<?php echo htmlspecialchars($key) ?>"<?php
+ if ($item['active']) { ?> class="active"<?php } ?>><a href="<?php
+ echo htmlspecialchars($item['href']) ?>"<?php
+ if(!empty($item['class'])) { ?> class="<?php
+ echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php
+ echo htmlspecialchars($item['text']) ?></a></li>
+<?php } ?>
+ </ul>
+ </div>
+ </div>
+ <div class="portlet" id="p-logo">
+ <a style="background-image: url(<?php $this->text('logopath') ?>);" <?php
+ ?>href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>" <?php
+ ?>title="<?php $this->msg('mainpage') ?>"></a>
+ </div>
+ <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
+ <?php foreach ($this->data['sidebar'] as $bar => $cont) { ?>
+ <div class='portlet' id='p-<?php echo htmlspecialchars($bar) ?>'>
+ <h5><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></h5>
+ <div class='pBody'>
+ <ul>
+<?php foreach($cont as $key => $val) { ?>
+ <li id="<?php echo htmlspecialchars($val['id']) ?>"<?php
+ if ( $val['active'] ) { ?> class="active" <?php }
+ ?>><a href="<?php echo htmlspecialchars($val['href']) ?>"><?php echo htmlspecialchars($val['text']) ?></a></li>
+<?php } ?>
+ </ul>
+ </div>
+ </div>
+ <?php } ?>
+ <div id="p-search" class="portlet">
+ <h5><label for="searchInput"><?php $this->msg('search') ?></label></h5>
+ <div id="searchBody" class="pBody">
+ <form action="<?php $this->text('searchaction') ?>" id="searchform"><div>
+ <input id="searchInput" name="search" type="text" <?php
+ if($this->haveMsg('accesskey-search')) {
+ ?>accesskey="<?php $this->msg('accesskey-search') ?>"<?php }
+ if( isset( $this->data['search'] ) ) {
+ ?> value="<?php $this->text('search') ?>"<?php } ?> />
+ <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('go') ?>" />
+ <input type='submit' name="fulltext" class="searchButton" value="<?php $this->msg('search') ?>" />
+ </div></form>
+ </div>
+ </div>
+ <?php if ( $this->data['loggedin'] == 1 ) { ?>
+ <div class="portlet" id="p-tb">
+ <h5><?php $this->msg('toolbox') ?></h5>
+ <div class="pBody">
+ <ul>
+<?php
+ if($this->data['notspecialpage']) { ?>
+ <li id="t-whatlinkshere"><a href="<?php
+ echo htmlspecialchars($this->data['nav_urls']['whatlinkshere']['href'])
+ ?>"><?php $this->msg('whatlinkshere') ?></a></li>
+<?php
+ if( $this->data['nav_urls']['recentchangeslinked'] ) { ?>
+ <li id="t-recentchangeslinked"><a href="<?php
+ echo htmlspecialchars($this->data['nav_urls']['recentchangeslinked']['href'])
+ ?>"><?php $this->msg('recentchangeslinked') ?></a></li>
+<?php }
+ }
+ if(isset($this->data['nav_urls']['trackbacklink'])) { ?>
+ <li id="t-trackbacklink"><a href="<?php
+ echo htmlspecialchars($this->data['nav_urls']['trackbacklink']['href'])
+ ?>"><?php $this->msg('trackbacklink') ?></a></li>
+<?php }
+ if($this->data['feeds']) { ?>
+ <li id="feedlinks"><?php foreach($this->data['feeds'] as $key => $feed) {
+ ?><span id="feed-<?php echo htmlspecialchars($key) ?>"><a href="<?php
+ echo htmlspecialchars($feed['href']) ?>"><?php echo htmlspecialchars($feed['text'])?></a> </span>
+ <?php } ?></li><?php
+ }
+
+ foreach( array('contributions', 'blockip', 'emailuser', 'upload', 'specialpages') as $special ) {
+
+ if($this->data['nav_urls'][$special]) {
+ ?><li id="t-<?php echo $special ?>"><a href="<?php echo htmlspecialchars($this->data['nav_urls'][$special]['href'])
+ ?>"><?php $this->msg($special) ?></a></li>
+<?php }
+ }
+
+ if(!empty($this->data['nav_urls']['print']['href'])) { ?>
+ <li id="t-print"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['print']['href'])
+ ?>"><?php $this->msg('printableversion') ?></a></li><?php
+ }
+
+ if(!empty($this->data['nav_urls']['permalink']['href'])) { ?>
+ <li id="t-permalink"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['permalink']['href'])
+ ?>"><?php $this->msg('permalink') ?></a></li><?php
+ } elseif ($this->data['nav_urls']['permalink']['href'] === '') { ?>
+ <li id="t-ispermalink"><?php $this->msg('permalink') ?></li><?php
+ }
+
+ wfRunHooks( 'OpenMokoTemplateToolboxEnd', array( &$this ) );
+?>
+ </ul>
+ </div>
+ </div><?php } ?>
+<?php
+ if( $this->data['language_urls'] ) { ?>
+ <div id="p-lang" class="portlet">
+ <h5><?php $this->msg('otherlanguages') ?></h5>
+ <div class="pBody">
+ <ul>
+<?php foreach($this->data['language_urls'] as $langlink) { ?>
+ <li class="<?php echo htmlspecialchars($langlink['class'])?>"><?php
+ ?><a href="<?php echo htmlspecialchars($langlink['href']) ?>"><?php echo $langlink['text'] ?></a></li>
+<?php } ?>
+ </ul>
+ </div>
+ </div>
+<?php } ?>
+ </div><!-- end of the left (by default at least) column -->
+ <div class="visualClear"></div>
+ <div id="footer">
+<?php
+ if($this->data['poweredbyico']) { ?>
+ <div id="f-poweredbyico"><?php $this->html('poweredbyico') ?></div>
+<?php }
+ if($this->data['copyrightico']) { ?>
+ <div id="f-copyrightico"><?php $this->html('copyrightico') ?></div>
+<?php }
+
+ // Generate additional footer links
+?>
+ <ul id="f-list">
+<?php
+ $footerlinks = array(
+ 'lastmod', 'viewcount', 'numberofwatchingusers', 'credits', 'copyright',
+ 'privacy', 'about', 'disclaimer', 'tagline',
+ );
+ foreach( $footerlinks as $aLink ) {
+ if( $this->data[$aLink] ) {
+?> <li id="<?php echo$aLink?>"><?php $this->html($aLink) ?></li>
+<?php }
+ }
+?>
+ </ul>
+ </div>
+ <script type="text/javascript"> if (window.runOnloadHook) runOnloadHook();</script>
+</div>
+<?php $this->html('reporttime') ?>
+
+</body></html>
+<?php
+ wfRestoreWarnings();
+ } // end of execute() method
+} // end of class
+?>
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/IEFixes.js
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/IEFixes.js 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/IEFixes.js 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,127 @@
+// IE fixes javascript
+
+var isMSIE55 = (window.showModalDialog && window.clipboardData && window.createPopup);
+var doneIETransform;
+var doneIEAlphaFix;
+
+if (document.attachEvent)
+ document.attachEvent('onreadystatechange', hookit);
+
+function hookit() {
+ if (!doneIETransform && document.getElementById && document.getElementById('bodyContent')) {
+ doneIETransform = true;
+ relativeforfloats();
+ fixalpha();
+ }
+}
+
+// png alpha transparency fixes
+function fixalpha() {
+ // bg
+ if (isMSIE55 && !doneIEAlphaFix)
+ {
+ var plogo = document.getElementById('p-logo');
+ if (!plogo) return;
+
+ var logoa = plogo.getElementsByTagName('a')[0];
+ if (!logoa) return;
+
+ var bg = logoa.currentStyle.backgroundImage;
+ var imageUrl = bg.substring(5, bg.length-2);
+
+ doneIEAlphaFix = true;
+
+ if (imageUrl.substr(imageUrl.length-4).toLowerCase() == '.png') {
+ var logospan = logoa.appendChild(document.createElement('span'));
+
+ logoa.style.backgroundImage = 'none';
+ logospan.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' + imageUrl + ')';
+ logospan.style.height = '100%';
+ logospan.style.position = 'absolute';
+ logospan.style.width = logoa.currentStyle.width;
+ logospan.style.cursor = 'hand';
+ // Center image with hack for IE5.5
+ if (document.documentElement.dir == "rtl")
+ {
+ logospan.style.right = '50%';
+ logospan.style.setExpression('marginRight', '"-" + (this.offsetWidth / 2) + "px"');
+ }
+ else
+ {
+ logospan.style.left = '50%';
+ logospan.style.setExpression('marginLeft', '"-" + (this.offsetWidth / 2) + "px"');
+ }
+ logospan.style.top = '50%';
+ logospan.style.setExpression('marginTop', '"-" + (this.offsetHeight / 2) + "px"');
+
+ var linkFix = logoa.appendChild(logoa.cloneNode());
+ linkFix.style.position = 'absolute';
+ linkFix.style.height = '100%';
+ linkFix.style.width = '100%';
+ }
+ }
+}
+
+// fix ie6 disappering float bug
+function relativeforfloats() {
+ var bc = document.getElementById('bodyContent');
+ if (bc) {
+ var tables = bc.getElementsByTagName('table');
+ var divs = bc.getElementsByTagName('div');
+ }
+ setrelative(tables);
+ setrelative(divs);
+}
+function setrelative (nodes) {
+ var i = 0;
+ while (i < nodes.length) {
+ if(((nodes[i].style.float && nodes[i].style.float != ('none') ||
+ (nodes[i].align && nodes[i].align != ('none'))) &&
+ (!nodes[i].style.position || nodes[i].style.position != 'relative')))
+ {
+ nodes[i].style.position = 'relative';
+ }
+ i++;
+ }
+}
+
+
+// Expand links for printing
+
+String.prototype.hasClass = function(classWanted)
+{
+ var classArr = this.split(/\s/);
+ for (var i=0; i<classArr.length; i++)
+ if (classArr[i].toLowerCase() == classWanted.toLowerCase()) return true;
+ return false;
+}
+
+var expandedURLs;
+
+onbeforeprint = function() {
+ expandedURLs = [];
+
+ var contentEl = document.getElementById("content");
+
+ if (contentEl)
+ {
+ var allLinks = contentEl.getElementsByTagName("a");
+
+ for (var i=0; i < allLinks.length; i++) {
+ if (allLinks[i].className.hasClass("external") && !allLinks[i].className.hasClass("free")) {
+ var expandedLink = document.createElement("span");
+ var expandedText = document.createTextNode(" (" + allLinks[i].href + ")");
+ expandedLink.appendChild(expandedText);
+ allLinks[i].parentNode.insertBefore(expandedLink, allLinks[i].nextSibling);
+ expandedURLs[i] = expandedLink;
+ }
+ }
+ }
+}
+
+onafterprint = function()
+{
+ for (var i=0; i < expandedURLs.length; i++)
+ if (expandedURLs[i])
+ expandedURLs[i].removeNode(true);
+}
\ No newline at end of file
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/ajax.js
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/ajax.js 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/ajax.js 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,177 @@
+// remote scripting library
+// (c) copyright 2005 modernmethod, inc
+var sajax_debug_mode = false;
+var sajax_request_type = "GET";
+
+var started;
+var typing;
+var memory=null;
+var body=null;
+var oldbody=null;
+
+function sajax_debug(text) {
+ if (sajax_debug_mode)
+ alert("RSD: " + text)
+}
+
+
+function sajax_init_object() {
+ sajax_debug("sajax_init_object() called..")
+ var A;
+ try {
+ A=new ActiveXObject("Msxml2.XMLHTTP");
+ } catch (e) {
+ try {
+ A=new ActiveXObject("Microsoft.XMLHTTP");
+ } catch (oc) {
+ A=null;
+ }
+ }
+ if(!A && typeof XMLHttpRequest != "undefined")
+ A = new XMLHttpRequest();
+ if (!A)
+ sajax_debug("Could not create connection object.");
+ return A;
+}
+
+
+function sajax_do_call(func_name, args) {
+ var i, x, n;
+ var uri;
+ var post_data;
+ uri = wgServer + "/" + wgScriptPath + "/index.php?action=ajax";
+ if (sajax_request_type == "GET") {
+ if (uri.indexOf("?") == -1)
+ uri = uri + "?rs=" + escape(func_name);
+ else
+ uri = uri + "&rs=" + escape(func_name);
+ for (i = 0; i < args.length-1; i++)
+ uri = uri + "&rsargs[]=" + escape(args[i]);
+ //uri = uri + "&rsrnd=" + new Date().getTime();
+ post_data = null;
+ } else {
+ post_data = "rs=" + escape(func_name);
+ for (i = 0; i < args.length-1; i++)
+ post_data = post_data + "&rsargs[]=" + escape(args[i]);
+ }
+ x = sajax_init_object();
+ x.open(sajax_request_type, uri, true);
+ if (sajax_request_type == "POST") {
+ x.setRequestHeader("Method", "POST " + uri + " HTTP/1.1");
+ x.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
+ }
+ x.setRequestHeader("Pragma", "cache=yes");
+ x.setRequestHeader("Cache-Control", "no-transform");
+ x.onreadystatechange = function() {
+ if (x.readyState != 4)
+ return;
+ sajax_debug("received " + x.responseText);
+ var status;
+ var data;
+ status = x.responseText.charAt(0);
+ data = x.responseText.substring(2);
+ if (status == "-")
+ alert("Error: " + data);
+ else
+ args[args.length-1](data);
+ }
+ x.send(post_data);
+ sajax_debug(func_name + " uri = " + uri + "/post = " + post_data);
+ sajax_debug(func_name + " waiting..");
+ delete x;
+}
+
+// Remove the typing barrier to allow call() to complete
+function Search_doneTyping()
+{
+ typing=false;
+}
+
+// Wait 500ms to run call()
+function Searching_Go()
+{
+ setTimeout("Searching_Call()", 500);
+}
+
+// If the user is typing wait until they are done.
+function Search_Typing() {
+ started=true;
+ typing=true;
+ window.status = "Waiting until you're done typing...";
+ setTimeout("Search_doneTyping()", 500);
+
+ // I believe these are needed by IE for when the users press return?
+ if (window.event)
+ {
+ if (event.keyCode == 13)
+ {
+ event.cancelBubble = true;
+ event.returnValue = false;
+ }
+ }
+}
+
+// Set the body div to the results
+function Searching_SetResult(result)
+{
+ //body.innerHTML = result;
+ t = document.getElementById("searchTarget");
+ if ( t == null ) {
+ oldbody=body.innerHTML;
+ body.innerHTML= '<div id="searchTargetContainer"><div id="searchTarget" ></div></div>' ;
+ t = document.getElementById("searchTarget");
+ }
+ t.innerHTML = result;
+ t.style.display='block';
+}
+
+function Searching_Hide_Results()
+{
+ t = document.getElementById("searchTarget");
+ t.style.display='none';
+ body.innerHTML = oldbody;
+}
+
+
+// This will call the php function that will eventually
+// return a results table
+function Searching_Call()
+{
+ var x;
+ Searching_Go();
+
+ //Don't proceed if user is typing
+ if (typing)
+ return;
+
+ x = document.getElementById("searchInput").value;
+
+ // Don't search again if the query is the same
+ if (x==memory)
+ return;
+
+ memory=x;
+ if (started) {
+ // Don't search for blank or < 3 chars.
+ if ((x=="") || (x.length < 3))
+ {
+ return;
+ }
+ x_wfSajaxSearch(x, Searching_SetResult);
+ }
+}
+
+function x_wfSajaxSearch() {
+ sajax_do_call( "wfSajaxSearch", x_wfSajaxSearch.arguments );
+}
+
+
+//Initialize
+function sajax_onload() {
+ x = document.getElementById( 'searchInput' );
+ x.onkeypress= function() { Search_Typing(); };
+ Searching_Go();
+ body = document.getElementById("content");
+}
+
+hookEvent("load", sajax_onload);
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/cologneblue.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/cologneblue.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/cologneblue.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,96 @@
+ at import url("common.css?2");
+
+body { margin: 0px; padding: 0px; color: black; }
+#specialform { display: inline; }
+#content { top: 0; margin: 0; padding: 0; }
+#topbar { padding: 0px; }
+#powersearch {
+ background: #DDEEFF; border-style: solid; border-width: 1px; padding: 2px;
+}
+#quickbar {
+ width: 140px; top: 18ex; padding: 2px; visibility: visible; z-index: 99;
+}
+#article, #article td, #article th, #article p {
+ font-family: Verdana, Arial, sans-serif;
+ font-size: 10pt; color: black;
+}
+#article p {
+ padding-top: 0; padding-bottom: 0;
+ margin-top: 1ex; margin-bottom: 0;
+}
+p, pre, td, th, li, dd, dt { line-height: 12pt; }
+textarea { overflow: auto; }
+
+#footer { padding: 4px; }
+#footer form { display: inline; }
+#sitetitle {
+ font-family: Times, serif;
+ color: white;
+ font-weight: normal; font-size: 32pt;
+ line-height: 32pt;
+}
+td.top {
+ background-color: #6688AA; color: white;
+ margin-top: 4px; margin-bottom: 4px;
+ padding-top: 0; padding-bottom: 0;
+ text-transform: uppercase;
+ font-family: Verdana, Arial, sans-serif; font-size: 8pt;
+}
+td.top a {
+ font-family: Verdana, Arial, sans-serif;
+ background-color: #6688AA; color: white;
+ text-decoration: none; font-size: 10pt;
+}
+td.bottom {
+ font-family: Verdana, Arial, sans-serif;
+ font-size: 10pt;
+ padding: 0;
+}
+#pagestats {
+ font-family: Verdana, Arial, sans-serif;
+ color: black;
+ font-size: 9pt;
+}
+#sitesub {
+ font-family: Verdana, Arial, sans-serif;
+ font-size: 9pt; font-weight: bold;
+ color: black;
+ padding-top: 0;
+}
+#quickbar {
+ font-family: Verdana, Arial, sans-serif;
+ font-size: 8pt; font-weight: bold; line-height: 9.5pt;
+ text-decoration: none;
+ color: black;
+ padding: 0; margin-top: 0;
+}
+#quickbar a { color: #446688; }
+
+#quickbar h6 {
+ font-family: Verdana, Arial, sans-serif;
+ font-size: 10pt; font-weight: bold; line-height: 12pt;
+ text-decoration: none;
+ color: #666666;
+ padding: 0; margin-bottom: 2px; margin-top: 6px;
+}
+#quickbar form { padding: 0; margin-top: 0; }
+
+h1 {
+ color: #666666;
+ font-family: Verdana, Arial, sans-serif;
+ font-size: 18pt; font-weight: bold; line-height: 21pt;
+}
+h1.pagetitle { padding-bottom: 0; margin-bottom: 0; }
+#article p.subtitle {
+ color: #666666; font-size: 11pt; font-weight: bold;
+ padding-top: 0; margin-top: 0; padding-bottom: 1ex;
+}
+
+a { color: #223366; }
+a.external { color: #336644; }
+a:visited { color: #8D0749; }
+a.printable { text-decoration: underline; }
+a.stub, #quickbar a.stub { color:#772233; text-decoration:none; }
+a.new, #quickbar a.new { color: #CC2200; }
+h2, h3, h4, h5, h6 { margin-bottom: 0; }
+small { font-size: 75%; }
\ No newline at end of file
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/common.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/common.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/common.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,386 @@
+/*
+ * common.css
+ * This file contains CSS settings common to Wikistandard, Nostalgia and CologneBlue
+ */
+#footer { clear: both }
+/* images */
+div.floatright { float: right; margin: 0 0 1em 1em; }
+div.floatright p { font-style: italic; }
+div.floatleft { float: left; margin: 0.3em 0.5em 0.5em 0; }
+div.floatleft p { font-style: italic; }
+
+
+/* Print-specific things to hide */
+.printfooter {
+ display: none;
+}
+
+/* table standards */
+table.rimage {
+ float:right;
+ margin-left:1em;
+ margin-bottom:1em;
+ text-align:center;
+ font-size:smaller;
+}
+
+/* thumbnails */
+div.thumb {
+ margin: 10px;
+ text-align: center;
+ width: auto;
+}
+div.thumb div {
+ border: 1px solid #8888aa;
+ background-color: #f7f8ff;
+ padding: 2px;
+ font-size: 94%;
+ text-align: center;
+ overflow: hidden;
+}
+div.thumb div * {
+ border: none;
+ background: none;
+}
+div.thumb img {
+ border:1px solid #8888AA;
+ margin-bottom:3px;
+ background:#FFFFFF;
+}
+div.thumbcaption,
+div.thumbcaption * {
+ border: none !important;
+ background: none !important;
+}
+div.thumbcaption {
+ padding: 0.2em 0 0.2em 0 !important;
+ text-align: left !important;
+}
+div.tright {
+ float: right;
+ margin-left:0.5em;
+}
+div.tleft {
+ float: left;
+ margin-right:0.5em;
+}
+
+/* Page history styling */
+/* the auto-generated edit comments */
+.autocomment { color: #4b4b4b; }
+#pagehistory span.user {
+ margin-left: 1.4em;
+ margin-right: 0.4em;
+}
+#pagehistory span.minor { font-weight: bold; }
+#pagehistory li { border: 1px solid White; }
+#pagehistory li.selected {
+ background-color:#f9f9f9;
+ border:1px dashed #aaaaaa;
+}
+
+table.diff { background:white; }
+td.diff-otitle { background:#cccccc; }
+td.diff-ntitle { background:#cccccc; }
+td.diff-addedline {
+ background:#ccffcc;
+ font-size: 94%;
+}
+td.diff-deletedline {
+ background:#ffffaa;
+ font-size: 94%;
+}
+td.diff-context {
+ background:#eeeeee;
+ font-size: 94%;
+}
+span.diffchange { color: red; font-weight: bold; }
+
+img { border: none; }
+img.tex { vertical-align: middle; }
+span.texhtml { font-family: serif; }
+
+
+#toc,
+.toc {
+ border: 1px solid #bba;
+ background-color: #f7f8ff;
+ padding: 5px;
+ font-size: 95%;
+ text-align: center;
+}
+#toc h2,
+.toc h2 {
+ display: inline;
+ border: none;
+ padding: 0;
+ font-size: 100%;
+ font-weight: bold;
+}
+#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%;
+}
+
+
+.error {
+ color: red;
+ font-size: larger;
+}
+
+/* preference page with js-genrated toc */
+#preftoc {
+ float: left;
+ margin: 1em 1em 1em 1em;
+ width: 13em;
+}
+#preftoc li { border: 1px solid White; }
+#preftoc li.selected {
+ background-color:#f9f9f9;
+ border:1px dashed #aaaaaa;
+}
+#preftoc a,
+#preftoc a:active {
+ display: block;
+ color: #005189;
+}
+#prefcontrol {
+ clear: left;
+ float: left;
+ margin-top: 1em;
+}
+div.prefsectiontip {
+ font-size: 94%;
+ margin-top: 1em;
+}
+fieldset.prefsection { margin-top: 1em }
+fieldset.operaprefsection { margin-left: 15em }
+
+/* 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% }
+
+div.townBox {
+ position:relative;
+ float:right;
+ background:White;
+ margin-left:1em;
+ border: 1px solid gray;
+ padding:0.3em;
+ width: 200px;
+ overflow: hidden;
+ clear: right;
+}
+div.townBox dl {
+ padding: 0;
+ margin: 0 0 0.3em 0;
+ font-size: 96%;
+}
+div.townBox dl dt {
+ background: none;
+ margin: 0.4em 0 0 0;
+}
+div.townBox dl dd {
+ margin: 0.1em 0 0 1.1em;
+ background-color: #f3f3f3;
+}
+/* use this instead of #toc for page content */
+.toccolours {
+ border:1px solid #aaaaaa;
+ background-color:#f9f9f9;
+ padding:5px;
+ font-size: 95%;
+}
+#siteNotice {
+ border:1px solid #aaaaaa;
+ padding-left: 0.5em;
+ padding-right: 0.5em;
+}
+.redirectText {
+ font-size:150%;
+ margin:5px;
+}
+.searchmatch {
+ color: red;
+ font-weight: bold;
+}
+.sharedUploadNotice {
+ font-style: italic;
+}
+span.unpatrolled {
+ font-weight:bold;
+ color:red;
+}
+
+span.updatedmarker {
+ color:black;
+ background-color:#00FF00;
+}
+span.newpageletter {
+ font-weight:bold;
+ color:black;
+ background-color:yellow;
+}
+span.minoreditletter {
+ color:black;
+ background-color:#C5FFE6;
+}
+
+table.gallery {
+ border: 1px solid #cccccc;
+ margin: 2px;
+ padding: 2px;
+ background-color:#ffffff;
+}
+
+table.gallery tr {
+ vertical-align:top;
+}
+
+table.gallery td {
+ vertical-align:top;
+ background-color:#f9f9f9;
+ border: solid 2px white;
+}
+
+div.gallerybox {
+ margin: 2px;
+ width: 150px;
+}
+
+div.gallerybox div.thumb {
+ text-align: center;
+ border: 1px solid #cccccc;
+ margin: 2px;
+}
+
+div.gallerytext {
+ font-size: 94%;
+ padding: 2px 4px;
+}
+
+span.comment {
+ font-style: italic;
+}
+
+span.changedby {
+ font-size: 95%;
+}
+
+.previewnote {
+ text-align: center;
+ color: #cc0000;
+}
+.editExternally {
+ border-style:solid;
+ border-width:1px;
+ border-color:gray;
+ background: #ffffff;
+ padding:3px;
+ margin-top:0.5em;
+ float:left;
+ font-size:small;
+ text-align:center;
+}
+.editExternallyHelp {
+ font-style:italic;
+ color:gray;
+}
+
+li span.deleted {
+ text-decoration: line-through;
+ color: #888;
+ font-style: italic;
+}
+
+
+/* Classes for EXIF data display */
+table.mw_metadata {
+ margin-left: 0.5em;
+}
+
+table.mw_metadata caption { font-weight: bold; }
+table.mw_metadata th { font-weight: normal; }
+table.mw_metadata td { padding: 0.1em; }
+
+table.mw_metadata {
+ border: none;
+ border-collapse: collapse;
+}
+table.mw_metadata td, table.mw_metadata th {
+ border: 1px solid #aaaaaa;
+ padding-left: 4px;
+ padding-right: 4px;
+}
+table.mw_metadata th {
+ background-color: #f9f9f9;
+}
+table.mw_metadata td {
+ background-color: #fcfcfc;
+}
+table.mw_metadata td.spacer {
+ background: inherit;
+ border-top: none;
+ border-bottom: none;
+}
+table.collapsed tr.collapsable {
+ display: none;
+}
+
+.visualClear {
+ clear: both;
+}
+
+#mw_trackbacks {
+ border: solid 1px #bbbbff;
+ background-color: #eeeeff;
+ padding: 0.2em;
+}
+
+/* Allmessages table */
+
+#allmessagestable th {
+ background-color: #b2b2ff;
+}
+
+#allmessagestable tr.orig {
+ background-color: #ffe2e2;
+}
+
+#allmessagestable tr.new {
+ background-color: #e2ffe2;
+}
+
+#allmessagestable tr.def {
+ background-color: #f0f0ff;
+}
+
+#jump-to-nav {
+ display: none;
+}
+
+table.gallery td.galleryheader {
+ text-align: center;
+ font-weight: bold;
+}
\ No newline at end of file
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/commonPrint.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/commonPrint.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/commonPrint.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,288 @@
+/*
+** MediaWiki Print style sheet for CSS2-capable browsers.
+** Copyright Gabriel Wicke, http://www.aulinx.de/
+**
+** Derived from the plone (http://plone.org/) styles
+** Copyright Alexander Limi
+*/
+
+/* Thanks to A List Apart (http://alistapart.com/) for useful extras */
+a.stub,
+a.new{ color:#ba0000; text-decoration:none; }
+
+#toc {
+ /*border:1px solid #2f6fab;*/
+ border:1px solid #aaaaaa;
+ background-color:#f9f9f9;
+ padding:5px;
+}
+.tocindent {
+ margin-left: 2em;
+}
+.tocline {
+ margin-bottom: 0px;
+}
+.toctoggle, .editsection {
+ font-size: smaller;
+}
+
+/* images */
+div.floatright {
+ float: right;
+ margin: 0;
+ position:relative;
+ border: 0.5em solid White;
+ border-width: 0.5em 0 0.8em 1.4em;
+}
+div.floatright p { font-style: italic;}
+div.floatleft {
+ float: left;
+ margin: 0.3em 0.5em 0.5em 0;
+ position:relative;
+ border: 0.5em solid White;
+ border-width: 0.5em 1.4em 0.8em 0;
+}
+div.floatleft p { font-style: italic; }
+/* thumbnails */
+div.thumb {
+ margin-bottom: 0.5em;
+ border-style: solid; border-color: White;
+ width: auto;
+ overflow: hidden;
+}
+div.thumb div {
+ border:1px solid #cccccc;
+ padding: 3px !important;
+ background-color:#f9f9f9;
+ font-size: 94%;
+ text-align: center;
+}
+div.thumb div a img {
+ border:1px solid #cccccc;
+}
+div.thumb div div.thumbcaption {
+ border: none;
+ padding: 0.3em 0 0.1em 0;
+}
+div.magnify { display: none; }
+div.tright {
+ float: right;
+ border-width: 0.5em 0 0.8em 1.4em;
+}
+div.tleft {
+ float: left;
+ margin-right:0.5em;
+ border-width: 0.5em 1.4em 0.8em 0;
+}
+
+/* table standards */
+table.rimage {
+ float:right;
+ width:1pt;
+ position:relative;
+ margin-left:1em;
+ margin-bottom:1em;
+ text-align:center;
+}
+
+body {
+ background: White;
+ /*font-size: 11pt !important;*/
+ color: Black;
+ margin: 0;
+ padding: 0;
+}
+
+.noprint,
+div#jump-to-nav,
+div.top,
+div#column-one,
+#colophon,
+.editsection,
+.toctoggle,
+.tochidden,
+div#f-poweredbyico,
+div#f-copyrightico,
+li#f-viewcount,
+li#f-about,
+li#f-disclaimer,
+li#f-privacy {
+ /* Hides all the elements irrelevant for printing */
+ display: none;
+}
+
+ul {
+ list-style-type: square;
+}
+
+#content {
+ background: none;
+ border: none ! important;
+ font-size: 11pt;
+ padding: 0 ! important;
+ margin: 0 ! important;
+}
+#footer {
+ background : white;
+ color : black;
+ border-top: 1px solid black;
+}
+
+h1, h2, h3, h4, h5, h6
+{
+ font-weight: bold;
+}
+
+p, .documentDescription {
+ margin: 1em 0 ! important;
+ line-height: 1.2em;
+}
+
+.tocindent p {
+ margin: 0 0 0 0 ! important;
+}
+
+pre {
+ border: 1pt dashed black;
+ white-space: pre;
+ font-size: 8pt;
+ overflow: auto;
+ padding: 1em 0;
+ background : white;
+ color : black;
+}
+
+table.listing,
+table.listing td {
+ border: 1pt solid black;
+ border-collapse: collapse;
+}
+
+a {
+ color: Black !important;
+ padding: 0 !important
+}
+
+a:link, a:visited {
+ color: #520;
+ background: transparent;
+ text-decoration: underline;
+}
+
+#content a.external.text:after, #content a.external.autonumber:after {
+ /* Expand URLs for printing */
+ content: " (" attr(href) ") ";
+}
+
+#globalWrapper {
+ width: 100% !important;
+ min-width: 0 !important;
+}
+
+#content {
+ background : white;
+ color : black;
+}
+
+#column-content {
+ margin: 0 !important;
+}
+
+#column-content #content {
+ padding: 1em;
+ margin: 0 !important;
+}
+/* MSIE/Win doesn't understand 'inherit' */
+a, a.external, a.new, a.stub {
+ color: black ! important;
+ text-decoration: none ! important;
+}
+
+/* Continue ... */
+a, a.external, a.new, a.stub {
+ color: inherit ! important;
+ text-decoration: inherit ! important;
+}
+
+img { border: none; }
+img.tex { vertical-align: middle; }
+span.texhtml { font-family: serif; }
+
+div.townBox {
+ position:relative;
+ float:right;
+ background:White;
+ margin-left:1em;
+ border: 1px solid gray;
+ padding:0.3em;
+ width: 200px;
+ overflow: hidden;
+ clear: right;
+}
+div.townBox dl {
+ padding: 0;
+ margin: 0 0 0.3em 0;
+ font-size: 96%;
+}
+div.townBox dl dt {
+ background: none;
+ margin: 0.4em 0 0 0;
+}
+div.townBox dl dd {
+ margin: 0.1em 0 0 1.1em;
+ background-color: #f3f3f3;
+}
+
+#siteNotice { display: none; }
+
+table.gallery {
+ border: 1px solid #cccccc;
+ margin: 2px;
+ padding: 2px;
+ background-color:#ffffff;
+}
+
+table.gallery tr {
+ vertical-align:top;
+}
+
+div.gallerybox {
+ border: 1px solid #cccccc;
+ margin: 2px;
+ background-color:#f9f9f9;
+ width: 150px;
+}
+
+div.gallerybox div.thumb {
+ text-align: center;
+ border: 1px solid #cccccc;
+ margin: 2px;
+}
+
+div.gallerytext {
+ font-size: 94%;
+ padding: 2px 4px;
+}
+
+/*
+** Diff rendering
+*/
+table.diff { background:white; }
+td.diff-otitle { background:#ffffff; }
+td.diff-ntitle { background:#ffffff; }
+td.diff-addedline {
+ background:#ccffcc;
+ font-size: smaller;
+ border: solid 2px black;
+}
+td.diff-deletedline {
+ background:#ffffaa;
+ font-size: smaller;
+ border: dotted 2px black;
+}
+td.diff-context {
+ background:#eeeeee;
+ font-size: smaller;
+}
+span.diffchange { color: silver; font-weight: bold; text-decoration: underline; }
+
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/common_rtl.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/common_rtl.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/common_rtl.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,15 @@
+/* js pref toc */
+#preftoc { float: right; }
+/* workaround for moz bug, displayed bullets on left side */
+#preftoc li { list-style: none; }
+#prefcontrol { float: right; }
+fieldset.prefsection,
+fieldset.operaprefsection {
+ margin-left: 0;
+ margin-right: 18em;
+}
+/* page history */
+#pagehistory span.user {
+ margin-right: 1.4em;
+ margin-left: 0.4em;
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/feed.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/feed.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/feed.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,95 @@
+/*
+Make RSS and Atom feeds at least semi-legible to folk who accidentally
+load them in a browser...
+
+Compatibility:
+* Mozilla is fine.
+* Safari 1.2: the RSS <link> text isn't shown
+* Opera 7.5 uses the style sheet instead of its native RSS mode.
+* IE/Mac 5.2: none of the :before content works; doesn't get the charset right and displays garbage for non-ASCII.
+* IE/Win 6.0: No background color, borders, font size, font weight, or :before content.
+
+*/
+
+/* RSS: */ rss, channel, title, link, description, language, generator, lastBuildDate, item, pubDate, author, comments, creator,
+/* Atom: */ feed, id, modified, tagline, entry, issued, created, updated, summary, comment {
+ display: block;
+}
+
+rss, feed {
+ background: white;
+ color: black;
+ margin: 1em;
+ font-family: "Verdana", "Tahoma", "Arial", "Helvetica", sans-serif;
+ line-height: 1.5em;
+ font-size: 76%;
+}
+
+rss:before {
+ content: "This RSS feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser.";
+}
+
+feed:before {
+ content: "This Atom feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser.";
+}
+rss:before, feed:before {
+ color: red;
+ text-align: center;
+ line-height: 2em;
+}
+
+channel>title,
+item>title,
+feed>title,
+entry>title {
+ font-weight: bold;
+ border-bottom: solid 1px #aaa;
+ margin-left: -0.5em;
+}
+channel>title, feed>title {
+ font-size: larger;
+}
+item>title, entry>title {
+ font-size: large;
+}
+item, entry {
+ margin-top: 1em;
+ margin-left: 2em;
+}
+
+item>description, entry>summary {
+ white-space: pre;
+ overflow: auto;
+ background: #f8f8ff;
+}
+
+pubDate:before { content: "Date: " }
+link:before { content: "Link: " }
+author:before, creator:before { content: "Author: " }
+description:before { content: "Description: " }
+id:before { content: "Id: " }
+
+generator:before { content: "Generator: " }
+language:before { content: "Language: " }
+lastBuildDate:before { content: "Updated: " }
+comments:before { content: "Comments page: " }
+
+tagline:before { content: "Tagline: " }
+issued:before { content: "Issued: " }
+created:before { content: "Created: " }
+modified:before { content: "Modified: " }
+updated:before { content: "Updated: " }
+summary:before { content: "Summary: " }
+comment:before { content: "Comment: " }
+
+pubDate:before, link:before, author:before, description:before,
+language:before, generator:before, lastBuildDate:before, comments:before,
+tagline:before, issued:before, created:before, modified:before,
+summary:before, comment:before, creator:before, id:before, updated:before {
+ color: #224;
+ font-weight: bold;
+}
+
+feed link:after {
+ content: attr(href);
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_d.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_d.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_l.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_l.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_r.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_r.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_r.xcf
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Arr_r.xcf
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Zoom_sans.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/Zoom_sans.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/bullet.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/bullet.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_bold.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_bold.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_extlink.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_extlink.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_headline.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_headline.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_hr.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_hr.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_image.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_image.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_italic.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_italic.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_link.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_link.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_math.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_math.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_media.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_media.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_nowiki.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_nowiki.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_sig.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_sig.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_template.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/button_template.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/fileicon.xcf
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/fileicon.xcf
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/gnu-fdl.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/gnu-fdl.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/gnu-fdl.xcf
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/gnu-fdl.xcf
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-c.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-c.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-cpp.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-cpp.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-deb.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-deb.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-djvu.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-djvu.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-djvu.xcf
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-djvu.xcf
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-dvi.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-dvi.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-exe.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-exe.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-h.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-h.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-html.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-html.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-iso.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-iso.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-java.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-java.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-mid.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-mid.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-mov.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-mov.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-o.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-o.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ogg.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ogg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ogg.xcf
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ogg.xcf
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-pdf.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-pdf.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ps.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ps.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-rm.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-rm.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-rpm.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-rpm.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-svg.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-svg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-tar.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-tar.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-tex.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-tex.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ttf.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-ttf.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-txt.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon-txt.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/icons/fileicon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/link_icon.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/link_icon.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/magnify-clip.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/magnify-clip.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/mediawiki-small.xcf
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/mediawiki-small.xcf
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/mediawiki.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/mediawiki.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/poweredby_mediawiki_88x31.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/poweredby_mediawiki_88x31.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/redirectltr.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/redirectltr.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/redirectrtl.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/redirectrtl.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/wiki.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/common/images/wiki.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/metadata.js
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/metadata.js 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/metadata.js 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,49 @@
+// Exif metadata display for MediaWiki file uploads
+//
+// Add an expand/collapse link and collapse by default if set to
+// (with JS disabled, user will see all items)
+//
+// attachMetadataToggle("mw_metadata", "More...", "Fewer...");
+
+
+function attachMetadataToggle(tableId, showText, hideText) {
+ if (document.createTextNode) {
+ var box = document.getElementById(tableId);
+ if (!box)
+ return false;
+
+ var tbody = box.getElementsByTagName('tbody')[0];
+
+ var row = document.createElement('tr');
+
+ var col = document.createElement('td');
+ col.colSpan = 2;
+
+ var link = document.createElement('a');
+ link.href = '#';
+
+ link.onclick = function() {
+ if (box.className == 'mw_metadata collapsed') {
+ changeText(link, hideText);
+ box.className = 'mw_metadata expanded';
+ } else {
+ changeText(link, showText);
+ box.className = 'mw_metadata collapsed';
+ }
+ return false;
+ }
+
+ var text = document.createTextNode(hideText);
+
+ link.appendChild(text);
+ col.appendChild(link);
+ row.appendChild(col);
+ tbody.appendChild(row);
+
+ // And collapse!
+ link.onclick();
+
+ return true;
+ }
+ return false;
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/nostalgia.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/nostalgia.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/nostalgia.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,18 @@
+ at import url("common.css?1");
+body {
+ /* Background color is set separately on page type */
+ color: black;
+}
+#specialform { display: inline; }
+#powersearch {
+ background: #DDEEFF; border-style: solid; border-width: 1px; padding: 2px;
+}
+a.interwiki, a.external { color: #3366BB; }
+a.printable { text-decoration: underline; }
+a.stub { color:#772233; text-decoration:none; }
+h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0; }
+h2, h3, h4, h5, h6 { margin-bottom: 0; }
+textarea { overflow: auto; }
+p.subtitle { padding-top: 0; margin-top: 0; }
+
+
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/preview.js
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/preview.js 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/preview.js 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,53 @@
+// Live preview
+
+function openXMLHttpRequest() {
+ if( window.XMLHttpRequest ) {
+ return new XMLHttpRequest();
+ } else if( window.ActiveXObject && navigator.platform != 'MacPPC' ) {
+ // IE/Mac has an ActiveXObject but it doesn't work.
+ return new ActiveXObject("Microsoft.XMLHTTP");
+ } else {
+ return null;
+ }
+}
+
+/**
+ * Returns true if could open the request,
+ * false otherwise (eg no browser support).
+ */
+function livePreview(target, text, postUrl) {
+ prevTarget = target;
+ if( !target ) {
+ window.alert('Live preview failed!\nTry normal preview.');
+ var fallback = document.getElementById('wpPreview');
+ if ( fallback ) { fallback.style.display = 'inline'; }
+ }
+ prevReq = openXMLHttpRequest();
+ if( !prevReq ) return false;
+
+ prevReq.onreadystatechange = updatePreviewText;
+ prevReq.open("POST", postUrl, true);
+
+ var postData = 'wpTextbox1=' + encodeURIComponent(text);
+ prevReq.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
+ prevReq.send(postData);
+ return true;
+}
+
+function updatePreviewText() {
+ if( prevReq.readyState != 4 ) {
+ return;
+ }
+ if( prevReq.status != 200 ) {
+ window.alert('Failed to connect: ' + prevReq.status +
+ ' "' + prevReq.statusText + '"');
+ var fallback = document.getElementById('wpPreview');
+ if ( fallback ) { fallback.style.display = 'inline'; }
+ return;
+ }
+ prevTarget.innerHTML = prevReq.responseText;
+
+ /* Hide the active diff if it exists */
+ var diff = document.getElementById('wikiDiff');
+ if ( diff ) { diff.style.display = 'none'; }
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/protect.js
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/protect.js 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/protect.js 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,126 @@
+function protectInitialize(tableId, labelText) {
+ if (document.createTextNode) {
+ var box = document.getElementById(tableId);
+ if (!box)
+ return false;
+
+ var tbody = box.getElementsByTagName('tbody')[0];
+ var row = document.createElement('tr');
+ tbody.appendChild(row);
+
+ row.appendChild(document.createElement('td'));
+ var col2 = document.createElement('td');
+ row.appendChild(col2);
+
+ var check = document.createElement('input');
+ check.id = "mwProtectUnchained";
+ check.type = "checkbox";
+ check.onclick = protectChainUpdate;
+ col2.appendChild(check);
+
+ var label = document.createElement('label');
+ label.setAttribute("for", "mwProtectUnchained");
+ label.appendChild(document.createTextNode(labelText));
+ col2.appendChild(label);
+
+ if (protectAllMatch()) {
+ check.checked = false;
+ protectEnable(false);
+ } else {
+ check.checked = true;
+ protectEnable(true);
+ }
+
+ return true;
+ }
+ return false;
+}
+
+function protectLevelsUpdate(source) {
+ if (!protectUnchained()) {
+ protectUpdateAll(source.selectedIndex);
+ }
+}
+
+function protectChainUpdate() {
+ if (protectUnchained()) {
+ protectEnable(true);
+ } else {
+ protectChain();
+ protectEnable(false);
+ }
+}
+
+
+function protectAllMatch() {
+ var values = new Array();
+ protectForSelectors(function(set) {
+ values[values.length] = set.selectedIndex;
+ });
+ for (var i = 1; i < values.length; i++) {
+ if (values[i] != values[0]) {
+ return false;
+ }
+ }
+ return true;
+}
+
+function protectUnchained() {
+ var unchain = document.getElementById("mwProtectUnchained");
+ if (!unchain) {
+ alert("This shouldn't happen");
+ return false;
+ }
+ return unchain.checked;
+}
+
+function protectChain() {
+ // Find the highest-protected action and bump them all to this level
+ var maxIndex = -1;
+ protectForSelectors(function(set) {
+ if (set.selectedIndex > maxIndex) {
+ maxIndex = set.selectedIndex;
+ }
+ });
+ protectUpdateAll(maxIndex);
+}
+
+function protectUpdateAll(index) {
+ protectForSelectors(function(set) {
+ if (set.selectedIndex != index) {
+ set.selectedIndex = index;
+ }
+ });
+}
+
+function protectForSelectors(func) {
+ var selectors = protectSelectors();
+ for (var i = 0; i < selectors.length; i++) {
+ func(selectors[i]);
+ }
+}
+
+function protectSelectors() {
+ var all = document.getElementsByTagName("select");
+ var ours = new Array();
+ for (var i = 0; i < all.length; i++) {
+ var set = all[i];
+ if (set.id.match(/^mwProtect-level-/)) {
+ ours[ours.length] = set;
+ }
+ }
+ return ours;
+}
+
+function protectEnable(val) {
+ // fixme
+ var first = true;
+ protectForSelectors(function(set) {
+ if (first) {
+ first = false;
+ } else {
+ set.disabled = !val;
+ set.style.visible = val ? "visible" : "hidden";
+ }
+ });
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/quickbar-right.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/quickbar-right.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/quickbar-right.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1 @@
+#quickbar { position: fixed; right: 0px; top: 0px; padding: 4px;}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/quickbar.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/quickbar.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/quickbar.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1 @@
+#quickbar { position: fixed; padding: 4px; }
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/sticky.js
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/sticky.js 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/sticky.js 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,124 @@
+// Make a layer that stays in the same place on screen when scrolling the browser window.
+// Version 1.2
+// See http://www.mark.ac/help for browser support.
+
+var mySticky;
+var theLayer;
+
+// Setup variables for sliding.
+// lastY and staticYOffset should match your CSS top definition.
+
+lastY=10;YOffset=0;staticYOffset=10;refreshMS=25;
+
+
+// Setup function that runs when the page loads.
+ function setup(eID){
+ bw=new checkBrowser;
+ if(bw.ns4||bw.opera){MM_reloadPage(true);}
+ var noFix=bw.ie4||bw.ns4||(bw.macie50)?true:false;
+ if (window.attachEvent){fix_bind()}
+ else if(noFix){
+ if(bw.ns6){document.getElementById(eID).style.position="absolute";}
+ if(bw.macie50){document.getElementById(eID).style.position="absolute";document.getElementById(eID).style.backgroundColor="#ccffcc";}
+ if(bw.ns6&&YOffset==0){YOffset=-15}
+ mySticky=new makeLayerObj(eID);
+ layerSlide(eID)}
+ else{
+ mySticky=new makeLayerObj(eID);
+ mySticky.css.position="fixed";}
+
+ if(!mySticky){mySticky=new makeLayerObj(eID);}
+ //mySticky.css.visibility="visible";
+ }
+
+
+// -------------------------
+// emulate css 'position: fixed' in IE5+ Win
+// code by aclover at 1value.com
+ fix_elements = new Array();
+
+ function fix_event(){
+ var i;
+ for (i=0; i < fix_elements.length; i++){
+ fix_elements[i].style.left = parseInt(fix_elements[i].fix_left)+document.getElementsByTagName('html')[0].scrollLeft+document.getElementsByTagName('body')[0].scrollLeft+'px';
+ fix_elements[i].style.top = parseInt(fix_elements[i].fix_top)+document.getElementsByTagName('html')[0].scrollTop+document.getElementsByTagName('body')[0].scrollTop+'px';
+ }
+ }
+
+ function fix_bind(){
+ var i;
+ for (i=0; i < document.all.length; i++){
+ if (document.all[i].currentStyle.position=='fixed'){
+ document.all[i].fix_left = document.all[i].currentStyle.left;
+ document.all[i].fix_top = document.all[i].currentStyle.top;
+ document.all[i].style.position = 'absolute';
+ fix_elements[fix_elements.length] = document.all[i];
+ window.attachEvent('onscroll', fix_event);
+ window.attachEvent('onresize', fix_event);
+ }
+ }
+ }
+// -------------------------
+
+
+// -------------------------
+// DHTML menu sliding. Requires checkBrowser()
+// Based on source at http://www.simplythebest.net/
+ function layerSlide(layerID) {
+ if(bw.dhtml){
+ if(!mySticky){mySticky=new makeLayerObj(layerID);}
+ if (bw.ns) {winY = window.pageYOffset;}
+ else if (bw.ie) {winY = document.body.scrollTop;}
+ if (bw.ie||bw.ns) {
+ if (winY!=lastY&&winY>YOffset-staticYOffset){smooth = .3 * (winY - lastY - YOffset + staticYOffset);}
+ else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset){smooth = .3 * (winY - lastY - (YOffset-(YOffset-winY)));}
+ else{smooth=0}
+ if(smooth > 0) {smooth = Math.ceil(smooth);}
+ else{smooth = Math.floor(smooth);}
+ if (bw.ie){mySticky.css.pixelTop+=smooth;}
+ else if (bw.ns){mySticky.css.top=parseInt(mySticky.css.top)+smooth;}
+ lastY = lastY+smooth;
+ top.window.status=new Date()
+ setTimeout('layerSlide("'+layerID+'")', refreshMS)}}}
+// -------------------------
+
+// Netscape 4.x browser resize fix
+ function MM_reloadPage(init) {
+ if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
+ document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; top.onresize=MM_reloadPage; }}
+ else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) {location.reload();}}
+
+// Create browser-independent layer and browser objects
+ function makeLayerObj(eID){
+ if(document.getElementById){this.css=document.getElementById(eID).style}
+ else if(document.layers){this.css=document.layers[eID];}
+ else if(document.all){this.css=document.all[eID].style;}
+ return this
+ }
+
+ function checkBrowser(){
+ this.ver=navigator.appVersion;
+ this.name=navigator.appName;
+ this.mac=(navigator.platform.toLowerCase().indexOf('mac')>-1)?true:false;
+ this.opera=(navigator.userAgent.toLowerCase().indexOf('opera')>-1)?true:false;
+ this.dom=document.getElementById?true:false;
+ this.ns=(this.name=='Netscape');
+ this.ie4=(document.all && !this.dom)?true:false;
+ this.ie=(this.name =='Microsoft Internet Explorer'&&!this.opera)?true:false;
+ this.ie5=(this.ie && (navigator.userAgent.indexOf("MSIE 5")!=-1))?true:false;
+ this.macie50=(this.mac&&this.ie5&&(navigator.userAgent.indexOf("MSIE 5.0")!=-1))?true:false
+ this.ns4=(this.ns && parseInt(this.ver) == 4)?true:false;
+ this.ns6=((this.name=="Netscape")&&(parseInt(this.ver)==5))?true:false
+ this.standards=document.getElementById?true:false;
+ this.dhtml=this.standards||this.ie4||this.ns4;
+ }
+
+ function showMe(eID){
+ myFloater=new makeLayerObj(eID)
+ myFloater.css.visibility="visible";
+ }
+
+ function hideMe(eID){
+ myFloater=new makeLayerObj(eID)
+ myFloater.css.visibility="hidden";
+ }
\ No newline at end of file
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/upload.js
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/upload.js 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/upload.js 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,23 @@
+function licenseSelectorCheck() {
+ var selector = document.getElementById("wpLicense");
+ if (selector.selectedIndex > 0 &&
+ selector.options[selector.selectedIndex].value == "" ) {
+ // Browser is broken, doesn't respect disabled attribute on <option>
+ selector.selectedIndex = 0;
+ }
+}
+
+function licenseSelectorFixup() {
+ // for MSIE/Mac; non-breaking spaces cause the <option> not to render
+ // but, for some reason, setting the text to itself works
+ var selector = document.getElementById("wpLicense");
+ var ua = navigator.userAgent;
+ var isMacIe = (ua.indexOf("MSIE") != -1) && (ua.indexOf("Mac") != -1);
+ if (isMacIe) {
+ for (var i = 0; i < selector.options.length; i++) {
+ selector.options[i].text = selector.options[i].text;
+ }
+ }
+}
+
+addOnloadHook(licenseSelectorFixup);
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/wikibits.js
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/wikibits.js 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/wikibits.js 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,748 @@
+// MediaWiki JavaScript support functions
+
+var clientPC = navigator.userAgent.toLowerCase(); // Get client info
+var is_gecko = ((clientPC.indexOf('gecko')!=-1) && (clientPC.indexOf('spoofer')==-1)
+ && (clientPC.indexOf('khtml') == -1) && (clientPC.indexOf('netscape/7.0')==-1));
+var is_safari = ((clientPC.indexOf('applewebkit')!=-1) && (clientPC.indexOf('spoofer')==-1));
+var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled ));
+if (clientPC.indexOf('opera') != -1) {
+ var is_opera = true;
+ var is_opera_preseven = (window.opera && !document.childNodes);
+ var is_opera_seven = (window.opera && document.childNodes);
+}
+
+// add any onload functions in this hook (please don't hard-code any events in the xhtml source)
+
+var doneOnloadHook;
+
+if (!window.onloadFuncts)
+ var onloadFuncts = [];
+
+function addOnloadHook(hookFunct) {
+ // Allows add-on scripts to add onload functions
+ onloadFuncts[onloadFuncts.length] = hookFunct;
+}
+
+function runOnloadHook() {
+ // don't run anything below this for non-dom browsers
+ if (doneOnloadHook || !(document.getElementById && document.getElementsByTagName))
+ return;
+
+ histrowinit();
+ unhidetzbutton();
+ tabbedprefs();
+ akeytt();
+ scrollEditBox();
+ setupCheckboxShiftClick();
+
+ // Run any added-on functions
+ for (var i = 0; i < onloadFuncts.length; i++)
+ onloadFuncts[i]();
+
+ doneOnloadHook = true;
+}
+
+function hookEvent(hookName, hookFunct) {
+ if (window.addEventListener)
+ addEventListener(hookName, hookFunct, false);
+ else if (window.attachEvent)
+ attachEvent("on" + hookName, hookFunct);
+}
+
+hookEvent("load", runOnloadHook);
+
+// document.write special stylesheet links
+if (typeof stylepath != 'undefined' && typeof skin != 'undefined') {
+ if (is_opera_preseven) {
+ document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/Opera6Fixes.css">');
+ } else if (is_opera_seven) {
+ document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/Opera7Fixes.css">');
+ } else if (is_khtml) {
+ document.write('<link rel="stylesheet" type="text/css" href="'+stylepath+'/'+skin+'/KHTMLFixes.css">');
+ }
+}
+// Un-trap us from framesets
+if (window.top != window)
+ window.top.location = window.location;
+
+// for enhanced RecentChanges
+function toggleVisibility(_levelId, _otherId, _linkId) {
+ var thisLevel = document.getElementById(_levelId);
+ var otherLevel = document.getElementById(_otherId);
+ var linkLevel = document.getElementById(_linkId);
+ if (thisLevel.style.display == 'none') {
+ thisLevel.style.display = 'block';
+ otherLevel.style.display = 'none';
+ linkLevel.style.display = 'inline';
+ } else {
+ thisLevel.style.display = 'none';
+ otherLevel.style.display = 'inline';
+ linkLevel.style.display = 'none';
+ }
+}
+
+// page history stuff
+// attach event handlers to the input elements on history page
+function histrowinit() {
+ var hf = document.getElementById('pagehistory');
+ if (!hf)
+ return;
+ var lis = hf.getElementsByTagName('li');
+ for (var i = 0; i < lis.length; i++) {
+ var inputs = historyRadios(lis[i]);
+ if (inputs[0] && inputs[1]) {
+ inputs[0].onclick = diffcheck;
+ inputs[1].onclick = diffcheck;
+ }
+ }
+ diffcheck();
+}
+
+function historyRadios(parent) {
+ var inputs = parent.getElementsByTagName('input');
+ var radios = [];
+ for (var i = 0; i < inputs.length; i++) {
+ if (inputs[i].name == "diff" || inputs[i].name == "oldid")
+ radios[radios.length] = inputs[i];
+ }
+ return radios;
+}
+
+// check selection and tweak visibility/class onclick
+function diffcheck() {
+ var dli = false; // the li where the diff radio is checked
+ var oli = false; // the li where the oldid radio is checked
+ var hf = document.getElementById('pagehistory');
+ if (!hf)
+ return true;
+ var lis = hf.getElementsByTagName('li');
+ for (i=0;i<lis.length;i++) {
+ var inputs = historyRadios(lis[i]);
+ if (inputs[1] && inputs[0]) {
+ if (inputs[1].checked || inputs[0].checked) { // this row has a checked radio button
+ if (inputs[1].checked && inputs[0].checked && inputs[0].value == inputs[1].value)
+ return false;
+ if (oli) { // it's the second checked radio
+ if (inputs[1].checked) {
+ oli.className = "selected";
+ return false;
+ }
+ } else if (inputs[0].checked) {
+ return false;
+ }
+ if (inputs[0].checked)
+ dli = lis[i];
+ if (!oli)
+ inputs[0].style.visibility = 'hidden';
+ if (dli)
+ inputs[1].style.visibility = 'hidden';
+ lis[i].className = "selected";
+ oli = lis[i];
+ } else { // no radio is checked in this row
+ if (!oli)
+ inputs[0].style.visibility = 'hidden';
+ else
+ inputs[0].style.visibility = 'visible';
+ if (dli)
+ inputs[1].style.visibility = 'hidden';
+ else
+ inputs[1].style.visibility = 'visible';
+ lis[i].className = "";
+ }
+ }
+ }
+ return true;
+}
+
+// generate toc from prefs form, fold sections
+// XXX: needs testing on IE/Mac and safari
+// more comments to follow
+function tabbedprefs() {
+ var prefform = document.getElementById('preferences');
+ if (!prefform || !document.createElement)
+ return;
+ if (prefform.nodeName.toLowerCase() == 'a')
+ return; // Occasional IE problem
+ prefform.className = prefform.className + 'jsprefs';
+ var sections = new Array();
+ var children = prefform.childNodes;
+ var seci = 0;
+ for (var i = 0; i < children.length; i++) {
+ if (children[i].nodeName.toLowerCase() == 'fieldset') {
+ children[i].id = 'prefsection-' + seci;
+ children[i].className = 'prefsection';
+ if (is_opera || is_khtml)
+ children[i].className = 'prefsection operaprefsection';
+ var legends = children[i].getElementsByTagName('legend');
+ sections[seci] = new Object();
+ legends[0].className = 'mainLegend';
+ if (legends[0] && legends[0].firstChild.nodeValue)
+ sections[seci].text = legends[0].firstChild.nodeValue;
+ else
+ sections[seci].text = '# ' + seci;
+ sections[seci].secid = children[i].id;
+ seci++;
+ if (sections.length != 1)
+ children[i].style.display = 'none';
+ else
+ var selectedid = children[i].id;
+ }
+ }
+ var toc = document.createElement('ul');
+ toc.id = 'preftoc';
+ toc.selectedid = selectedid;
+ for (i = 0; i < sections.length; i++) {
+ var li = document.createElement('li');
+ if (i == 0)
+ li.className = 'selected';
+ var a = document.createElement('a');
+ a.href = '#' + sections[i].secid;
+ a.onmousedown = a.onclick = uncoversection;
+ a.appendChild(document.createTextNode(sections[i].text));
+ a.secid = sections[i].secid;
+ li.appendChild(a);
+ toc.appendChild(li);
+ }
+ prefform.parentNode.insertBefore(toc, prefform.parentNode.childNodes[0]);
+ document.getElementById('prefsubmit').id = 'prefcontrol';
+}
+
+function uncoversection() {
+ var oldsecid = this.parentNode.parentNode.selectedid;
+ var newsec = document.getElementById(this.secid);
+ if (oldsecid != this.secid) {
+ var ul = document.getElementById('preftoc');
+ document.getElementById(oldsecid).style.display = 'none';
+ newsec.style.display = 'block';
+ ul.selectedid = this.secid;
+ var lis = ul.getElementsByTagName('li');
+ for (var i = 0; i< lis.length; i++) {
+ lis[i].className = '';
+ }
+ this.parentNode.className = 'selected';
+ }
+ return false;
+}
+
+// Timezone stuff
+// tz in format [+-]HHMM
+function checkTimezone(tz, msg) {
+ var localclock = new Date();
+ // returns negative offset from GMT in minutes
+ var tzRaw = localclock.getTimezoneOffset();
+ var tzHour = Math.floor( Math.abs(tzRaw) / 60);
+ var tzMin = Math.abs(tzRaw) % 60;
+ var tzString = ((tzRaw >= 0) ? "-" : "+") + ((tzHour < 10) ? "0" : "") + tzHour + ((tzMin < 10) ? "0" : "") + tzMin;
+ if (tz != tzString) {
+ var junk = msg.split('$1');
+ document.write(junk[0] + "UTC" + tzString + junk[1]);
+ }
+}
+
+function unhidetzbutton() {
+ var tzb = document.getElementById('guesstimezonebutton');
+ if (tzb)
+ tzb.style.display = 'inline';
+}
+
+// in [-]HH:MM format...
+// won't yet work with non-even tzs
+function fetchTimezone() {
+ // FIXME: work around Safari bug
+ var localclock = new Date();
+ // returns negative offset from GMT in minutes
+ var tzRaw = localclock.getTimezoneOffset();
+ var tzHour = Math.floor( Math.abs(tzRaw) / 60);
+ var tzMin = Math.abs(tzRaw) % 60;
+ var tzString = ((tzRaw >= 0) ? "-" : "") + ((tzHour < 10) ? "0" : "") + tzHour +
+ ":" + ((tzMin < 10) ? "0" : "") + tzMin;
+ return tzString;
+}
+
+function guessTimezone(box) {
+ document.getElementsByName("wpHourDiff")[0].value = fetchTimezone();
+}
+
+function showTocToggle() {
+ if (document.createTextNode) {
+ // Uses DOM calls to avoid document.write + XHTML issues
+
+ var linkHolder = document.getElementById('toctitle')
+ if (!linkHolder)
+ return;
+
+ var outerSpan = document.createElement('span');
+ outerSpan.className = 'toctoggle';
+
+ var toggleLink = document.createElement('a');
+ toggleLink.id = 'togglelink';
+ toggleLink.className = 'internal';
+ toggleLink.href = 'javascript:toggleToc()';
+ toggleLink.appendChild(document.createTextNode(tocHideText));
+
+ outerSpan.appendChild(document.createTextNode('['));
+ outerSpan.appendChild(toggleLink);
+ outerSpan.appendChild(document.createTextNode(']'));
+
+ linkHolder.appendChild(document.createTextNode(' '));
+ linkHolder.appendChild(outerSpan);
+
+ var cookiePos = document.cookie.indexOf("hidetoc=");
+ if (cookiePos > -1 && document.cookie.charAt(cookiePos + 8) == 1)
+ toggleToc();
+ }
+}
+
+function changeText(el, newText) {
+ // Safari work around
+ if (el.innerText)
+ el.innerText = newText;
+ else if (el.firstChild && el.firstChild.nodeValue)
+ el.firstChild.nodeValue = newText;
+}
+
+function toggleToc() {
+ var toc = document.getElementById('toc').getElementsByTagName('ul')[0];
+ var toggleLink = document.getElementById('togglelink')
+
+ if (toc && toggleLink && toc.style.display == 'none') {
+ changeText(toggleLink, tocHideText);
+ toc.style.display = 'block';
+ document.cookie = "hidetoc=0";
+ } else {
+ changeText(toggleLink, tocShowText);
+ toc.style.display = 'none';
+ document.cookie = "hidetoc=1";
+ }
+}
+
+var mwEditButtons = [];
+var mwCustomEditButtons = []; // eg to add in MediaWiki:Common.js
+
+// this function generates the actual toolbar buttons with localized text
+// we use it to avoid creating the toolbar where javascript is not enabled
+function addButton(imageFile, speedTip, tagOpen, tagClose, sampleText) {
+ // Don't generate buttons for browsers which don't fully
+ // support it.
+ mwEditButtons[mwEditButtons.length] =
+ {"imageFile": imageFile,
+ "speedTip": speedTip,
+ "tagOpen": tagOpen,
+ "tagClose": tagClose,
+ "sampleText": sampleText};
+}
+
+// this function generates the actual toolbar buttons with localized text
+// we use it to avoid creating the toolbar where javascript is not enabled
+function mwInsertEditButton(parent, item) {
+ var image = document.createElement("img");
+ image.width = 23;
+ image.height = 22;
+ image.src = item.imageFile;
+ image.border = 0;
+ image.alt = item.speedTip;
+ image.title = item.speedTip;
+ image.style.cursor = "pointer";
+ image.onclick = function() {
+ insertTags(item.tagOpen, item.tagClose, item.sampleText);
+ return false;
+ }
+
+ parent.appendChild(image);
+ return true;
+}
+
+function mwSetupToolbar() {
+ var toolbar = document.getElementById('toolbar');
+ if (!toolbar) return false;
+
+ var textbox = document.getElementById('wpTextbox1');
+ if (!textbox) return false;
+
+ // Don't generate buttons for browsers which don't fully
+ // support it.
+ if (!document.selection && textbox.selectionStart == null)
+ return false;
+
+ for (var i in mwEditButtons) {
+ mwInsertEditButton(toolbar, mwEditButtons[i]);
+ }
+ for (var i in mwCustomEditButtons) {
+ mwInsertEditButton(toolbar, mwCustomEditButtons[i]);
+ }
+ return true;
+}
+
+function escapeQuotes(text) {
+ var re = new RegExp("'","g");
+ text = text.replace(re,"\\'");
+ re = new RegExp("\\n","g");
+ text = text.replace(re,"\\n");
+ return escapeQuotesHTML(text);
+}
+
+function escapeQuotesHTML(text) {
+ var re = new RegExp('&',"g");
+ text = text.replace(re,"&");
+ var re = new RegExp('"',"g");
+ text = text.replace(re,""");
+ var re = new RegExp('<',"g");
+ text = text.replace(re,"<");
+ var re = new RegExp('>',"g");
+ text = text.replace(re,">");
+ return text;
+}
+
+// apply tagOpen/tagClose to selection in textarea,
+// use sampleText instead of selection if there is none
+// copied and adapted from phpBB
+function insertTags(tagOpen, tagClose, sampleText) {
+ if (document.editform)
+ var txtarea = document.editform.wpTextbox1;
+ else {
+ // some alternate form? take the first one we can find
+ var areas = document.getElementsByTagName('textarea');
+ var txtarea = areas[0];
+ }
+
+ // IE
+ if (document.selection && !is_gecko) {
+ var theSelection = document.selection.createRange().text;
+ if (!theSelection)
+ theSelection=sampleText;
+ txtarea.focus();
+ if (theSelection.charAt(theSelection.length - 1) == " ") { // exclude ending space char, if any
+ theSelection = theSelection.substring(0, theSelection.length - 1);
+ document.selection.createRange().text = tagOpen + theSelection + tagClose + " ";
+ } else {
+ document.selection.createRange().text = tagOpen + theSelection + tagClose;
+ }
+
+ // Mozilla
+ } else if(txtarea.selectionStart || txtarea.selectionStart == '0') {
+ var replaced = false;
+ var startPos = txtarea.selectionStart;
+ var endPos = txtarea.selectionEnd;
+ if (endPos-startPos)
+ replaced = true;
+ var scrollTop = txtarea.scrollTop;
+ var myText = (txtarea.value).substring(startPos, endPos);
+ if (!myText)
+ myText=sampleText;
+ if (myText.charAt(myText.length - 1) == " ") { // exclude ending space char, if any
+ subst = tagOpen + myText.substring(0, (myText.length - 1)) + tagClose + " ";
+ } else {
+ subst = tagOpen + myText + tagClose;
+ }
+ txtarea.value = txtarea.value.substring(0, startPos) + subst +
+ txtarea.value.substring(endPos, txtarea.value.length);
+ txtarea.focus();
+ //set new selection
+ if (replaced) {
+ var cPos = startPos+(tagOpen.length+myText.length+tagClose.length);
+ txtarea.selectionStart = cPos;
+ txtarea.selectionEnd = cPos;
+ } else {
+ txtarea.selectionStart = startPos+tagOpen.length;
+ txtarea.selectionEnd = startPos+tagOpen.length+myText.length;
+ }
+ txtarea.scrollTop = scrollTop;
+
+ // All other browsers get no toolbar.
+ // There was previously support for a crippled "help"
+ // bar, but that caused more problems than it solved.
+ }
+ // reposition cursor if possible
+ if (txtarea.createTextRange)
+ txtarea.caretPos = document.selection.createRange().duplicate();
+}
+
+function akeytt() {
+ if (typeof ta == "undefined" || !ta)
+ return;
+ var pref = 'alt-';
+ if (is_safari || navigator.userAgent.toLowerCase().indexOf('mac') + 1
+ || navigator.userAgent.toLowerCase().indexOf('konqueror') + 1 )
+ pref = 'control-';
+ if (is_opera)
+ pref = 'shift-esc-';
+
+ for (var id in ta) {
+ var n = document.getElementById(id);
+ if (n) {
+ var a = null;
+ var ak = '';
+ // Are we putting accesskey in it
+ if (ta[id][0].length > 0) {
+ // Is this object a object? If not assume it's the next child.
+
+ if (n.nodeName.toLowerCase() == "a") {
+ a = n;
+ } else {
+ a = n.childNodes[0];
+ }
+
+ if (a) {
+ a.accessKey = ta[id][0];
+ ak = ' ['+pref+ta[id][0]+']';
+ }
+ } else {
+ // We don't care what type the object is when assigning tooltip
+ a = n;
+ ak = '';
+ }
+
+ if (a) {
+ a.title = ta[id][1]+ak;
+ }
+ }
+ }
+}
+
+function setupRightClickEdit() {
+ if (document.getElementsByTagName) {
+ var divs = document.getElementsByTagName('div');
+ for (var i = 0; i < divs.length; i++) {
+ var el = divs[i];
+ if(el.className == 'editsection') {
+ addRightClickEditHandler(el);
+ }
+ }
+ }
+}
+
+function addRightClickEditHandler(el) {
+ for (var i = 0; i < el.childNodes.length; i++) {
+ var link = el.childNodes[i];
+ if (link.nodeType == 1 && link.nodeName.toLowerCase() == 'a') {
+ var editHref = link.getAttribute('href');
+
+ // find the following a
+ var next = el.nextSibling;
+ while (next.nodeType != 1)
+ next = next.nextSibling;
+
+ // find the following header
+ next = next.nextSibling;
+ while (next.nodeType != 1)
+ next = next.nextSibling;
+
+ if (next && next.nodeType == 1 &&
+ next.nodeName.match(/^[Hh][1-6]$/)) {
+ next.oncontextmenu = function() {
+ document.location = editHref;
+ return false;
+ }
+ }
+ }
+ }
+}
+
+function setupCheckboxShiftClick() {
+ if (document.getElementsByTagName) {
+ var uls = document.getElementsByTagName('ul');
+ var len = uls.length;
+ for (var i = 0; i < len; ++i) {
+ addCheckboxClickHandlers(uls[i]);
+ }
+ }
+}
+
+function addCheckboxClickHandlers(ul, start, finish) {
+ if (ul.checkboxHandlersTimer) {
+ clearInterval(ul.checkboxHandlersTimer);
+ }
+ if ( !ul.childNodes ) {
+ return;
+ }
+ var len = ul.childNodes.length;
+ if (len < 2) {
+ return;
+ }
+ start = start || 0;
+ finish = finish || start + 250;
+ if ( finish > len ) { finish = len; }
+ ul.checkboxes = ul.checkboxes || [];
+ ul.lastCheckbox = ul.lastCheckbox || null;
+ for (var i = start; i<finish; ++i) {
+ var child = ul.childNodes[i];
+ if ( child && child.childNodes && child.childNodes[0] ) {
+ var cb = child.childNodes[0];
+ if ( !cb.nodeName || cb.nodeName.toLowerCase() != 'input' ||
+ !cb.type || cb.type.toLowerCase() != 'checkbox' ) {
+ return;
+ }
+ cb.index = ul.checkboxes.push(cb) - 1;
+ cb.container = ul;
+ cb.onmouseup = checkboxMouseupHandler;
+ }
+ }
+ if (finish < len) {
+ var f=function(){ addCheckboxClickHandlers(ul, finish, finish+250); };
+ ul.checkboxHandlersTimer=setInterval(f, 200);
+ }
+}
+
+function checkboxMouseupHandler(e) {
+ if (typeof e == 'undefined') {
+ e = window.event;
+ }
+ if ( !e.shiftKey || this.container.lastCheckbox === null ) {
+ this.container.lastCheckbox = this.index;
+ return true;
+ }
+ var endState = !this.checked;
+ if ( is_opera ) { // opera has already toggled the checkbox by this point
+ endState = !endState;
+ }
+ var start, finish;
+ if ( this.index < this.container.lastCheckbox ) {
+ start = this.index + 1;
+ finish = this.container.lastCheckbox;
+ } else {
+ start = this.container.lastCheckbox;
+ finish = this.index - 1;
+ }
+ for (var i = start; i <= finish; ++i ) {
+ this.container.checkboxes[i].checked = endState;
+ }
+ this.container.lastCheckbox = this.index;
+ return true;
+}
+
+function fillDestFilename() {
+ if (!document.getElementById)
+ return;
+ var path = document.getElementById('wpUploadFile').value;
+ // Find trailing part
+ var slash = path.lastIndexOf('/');
+ var backslash = path.lastIndexOf('\\');
+ var fname;
+ if (slash == -1 && backslash == -1) {
+ fname = path;
+ } else if (slash > backslash) {
+ fname = path.substring(slash+1, 10000);
+ } else {
+ fname = path.substring(backslash+1, 10000);
+ }
+
+ // Capitalise first letter and replace spaces by underscores
+ fname = fname.charAt(0).toUpperCase().concat(fname.substring(1,10000)).replace(/ /g, '_');
+
+ // Output result
+ var destFile = document.getElementById('wpDestFile');
+ if (destFile)
+ destFile.value = fname;
+}
+
+
+function considerChangingExpiryFocus() {
+ if (!document.getElementById)
+ return;
+ var drop = document.getElementById('wpBlockExpiry');
+ if (!drop)
+ return;
+ var field = document.getElementById('wpBlockOther');
+ if (!field)
+ return;
+ var opt = drop.value;
+ if (opt == 'other')
+ field.style.display = '';
+ else
+ field.style.display = 'none';
+}
+
+function scrollEditBox() {
+ var editBoxEl = document.getElementById("wpTextbox1");
+ var scrollTopEl = document.getElementById("wpScrolltop");
+ var editFormEl = document.getElementById("editform");
+
+ if (editBoxEl && scrollTopEl) {
+ if (scrollTopEl.value) editBoxEl.scrollTop = scrollTopEl.value;
+ editFormEl.onsubmit = function() {
+ document.getElementById("wpScrolltop").value = document.getElementById("wpTextbox1").scrollTop;
+ }
+ }
+}
+
+hookEvent("load", scrollEditBox);
+
+function allmessagesfilter() {
+ text = document.getElementById('allmessagesinput').value;
+ k = document.getElementById('allmessagestable');
+ if (!k) { return;}
+
+ var items = k.getElementsByTagName('span');
+
+ if ( text.length > allmessages_prev.length ) {
+ for (var i = items.length-1, j = 0; i >= 0; i--) {
+ j = allmessagesforeach(items, i, j);
+ }
+ } else {
+ for (var i = 0, j = 0; i < items.length; i++) {
+ j = allmessagesforeach(items, i, j);
+ }
+ }
+ allmessages_prev = text;
+}
+
+function allmessagesforeach(items, i, j) {
+ var hItem = items[i].getAttribute('id');
+ if (hItem.substring(0,17) == 'sp-allmessages-i-') {
+ if (items[i].firstChild && items[i].firstChild.nodeName == '#text' && items[i].firstChild.nodeValue.indexOf(text) != -1) {
+ var itemA = document.getElementById( hItem.replace('i', 'r1') );
+ var itemB = document.getElementById( hItem.replace('i', 'r2') );
+ if ( itemA.style.display != '' ) {
+ var s = "allmessageshider(\"" + hItem.replace('i', 'r1') + "\", \"" + hItem.replace('i', 'r2') + "\", '')";
+ var k = window.setTimeout(s,j++*5);
+ }
+ } else {
+ var itemA = document.getElementById( hItem.replace('i', 'r1') );
+ var itemB = document.getElementById( hItem.replace('i', 'r2') );
+ if ( itemA.style.display != 'none' ) {
+ var s = "allmessageshider(\"" + hItem.replace('i', 'r1') + "\", \"" + hItem.replace('i', 'r2') + "\", 'none')";
+ var k = window.setTimeout(s,j++*5);
+ }
+ }
+ }
+ return j;
+}
+
+
+function allmessageshider(idA, idB, cstyle) {
+ var itemA = document.getElementById( idA );
+ var itemB = document.getElementById( idB );
+ if (itemA) { itemA.style.display = cstyle; }
+ if (itemB) { itemB.style.display = cstyle; }
+}
+
+function allmessagesmodified() {
+ allmessages_modified = !allmessages_modified;
+ k = document.getElementById('allmessagestable');
+ if (!k) { return;}
+ var items = k.getElementsByTagName('tr');
+ for (var i = 0, j = 0; i< items.length; i++) {
+ if (!allmessages_modified ) {
+ if ( items[i].style.display != '' ) {
+ var s = "allmessageshider(\"" + items[i].getAttribute('id') + "\", null, '')";
+ var k = window.setTimeout(s,j++*5);
+ }
+ } else if (items[i].getAttribute('class') == 'def' && allmessages_modified) {
+ if ( items[i].style.display != 'none' ) {
+ var s = "allmessageshider(\"" + items[i].getAttribute('id') + "\", null, 'none')";
+ var k = window.setTimeout(s,j++*5);
+ }
+ }
+ }
+}
+
+function allmessagesshow() {
+ k = document.getElementById('allmessagesfilter');
+ if (k) { k.style.display = ''; }
+
+ allmessages_prev = '';
+ allmessages_modified = false;
+}
+
+hookEvent("load", allmessagesshow);
+hookEvent("load", mwSetupToolbar);
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/wikiprintable.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/wikiprintable.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/wikiprintable.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,46 @@
+/* MediaWiki print stylesheet */
+
+body {
+ color: #000000; background: #ffffff;
+}
+
+
+/* MSIE/Win doesn't understand 'inherit' */
+a, a.external, a.new, a.stub {
+ color: black ! important;
+ text-decoration: none ! important;
+}
+#article {
+ margin: 0 ! important;
+}
+
+/* Continue ... */
+a, a.external, a.new, a.stub {
+ color: inherit ! important;
+ text-decoration: inherit ! important;
+}
+
+/* Hide ugly UI stuff */
+#quickbar, #topbar, #footer, #siteNotice,
+.editsection, .toctoggle {
+ display: none;
+}
+
+/* */
+#article {
+ position: relative;
+ margin: inherit ! important;
+}
+
+.printfooter {
+ border-top: solid 1px black;
+ display: block ! important;
+}
+
+/* Old stuff, fixme:
+a.CBlink { color: #0000AA; text-decoration: none; font-size: 12pt; }
+a.interwiki, a.external { color: #3333BB; text-decoration: none; }
+h1.pagetitle { padding-bottom: 0; margin-bottom: 0; }
+i.link, u.link { color: #000066; }
+p.subtitle { padding-top: 0; margin-top: 0; }
+*/
Added: trunk/docs.openmoko.org/space_www_wiki_skins/common/wikistandard.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/common/wikistandard.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/common/wikistandard.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,44 @@
+ at import url("common.css?1");
+
+#article { padding: 4px; }
+#content { margin: 0; padding: 0; }
+#footer { padding: 4px;font-size:95%;clear: both; }
+#pagestats { font-size: 9pt; }
+#powersearch {
+ background: #DDEEFF; border-style: solid; border-width: 1px; padding: 2px;
+}
+#quickbar { width: 140px; padding: 4px; visibility: visible; z-index:99;font-size:95%;}
+#topbar { padding: 4px;font-size:95%; }
+
+
+/* Table of contents */
+.toctoggle, .editsection { font-size: smaller; }
+
+/* ... */
+#toolbar { padding:0px; }
+#infobox { background:#eeeeff;color:black;}
+#editform { margin-top:1px; }
+a.interwiki, a.external { color: #3366BB; }
+a.printable { text-decoration: underline; }
+a.stub { color:#772233; text-decoration:none; }
+a:visited { color: #5A3696; }
+body { margin: 0px; padding: 4px; color: black; }
+form.inline { display: inline; }
+textarea { overflow: auto; }
+
+
+h1.pagetitle { padding-top: 0; margin-top: 0; padding-bottom: 0; margin-bottom: 0;
+font-size:150%; }
+h2 { font-size: 120%; }
+h2, h3, h4, h5, h6 { margin-bottom: 0;}
+h3 { font-size: 106.25%; }
+h4 { font-size: 103.125%; }
+h5 { font-size: 100%; }
+h6 { font-size: 95%; }
+hr.sep { color:gray;height:1px;background-color:gray;}
+p.subpages { font-size:small;}
+p.subtitle { padding-top: 0; margin-top: 0;}
+p.catlinks { font-size:small; margin-top:0; text-align:right;}
+td { empty-cells:show; }
+td.bottom { border-top: 1px solid gray; }
+td.top { border-bottom: 1px solid gray; }
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE50Fixes.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE50Fixes.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE50Fixes.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,67 @@
+/*
+** IE5.0 Fix Stylesheet
+*/
+
+#column-content {
+ margin: 0 !important;
+ float: none;
+}
+#column-content #content {
+ margin-top: 3em;
+ height: 1%;
+}
+#column-one {
+ position: absolute;
+ overflow: visible;
+ top: 0;
+ left: 0;
+ z-index: 3;
+}
+#footer {
+ margin: 0 0 0 13.6em;
+}
+
+/* IE 5 & 5.5 interpret keyword sizes one off */
+body { font-size: xx-small; }
+/*
+** the edit tabs
+*/
+#p-cactions li {
+ float: left;
+ padding-top: 0;
+ padding-bottom: 0 !important;
+ height: 0.9em;
+}
+#p-cactions li a {
+ display: block;
+ padding-bottom: 0.045em;
+}
+#p-cactions li.selected a {
+ padding-bottom: 0.17em;
+}
+#p-cactions li a:hover {
+ padding-bottom: 0.17em;
+}
+/* 5.0 doesn't like the background icon for external links and user */
+.link-external,
+.external {
+ background: none;
+ padding: 0;
+}
+#p-personal ul { float: right }
+#p-personal li { float: left }
+li#pt-userpage,
+li#pt-anonuserpage,
+li#pt-login,
+li#pt-logout {
+ background: none;
+ padding-left: none;
+}
+.visualClear {
+ width: 100%;
+ height: 0px;
+ padding:0;
+ margin: 0;
+}
+.firstHeading { margin-bottom: .3em; }
+/*div{ border:1px solid Red !important;}*/
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE55Fixes.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE55Fixes.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE55Fixes.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,85 @@
+/* IE5.5/win- only fixes */
+
+#column-content {
+ float: none;
+ margin-left: 0;
+ height: 1%;
+}
+#column-content #content {
+ position: relative;
+ z-index: 5;
+ margin-left: 12.2em;
+ margin-top: 3em;
+ height: 1%;
+}
+#column-one {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 4;
+ width: 100%;
+}
+#footer {
+ margin-left: 13.6em;
+ border-left: 1px solid #fabd23;
+}
+
+/*#bodyContent div,
+#bodyContent pre { overflow: auto; }*/
+
+#p-personal { padding-bottom: .1em; }
+
+body { font-size: xx-small; }
+
+#p-cactions {
+ width: 76% !important;
+ z-index: 3 !important;
+ float: none;
+}
+#p-cactions li {
+ padding-bottom: 0 !important;
+ border: none;
+ background-color: transparent;
+ cursor: default;
+ float: none !important;
+}
+#p-cactions li a {
+ display: inline-block !important;
+ vertical-align: top;
+ padding-bottom: 0;
+ border: solid #aaa;
+ border-width: 1px 1px 0;
+}
+#p-cactions li.selected a {
+ border-color: #fabd23;
+ padding-bottom: 0.17em;
+}
+#p-cactions li a:hover {
+ padding-bottom: 0.17em;
+}
+#p-navigation a {
+ display: inline-block;
+ width: 100%;
+}
+.portlet {
+ overflow: hidden;
+}
+#bodyContent a.external {
+ background: url(external.png) center right no-repeat;
+ padding-right: 13px;
+}
+/* show the hand */
+#p-logo a,
+#p-logo a:hover {
+ cursor: pointer;
+}
+.visualClear {
+ width: 90%;
+ height: 1px;
+ padding: 0;
+ margin: 0;
+}
+
+#editform {
+ width: 100%;
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE60Fixes.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE60Fixes.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE60Fixes.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,115 @@
+/* 6.0 - only fixes */
+/* content area */
+/* workaround for various ie float bugs */
+#column-content {
+ float: none;
+ margin-left: 0;
+ height: 1%;
+}
+#column-content #content {
+ margin-left: 14.2em;
+ margin-top: 1.1em;
+ height: 1%;
+}
+#column-one {
+ position: absolute;
+ top: 0;
+ left: 1.4em;
+ z-index: 4;
+ padding-top: 160px;
+}
+#footer {
+ margin-left: 15.7em;
+/* border-left: 1px solid #fabd23;*/
+}
+
+/* the tabs */
+
+#p-cactions {
+ z-index: 3;
+}
+
+#p-cactions li {
+ padding-bottom: 0 !important;
+ border: none;
+ background-color: transparent;
+ cursor: default;
+ float: none !important;
+}
+#p-cactions li a {
+ display: inline-block !important;
+ vertical-align: top;
+ padding-bottom: 0.17em;
+/* border: solid #aaa;*/
+/* border-width: 1px 1px 0;*/
+}
+#p-cactions li.selected a {
+ border-color: #fabd23;
+ padding-bottom: 0.17em;
+ top: 1px;
+}
+#p-cactions li a:hover {
+ padding-bottom: 0.17em;
+}
+
+#p-navigation a {
+ display: inline-block;
+ width: 100%;
+}
+#portal-personaltools {
+ padding-bottom: 0.1em;
+}
+#bodyContent a.external {
+ background: url(external.png) center right no-repeat;
+ padding-right: 13px;
+}
+
+/* show the hand */
+#p-logo a,
+#p-logo a:hover {
+ cursor: pointer;
+}
+div.visualClear {
+ width:100%;
+ line-height: 0;
+}
+textarea {
+ width: 96%;
+}
+
+div.editsection,
+#catlinks,
+div.tright,
+div.tleft {
+ position: relative;
+}
+/*{ border:1px solid Red !important;}*/
+
+#p-logo {
+/* top: 1.4em;*/
+ left: 0em;
+ display: none;
+}
+
+#p-logo a {
+}
+
+.portlet ul {
+ margin-left: 2em;
+}
+
+.portlet a {
+ margin-left: -5px;
+}
+
+
+#p-navigation {
+ margin-top: 0;
+}
+
+#p-navigation,
+#p-search,
+#p-tb {
+ position: relative;
+ top: -4.85em;
+}
\ No newline at end of file
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE70Fixes.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE70Fixes.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IE70Fixes.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,96 @@
+/* 7.0 - only fixes */
+/* content area */
+/* workaround for various ie float bugs */
+
+/* This bit is needed to make links clickable... WTF */
+#column-content #content {
+ margin-left: 14.2em;
+ margin-top: 1.1em;
+ height: 1%;
+}
+
+.rtl #column-one {
+ /* For some reason it tries to inherit the padding-top into every div,
+ * and I can't figure out how to get it back off.
+ * Margin works correctly for this use, though.
+ */
+ padding-top: 0;
+ margin-top: 160px;
+}
+
+#column-one {
+ position: absolute;
+ top: 90px;
+}
+
+#p-logo {
+ left: 0em;
+}
+
+/* the tabs */
+
+#p-cactions {
+ z-index: 3;
+ top: -1.2em;
+}
+
+#p-personal {
+ position: relative;
+ top: -12em;
+ float: right;
+ padding-right:15px;
+}
+
+
+#p-cactions li {
+ padding-bottom: 0 !important;
+ border: none;
+ background-color: transparent;
+ cursor: default;
+ float: none !important;
+}
+
+#p-cactions li a {
+ display: inline-block !important;
+ vertical-align: top;
+ padding-bottom: 0.17em;
+ /*border: solid #aaa;
+ border-width: 1px 1px 0;*/
+}
+#p-cactions li.selected a {
+ border-color: #fabd23;
+ padding-bottom: 0.17em;
+}
+#p-cactions li a:hover {
+ padding-bottom: 0.17em;
+}
+#p-navigation a {
+ display: inline-block;
+ width: 100%;
+}
+#portal-personaltools {
+ padding-bottom: 0.1em;
+}
+textarea {
+ width: 96%;
+}
+
+/*
+div.editsection,
+#catlinks,
+div.tright,
+div.tleft {
+ position: relative;
+}
+*/
+
+
+#footer {
+ margin-left: 15.8em;
+ padding-top: 2.7em;
+}
+
+#footer li {
+ /* Work around bug with inline <li> tags with right margins and nowrap */
+ margin-right: 0;
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IEMacFixes.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IEMacFixes.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/IEMacFixes.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,44 @@
+/* IE/Mac only fix stylesheet, imported from main.css */
+#portal-column-content {
+ margin: 0 0 4.8em 0;
+ float: none;
+}
+#portal-column-content #content {
+ z-index: 0;
+}
+#portal-column-one {
+ position: absolute;
+ top: 0;
+ left: 0;
+ z-index: 3;
+}
+#portal-footer {
+ margin-left: 12em;
+}
+/*
+#portlet-contentViews {
+ top: 0.6em !important;
+ left: 14.5em !important;
+}
+*/
+#portlet-contentViews li,
+#portlet-contentViews .selected {
+ border: none !important;
+}
+#portlet-contentViews li a {
+ border: 1px solid #aaaaaa;
+ border-bottom: none;
+}
+#portlet-contentViews li.selected a {
+ border: 1px solid #fabd23;
+ border-bottom: none;
+}
+/* no background images */
+li#personaltools-userpage,
+li#personaltools-login/* */ {
+ background: none;
+ padding-left: none;
+}
+#mactest {
+ color: green;
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/KHTMLFixes.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/KHTMLFixes.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/KHTMLFixes.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,3 @@
+/* KHTML fix stylesheet */
+/* work around the horizontal scrollbars */
+#column-content { margin-left: 0; }
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/Opera6Fixes.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/Opera6Fixes.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/Opera6Fixes.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,14 @@
+/* opera 6 fixes */
+#column-one {
+ position: relative;
+ max-width: 11.7em;
+}
+#p-personal {
+ width: 45em;
+ margin-left: 8.6em;
+ right: 0;
+}
+#bodyContent a.external {
+ background: url(external.png) center right no-repeat;
+ padding-right: 13px;
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/Opera7Fixes.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/Opera7Fixes.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/Opera7Fixes.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,11 @@
+/* small tweaks for opera seven */
+#p-cactions {
+ margin-top: .1em;
+}
+#p-cactions li a {
+ top: 2px;
+}
+#bodyContent a.external {
+ background: url(external.png) center right no-repeat;
+ padding-right: 13px;
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/audio.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/audio.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/bullet.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/bullet.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/discussionitem_icon.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/discussionitem_icon.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/document.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/document.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/external.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/external.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/file_icon.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/file_icon.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/handheld.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/handheld.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/handheld.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,1337 @@
+/*
+** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
+** Copyright Gabriel Wicke - http://wikidev.net/
+** License: GPL (http://www.gnu.org/copyleft/gpl.html)
+**
+** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
+** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
+** Michael Zeltner and Geir Bækholt)
+** All you guys rock :)
+*/
+
+/**
+ * Stylesheet for handhelds. All rules not marked media-specific are shared
+ * with main.css and should be updated in tandem. The rules can't be in the
+ * same file because old browsers like IE5 won't obey @media rules.
+ *
+ * Rules that are handheld-specific are given @media rules in case old browsers
+ * don't recognize the media attribute and load this file anyway.
+ */
+
+#content {
+ background: white;
+ color: black;
+ border: 1px solid #aaa;
+ border-right: none;
+ line-height: 1.5em;
+}
+/* the left column width is specified in class .portlet */
+
+/* Font size:
+** We take advantage of keyword scaling- browsers won't go below 9px
+** More at http://www.w3.org/2003/07/30-font-size
+** http://style.cleverchimp.com/font_size_intervals/altintervals.html
+*/
+
+body {
+ font: x-small sans-serif;
+ background: #f9f9f9 url(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;
+}
+.visualClear {
+ clear: both;
+}
+
+/* general styles */
+
+table {
+ font-size: 100%;
+ color: black;
+ /* we don't want the bottom borders of <h2>s to be visible through
+ floated tables */
+ background-color: white;
+}
+a {
+ text-decoration: none;
+ color: #002bb8;
+ background: none;
+}
+a:visited {
+ color: #5a3696;
+}
+a:active {
+ color: #faa700;
+}
+a:hover {
+ 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;
+}
+
+img {
+ border: none;
+ vertical-align: middle;
+}
+p img {
+ margin: 0;
+}
+
+hr {
+ height: 1px;
+ color: #aaa;
+ background-color: #aaa;
+ border: 0;
+ margin: .2em 0 .2em 0;
+}
+
+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%; }
+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;
+ margin-left: 5px;
+}
+
+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: .1em;
+}
+dl {
+ margin-top: .2em;
+ margin-bottom: .5em;
+}
+dd {
+ line-height: 1.5em;
+ margin-left: 2em;
+ margin-bottom: .1em;
+}
+
+fieldset {
+ border: 1px solid #2f6fab;
+ margin: 1em 0 1em 0;
+ padding: 0 1em 1em;
+ line-height: 1.5em;
+}
+legend {
+ padding: .5em;
+ font-size: 95%;
+}
+form {
+ border: none;
+ margin: 0;
+}
+
+textarea {
+ width: 100%;
+ padding: .1em;
+}
+
+input.historysubmit {
+ padding: 0 .3em .3em .3em !important;
+ font-size: 94%;
+ cursor: pointer;
+ height: 1.7em !important;
+ margin-left: 1.6em;
+}
+select {
+ vertical-align: top;
+}
+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;
+}*/
+code {
+ background-color: #f9f9f9;
+}
+pre {
+ padding: 1em;
+ border: 1px dashed #2f6fab;
+ color: black;
+ background-color: #f9f9f9;
+ line-height: 1.1em;
+}
+
+/*
+** the main content area
+*/
+
+#contentSub, #contentSub2 {
+ font-size: 84%;
+ line-height: 1.2em;
+ margin: 0 0 1.4em 1em;
+ color: #7d7d7d;
+ width: auto;
+}
+span.subpages {
+ display: block;
+}
+
+/* Some space under the headers in the content area */
+#bodyContent h1, #bodyContent h2 {
+ margin-bottom: .6em;
+}
+#bodyContent h3, #bodyContent h4, #bodyContent h5 {
+ margin-bottom: .3em;
+}
+.firstHeading {
+ margin-bottom: .1em;
+}
+
+/* user notification thing */
+.usermessage {
+ background-color: #ffce7b;
+ border: 1px solid #ffa500;
+ color: black;
+ font-weight: bold;
+ margin: 2em 0 1em;
+ padding: .5em 1em;
+ vertical-align: middle;
+}
+#siteNotice {
+ text-align: center;
+ font-size: 95%;
+ padding: 0 .9em;
+}
+#siteNotice p {
+ margin: 0;
+ padding: 0;
+}
+.error {
+ color: red;
+ font-size: larger;
+}
+.errorbox, .successbox {
+ font-size: larger;
+ border: 2px solid;
+ padding: .5em 1em;
+ float: left;
+ margin-bottom: 2em;
+ color: #000;
+}
+.errorbox {
+ border-color: red;
+ background-color: #fff2f2;
+}
+.successbox {
+ border-color: green;
+ background-color: #dfd;
+}
+.errorbox h2, .successbox h2 {
+ font-size: 1em;
+ font-weight: bold;
+ display: inline;
+ margin: 0 .5em 0 0;
+ border: none;
+}
+
+#catlinks {
+ border: 1px solid #aaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ margin-top: 1em;
+ clear: both;
+}
+/* currently unused, intended to be used by a metadata box
+in the bottom-right corner of the content area */
+.documentDescription {
+ /* The summary text describing the document */
+ font-weight: bold;
+ display: block;
+ margin: 1em 0;
+ line-height: 1.5em;
+}
+.documentByLine {
+ text-align: right;
+ font-size: 90%;
+ clear: both;
+ font-weight: normal;
+ color: #76797c;
+}
+
+/* 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%;
+}
+
+/*
+** content styles
+*/
+
+#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%;
+}
+
+.mw-warning {
+ margin-left: 50px;
+ margin-right: 50px;
+ text-align: center;
+}
+
+/* images */
+div.floatright, table.floatright {
+ clear: right;
+ float: right;
+ position: relative;
+ margin: 0 0 .5em .5em;
+ border: 0;
+/*
+ border: .5em solid white;
+ border-width: .5em 0 .8em 1.4em;
+*/
+}
+div.floatright p { font-style: italic; }
+div.floatleft, table.floatleft {
+ float: left;
+ clear: left;
+ position: relative;
+ margin: 0 .5em .5em 0;
+ border: 0;
+/*
+ margin: .3em .5em .5em 0;
+ border: .5em solid white;
+ border-width: .5em 1.4em .8em 0;
+*/
+}
+div.floatleft p { font-style: italic; }
+/* thumbnails */
+div.thumb {
+ margin-bottom: .5em;
+ border-style: solid;
+ border-color: white;
+ width: auto;
+}
+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;
+}
+div.tright {
+ clear: right;
+ float: right;
+ border-width: .5em 0 .8em 1.4em;
+}
+div.tleft {
+ float: left;
+ clear: left;
+ margin-right: .5em;
+ border-width: .5em 1.4em .8em 0;
+}
+
+.hiddenStructure {
+ display: none;
+ speak: none;
+}
+img.tex {
+ vertical-align: middle;
+}
+span.texhtml {
+ font-family: serif;
+}
+
+/*
+** classes for special content elements like town boxes
+** intended to be referenced directly from the wiki src
+*/
+
+/*
+** User styles
+*/
+/* table standards */
+table.rimage {
+ float: right;
+ position: relative;
+ margin-left: 1em;
+ margin-bottom: 1em;
+ text-align: center;
+}
+.toccolours {
+ border: 1px solid #aaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ font-size: 95%;
+}
+div.townBox {
+ position: relative;
+ float: right;
+ background: white;
+ margin-left: 1em;
+ border: 1px solid gray;
+ padding: .3em;
+ width: 200px;
+ overflow: hidden;
+ clear: right;
+}
+div.townBox dl {
+ padding: 0;
+ margin: 0 0 .3em;
+ font-size: 96%;
+}
+div.townBox dl dt {
+ background: none;
+ margin: .4em 0 0;
+}
+div.townBox dl dd {
+ margin: .1em 0 0 1.1em;
+ background-color: #f3f3f3;
+}
+
+/*
+** edit views etc
+*/
+.special li {
+ line-height: 1.4em;
+ margin: 0;
+ padding: 0;
+}
+
+/* Page history styling */
+/* the auto-generated edit comments */
+.autocomment {
+ color: gray;
+}
+#pagehistory span.user {
+ margin-left: 1.4em;
+ margin-right: .4em;
+}
+#pagehistory span.minor {
+ font-weight: bold;
+}
+#pagehistory li {
+ border: 1px solid white;
+}
+#pagehistory li.selected {
+ background-color: #f9f9f9;
+ border: 1px dashed #aaa;
+}
+
+/*
+** Diff rendering
+*/
+table.diff, td.diff-otitle, td.diff-ntitle {
+ background-color: white;
+}
+td.diff-addedline {
+ background: #cfc;
+ font-size: smaller;
+}
+td.diff-deletedline {
+ background: #ffa;
+ font-size: smaller;
+}
+td.diff-context {
+ background: #eee;
+ font-size: smaller;
+}
+span.diffchange {
+ color: red;
+ font-weight: bold;
+}
+
+/*
+** keep the whitespace in front of the ^=, hides rule from konqueror
+** this is css3, the validator doesn't like it when validating as css2
+*/
+#bodyContent a.external,
+#bodyContent a[href ^="gopher://"] {
+ background: url(external.png) center right no-repeat;
+ padding-right: 13px;
+}
+#bodyContent a[href ^="https://"],
+.link-https {
+ background: url(lock_icon.gif) center right no-repeat;
+ padding-right: 16px;
+}
+#bodyContent a[href ^="mailto:"],
+.link-mailto {
+ background: url(mail_icon.gif) center right no-repeat;
+ padding-right: 18px;
+}
+#bodyContent a[href ^="news://"] {
+ background: url(news_icon.png) center right no-repeat;
+ padding-right: 18px;
+}
+#bodyContent a[href ^="ftp://"],
+.link-ftp {
+ background: url(file_icon.gif) center right no-repeat;
+ padding-right: 18px;
+}
+#bodyContent a[href ^="irc://"],
+.link-irc {
+ background: url(discussionitem_icon.gif) center right no-repeat;
+ padding-right: 18px;
+}
+#bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
+#bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
+#bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
+#bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
+#bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
+#bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
+.link-audio {
+ background: url("audio.png") center right no-repeat;
+ padding-right: 13px;
+}
+#bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
+#bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
+#bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
+#bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
+.link-video {
+ background: url("video.png") center right no-repeat;
+ padding-right: 13px;
+}
+#bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
+#bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
+#bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
+.link-document {
+ background: url("document.png") center right no-repeat;
+ padding-right: 12px;
+}
+
+/* disable interwiki styling */
+#bodyContent a.extiw,
+#bodyContent a.extiw:active {
+ color: #36b;
+ background: none;
+ padding: 0;
+}
+#bodyContent a.external {
+ color: #36b;
+}
+/* this can be used in the content area to switch off
+special external link styling */
+#bodyContent .plainlinks a {
+ background: none !important;
+ padding: 0 !important;
+}
+/*
+** Structural Elements
+*/
+
+/*
+** general portlet styles (elements in the quickbar)
+*/
+.portlet {
+ border: none;
+ margin: 0 0 .5em;
+ padding: 0;
+ float: none;
+ width: 11.6em;
+ overflow: hidden;
+}
+.portlet h4 {
+ font-size: 95%;
+ font-weight: normal;
+ white-space: nowrap;
+}
+.portlet h5 {
+ background: transparent;
+ padding: 0 1em 0 .5em;
+ display: inline;
+ height: 1em;
+ text-transform: lowercase;
+ font-size: 91%;
+ font-weight: normal;
+ white-space: nowrap;
+}
+.portlet h6 {
+ background: #ffae2e;
+ border: 1px solid #2f6fab;
+ border-style: solid solid none solid;
+ padding: 0 1em 0 1em;
+ text-transform: lowercase;
+ display: block;
+ font-size: 1em;
+ height: 1.2em;
+ font-weight: normal;
+ white-space: nowrap;
+}
+.pBody {
+ font-size: 95%;
+ background-color: white;
+ color: black;
+ border-collapse: collapse;
+ border: 1px solid #aaa;
+ padding: 0 .8em .3em .5em;
+}
+.portlet h1,
+.portlet h2,
+.portlet h3,
+.portlet h4 {
+ margin: 0;
+ padding: 0;
+}
+.portlet ul {
+ line-height: 1.5em;
+ list-style-type: square;
+ list-style-image: url(bullet.gif);
+ font-size: 95%;
+}
+.portlet li {
+ padding: 0;
+ margin: 0;
+}
+
+/*
+** Logo properties
+*/
+
+ at media handheld {
+ #p-logo { display: none }
+}
+
+/*
+** the navigation portlet
+*/
+
+#p-navigation .pBody {
+ padding-right: 0;
+}
+
+#p-navigation li.active a, #p-navigation li.active a:hover {
+ text-decoration: none;
+ font-weight: bold;
+}
+
+
+/*
+** Search portlet
+*/
+input.searchButton {
+ margin-top: 1px;
+ font-size: 95%;
+}
+#searchGoButton {
+ padding-left: .5em;
+ padding-right: .5em;
+ font-weight: bold;
+}
+#searchInput {
+ width: 10.9em;
+ margin: 0;
+ font-size: 95%;
+}
+#p-search .pBody {
+ padding: .5em .4em .4em .4em;
+ text-align: center;
+}
+
+/*
+** the personal toolbar
+*/
+#p-personal ul {
+ text-transform: lowercase;
+}
+#p-personal li.active {
+ font-weight: bold;
+}
+/*
+** the page-related actions- page/talk, edit etc
+*/
+#p-cactions .hiddenStructure {
+ display: none;
+}
+#p-cactions li a {
+ text-transform: lowercase;
+}
+
+/* TODO: #t-iscite is only used by the Cite extension, come up with some
+ * system which allows extensions to add to this file on the fly
+ */
+#t-ispermalink, #t-iscite {
+ color: #999;
+}
+/*
+** footer
+*/
+#footer {
+ background-color: white;
+ border-top: 1px solid #fabd23;
+ border-bottom: 1px solid #fabd23;
+ margin: .6em 0 1em 0;
+ padding: .4em 0 1.2em 0;
+ text-align: center;
+ font-size: 90%;
+}
+#footer li {
+ display: inline;
+ margin: 0 1.3em;
+}
+/* hide from incapable browsers */
+head:first-child+body #footer li { white-space: nowrap; }
+#f-poweredbyico, #f-copyrightico {
+ margin: 0 8px;
+ position: relative;
+ top: -2px; /* Bump it up just a tad */
+}
+#f-poweredbyico {
+ float: right;
+ height: 1%;
+}
+#f-copyrightico {
+ float: left;
+ height: 1%;
+}
+
+/* js pref toc */
+#preftoc {
+ margin: 0;
+ padding: 0;
+ width: 100%;
+ clear: both;
+}
+#preftoc li {
+ background-color: #f0f0f0;
+ color: #000;
+}
+#preftoc li.selected {
+ font-weight: bold;
+ background-color: #f9f9f9;
+ border: 1px solid #aaa;
+ border-bottom: none;
+ cursor: default;
+ top: 1px;
+ padding-top: 2px;
+ margin-right: -3px;
+}
+#preftoc > li.selected {
+ top: 2px;
+}
+#preftoc a,
+#preftoc a:active {
+ display: block;
+ color: #000;
+ padding: 0 .7em;
+ position: relative;
+ text-decoration: none;
+}
+#preftoc li.selected a {
+ cursor: default;
+ text-decoration: none;
+}
+#prefcontrol {
+ padding-top: 2em;
+ clear: both;
+}
+#preferences {
+ margin: 0;
+ border: 1px solid #aaa;
+ clear: both;
+ padding: 1.5em;
+ background-color: #F9F9F9;
+}
+.prefsection {
+ border: none;
+ padding: 0;
+ margin: 0;
+}
+.prefsection fieldset {
+ border: 1px solid #aaa;
+ float: left;
+ margin-right: 2em;
+}
+.prefsection legend {
+ font-weight: bold;
+}
+.prefsection table, .prefsection legend {
+ background-color: #F9F9F9;
+}
+div.prefsectiontip {
+ font-size: 95%;
+ margin-top: 0;
+ background-color: #FFC1C1;
+ padding: .2em .7em;
+ clear: both;
+}
+.btnSavePrefs {
+ font-weight: bold;
+ padding-left: .3em;
+ padding-right: .3em;
+}
+
+.preferences-login {
+ clear: both;
+ margin-bottom: 1.5em;
+}
+
+.prefcache {
+ font-size: 90%;
+ margin-top: 2em;
+}
+
+div#userloginForm form,
+div#userlogin form#userlogin2 {
+ margin: 0 3em 1em 0;
+ border: 1px solid #aaa;
+ clear: both;
+ padding: 1.5em 2em;
+ background-color: #f9f9f9;
+ float: left;
+}
+
+div#userloginForm table,
+div#userlogin form#userlogin2 table {
+ background-color: #f9f9f9;
+}
+
+div#userloginForm h2,
+div#userlogin form#userlogin2 h2 {
+ padding-top: 0;
+}
+
+div#userlogin .captcha {
+ border: 1px solid #bbb;
+ padding: 1.5em 2em;
+ width: 400px;
+ background-color: white;
+}
+
+
+#userloginprompt, #languagelinks {
+ font-size: 85%;
+}
+
+#login-sectiontip {
+ font-size: 85%;
+ line-height: 1.2;
+ padding-top: 2em;
+}
+
+#userlogin .loginText, #userlogin .loginPassword {
+ width: 12em;
+}
+
+#userloginlink a, #wpLoginattempt, #wpCreateaccount {
+ font-weight: bold;
+}
+
+/* more IE fixes */
+/* float/negative margin brokenness */
+* html #footer {margin-top: 0;}
+* html #column-content {
+ display: inline;
+ margin-bottom: 0;
+}
+* html div.editsection { font-size: smaller; }
+#pagehistory li.selected { position: relative; }
+
+/* Mac IE 5.0 fix; floated content turns invisible */
+* > html #column-content {
+ float: none;
+}
+* > html #column-one {
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+* > html #footer {
+ margin-left: 13.2em;
+}
+.redirectText {
+ font-size: 150%;
+ margin: 5px;
+}
+
+.printfooter {
+ display: none;
+}
+
+.not-patrolled {
+ background-color: #ffa;
+}
+div.patrollink {
+ font-size: 75%;
+ text-align: right;
+}
+span.newpage, span.minor, span.searchmatch, span.bot {
+ font-weight: bold;
+}
+span.unpatrolled {
+ font-weight: bold;
+ color: red;
+}
+
+span.searchmatch {
+ color: red;
+}
+.sharedUploadNotice {
+ font-style: italic;
+}
+
+span.updatedmarker {
+ color: black;
+ background-color: #0f0;
+}
+span.newpageletter {
+ font-weight: bold;
+ color: black;
+ background-color: yellow;
+}
+span.minoreditletter {
+ color: black;
+ background-color: #c5ffe6;
+}
+
+table.gallery {
+ border: 1px solid #ccc;
+ margin: 2px;
+ padding: 2px;
+ background-color: white;
+}
+
+table.gallery tr {
+ vertical-align: top;
+}
+
+table.gallery td {
+ vertical-align: top;
+ background-color: #f9f9f9;
+ border: solid 2px white;
+}
+
+table.gallery td.galleryheader {
+ text-align: center;
+ font-weight: bold;
+}
+
+div.gallerybox {
+ margin: 2px;
+ width: 150px;
+}
+
+div.gallerybox div.thumb {
+ text-align: center;
+ border: 1px solid #ccc;
+ margin: 2px;
+}
+
+div.gallerytext {
+ font-size: 94%;
+ padding: 2px 4px;
+}
+
+span.comment {
+ font-style: italic;
+}
+
+span.changedby {
+ font-size: 95%;
+}
+
+.previewnote {
+ text-indent: 3em;
+ color: #c00;
+ border-bottom: 1px solid #aaa;
+ padding-bottom: 1em;
+ margin-bottom: 1em;
+}
+
+.previewnote p {
+ margin: 0;
+ padding: 0;
+}
+
+.editExternally {
+ border: 1px solid gray;
+ background-color: #ffffff;
+ padding: 3px;
+ margin-top: 0.5em;
+ float: left;
+ font-size: small;
+ text-align: center;
+}
+.editExternallyHelp {
+ font-style: italic;
+ color: gray;
+}
+
+li span.deleted, span.history-deleted {
+ text-decoration: line-through;
+ color: #888;
+ font-style: italic;
+}
+
+.toggle {
+ margin-left: 2em;
+ text-indent: -2em;
+}
+
+/* Classes for EXIF data display */
+table.mw_metadata {
+ font-size: 0.8em;
+ margin-left: 0.5em;
+ margin-bottom: 0.5em;
+ width: 300px;
+}
+
+table.mw_metadata caption {
+ font-weight: bold;
+}
+
+table.mw_metadata th {
+ font-weight: normal;
+}
+
+table.mw_metadata td {
+ padding: 0.1em;
+}
+
+table.mw_metadata {
+ border: none;
+ border-collapse: collapse;
+}
+
+table.mw_metadata td, table.mw_metadata th {
+ text-align: center;
+ border: 1px solid #aaaaaa;
+ padding-left: 0.1em;
+ padding-right: 0.1em;
+}
+
+table.mw_metadata th {
+ background-color: #f9f9f9;
+}
+
+table.mw_metadata td {
+ background-color: #fcfcfc;
+}
+
+table.collapsed tr.collapsable {
+ display: none;
+}
+
+
+/* filetoc */
+ul#filetoc {
+ text-align: center;
+ border: 1px solid #aaaaaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ font-size: 95%;
+ margin-bottom: 0.5em;
+ margin-left: 0;
+ margin-right: 0;
+}
+
+#filetoc li {
+ display: inline;
+ list-style-type: none;
+ padding-right: 2em;
+}
+
+input#wpSummary {
+ width: 80%;
+}
+
+/* @bug 1714 */
+input#wpSave, input#wpDiff {
+ margin-right: 0.33em;
+}
+
+#editform .editOptions {
+ display: inline;
+}
+
+#wpSave {
+ font-weight: bold;
+}
+
+/* Classes for article validation */
+
+table.revisionform_default {
+ border: 1px solid #000000;
+}
+
+table.revisionform_focus {
+ border: 1px solid #000000;
+ background-color:#00BBFF;
+}
+
+tr.revision_tr_default {
+ background-color:#EEEEEE;
+}
+
+tr.revision_tr_first {
+ background-color:#DDDDDD;
+}
+
+p.revision_saved {
+ color: green;
+ font-weight:bold;
+}
+
+#mw_trackbacks {
+ border: solid 1px #bbbbff;
+ background-color: #eeeeff;
+ padding: 0.2em;
+}
+
+
+/* Allmessages table */
+
+#allmessagestable th {
+ background-color: #b2b2ff;
+}
+
+#allmessagestable tr.orig {
+ background-color: #ffe2e2;
+}
+
+#allmessagestable tr.new {
+ background-color: #e2ffe2;
+}
+
+#allmessagestable tr.def {
+ background-color: #f0f0ff;
+}
+
+
+/* noarticletext */
+div.noarticletext {
+ border: 1px solid #ccc;
+ background: #fff;
+ padding: .2em 1em;
+ color: #000;
+}
+
+div#searchTargetContainer {
+ left: 10px;
+ top: 10px;
+ width: 90%;
+ background: white;
+}
+
+div#searchTarget {
+ padding: 3px;
+ margin: 5px;
+ background: #F0F0F0;
+ border: solid 1px blue;
+}
+
+div#searchTarget ul li {
+ list-style: none;
+}
+
+div#searchTarget ul li:before {
+ color: orange;
+ content: "\00BB \0020";
+}
+
+div.multipageimagenavbox {
+ border: solid 1px silver;
+ padding: 4px;
+ margin: 1em;
+ -moz-border-radius: 6px;
+ background: #f0f0f0;
+}
+
+div.multipageimagenavbox div.thumb {
+ border: none;
+ margin-left: 2em;
+ margin-right: 2em;
+}
+
+div.multipageimagenavbox hr {
+ margin: 6px;
+}
+
+table.multipageimage td {
+ text-align: center;
+}
+
+/** Special:Version */
+
+table#sv-ext, table#sv-hooks {
+ margin: 1em;
+ padding:0em;
+}
+
+#sv-ext td, #sv-hooks td,
+#sv-ext th, #sv-hooks th {
+ border: 1px solid #A0A0A0;
+ padding: 0 0.15em 0 0.15em;
+}
+#sv-ext th, #sv-hooks th {
+ background-color: #F0F0F0;
+ color: black;
+ padding: 0 0.15em 0 0.15em;
+}
+tr.sv-space{
+ height: 0.8em;
+ border:none;
+}
+tr.sv-space td { display: none; }
+
+/*
+ Table pager (e.g. Special:Imagelist)
+ - remove underlines from the navigation link
+ - collapse borders
+ - set the borders to outsets (similar to Special:Allmessages)
+ - remove line wrapping for all td and th, set background color
+ - restore line wrapping for the last two table cells (description and size)
+*/
+.TablePager_nav a { text-decoration: none; }
+.TablePager { border-collapse: collapse; }
+.TablePager, .TablePager td, .TablePager th {
+ border: 0.15em solid #777777;
+ padding: 0 0.15em 0 0.15em;
+}
+.TablePager th { background-color: #eeeeff }
+.TablePager td { background-color: #ffffff }
+.TablePager tr:hover td { background-color: #eeeeff }
+
+.imagelist td, .imagelist th { white-space: nowrap }
+.imagelist .TablePager_col_links { background-color: #eeeeff }
+.imagelist .TablePager_col_img_description { white-space: normal }
+.imagelist th.TablePager_sort { background-color: #ccccff }
+
+.templatesUsed { margin-top: 1.5em; }
+
+.mw-summary-preview {
+ margin: 0.1em 0;
+}
+#toolbar { clear: both; }
+
+.mw-plusminus-null { color: #aaa; }
+
+ at media handheld {
+ .nonessential {
+ /* Kill big bulky stuff that will clog up the screen */
+ display: none;
+ }
+}
\ No newline at end of file
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/headbg.jpg
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/headbg.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/link_icon.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/link_icon.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/lock_icon.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/lock_icon.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/magnify-clip.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/magnify-clip.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/mail_icon.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/mail_icon.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/main.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/main.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/main.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,1737 @@
+/*
+** MediaWiki 'monobook' style sheet for CSS2-capable browsers.
+** Copyright Gabriel Wicke - http://wikidev.net/
+** License: GPL (http://www.gnu.org/copyleft/gpl.html)
+**
+** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John
+** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher,
+** Michael Zeltner and Geir Bækholt)
+** All you guys rock :)
+*/
+
+/**
+ * Stylesheet for screen/projection. All rules not marked media-specific are
+ * shared with handheld.css and should be updated in tandem. The rules can't
+ * be in the same file because old browsers like IE5 won't obey @media rules.
+ *
+ * Rules that are screen/projection-specific are marked with commented-out
+ * @media rules and indentation.
+ */
+
+/* @media screen, projection { */
+ #column-content {
+ width: 100%;
+ float: right;
+ margin: 0 0 .6em -12.2em;
+ padding: 0;
+ }
+ #content {
+ border-top: 1px solid #E1E1E1;
+ margin: 1.0em 0 0 14.2em;
+ padding: 0.63em 2em 1.5em 2em;
+ position: relative;
+ z-index: 2;
+ font-size: 1.1em;
+ }
+ #column-one {
+ padding-top: 5.60em;
+ }
+/* } */
+#content {
+ background: white;
+ color: #333;
+ /* border: 1px solid #aaa; */
+ border-right: none;
+ line-height: 1.3em;
+}
+/* the left column width is specified in class .portlet */
+
+/* Font size:
+** We take advantage of keyword scaling- browsers won't go below 9px
+** More at http://www.w3.org/2003/07/30-font-size
+** http://style.cleverchimp.com/font_size_intervals/altintervals.html
+*/
+
+body {
+ /*font: x-small sans-serif;*/
+ font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Tahoma, Arial, Helvetica, sans-serif;
+ font-size: x-small;
+
+/* background: #f1f1f1;*/
+ background: #FFF;
+ /* url(headbg.jpg) 0 0 no-repeat;*/
+ color: black;
+ margin: 0;
+ padding: 0;
+ padding: 0px 20px;
+}
+
+/* scale back up to a sane default */
+#globalWrapper {
+ font-size: 127%;
+ width: 100%;
+ margin: 0;
+ padding: 0;
+}
+.visualClear {
+ clear: both;
+}
+
+/* general styles */
+
+table {
+ font-size: 100%;
+ color: black;
+ /* we don't want the bottom borders of <h2>s to be visible through
+ floated tables */
+ background-color: white;
+}
+a {
+ text-decoration: none;
+ color: #FF5A08;
+ background: none;
+}
+a:visited {
+ color: #ff6600;
+}
+a:active {
+ color: #faa700;
+}
+a:hover {
+ text-decoration: underline;
+}
+a.stub {
+ color: #772233;
+}
+a.new, #p-personal a.new {
+ color: #FF3300;
+}
+a.new:visited, #p-personal a.new:visited {
+ color: #a55858;
+}
+
+img {
+ border: none;
+ vertical-align: middle;
+}
+/* @media screen, projection { */
+ p {
+ margin: .4em 0 .5em 0;
+ line-height: 1.5em;
+ }
+/* } */
+p img {
+ margin: 0;
+}
+
+hr {
+ height: 1px;
+ color: #aaa;
+ background-color: #aaa;
+ border: 0;
+ margin: .2em 0 .2em 0;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ color: black;
+ background: none;
+ font-weight: bold;
+ margin: 0;
+ padding-top: .5em;
+ padding-bottom: .17em;
+ border-bottom: 1px solid #ddd;
+}
+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;
+ margin-left: 5px;
+}
+
+ul {
+ line-height: 1.5em;
+ list-style-type: square;
+ margin: .3em 0 0 1.5em;
+ padding: 0;
+ list-style-image: url(navigation_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: .1em;
+}
+dl {
+ margin-top: .2em;
+ margin-bottom: .5em;
+}
+dd {
+ line-height: 1.5em;
+ margin-left: 2em;
+ margin-bottom: .1em;
+}
+
+fieldset {
+ border: 1px solid #2f6fab;
+ margin: 1em 0 1em 0;
+ padding: 0 1em 1em;
+ line-height: 1.5em;
+}
+legend {
+ padding: .5em;
+ font-size: 95%;
+}
+form {
+ border: none;
+ margin: 0;
+}
+
+textarea {
+ width: 100%;
+ padding: .1em;
+}
+
+input.historysubmit {
+ padding: 0 .3em .3em .3em !important;
+ font-size: 94%;
+ cursor: pointer;
+ height: 1.7em !important;
+ margin-left: 1.6em;
+}
+select {
+ vertical-align: top;
+}
+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;
+}*/
+code {
+ background-color: #f9f9f9;
+}
+pre {
+ padding: 1em;
+ border: 1px dashed #2f6fab;
+ color: black;
+ background-color: #f9f9f9;
+ line-height: 1.1em;
+}
+
+/*
+** the main content area
+*/
+
+/* @media screen, projection { */
+ #siteSub {
+ display: none;
+ }
+ #jump-to-nav {
+ display: none;
+ }
+/* } */
+
+#contentSub, #contentSub2 {
+ font-size: 84%;
+ line-height: 1.4em;
+ margin: 0 0 1.4em 1em;
+ color: #7d7d7d;
+ width: auto;
+}
+span.subpages {
+ display: block;
+}
+
+/* Some space under the headers in the content area */
+#bodyContent h1, #bodyContent h2 {
+ margin-bottom: .6em;
+}
+#bodyContent h3, #bodyContent h4, #bodyContent h5 {
+ margin-bottom: .3em;
+}
+.firstHeading {
+ margin-bottom: .1em;
+}
+
+/* user notification thing */
+.usermessage {
+ background-color: #ffce7b;
+ border: 1px solid #ffa500;
+ color: black;
+ font-weight: bold;
+ margin: 2em 0 1em;
+ padding: .5em 1em;
+ vertical-align: middle;
+}
+#siteNotice {
+ text-align: center;
+ font-size: 95%;
+ padding: 0 .9em;
+}
+#siteNotice p {
+ margin: 0;
+ padding: 0;
+}
+.error {
+ color: red;
+ font-size: larger;
+}
+.errorbox, .successbox {
+ font-size: larger;
+ border: 2px solid;
+ padding: .5em 1em;
+ float: left;
+ margin-bottom: 2em;
+ color: #000;
+}
+.errorbox {
+ border-color: red;
+ background-color: #fff2f2;
+}
+.successbox {
+ border-color: green;
+ background-color: #dfd;
+}
+.errorbox h2, .successbox h2 {
+ font-size: 1em;
+ font-weight: bold;
+ display: inline;
+ margin: 0 .5em 0 0;
+ border: none;
+}
+
+#catlinks {
+ border: 1px solid #aaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ margin-top: 1em;
+ clear: both;
+}
+/* currently unused, intended to be used by a metadata box
+in the bottom-right corner of the content area */
+.documentDescription {
+ /* The summary text describing the document */
+ font-weight: bold;
+ display: block;
+ margin: 1em 0;
+ line-height: 1.5em;
+}
+.documentByLine {
+ text-align: right;
+ font-size: 90%;
+ clear: both;
+ font-weight: normal;
+ color: #76797c;
+}
+
+/* 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%;
+}
+
+/*
+** content styles
+*/
+
+#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%;
+}
+
+.mw-warning {
+ margin-left: 50px;
+ margin-right: 50px;
+ text-align: center;
+}
+
+/* images */
+div.floatright, table.floatright {
+ clear: right;
+ float: right;
+ position: relative;
+ margin: 0 0 .5em .5em;
+ border: 0;
+/*
+ border: .5em solid white;
+ border-width: .5em 0 .8em 1.4em;
+*/
+}
+div.floatright p { font-style: italic; }
+div.floatleft, table.floatleft {
+ float: left;
+ clear: left;
+ position: relative;
+ margin: 0 .5em .5em 0;
+ border: 0;
+/*
+ margin: .3em .5em .5em 0;
+ border: .5em solid white;
+ border-width: .5em 1.4em .8em 0;
+*/
+}
+div.floatleft p { font-style: italic; }
+/* thumbnails */
+div.thumb {
+ margin-bottom: .5em;
+ border-style: solid;
+ border-color: white;
+ width: auto;
+}
+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;
+}
+div.tright {
+ clear: right;
+ float: right;
+ border-width: .5em 0 .8em 1.4em;
+}
+div.tleft {
+ float: left;
+ clear: left;
+ margin-right: .5em;
+ border-width: .5em 1.4em .8em 0;
+}
+
+.hiddenStructure {
+ display: none;
+ speak: none;
+}
+img.tex {
+ vertical-align: middle;
+}
+span.texhtml {
+ font-family: serif;
+}
+
+/*
+** classes for special content elements like town boxes
+** intended to be referenced directly from the wiki src
+*/
+
+/*
+** User styles
+*/
+/* table standards */
+table.rimage {
+ float: right;
+ position: relative;
+ margin-left: 1em;
+ margin-bottom: 1em;
+ text-align: center;
+}
+.toccolours {
+ border: 1px solid #aaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ font-size: 95%;
+}
+div.townBox {
+ position: relative;
+ float: right;
+ background: white;
+ margin-left: 1em;
+ border: 1px solid gray;
+ padding: .3em;
+ width: 200px;
+ overflow: hidden;
+ clear: right;
+}
+div.townBox dl {
+ padding: 0;
+ margin: 0 0 .3em;
+ font-size: 96%;
+}
+div.townBox dl dt {
+ background: none;
+ margin: .4em 0 0;
+}
+div.townBox dl dd {
+ margin: .1em 0 0 1.1em;
+ background-color: #f3f3f3;
+}
+
+/*
+** edit views etc
+*/
+.special li {
+ line-height: 1.4em;
+ margin: 0;
+ padding: 0;
+}
+
+/* Page history styling */
+/* the auto-generated edit comments */
+.autocomment {
+ color: gray;
+}
+#pagehistory span.user {
+ margin-left: 1.4em;
+ margin-right: .4em;
+}
+#pagehistory span.minor {
+ font-weight: bold;
+}
+#pagehistory li {
+ border: 1px solid white;
+}
+#pagehistory li.selected {
+ background-color: #f9f9f9;
+ border: 1px dashed #aaa;
+}
+
+/*
+** Diff rendering
+*/
+table.diff, td.diff-otitle, td.diff-ntitle {
+ background-color: white;
+}
+td.diff-addedline {
+ background: #cfc;
+ font-size: smaller;
+}
+td.diff-deletedline {
+ background: #ffa;
+ font-size: smaller;
+}
+td.diff-context {
+ background: #eee;
+ font-size: smaller;
+}
+span.diffchange {
+ color: red;
+ font-weight: bold;
+}
+
+/*
+** keep the whitespace in front of the ^=, hides rule from konqueror
+** this is css3, the validator doesn't like it when validating as css2
+*/
+#bodyContent a.external,
+#bodyContent a[href ^="gopher://"] {
+ background: url(external.png) center right no-repeat;
+ padding-right: 13px;
+}
+#bodyContent a[href ^="https://"],
+.link-https {
+ background: url(lock_icon.gif) center right no-repeat;
+ padding-right: 16px;
+}
+#bodyContent a[href ^="mailto:"],
+.link-mailto {
+ background: url(mail_icon.gif) center right no-repeat;
+ padding-right: 18px;
+}
+#bodyContent a[href ^="news://"] {
+ background: url(news_icon.png) center right no-repeat;
+ padding-right: 18px;
+}
+#bodyContent a[href ^="ftp://"],
+.link-ftp {
+ background: url(file_icon.gif) center right no-repeat;
+ padding-right: 18px;
+}
+#bodyContent a[href ^="irc://"],
+.link-irc {
+ background: url(discussionitem_icon.gif) center right no-repeat;
+ padding-right: 18px;
+}
+#bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
+#bodyContent a.external[href $=".mid"], #bodyContent a.external[href $=".MID"],
+#bodyContent a.external[href $=".midi"], #bodyContent a.external[href $=".MIDI"],
+#bodyContent a.external[href $=".mp3"], #bodyContent a.external[href $=".MP3"],
+#bodyContent a.external[href $=".wav"], #bodyContent a.external[href $=".WAV"],
+#bodyContent a.external[href $=".wma"], #bodyContent a.external[href $=".WMA"],
+.link-audio {
+ background: url("audio.png") center right no-repeat;
+ padding-right: 13px;
+}
+#bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
+#bodyContent a.external[href $=".avi"], #bodyContent a.external[href $=".AVI"],
+#bodyContent a.external[href $=".mpeg"], #bodyContent a.external[href $=".MPEG"],
+#bodyContent a.external[href $=".mpg"], #bodyContent a.external[href $=".MPG"],
+.link-video {
+ background: url("video.png") center right no-repeat;
+ padding-right: 13px;
+}
+#bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
+#bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
+#bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
+.link-document {
+ background: url("document.png") center right no-repeat;
+ padding-right: 12px;
+}
+
+/* disable interwiki styling */
+#bodyContent a.extiw,
+#bodyContent a.extiw:active {
+ color: #36b;
+ background: none;
+ padding: 0;
+}
+#bodyContent a.external {
+ color: #FF5A08;
+}
+/* this can be used in the content area to switch off
+special external link styling */
+#bodyContent .plainlinks a {
+ background: none !important;
+ padding: 0 !important;
+}
+/*
+** Structural Elements
+*/
+
+/*
+** general portlet styles (elements in the quickbar)
+*/
+.portlet {
+ border: none;
+ margin: 0 0 1.1em;
+ padding: 0;
+ float: none;
+ width: 12.6em;
+ overflow: hidden;
+}
+.portlet h4 {
+ font-size: 95%;
+ font-weight: normal;
+ white-space: nowrap;
+}
+.portlet h5 {
+ background: white;
+ display: block;
+ padding: 0.2em 1em 0.4em .5em;
+ height: 1em;
+ text-transform: lowercase;
+ font-size: 1.1em;
+ font-weight: bold;
+ white-space: nowrap;
+ width: 12.6em;
+ margin-bottom: 0px;
+}
+.portlet h6 {
+ background: #ffae2e;
+ border: 1px solid #2f6fab;
+ border-style: solid solid none solid;
+ padding: 0 1em 0 1em;
+ text-transform: lowercase;
+ display: block;
+ font-size: 1em;
+ height: 1.2em;
+ font-weight: normal;
+ white-space: nowrap;
+}
+.pBody {
+ font-size: 95%;
+ background-color: white;
+ color: black;
+ border-collapse: collapse;
+ /* border: 1px solid #aaa; */
+ padding: 0.0em .8em 0.7em .5em;
+}
+.portlet h1,
+.portlet h2,
+.portlet h3,
+.portlet h4 {
+ margin: 0;
+ padding: 0;
+}
+.portlet ul {
+ line-height: 1.5em;
+ list-style-type: square;
+ list-style-image: url(navigation_bullet.gif);
+ font-size: 95%;
+ margin-top: 0px;
+ padding-top: 3px;
+}
+.portlet li {
+ padding: 0;
+ margin: 0;
+}
+
+/*
+** Logo properties
+*/
+
+/* @media screen, projection { */
+ #p-logo {
+ top: 26px;
+ left: 18px;
+ position: absolute; /*needed to use z-index */
+ z-index: 3;
+ height: 40px;
+ width: 12em;
+ overflow: visible;
+ display: none;
+ }
+ #p-logo h5 {
+ display: none;
+ }
+ #p-logo a,
+ #p-logo a:hover {
+ display: block;
+ height: 40px;
+ width: 12.2em;
+ background-repeat: no-repeat;
+ background-position: 35% 50% !important;
+ text-decoration: none;
+ }
+/* } */
+/*
+** the navigation portlet
+*/
+
+/* @media screen, projection { */
+ #p-navigation {
+ position: relative;
+ z-index: 3;
+ margin-top: -5em;
+ }
+ #p-navigation a {
+ display: block;
+ }
+ #p-navigation li.active a, #p-navigation li.active a:hover {
+ display: inline;
+ }
+/* } */
+
+#p-navigation .pBody {
+ padding-right: 0;
+}
+
+#p-navigation li.active a, #p-navigation li.active a:hover {
+ text-decoration: none;
+ font-weight: bold;
+}
+
+
+/*
+** Search portlet
+*/
+/* @media screen, projection { */
+ #p-search {
+ position: relative;
+ z-index: 3;
+ }
+/* } */
+input.searchButton {
+ margin-top: 1px;
+ font-size: 95%;
+}
+#searchGoButton {
+ padding-left: .5em;
+ padding-right: .5em;
+ font-weight: bold;
+}
+#searchInput {
+ width: 10.9em;
+ margin: 0;
+ font-size: 95%;
+}
+#p-search .pBody {
+ padding: .5em .4em .4em .4em;
+ text-align: center;
+}
+
+/*
+** the personal toolbar
+*/
+/* @media screen, projection { */
+ #p-personal {
+ position: absolute;
+ left: 0;
+ top: 5px;
+ z-index: 0;
+ }
+ #p-personal {
+ width: 100%;
+ white-space: nowrap;
+ padding: 0;
+ margin: 0;
+ border: none;
+ background: none;
+ overflow: visible;
+ line-height: 1.2em;
+ }
+ #p-personal h5 {
+ display: none;
+ }
+ #p-personal .portlet,
+ #p-personal .pBody {
+ z-index: 0;
+ padding: 0;
+ margin: 0;
+ border: none;
+ overflow: visible;
+ background: none;
+ }
+/* this is the ul contained in the portlet */
+ #p-personal ul {
+ border: none;
+ line-height: 1.4em;
+ color: #333;
+ padding: 0 2em 0 3em;
+ margin: 0;
+ text-align: right;
+ list-style: none;
+ z-index: 0;
+ background: none;
+ cursor: default;
+ }
+ #p-personal li {
+ z-index: 0;
+ border: none;
+ padding: 0;
+ display: inline;
+ color: #2f6fab;
+ margin-left: 1em;
+ line-height: 1.2em;
+ background: none;
+ }
+ #p-personal li a {
+ text-decoration: none;
+ color: #333;
+ padding-bottom: .2em;
+ background: none;
+ }
+ #p-personal li a:hover {
+ background-color: white;
+ padding-bottom: .2em;
+ text-decoration: none;
+ }
+ #p-personal li.active a:hover {
+ background-color: transparent;
+ }
+ /* the icon in front of the user name, single quotes
+ in bg url to hide it from iemac */
+ li#pt-userpage,
+ li#pt-anonuserpage,
+ li#pt-login {
+ background: url(user.gif) top left no-repeat;
+ padding-left: 20px;
+ text-transform: none;
+ }
+/* } */
+#p-personal ul {
+ text-transform: lowercase;
+}
+#p-personal li.active {
+ font-weight: bold;
+}
+/*
+** the page-related actions- page/talk, edit etc
+*/
+/* @media screen, projection { */
+ #p-cactions {
+ position: absolute;
+ top: 6.2em;
+ left: 15.5em;
+ margin: 0;
+ white-space: nowrap;
+ width: 76%;
+ line-height: 1.1em;
+ overflow: visible;
+ background: none;
+ border-collapse: collapse;
+ padding-left: 1em;
+ list-style: none;
+ font-size: 1.0em;
+ }
+ #p-cactions ul {
+ list-style: none;
+ }
+ #p-cactions li {
+ border: none;
+ display: inline;
+ /*border: 1px solid #aaa;*/
+ border-bottom: none;
+ padding: 0 0 .0em 0;
+ margin: 0 .0em 0 0;
+ overflow: visible;
+ }
+ #p-cactions li.selected {
+ /*border-color: #fabd23;*/
+/* padding: 0 0 .2em 0;*/
+ font-weight: bold;
+ background: white;
+ }
+ #p-cactions li a {
+ background-color: #f1f1f1;
+ color: #333;
+ border: none;
+ padding: .2em 0.98em .4em;
+ position: relative;
+ top: 1px;
+ z-index: 0;
+ margin: 0;
+ text-decoration: none;
+ }
+ #p-cactions li.selected a {
+ top: 0px;
+ z-index: 3;
+/* padding: 0 1em .2em!important;*/
+ background-color: #ddd !important;
+ color: #333;
+ }
+ #p-cactions .new a {
+ color: #FF3300;
+ }
+ #p-cactions li a:hover {
+ z-index: 3;
+ text-decoration: none;
+ background-color: #ddd;
+ }
+ #p-cactions h5 {
+ display: none;
+ }
+ #p-cactions li.istalk {
+ margin-right: 0;
+ }
+ #p-cactions li.istalk a {
+ padding-right: .5em;
+ }
+ #p-cactions #ca-addsection a {
+ padding-left: .4em;
+ padding-right: .4em;
+ }
+ /* offsets to distinguish the tab groups */
+ li#ca-talk {
+ margin-right: 1.6em;
+ }
+ li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print {
+ margin-left: 1.6em;
+ }
+ #p-cactions .pBody {
+ font-size: 1em;
+ background-color: transparent;
+ color: inherit;
+ border-collapse: inherit;
+ border: 0;
+ padding: 0;
+ }
+/* } */
+#p-cactions .hiddenStructure {
+ display: none;
+}
+#p-cactions li a {
+ text-transform: lowercase;
+}
+
+/*
+** the remaining portlets
+*/
+/* @media screen, projection { */
+ #p-tbx,
+ #p-lang {
+ position: relative;
+ z-index: 3;
+ }
+/* } */
+
+/* TODO: #t-iscite is only used by the Cite extension, come up with some
+ * system which allows extensions to add to this file on the fly
+ */
+#t-ispermalink, #t-iscite {
+ color: #999;
+}
+/*
+** footer
+*/
+#footer {
+/* background-color: #fafafa;*/
+/* border-top: 1px solid #fabd23;
+ border-bottom: 1px solid #fabd23;*/
+ background: #fafafa;
+ border-top: 1px solid #DDDDDD;
+ margin: .6em 0 1em 0;
+ padding: 4.6em 1em 4.6em;
+ text-align: center;
+ font-size: 90%;
+}
+#footer li {
+ display: inline;
+ margin: 0 1.3em;
+}
+/* hide from incapable browsers */
+head:first-child+body #footer li { white-space: nowrap; }
+#f-poweredbyico, #f-copyrightico {
+ margin: 0 8px;
+ position: relative;
+ top: -2px; /* Bump it up just a tad */
+}
+#f-poweredbyico {
+ float: right;
+ height: 1%;
+}
+#f-copyrightico {
+ float: left;
+ height: 1%;
+}
+
+/* js pref toc */
+#preftoc {
+ margin: 0;
+ padding: 0;
+ width: 100%;
+ clear: both;
+}
+#preftoc li {
+ background-color: #f0f0f0;
+ color: #000;
+}
+/* @media screen, projection { */
+ #preftoc li {
+ margin: 1px -2px 1px 2px;
+ float: left;
+ padding: 2px 0 3px 0;
+ border: 1px solid #fff;
+ border-right-color: #716f64;
+ border-bottom: 0;
+ position: relative;
+ white-space: nowrap;
+ list-style-type: none;
+ list-style-image: none;
+ z-index: 3;
+ }
+/* } */
+#preftoc li.selected {
+ font-weight: bold;
+ background-color: #f9f9f9;
+ border: 1px solid #aaa;
+ border-bottom: none;
+ cursor: default;
+ top: 1px;
+ padding-top: 2px;
+ margin-right: -3px;
+}
+#preftoc > li.selected {
+ top: 2px;
+}
+#preftoc a,
+#preftoc a:active {
+ display: block;
+ color: #000;
+ padding: 0 .7em;
+ position: relative;
+ text-decoration: none;
+}
+#preftoc li.selected a {
+ cursor: default;
+ text-decoration: none;
+}
+#prefcontrol {
+ padding-top: 2em;
+ clear: both;
+}
+#preferences {
+ margin: 0;
+ border: 1px solid #aaa;
+ clear: both;
+ padding: 1.5em;
+ background-color: #F9F9F9;
+}
+.prefsection {
+ border: none;
+ padding: 0;
+ margin: 0;
+}
+.prefsection fieldset {
+ border: 1px solid #aaa;
+ float: left;
+ margin-right: 2em;
+}
+.prefsection legend {
+ font-weight: bold;
+}
+.prefsection table, .prefsection legend {
+ background-color: #F9F9F9;
+}
+/* @media screen, projection { */
+ .mainLegend {
+ display: none;
+ }
+/* } */
+div.prefsectiontip {
+ font-size: 95%;
+ margin-top: 0;
+ background-color: #FFC1C1;
+ padding: .2em .7em;
+ clear: both;
+}
+.btnSavePrefs {
+ font-weight: bold;
+ padding-left: .3em;
+ padding-right: .3em;
+}
+
+.preferences-login {
+ clear: both;
+ margin-bottom: 1.5em;
+}
+
+.prefcache {
+ font-size: 90%;
+ margin-top: 2em;
+}
+
+div#userloginForm form,
+div#userlogin form#userlogin2 {
+ margin: 0 3em 1em 0;
+ border: 1px solid #aaa;
+ clear: both;
+ padding: 1.5em 2em;
+ background-color: #f9f9f9;
+ float: left;
+}
+
+div#userloginForm table,
+div#userlogin form#userlogin2 table {
+ background-color: #f9f9f9;
+}
+
+div#userloginForm h2,
+div#userlogin form#userlogin2 h2 {
+ padding-top: 0;
+}
+
+div#userlogin .captcha {
+ border: 1px solid #bbb;
+ padding: 1.5em 2em;
+ width: 400px;
+ background-color: white;
+}
+
+
+#userloginprompt, #languagelinks {
+ font-size: 85%;
+}
+
+#login-sectiontip {
+ font-size: 85%;
+ line-height: 1.2;
+ padding-top: 2em;
+}
+
+#userlogin .loginText, #userlogin .loginPassword {
+ width: 12em;
+}
+
+#userloginlink a, #wpLoginattempt, #wpCreateaccount {
+ font-weight: bold;
+}
+
+/* @media screen, projection { */
+ /*
+ ** IE/Mac fixes, hope to find a validating way to move this
+ ** to a separate stylesheet. This would work but doesn't validate:
+ ** @import("IEMacFixes.css");
+ */
+ /* tabs: border on the a, not the div */
+ * > html #p-cactions li { border: none; }
+ * > html #p-cactions li a {
+ border: 1px solid #aaa;
+ border-bottom: none;
+ }
+ * > html #p-cactions li.selected a { border-color: #fabd23; }
+ /* footer icons need a fixed width */
+ * > html #f-poweredbyico,
+ * > html #f-copyrightico { width: 88px; }
+ * > html #bodyContent,
+ * > html #bodyContent pre {
+ overflow-x: auto;
+ width: 100%;
+ padding-bottom: 25px;
+ }
+/* } */
+
+/* more IE fixes */
+/* float/negative margin brokenness */
+* html #footer {margin-top: 0;}
+* html #column-content {
+ display: inline;
+ margin-bottom: 0;
+}
+* html div.editsection { font-size: smaller; }
+#pagehistory li.selected { position: relative; }
+
+/* Mac IE 5.0 fix; floated content turns invisible */
+* > html #column-content {
+ float: none;
+}
+* > html #column-one {
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+* > html #footer {
+ margin-left: 13.2em;
+}
+.redirectText {
+ font-size: 150%;
+ margin: 5px;
+}
+
+.printfooter {
+ display: none;
+}
+
+.not-patrolled {
+ background-color: #ffa;
+}
+div.patrollink {
+ font-size: 75%;
+ text-align: right;
+}
+span.newpage, span.minor, span.searchmatch, span.bot {
+ font-weight: bold;
+}
+span.unpatrolled {
+ font-weight: bold;
+ color: red;
+}
+
+span.searchmatch {
+ color: red;
+}
+.sharedUploadNotice {
+ font-style: italic;
+}
+
+span.updatedmarker {
+ color: black;
+ background-color: #0f0;
+}
+span.newpageletter {
+ font-weight: bold;
+ color: black;
+ background-color: yellow;
+}
+span.minoreditletter {
+ color: black;
+ background-color: #c5ffe6;
+}
+
+table.gallery {
+ border: 1px solid #ccc;
+ margin: 2px;
+ padding: 2px;
+ background-color: white;
+}
+
+table.gallery tr {
+ vertical-align: top;
+}
+
+table.gallery td {
+ vertical-align: top;
+ background-color: #f9f9f9;
+ border: solid 2px white;
+}
+
+table.gallery td.galleryheader {
+ text-align: center;
+ font-weight: bold;
+}
+
+div.gallerybox {
+ margin: 2px;
+ width: 150px;
+}
+
+div.gallerybox div.thumb {
+ text-align: center;
+ border: 1px solid #ccc;
+ margin: 2px;
+}
+
+div.gallerytext {
+ font-size: 94%;
+ padding: 2px 4px;
+}
+
+span.comment {
+ font-style: italic;
+}
+
+span.changedby {
+ font-size: 95%;
+}
+
+.previewnote {
+ text-indent: 3em;
+ color: #c00;
+ border-bottom: 1px solid #aaa;
+ padding-bottom: 1em;
+ margin-bottom: 1em;
+}
+
+.previewnote p {
+ margin: 0;
+ padding: 0;
+}
+
+.editExternally {
+ border: 1px solid gray;
+ background-color: #ffffff;
+ padding: 3px;
+ margin-top: 0.5em;
+ float: left;
+ font-size: small;
+ text-align: center;
+}
+.editExternallyHelp {
+ font-style: italic;
+ color: gray;
+}
+
+li span.deleted, span.history-deleted {
+ text-decoration: line-through;
+ color: #888;
+ font-style: italic;
+}
+
+.toggle {
+ margin-left: 2em;
+ text-indent: -2em;
+}
+
+/* Classes for EXIF data display */
+table.mw_metadata {
+ font-size: 0.8em;
+ margin-left: 0.5em;
+ margin-bottom: 0.5em;
+ width: 300px;
+}
+
+table.mw_metadata caption {
+ font-weight: bold;
+}
+
+table.mw_metadata th {
+ font-weight: normal;
+}
+
+table.mw_metadata td {
+ padding: 0.1em;
+}
+
+table.mw_metadata {
+ border: none;
+ border-collapse: collapse;
+}
+
+table.mw_metadata td, table.mw_metadata th {
+ text-align: center;
+ border: 1px solid #aaaaaa;
+ padding-left: 0.1em;
+ padding-right: 0.1em;
+}
+
+table.mw_metadata th {
+ background-color: #f9f9f9;
+}
+
+table.mw_metadata td {
+ background-color: #fcfcfc;
+}
+
+table.collapsed tr.collapsable {
+ display: none;
+}
+
+
+/* filetoc */
+ul#filetoc {
+ text-align: center;
+ border: 1px solid #aaaaaa;
+ background-color: #f9f9f9;
+ padding: 5px;
+ font-size: 95%;
+ margin-bottom: 0.5em;
+ margin-left: 0;
+ margin-right: 0;
+}
+
+#filetoc li {
+ display: inline;
+ list-style-type: none;
+ padding-right: 2em;
+}
+
+input#wpSummary {
+ width: 80%;
+}
+
+/* @bug 1714 */
+input#wpSave, input#wpDiff {
+ margin-right: 0.33em;
+}
+
+#editform .editOptions {
+ display: inline;
+}
+
+#wpSave {
+ font-weight: bold;
+}
+
+/* Classes for article validation */
+
+table.revisionform_default {
+ border: 1px solid #000000;
+}
+
+table.revisionform_focus {
+ border: 1px solid #000000;
+ background-color:#00BBFF;
+}
+
+tr.revision_tr_default {
+ background-color:#EEEEEE;
+}
+
+tr.revision_tr_first {
+ background-color:#DDDDDD;
+}
+
+p.revision_saved {
+ color: green;
+ font-weight:bold;
+}
+
+#mw_trackbacks {
+ border: solid 1px #bbbbff;
+ background-color: #eeeeff;
+ padding: 0.2em;
+}
+
+
+/* Allmessages table */
+
+#allmessagestable th {
+ background-color: #b2b2ff;
+}
+
+#allmessagestable tr.orig {
+ background-color: #ffe2e2;
+}
+
+#allmessagestable tr.new {
+ background-color: #e2ffe2;
+}
+
+#allmessagestable tr.def {
+ background-color: #f0f0ff;
+}
+
+
+/* noarticletext */
+div.noarticletext {
+ border: 1px solid #ccc;
+ background: #fff;
+ padding: .2em 1em;
+ color: #000;
+}
+
+div#searchTargetContainer {
+ left: 10px;
+ top: 10px;
+ width: 90%;
+ background: white;
+}
+
+div#searchTarget {
+ padding: 3px;
+ margin: 5px;
+ background: #F0F0F0;
+ border: solid 1px blue;
+}
+
+div#searchTarget ul li {
+ list-style: none;
+}
+
+div#searchTarget ul li:before {
+ color: orange;
+ content: "\00BB \0020";
+}
+
+div.multipageimagenavbox {
+ border: solid 1px silver;
+ padding: 4px;
+ margin: 1em;
+ -moz-border-radius: 6px;
+ background: #f0f0f0;
+}
+
+div.multipageimagenavbox div.thumb {
+ border: none;
+ margin-left: 2em;
+ margin-right: 2em;
+}
+
+div.multipageimagenavbox hr {
+ margin: 6px;
+}
+
+table.multipageimage td {
+ text-align: center;
+}
+
+/** Special:Version */
+
+table#sv-ext, table#sv-hooks {
+ margin: 1em;
+ padding:0em;
+}
+
+#sv-ext td, #sv-hooks td,
+#sv-ext th, #sv-hooks th {
+ border: 1px solid #A0A0A0;
+ padding: 0 0.15em 0 0.15em;
+}
+#sv-ext th, #sv-hooks th {
+ background-color: #F0F0F0;
+ color: black;
+ padding: 0 0.15em 0 0.15em;
+}
+tr.sv-space{
+ height: 0.8em;
+ border:none;
+}
+tr.sv-space td { display: none; }
+
+/*
+ Table pager (e.g. Special:Imagelist)
+ - remove underlines from the navigation link
+ - collapse borders
+ - set the borders to outsets (similar to Special:Allmessages)
+ - remove line wrapping for all td and th, set background color
+ - restore line wrapping for the last two table cells (description and size)
+*/
+.TablePager_nav a { text-decoration: none; }
+.TablePager { border-collapse: collapse; }
+.TablePager, .TablePager td, .TablePager th {
+ border: 0.15em solid #777777;
+ padding: 0 0.15em 0 0.15em;
+}
+.TablePager th { background-color: #eeeeff }
+.TablePager td { background-color: #ffffff }
+.TablePager tr:hover td { background-color: #eeeeff }
+
+.imagelist td, .imagelist th { white-space: nowrap }
+.imagelist .TablePager_col_links { background-color: #eeeeff }
+.imagelist .TablePager_col_img_description { white-space: normal }
+.imagelist th.TablePager_sort { background-color: #ccccff }
+
+.templatesUsed { margin-top: 1.5em; }
+
+.mw-summary-preview {
+ margin: 0.1em 0;
+}
+#toolbar { clear: both; }
+
+.mw-plusminus-null { color: #aaa; }
+
+#common_header {
+ height: 7em;
+ position: relative;
+}
+
+#site_logo {
+ position: absolute;
+ top: 29px;
+ left: 10px;
+ background:#FFFFFF;
+}
+
+#main_navigation {
+ float: right;
+ position: absolute;
+ top: 38px;
+ right: 5px;
+}
+
+#main_navigation ul {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+}
+
+#main_navigation ul li {
+ display: inline;
+ margin: 0;
+ padding: 0;
+ background: none;
+}
+
+
+
+#main_navigation a {
+ float: left;
+ display: block;
+ height: 11px;
+ background-position: 50% 0%;
+ background-repeat:no-repeat;
+}
+
+#main_navigation a:hover {
+ background-position: 50% 100%;
+}
+
+#main_navigation a span{
+ display: none;
+}
+
+#main_navigation .selected {
+ background-position: 50% 100%;
+}
+
+
+.nav_home {
+ background-image:url(./navigation/home.png);
+ width: 58px;
+}
+
+.nav_wiki {
+ background-image:url(./navigation/wiki.png);
+ width: 50px;
+}
+
+.nav_docs {
+ background-image:url(./navigation/docs.png);
+ width: 50px;
+}
+
+.nav_bugzilla {
+ background-image:url(./navigation/bugzilla.png);
+ width: 79px;
+}
+
+.nav_planet {
+ background-image:url(./navigation/planet.png);
+ width: 68px;
+}
+
+.nav_projects {
+ background-image:url(./navigation/projects.png);
+ width: 81px;
+}
+
+.nav_lists {
+ background-image:url(./navigation/lists.png);
+ width: 53px;
+}
+
+#p-tb,
+#p-search,
+#p-navigation {
+ font-size: 1.1em;
+}
+
+a.new {
+ color: #ff0000 !important;
+ font-weight: bold;
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/bugzilla.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/bugzilla.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/docs.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/docs.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/home.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/home.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/lists.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/lists.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/planet.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/planet.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/projects.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/projects.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/wiki.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation/wiki.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation_bullet.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/navigation_bullet.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/news_icon.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/news_icon.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/poweredby_mediawiki_88x31.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/poweredby_mediawiki_88x31.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/required.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/required.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/rtl.css
===================================================================
--- trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/rtl.css 2007-11-12 07:59:06 UTC (rev 152)
+++ trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/rtl.css 2007-11-22 23:39:31 UTC (rev 153)
@@ -0,0 +1,216 @@
+/*
+Right-to-left fixes for MonoBook.
+Places sidebar on right, tweaks various alignment issues.
+
+Works mostly ok nicely on Safari 1.2.1; fine in Mozilla.
+
+Safari bugs (1.2.1):
+* Tabs are still appearing in left-to-right order. (Try after localizing)
+
+Opera bugs (7.23 linux):
+* Some bits of ltr text (sidebar box titles) have forward and backward versions overlapping each other
+
+IE/mac bugs:
+* The thing barfs on Hebrew and Arabic anyway, so no point testing.
+
+Missing features due to lack of support:
+* external link icons
+
+To test:
+* Opera6
+* IE 5.0
+* etc
+
+*/
+body {
+ direction: rtl;
+/* unicode-bidi: bidi-override;*/
+ unicode-bidi: embed;
+}
+#column-content {
+ margin: 0 -12.2em 0 0;
+ float: left;
+}
+#column-content #content{
+ margin-left: 0;
+ margin-right: 12.2em;
+ border-right: 1px solid #aaaaaa;
+ border-left: none;
+}
+html>body .portlet {
+ float: right;
+ clear: right;
+}
+.editsection {
+ float: left;
+ margin-right: 5px;
+}
+/* recover IEMac (might be fine with the float, but usually it's close to IE */
+*>body .portlet {
+ float: none;
+ clear: none;
+}
+.pBody {
+ padding-right: 0.8em;
+ padding-left: 0.5em;
+}
+
+/* Fix alignment */
+.documentByLine,
+.portletDetails,
+.portletMore,
+#p-personal {
+ text-align: left;
+}
+
+div div.thumbcaption {
+ text-align: right;
+}
+
+div.magnify,
+#div.townBox,
+#p-logo {
+ left: auto;
+ right: 0;
+}
+#p-personal {
+ left: auto;
+ right: 0;
+}
+
+#p-cactions {
+ left: auto;
+ right: 11.5em;
+ padding-left: 0;
+ padding-right: 1em;
+}
+#p-cactions li {
+ margin-left: 0.3em;
+ margin-right: 0;
+ float: right;
+}
+* html #p-cactions li a {
+ display: block;
+ padding-bottom: 0;
+}
+* html #p-cactions li a:hover {
+ padding-bottom: 0.2em;
+}
+/* offsets to distinguish the tab groups */
+li#ca-talk {
+ margin-right: auto;
+ margin-left: 1.6em;
+}
+li#ca-watch,li#ca-unwatch {
+ margin-right: 1.6em !important;
+}
+
+/* Fix margins for non-css2 browsers */
+/* top right bottom left */
+
+ul {
+ margin-left: 0;
+ margin-right: 1.5em;
+}
+ol {
+ margin-left: 0;
+ margin-right: 2.4em;
+}
+dd {
+ margin-left: 0;
+ margin-right: 1.6em;
+}
+#contentSub {
+ margin-right: 1em;
+ margin-left: 0;
+}
+.tocindent {
+ margin-left: 0;
+ margin-right: 2em;
+}
+div.tright, div.floatright, table.floatright {
+ clear: none;
+}
+div.tleft, div.floatleft, table.floatleft {
+ clear: left;
+}
+div.townBox {
+ margin-left: 0;
+ margin-right: 1em;
+}
+div.townBox dl dd {
+ margin-left: 0;
+ margin-right: 1.1em;
+}
+#p-personal li {
+ margin-left: 0;
+ margin-right: 1em;
+}
+
+li#ca-talk,
+li#ca-watch {
+ margin-right: auto;
+ margin-left: 1.6em;
+}
+
+#p-personal li {
+ float: left;
+}
+/* Fix link icons */
+.external {
+ padding: 0 !important;
+ background: none !important;
+}
+#footer {
+ clear: both;
+}
+* html #footer {
+ margin-left: 0;
+ margin-right: 13.6em;
+ border-left: 0;
+ border-right: 1px solid #fabd23;
+}
+* html #column-content {
+ float: none;
+ margin-left: 0;
+ margin-right: 0;
+}
+* html #column-content #content {
+ margin-left: 0;
+ margin-top: 3em;
+}
+* html #column-one { right: 0; }
+
+/* js pref toc */
+
+#preftoc {
+ margin-right: 1em;
+}
+
+.errorbox, .successbox, #preftoc li, .prefsection fieldset {
+ float: right;
+}
+
+.prefsection {
+ padding-right: 2em;
+}
+
+/* workaround for moz bug, displayed bullets on left side */
+
+#toc ul {
+ text-align: right;
+}
+
+#toc ul ul {
+ margin: 0 2em 0 0;
+}
+
+input#wpSave, input#wpDiff {
+ margin-right: 0;
+ margin-left: .33em;
+}
+
+#userlogin {
+ float: right;
+ margin: 0 0 1em 3em;
+}
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/user.gif
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/user.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/video.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/video.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki-indexed.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki-indexed.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki_logo.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki_logo.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki_logo_docs.png
===================================================================
(Binary files differ)
Property changes on: trunk/docs.openmoko.org/space_www_wiki_skins/openmoko/wiki_logo_docs.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the webdesign-commitlog
mailing list