diff options
author | Oliver Burger <obgr_seneca@mageia.org> | 2011-10-25 20:59:51 +0000 |
---|---|---|
committer | Oliver Burger <obgr_seneca@mageia.org> | 2011-10-25 20:59:51 +0000 |
commit | 0ff582a4f48af9395009f0a4c611a51310454286 (patch) | |
tree | 0bd9e300d0c98b95296d319b1bf02a2669a20ae0 | |
parent | 246b38834224f9575f7b22cf84428ff615cb5acd (diff) | |
download | mediawiki-0ff582a4f48af9395009f0a4c611a51310454286.tar mediawiki-0ff582a4f48af9395009f0a4c611a51310454286.tar.gz mediawiki-0ff582a4f48af9395009f0a4c611a51310454286.tar.bz2 mediawiki-0ff582a4f48af9395009f0a4c611a51310454286.tar.xz mediawiki-0ff582a4f48af9395009f0a4c611a51310454286.zip |
import of original cavendish theme
40 files changed, 3397 insertions, 0 deletions
diff --git a/skins/cavendish.deps.php b/skins/cavendish.deps.php new file mode 100644 index 0000000..7a8c288 --- /dev/null +++ b/skins/cavendish.deps.php @@ -0,0 +1,11 @@ +<?php +// This file exists to ensure that base classes are preloaded before +// MonoBook.php is compiled, working around a bug in the APC opcode +// cache on PHP 5, where cached code can break if the include order +// changed on a subsequent page view. +// see http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html + +if ( ! defined( 'MEDIAWIKI' ) ) + die( 1 ); + +require_once( dirname( dirname( __FILE__ ) ) . '/includes/SkinTemplate.php'); diff --git a/skins/cavendish.php b/skins/cavendish.php new file mode 100644 index 0000000..c6498bb --- /dev/null +++ b/skins/cavendish.php @@ -0,0 +1,419 @@ +<?php +/** + * Cavendish-MW - Branch of the Mozilla Cavendish MediaWiki theme which has + * many improvements. + * + * Loosely based on the Cavendish style by Gabriel Wicke. + * + * Modified 2011/04/19, Serrano Pereira <serrano.pereira@gmail.com> + * + * This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 + * Unported License. To view a copy of this license, visit + * http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative + * Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. + * + */ + +if( !defined( 'MEDIAWIKI' ) ) + die( -1 ); + +/** + * Inherit main code from SkinTemplate, set the CSS and template filter. + * @todo document + * @ingroup Skins + */ +class Skincavendish extends SkinTemplate { + function initPage( OutputPage $out ) { + parent::initPage( $out ); + $this->skinname = 'cavendish'; + $this->stylename = 'cavendish'; + $this->template = 'cavendishTemplate'; + + } + + function setupSkinUserCss( OutputPage $out ) { + global $wgHandheldStyle; + + parent::setupSkinUserCss( $out ); + + // Append to the default screen common & print styles... + $out->addStyle( 'cavendish/main.css', 'screen' ); + if( $wgHandheldStyle ) { + // Currently in testing... try 'chick/main.css' + $out->addStyle( $wgHandheldStyle, 'handheld' ); + } + + /* + $out->addStyle( 'cavendish/IE50Fixes.css', 'screen', 'lt IE 5.5000' ); + $out->addStyle( 'cavendish/IE55Fixes.css', 'screen', 'IE 5.5000' ); + $out->addStyle( 'cavendish/IE60Fixes.css', 'screen', 'IE 6' ); + $out->addStyle( 'cavendish/IE70Fixes.css', 'screen', 'IE 7' ); + + $out->addStyle( 'cavendish/rtl.css', 'screen', '', 'rtl' ); + */ + } +} + +/** + * @todo document + * @ingroup Skins + */ +class cavendishTemplate extends QuickTemplate { + var $skin; + var $show_sitename = 1; // Show sitename next to the header logo? 1=true, 0=false. + + /** + * Template filter callback for Cavendish 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() { + global $wgRequest, $wgSitename; + $this->skin = $skin = $this->data['skin']; + $action = $wgRequest->getText( 'action' ); + + // retrieve site name + $this->set('sitename', $wgSitename); + + // 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="<?php $this->text('xhtmldefaultnamespace') ?>" <?php + foreach($this->data['xhtmlnamespaces'] as $tag => $ns) { + ?>xmlns:<?php echo "{$tag}=\"{$ns}\" "; + } ?>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> + <?php $this->html('csslinks') ?> + + <!--[if lt IE 7]><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath') ?>/common/IEFixes.js?<?php echo $GLOBALS['wgStyleVersion'] ?>"></script> + <meta http-equiv="imagetoolbar" content="no" /><![endif]--> + + <?php print Skin::makeGlobalVariablesScript( $this->data ); ?> + + <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js?<?php echo $GLOBALS['wgStyleVersion'] ?>"><!-- wikibits js --></script> + <!-- Head Scripts --> +<?php $this->html('headscripts') ?> +<?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> + +<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="mediawiki <?php $this->text('dir') ?> <?php $this->text('pageclass') ?> <?php $this->text('skinnameclass') ?>"> + +<div id="internal"></div> <!-- cavendish-mod --> +<div id="container"> <!-- cavendish-mod / default: globalWrapper --> + + <!-- <div id="mozilla-org"><a href="/wiki/Skin:Cavendish">Mozilla Skin</a></div> --> + <?php if($this->data['sitenotice']) { ?><div id="siteNotice"><?php $this->html('sitenotice') ?></div><?php } ?> + + <div id="header" class="noprint"> + <a name="top" id="contentTop"></a> + <h1><a style="background: transparent url(<?php $this->text('logopath') ?>) no-repeat scroll 5px -5px;);" href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"<?php echo $skin->tooltipAndAccesskey('p-logo') ?>><?php if ($this->show_sitename) { $this->text('sitename'); } else { print " "; } ?></a></h1> + + <ul> <!-- Start of content action buttons --> + <?php foreach($this->data['content_actions'] as $key => $tab) { + echo ' + <li id="' . Sanitizer::escapeId( "ca-$key" ) . '"'; + if( $tab['class'] ) { + echo ' class="'.htmlspecialchars($tab['class']).'"'; + } + echo'><a href="'.htmlspecialchars($tab['href']).'"'; + # We don't want to give the watch tab an accesskey if the + # page is being edited, because that conflicts with the + # accesskey on the watch checkbox. We also don't want to + # give the edit tab an accesskey, because that's fairly su- + # perfluous and conflicts with an accesskey (Ctrl-E) often + # used for editing in Safari. + if( in_array( $action, array( 'edit', 'submit' ) ) + && in_array( $key, array( 'edit', 'watch', 'unwatch' ))) { + echo $skin->tooltip( "ca-$key" ); + } else { + echo $skin->tooltipAndAccesskey( "ca-$key" ); + } + echo '>'.htmlspecialchars($tab['text']).'</a></li>'; + } ?> + </ul> + + <form action="<?php $this->text('searchaction') ?>" id="searchform"> + <div> + <label for="searchInput"><?php $this->msg('search') ?></label> + <input id="searchInput" name="search" type="text" <?php echo $this->skin->tooltipAndAccesskey('search'); if( isset( $this->data['search'] ) ) { ?> value="<?php $this->text('search') ?>"<?php } ?> /> + <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('searcharticle') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-go' ); ?> /> + <input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg('searchbutton') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?> /> + </div> + </form> + + </div> <!-- End header div --> + + <div id="mBody"> + + <!-- Dunno if this is important...? Who cares about IE5 anyways? C'mon, we got Firefox! + + <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script> --> + + <!-- NAVIGATION --> + <div id="side" class="noprint"> <!-- cavendish-mod / monobook: column-one --> + <ul id="nav"> + <?php + // Display Personal Tools block. + $this->personalTools(); + + // Display other Navigation blocks. + $sidebar = $this->data['sidebar']; + + if ( !isset( $sidebar['SEARCH'] ) ) $sidebar['SEARCH'] = true; + if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true; + if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true; + + foreach ($sidebar as $boxName => $cont) { + if ( $boxName == 'SEARCH' ) { + // The searchbox is disabled, because we already have one in the header. + // Uncomment the line below to enable it again. + //$this->searchBox(); + } + elseif ( $boxName == 'TOOLBOX' ) { + $this->toolbox(); + } + elseif ( $boxName == 'LANGUAGES' ) { + $this->languageBox(); + } + else { + $this->customBox( $boxName, $cont ); + } + } + ?> + </ul> + </div><!-- end of SIDE div --> + + <!-- MAIN CONTENT --> + <div id="mainContent"> <!-- cavendish-mod / monobook: column-content --> + <!-- <a name="top" id="top"></a> --> + <!-- sitenotice was here --> + <h1><?php $this->data['displaytitle']!=""?$this->html('title'):$this->text('title') ?></h1> + <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']) { $this->html('catlinks'); } ?> + <!-- end content --> + <?php if($this->data['dataAfterContent']) { $this->html ('dataAfterContent'); } ?> + <div class="visualClear"></div> + </div> <!-- End mainContent div --> + + </div> <!-- End mBody div --> + + <div class="visualClear"></div> + + <!-- FOOTER --> + <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 } ?> + + <?php + // Generate additional footer links + $footerlinks = array( + //'lastmod', 'viewcount', + 'numberofwatchingusers', 'credits', 'copyright', + 'privacy', 'about', 'disclaimer', 'tagline', + ); + ?> + + <ul> + <?php + foreach( array('lastmod', 'viewcount') as $aLink ) { + if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) { ?> + <li id="<?php echo $aLink ?>"><?php $this->html($aLink) ?></li> + <?php } } ?> + </ul> + + <?php + $validFooterLinks = array(); + foreach( $footerlinks as $aLink ) { + if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) { + $validFooterLinks[] = $aLink; + } + } + + if ( count( $validFooterLinks ) > 0 ) { ?> + <ul id="f-list"> + <?php foreach( $validFooterLinks as $aLink ) { + if( isset( $this->data[$aLink] ) && $this->data[$aLink] ) { ?> + <li id="<?php echo $aLink ?>"><?php $this->html($aLink) ?></li> + <?php } } ?> + <li class="noprint"><a href="https://sourceforge.net/p/cavendishmw/home/">Cavendish Skin</a></li> + </ul> + <?php } ?> + </div> <!-- End of footer div --> + +</div> <!-- End of container div --> + +<?php $this->html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?> +<?php $this->html('reporttime') ?> +<?php if ( $this->data['debug'] ): ?> +<!-- Debug output: +<?php $this->text( 'debug' ); ?> + +--> +<?php endif; ?> +</body></html> +<?php +wfRestoreWarnings(); +} // end of execute() method + +/*************************************************************************************************/ +function personalTools() { +?> + <li><span><?php $this->msg('personaltools') ?></span> + <ul> + <?php foreach($this->data['personal_urls'] as $key => $item) { ?> + <li id="pt-<?php echo htmlspecialchars($key) ?>"><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> + </li> +<?php +} +function searchBox() { + global $wgUseTwoButtonsSearchForm; +?> +<li><span><label for="searchInput"><?php $this->msg('search') ?></label></span> + <ul> + <form action="<?php $this->text('wgScript') ?>" id="searchform"> + <input type='hidden' name="title" value="<?php $this->text('searchtitle') ?>"/> + <input id="searchInput" name="search" type="text"<?php echo $this->skin->tooltipAndAccesskey('search'); + if( isset( $this->data['search'] ) ) { ?> value="<?php $this->text('search') ?>"<?php } ?> /> + <div> + <input type='submit' name="go" class="searchButton" id="searchGoButton" value="<?php $this->msg('searcharticle') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-go' ); ?> /> + <?php if ($wgUseTwoButtonsSearchForm) { ?> + <input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="<?php $this->msg('searchbutton') ?>"<?php echo $this->skin->tooltipAndAccesskey( 'search-fulltext' ); ?> /> + <?php } else { ?> + <a href="<?php $this->text('searchaction') ?>" rel="search"><?php $this->msg('powersearch-legend') ?></a> + <?php } ?> + </div> + </form> + </ul> +</li> +<?php + } + + /*************************************************************************************************/ + function toolbox() { +?> +<li><span><?php $this->msg('toolbox') ?></span> + <ul> + <?php if($this->data['notspecialpage']) { ?> + <li id="t-whatlinkshere"><a href="<?php echo htmlspecialchars($this->data['nav_urls']['whatlinkshere']['href']) ?>"<?php echo $this->skin->tooltipAndAccesskey('t-whatlinkshere') ?>><?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 echo $this->skin->tooltipAndAccesskey('t-recentchangeslinked') ?>><?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 echo $this->skin->tooltipAndAccesskey('t-trackbacklink') ?>><?php $this->msg('trackbacklink') ?></a></li> + <?php + } + + if($this->data['feeds']) { ?> + <li id="feedlinks"><?php foreach($this->data['feeds'] as $key => $feed) { ?><a id="<?php echo Sanitizer::escapeId( "feed-$key" ) ?>" href="<?php echo htmlspecialchars($feed['href']) ?>" rel="alternate" type="application/<?php echo $key ?>+xml" class="feedlink"<?php echo $this->skin->tooltipAndAccesskey('feed-'.$key) ?>><?php echo htmlspecialchars($feed['text'])?></a> <?php } ?></li> + <?php + } + + foreach( array('contributions', 'log', '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 echo $this->skin->tooltipAndAccesskey('t-'.$special) ?>><?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']) ?>" rel="alternate"<?php echo $this->skin->tooltipAndAccesskey('t-print') ?>><?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 echo $this->skin->tooltipAndAccesskey('t-permalink') ?>><?php $this->msg('permalink') ?></a></li> + <?php } elseif ($this->data['nav_urls']['permalink']['href'] === '') { ?> + <li id="t-ispermalink"<?php echo $this->skin->tooltip('t-ispermalink') ?>><?php $this->msg('permalink') ?></li> + <?php + } + + /* This line seems unimportant for this skin + wfRunHooks( 'MonoBookTemplateToolboxEnd', array( &$this ) ); + */ + + // This line triggers that certain extensions can add extra links to the toolbox. + wfRunHooks( 'SkinTemplateToolboxEnd', array( &$this ) ); + ?> + </ul> +</li> +<?php + } + + /*************************************************************************************************/ + function languageBox() { + if( $this->data['language_urls'] ) { +?> +<li><span><?php $this->msg('otherlanguages') ?></span> + <ul> + <?php foreach($this->data['language_urls'] as $langlink) { ?> + <li class="<?php echo htmlspecialchars($langlink['class'])?>"><a href="<?php echo htmlspecialchars($langlink['href']) ?>"><?php echo $langlink['text'] ?></a></li> + <?php } ?> + </ul> +</li> +<?php + } + } + + /*************************************************************************************************/ + function customBox( $bar, $cont ) { +?> +<li><span><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo $out; ?></span> + <?php if ( is_array( $cont ) ) { ?> + <ul> + <?php foreach($cont as $key => $val) { ?> + <li id="<?php echo Sanitizer::escapeId($val['id']) ?>"<?php if ( $val['active'] ) { ?> class="active" <?php } ?>><a href="<?php echo htmlspecialchars($val['href']) ?>"<?php echo $this->skin->tooltipAndAccesskey($val['id']) ?>><?php echo htmlspecialchars($val['text']) ?></a></li> + <?php } ?> + </ul> + <?php } else { + # allow raw HTML block to be defined by extensions + print $cont; + } +?> +</li> +<?php +} + +} // end of class + + diff --git a/skins/cavendish/COPYING b/skins/cavendish/COPYING new file mode 100644 index 0000000..893ac95 --- /dev/null +++ b/skins/cavendish/COPYING @@ -0,0 +1,4 @@ +This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 +Unported License. To view a copy of this license, visit +http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative +Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. diff --git a/skins/cavendish/README b/skins/cavendish/README new file mode 100644 index 0000000..af7e93c --- /dev/null +++ b/skins/cavendish/README @@ -0,0 +1,21 @@ +README file for Cavendish-MW +============================ + + +Installation Instructions +========================= + +To install the Cavendish skin, extract the files from the archive to the +"skins" folder of your MediaWiki installation. + +In your MediaWiki Preferences page, click on the Appearance tab, select the +skin you would like to use for your account and click Save. + +If you want to set the default skin to Cavendish, open LocalSettings.php +and add/modify the $wgDefaultSkin. The name should be in lowercase, + +$wgDefaultSkin = 'cavendish'; + +The default is, + +$wgDefaultSkin = 'monobook'; diff --git a/skins/cavendish/audio.png b/skins/cavendish/audio.png Binary files differnew file mode 100644 index 0000000..1c56bdc --- /dev/null +++ b/skins/cavendish/audio.png diff --git a/skins/cavendish/basetemplate.css b/skins/cavendish/basetemplate.css new file mode 100644 index 0000000..85bccb9 --- /dev/null +++ b/skins/cavendish/basetemplate.css @@ -0,0 +1,109 @@ +/* mozilla.org Base Template Styles
+ * Initial Design by Dave Shea
+ * Severely tweaked by David Baron
+ * Reorganized by fantasai
+ * Large Changes for new Cavendish default by Daniel Burka and Steven Garrity
+ */
+
+/* Basic Structure */
+ body {
+ min-width: 610px;
+ margin: 20px;
+ }
+
+ #container {
+ max-width: 100%; /* default: 70em; */
+ margin: 0 auto;
+ }
+
+ #mBody {
+ clear: both;
+ padding: 0 0 1em 0;
+ }
+
+ #side {
+ float: left;
+ width: 20%; /* default: 23% */
+ margin-bottom: 1em;
+ }
+
+ #mainContent {
+ float: right;
+ width: 78%; /* default: 75% */
+ margin-bottom: 1em;
+ }
+ .nomenu #mainContent {
+ float: none;
+ width: 100%;
+ }
+ .bodyleft {
+ float: right !important;
+ width: 75% !important;
+ }
+ #mainContent.right {
+ float: left;
+ width: 62%;
+ }
+
+ #side.right {
+ float: right;
+ width: 35%;
+ }
+
+/* Header */
+
+ #header { + margin-bottom: 1em; + } +
+ #header ul {
+ margin: 0 0 1em 0;
+ padding: 0; + line-height: 1.5em;
+ }
+
+ #header li {
+ display: inline;
+ padding: 0 20px 0 0;
+ margin: 0;
+ white-space: nowrap;
+ }
+
+/* Sidebar */
+
+ #getcd {
+ margin: 1em 0 0 45px;
+ }
+
+/* Footer */
+
+ #footer {
+ clear: both;
+ margin-top: 1em;
+ }
+
+ #footer ul {
+ margin: 0 0 0.5em 0;
+ padding: 0;
+ }
+
+ #footer li {
+ display: inline;
+ padding: 0 20px 0 0;
+ margin: 0;
+ white-space: nowrap;
+ }
+
+ #footer p {
+ margin: 0.6em 0;
+ }
+
+/*accessibility tweaks*/
+ .skipLink {
+ position: absolute;
+ left: -999px;
+ width: 990px;
+ }
+ hr.hide {
+ display: none;
+ }
diff --git a/skins/cavendish/body_back.gif b/skins/cavendish/body_back.gif Binary files differnew file mode 100644 index 0000000..72a0d3e --- /dev/null +++ b/skins/cavendish/body_back.gif diff --git a/skins/cavendish/bullet.gif b/skins/cavendish/bullet.gif Binary files differnew file mode 100644 index 0000000..b43de48 --- /dev/null +++ b/skins/cavendish/bullet.gif diff --git a/skins/cavendish/cavendish.css b/skins/cavendish/cavendish.css new file mode 100644 index 0000000..d291a5f --- /dev/null +++ b/skins/cavendish/cavendish.css @@ -0,0 +1,489 @@ +/* mozilla.org Cavendish Content Styles
+ * Design by SilverOrange
+ * Markup Reference classes organized by fantasai
+ */
+
+/* Suggested order:
+ * display
+ * list-style
+ * position
+ * float
+ * clear
+ * width
+ * height
+ * margin
+ * padding
+ * border
+ * background
+ * color
+ * font
+ * text-decoration
+ * text-align
+ * vertical-align
+ * white-space
+ * other text
+ * content
+ *
+ */
+
+/* TOC:
+ Body
+ Random HTML Styles
+ Forms
+ General Structure
+ Navigation
+ Quotations
+ Comments and Other Asides
+ Emphasis
+ Computers - General
+ Code
+ Examples and Figures
+ Q and A (FAQ)
+ Tables
+ Meta
+*/
+
+/* Body */
+
+#mainContent, #side {
+ background: #ffffff;
+ line-height: 1.3; /* value other than 'normal' needed for WinIE */
+}
+
+.deepLevel #mainContent {
+ line-height: 1.4;
+}
+
+#nav {
+ line-height: 1em;
+}
+
+#mainContent p {
+line-height: 1.8em;
+text-align: justify;
+}
+
+/* Random HTML Styles */
+
+input[type="submit"] {
+ font-weight: bold;
+}
+
+.usermessage {
+ background-color: #ffce7b;
+ border: 1px solid #ffa500;
+ border-left: 4px solid #ffa500;
+ color: black;
+ font-weight: normal;
+ margin: 2em 0 1em;
+ padding: .5em 1em;
+ vertical-align: middle;
+}
+.errorbox, .successbox {
+ font-size: small;
+ border: 1px solid;
+ padding: .3em 1em;
+ float: left;
+ margin-bottom: 2em;
+ color: #000;
+}
+.errorbox {
+ border-color: #DF421E;
+ background-color: #fff2f2;
+}
+.successbox {
+ border-color: #267726;
+ background-color: #dfd;
+}
+
+li#pt-userpage,
+li#pt-anonuserpage,
+li#pt-login {
+ background: none; /* removes the icon in front of the user name */
+}
+
+.os-suggest {
+ font-size: 100%; /* the font size for MediaWiki Suggest */
+}
+
+.errorbox, .successbox, .catlinks, .infobox, div.thumbinner, .toc,
+.fn, .navbox-title, .navbox-group, .navbox, .navbox-abovebelow,
+.noarticletext, .mbox-small, .ambox {
+ border-radius: 3px;
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+}
+
+/* Change the default colors of navigation boxes */
+
+.navbox-title, table.navbox th {
+ background: none repeat scroll 0 0 #9DB8D2 !important;
+}
+
+.navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title {
+ background: none repeat scroll 0 0 #EAE8E3 !important;
+}
+
+/* General Structure */
+body {
+ font-family: Ubuntu, "Droid Sans", Verdana, 'Bitstream Vera Sans', 'DejaVu Sans';
+ font-size: 0.75em;
+ word-spacing: 1.5px;
+ letter-spacing: 0.5px;
+ color: #000;
+}
+
+input {
+ font-family: Ubuntu, "Droid Sans", Verdana, 'Bitstream Vera Sans', 'DejaVu Sans';
+}
+
+textarea {
+ font-family: "Droid Sans Mono", monospace;
+ font-size: 1.0em;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-family: Ubuntu, "Droid Serif", Georgia, "Times New Roman", Times;
+ margin: 1em 0 0.3em 0;
+}
+
+h6 { font-size: 90%; }
+
+h1, h2 {
+ text-shadow: 1px 1px 2px #A5A5A5;
+}
+
+li h1, li h2, li h3, li h4, li h5, li h6 {
+ border: none;
+}
+
+tt, code, pre {
+ font-family: "Droid Sans Mono", monospace, sans-serif !important;
+ overflow: auto;
+ font-size: 1.0em;
+ line-height: 1.4em;
+}
+
+code {
+ color: green;
+}
+
+#header h1 { border: 0; }
+
+/* Quotations */
+
+
+/* Comments and other Asides */
+
+.note {
+ color: #666;
+ font-style: normal;
+}
+
+.remark {
+ color: #666;
+}
+
+.sidenote {
+ border: #666;
+}
+
+.key-point:before {
+ line-height: 0.1;
+ font-size: 1px;
+ background: transparent url("../../images/key-point_tr.gif") no-repeat top right;
+ margin: -15px -15px 0 -15px;
+ height: 15px;
+ display: block;
+ border: none;
+ content: url("../../images/key-point_tl.gif");
+}
+.key-point {
+ background: #e4ecec url("../../images/key-point_back.gif") right repeat-y;
+ padding: 15px;
+ margin-bottom: 1em;
+}
+.key-point:after {
+ display: block;
+ clear: both;
+ padding-top: 15px;
+ line-height: 0.1;
+ font-size: 1px;
+ content: url("../../images/key-point_bl.gif");
+ margin: -15px;
+ height: 8px;
+ background: transparent url("../../images/key-point_br.gif") scroll no-repeat bottom right ;
+}
+
+.key-point h2, .key-point h3, .key-point h4, .key-point h5 {
+ border: none;
+ margin-top: 0;
+ color: #4C5C5C;
+}
+
+.news dt {
+ font-weight: normal;
+ color: #666;
+}
+.news dt a {
+ font-weight: bold;
+}
+
+ul.compact {
+ margin-left: 0;
+ padding-left: 20px;
+}
+
+/* Emphasis */
+
+/* Computers - General */
+
+kbd {
+ margin: 0.1em;
+ padding: 0.1em;
+ border: 1px #ccc;
+}
+
+kbd.command,
+code.command {
+ color: #6B5839;
+}
+
+/* Code */
+
+pre.code {
+ background: #EEECF6;
+}
+
+code > em,
+code > strong,
+pre.code > em,
+pre.code > strong {
+ font-style: normal;
+}
+
+/* Examples and Figures */
+
+div.example {
+ border-color: #554FA0;
+}
+div.example:before {
+ color: #666;
+}
+
+/* Q and A (FAQ) */
+
+ol.faq li a {
+text-decoration: none;
+border-bottom: 1px dotted #6C98EE;
+}
+
+ol.faq li a:hover {
+border-color: #039;
+}
+
+
+/* Tables */
+
+table.data thead th {
+ background: #e4ecec;
+ empty-cells: hide;
+}
+
+table.data th,
+table.data td {
+ border: 1px solid #ccc;
+}
+
+tr.odd {
+ background: #F5F5F5;
+}
+
+/* Meta */
+
+address {
+ color: #666;
+}
+
+/* Product Specific CSS */
+
+.productlist h3 {
+ border: none;
+}
+
+.key-point h1, .key-point h3 {
+ margin: 0;
+}
+
+#product-desc h2 {
+ text-indent: -700em;
+ height: 25px;
+ line-height: 2px;
+ font-size: 2px;
+}
+
+#product-desc p {
+ padding-left: 170px;
+}
+
+#product-desc ul, #key-desc {
+ padding-left: 190px;
+ margin-bottom: 0;
+}
+
+#product-side, #key-side {
+ margin-left: 65%;
+}
+
+#product-side ul, #key-side ul {
+ margin-left: 0;
+ padding-bottom: 0;
+ padding-left: 20px;
+}
+
+#product-side li, #key-side {
+ padding-bottom: 0.2em;
+}
+
+#product-desc, #key-desc {
+ padding: 40px 0 25px 0;
+ color: #4C5C5C;
+ width: 60%;
+ float: left;
+ line-height: 140%;
+}
+
+#key-desc {
+ padding: 0;
+}
+
+#key-side {
+ color: #4C5C5C;
+}
+
+.product-firefox {
+ background: url("../../images/product-firefox-screen.png") no-repeat;
+}
+.product-thunderbird {
+ background: url("../../images/product-thunderbird-screen.png") no-repeat;
+}
+.product-camino {
+ background: url("../../images/product-camino-screen.png") no-repeat;
+}
+.product-mozilla {
+ background: url("../../images/product-mozilla-screen.png") no-repeat;
+}
+
+#product-side .download h3 {
+ color: #1D9101;
+ font-weight: bold;
+ margin: 0;
+ font-size: 140%;
+}
+
+.download h3 :link,
+.download h3 :visited,
+.download h3 :link:active, .download h3 :visited:active {
+ color: #1D9101;
+}
+
+.download h3 :link:hover, .download h3 :visited:hover {
+ color: #156B01;
+}
+
+.download li {
+ padding: 0;
+ margin: 0;
+}
+.download ul {
+ margin-top: 0;
+ margin-bottom: 0;
+ padding-bottom: 0;
+}
+.other a:link, .other a:visited { color: #666; }
+.download .other a:hover { color: #000; }
+.download:before {
+ line-height: 0.1;
+ font-size: 1px;
+ margin: -15px -15px 0 -15px;
+ height: 15px;
+ display: block;
+ border: none;
+ content: url("../../images/download_tl.gif");
+}
+.download {
+ background: #C4EFA1 url("../../images/download_back.gif") top right no-repeat;
+ padding: 15px 45px 15px 15px;
+ margin-bottom: 0.5em;
+}
+.download:after {
+ display: block;
+ padding-top: 15px;
+ line-height: 0.1;
+ font-size: 1px;
+ content: url("../../images/download_bl.gif");
+ margin: -10px -45px -15px -15px;
+ height: 8px;
+ background: transparent url("../../images/download_br.gif") scroll no-repeat bottom right ;
+}
+.configParent {
+ display: block;
+ font-size: 85%;
+}
+
+.shop:before, .shopmoz:before {
+ line-height: 0.1;
+ font-size: 1px;
+ margin: -15px -15px 0 -15px;
+ height: 15px;
+ display: block;
+ border: none;
+ content: url("../../images/shop_tl.gif");
+}
+.shop {
+ background: #C0DCDC url("../../images/shop_back.gif") top right no-repeat;
+ padding: 15px 70px 15px 15px;
+}
+.shopmoz {
+ background: #C0DCDC url("../../images/shopmoz_back.gif") top right no-repeat;
+ padding: 15px 70px 15px 15px;
+}
+.shop:after, .shopmoz:after {
+ display: block;
+ padding-top: 15px;
+ line-height: 0.1;
+ font-size: 1px;
+ content: url("../../images/shop_bl.gif");
+ margin: -10px -70px -15px -15px;
+ height: 8px;
+ background: transparent url("../../images/shop_br.gif") scroll no-repeat bottom right ;
+}
+
+/* Firefox Central styles */
+#ffcentral-desc {
+ background: url("../../products/firefox/t-welcomefirefox.gif") no-repeat;
+ width: 60%;
+ float: left;
+ line-height: 140%;
+}
+#ffcentral-desc div {
+ padding: 40px 0 0 100px;
+}
+#ffcentral h3, #ffcentral h2, #ffcentral p, #ffcentral ul {
+ margin-top: 0;
+ color: #4C5C5C;
+}
+
+/*
+** footer
+*/
+#footer {
+ background-color: white;
+ border-top: 1px solid #999999;
+ border-bottom: 0px solid #999999;
+ margin: .6em 0 1em 0;
+ padding: .4em 0 1.2em 0;
+ text-align: center;
+ font-size: 90%;
+ color: #666666;
+}
diff --git a/skins/cavendish/content.css b/skins/cavendish/content.css new file mode 100644 index 0000000..7ee235e --- /dev/null +++ b/skins/cavendish/content.css @@ -0,0 +1,548 @@ +/* mozilla.org Base Styles
+ * maintained by fantasai
+ * (classes defined in the Markup Guide - http://mozilla.org/contribute/writing/markup )
+ */
+/* Suggested order:
+ * display
+ * list-style
+ * position
+ * float
+ * clear
+ * width
+ * height
+ * margin
+ * padding
+ * border
+ * background
+ * color
+ * font
+ * text-decoration
+ * text-align
+ * vertical-align
+ * white-space
+ * other text
+ * content
+ *
+ */
+
+/* TOC:
+ Random HTML Styles
+ Forms
+ General Structure
+ Navigation
+ Quotations
+ Comments and Other Asides
+ Emphasis
+ Computers - General
+ Code
+ Examples and Figures
+ Q and A (FAQ)
+ Tables
+ Headers
+ Meta
+ Specific to Products Pages
+*/
+/* Random HTML Styles */
+
+ /*
+ dt {
+ font-weight: bold;
+ }
+
+ dd {
+ margin: 0 0 1em 1em;
+ }
+
+ li {
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+ }
+
+ sup {
+ font-size: 70%;
+ }
+
+ form {
+ margin: 0;
+ display: inline;
+ }
+
+ label {
+ font-weight: bold;
+ }
+ */
+
+
+/* General Structure */
+
+ .subtitle {
+ font-style: italic;
+ }
+
+ div.para {
+ margin: 1em 0;
+ }
+
+ div.para > ul,
+ div.para > ol,
+ div.para > blockquote {
+ margin-top: 0.2em;
+ margin-bottom: 0.2em;
+ }
+
+ div.section {
+ display: block;
+ padding-left: 0%;
+ }
+
+ div.section > h2,
+ div.section > h3,
+ div.section > h4,
+ div.section > h5,
+ div.section > h6 {
+ margin-left: -1.3%;
+ }
+
+ .block {
+ display: block;
+ margin: 0.1em 1em;
+ }
+
+ .imgright {
+ float: right;
+ margin: 0 0 2em 2em;
+ }
+
+ .first {
+ margin-top: 0; /* For IE not understanding first:child */
+ }
+
+/* Navigation */
+
+ :link img,
+ :visited img {
+ border: 0;
+ }
+ .deepLevel #mainContent :link img,
+ .deepLevel #mainContent :visited img {
+ border: medium solid;
+ }
+ .deepLevel #mainContent #buttons :link img,
+ .deepLevel #mainContent #buttons :visited img {
+ border: 0;
+ }
+
+ .ex-ref {
+ font-style: italic;
+ }
+
+ dl.toc dt {
+ margin-top: 1em;
+ font-size: 110%;
+ }
+ dl.toc p {
+ margin: 0;
+ text-indent: 1em;
+ }
+ dl.toc p:first-child {
+ text-indent: 0;
+ }
+ dl.toc > dd {
+ margin-left: 1em;
+ }
+
+ ol.toc ol {
+ list-style-type: circle;
+ }
+ ol.toc > li > ol {
+ font-size: 90%;
+ }
+
+ ul.snav {/* section navigation or short navigation, whichever you prefer */
+ margin: 0.7em 10%;
+ padding: .2em;
+ text-align: center;
+ list-style-type: none;
+ }
+ ul.snav > li {
+ margin: 0;
+ padding: 0;
+ }
+ ul.snav > li {
+ display: inline;
+ }
+ ul.snav > li:before {
+ content: " | ";
+ }
+ ul.snav > li:first-child:before {
+ content: "";
+ }
+
+ a.cont {
+ display: block;
+ margin-right: 0;
+ text-align: right;
+ }
+
+/* Quotations */
+
+ blockquote > address {
+ padding-left: 1em;
+ text-indent: -1em;
+ }
+ blockquote > address:before {
+ content: "\2015";
+ }
+
+ div.quote,
+ div.epigraph {
+ margin: 1em;
+ }
+ div.quote q,
+ div.epigraph q {
+ display: block;
+ margin: 0 .5em;
+ text-indent: -0.5em;
+ }
+ div.quote cite,
+ div.epigraph cite {
+ display: block;
+ padding: 0 1em;
+ text-align: right;
+ text-indent: -1em;
+ }
+ div.quote cite:before,
+ div.epigraph cite:before {
+ content: "\2015";
+ }
+
+ blockquote.epigraph,
+ div.epigraph q {
+ font-style: italic;
+ text-align: right;
+ }
+ blockquote.epigraph em,
+ div.epigraph q em {
+ font-style: normal;
+ }
+ blockquote.epigraph address,
+ div.epigraph cite {
+ font-style: normal;
+ }
+
+/* Comments and other Asides */
+
+ .note {
+ font-style: italic;
+ }
+ .note:before {
+ content: "Note: ";
+ }
+
+ .remark {
+ font-size: smaller;
+ }
+ .remark:before {
+ content: "[";
+ }
+ .remark:after {
+ content: "]";
+ }
+
+ .sidenote {
+ clear: both;
+ margin: 0.75em 0.5em;
+ padding: 0.2em;
+ border: 1px solid;
+
+ /* Block NS4 from floating */ /*/*/
+ float: right;
+ width: 30%;
+ min-width: 15em;
+ /* */
+ }
+ /* Reduce main header sizes */
+ .sidenote h1 {font-size: 1.40em;}
+ .sidenote h2 {font-size: 1.25em;}
+ .sidenote h3 {font-size: 1.10em;}
+
+ .key-point > h1:first-child,
+ .key-point > h2:first-child,
+ .key-point > h3:first-child,
+ .key-point > h4:first-child,
+ .key-point > h5:first-child,
+ .key-point > h6:first-child {
+ margin-top: 0;
+ }
+
+/* Emphasis */
+
+ /* em, strong */
+
+ strong.stronger {
+ font-style: italic;
+ font-weight: bold;
+ }
+
+ strong.very-strong {
+ font-weight: bold;
+ text-transform: uppercase;
+ }
+
+ *.important,
+ div.important,
+ p.important {
+ margin: 1em;
+ padding: 0.1em;
+ border: solid #F00;
+ font-size: larger;
+ }
+
+ span.important {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: smaller;
+ color: #c00;
+ }
+
+/* Computers - General */
+
+ pre.screen {
+ overflow: auto;
+ margin: 1em 0.5em;
+ padding: 0.2em;
+ border: solid 1px;
+ font-family: monospace;
+ white-space: pre;
+ }
+
+ div.screen {
+ margin: 1em .5em;
+ padding: 0.2em;
+ border: solid 1px;
+ }
+
+ span.application {
+ font-style: italic;
+ }
+
+ kbd.long {
+ display: block;
+ margin: 0.1em 1em;
+ }
+
+ kbd.command,
+ code.command {
+ white-space: pre;
+ }
+
+ code.filename {
+ font-style: italic;
+ white-space: nowrap;
+ }
+
+/* Code */
+
+ code, pre {
+ /* override IE6 default */
+ font-size: 1em;
+ }
+
+ code {
+ white-space: nowrap;
+ }
+ code.long {
+ display: block;
+ margin: 0.1em 1em;
+ white-space: normal;
+ }
+
+ pre.code {
+ overflow: auto;
+ margin: 1em .5em;
+ padding: .2em;
+ border: solid 1px;
+ }
+
+ pre.code .remark {
+ font-size: 1em;
+ font-style: italic;
+ }
+
+ /* turn off content generation */
+ pre.code .remark:before,
+ pre.code .remark:after,
+ pre.code .note:before {
+ content: "";
+ }
+
+
+/* Examples and Figures */
+
+ .example {
+ margin: 1em 3%;
+ padding: .25em;
+ border: solid;
+ }
+ .example:before {
+ display: block;
+ font-weight: bold;
+ content: "Example";
+ }
+ .example[title]:before {
+ content: "Example: " attr(title);
+ }
+
+ pre.bad,
+ div.bad {
+ border: dashed red 3px;
+ }
+ .bad.example:before {
+ content: "Incorrect Example";
+ }
+ .bad.example[title]:before {
+ content: "Incorrect Example: " attr(title);
+ }
+
+ pre.good,
+ div.good {
+ border: double lime 3px;
+ }
+ .good.example:before {
+ content: "Correct Example";
+ }
+ .good.example[title]:before {
+ content: "Correct Example: " attr(title);
+ }
+
+ .figure,
+ .screenshot {
+ display: block;
+ margin: .75em auto;
+ }
+ object.figure object,
+ object.screenshot object,
+ object.figure img,
+ object.screenshot object {
+ display: block;
+ margin: 0 auto;
+ }
+ .screenshot[title]:after,
+ .figure[title]:after {
+ display: block;
+ margin: 0 8% .05em;
+ font-style: italic;
+ font-size: small;
+ text-align: right;
+ content: attr(title);
+ }
+
+ .co,
+ .callout {
+ text-decoration: underline;
+ }
+
+/* Q and A (FAQ) */
+
+ .qandaset .question {
+ font-size: large;
+ font-weight: bold;
+ }
+
+ .qandaset .answer {
+ margin-top: 1em;
+ }
+
+/* Tables */
+
+ table.data {
+ border-collapse: collapse;
+ margin: 0.5em auto;
+ border: 1px solid;
+ }
+
+ table.data caption {
+ margin: 1em auto 0.2em;
+ font-size: small;
+ font-style: italic;
+ text-align: center;
+ }
+
+ table.data th,
+ table.data td {
+ padding: 0.2em;
+ border: 1px solid;
+ vertical-align: baseline;
+ }
+
+ table.data tbody th:first-child {
+ text-align: right;
+ }
+
+ table.data thead th {
+ vertical-align: bottom;
+ }
+
+/* Meta */
+
+ address {
+ text-align: right;
+ }
+ .author {
+ margin-bottom: 1em;
+ text-align: left;
+ }
+
+
+/* Headers */
+
+ #mainContent > h1:first-child,
+ #mainContent > h2:first-child,
+ #mainContent > h3:first-child,
+ #mainContent > h4:first-child,
+ #mainContent > h5:first-child,
+ #mainContent > h6:first-child,
+ #side > h1:first-child,
+ #side > h2:first-child,
+ #side > h3:first-child,
+ #side > h4:first-child,
+ #side > h5:first-child,
+ #side > h6:first-child {
+ margin-top: 0;
+ }
+
+
+/* Specific to Products Pages */
+
+.productlist {
+ margin: 0;
+ padding: 0 0 0 5px;
+}
+
+.productlist li {
+ clear: left;
+ list-style: none;
+ padding: 0 0 1em 0;
+ margin-left: 0;
+}
+
+.productlist h3 {
+ margin: 0 0 0.2em 0;
+}
+
+.productlist img {
+ float: left;
+ margin: 0 0.5em 1em 0;
+}
+
+/* Random Stuff That Needs To Be Cleaned Up / Deprecated */
+
+.flLeft {
+ float: left;
+ margin: 5px 10px 5px 0;
+}
+.flRight {
+ float: right;
+ margin: 5px 0 5px 10px;
+}
diff --git a/skins/cavendish/discussionitem_icon.gif b/skins/cavendish/discussionitem_icon.gif Binary files differnew file mode 100644 index 0000000..baec471 --- /dev/null +++ b/skins/cavendish/discussionitem_icon.gif diff --git a/skins/cavendish/document.png b/skins/cavendish/document.png Binary files differnew file mode 100644 index 0000000..b48138e --- /dev/null +++ b/skins/cavendish/document.png diff --git a/skins/cavendish/external-rtl.png b/skins/cavendish/external-rtl.png Binary files differnew file mode 100644 index 0000000..c5cd84d --- /dev/null +++ b/skins/cavendish/external-rtl.png diff --git a/skins/cavendish/external.png b/skins/cavendish/external.png Binary files differnew file mode 100644 index 0000000..419c06f --- /dev/null +++ b/skins/cavendish/external.png diff --git a/skins/cavendish/file_icon.gif b/skins/cavendish/file_icon.gif Binary files differnew file mode 100644 index 0000000..847f648 --- /dev/null +++ b/skins/cavendish/file_icon.gif diff --git a/skins/cavendish/header_bl.png b/skins/cavendish/header_bl.png Binary files differnew file mode 100644 index 0000000..a8b7d27 --- /dev/null +++ b/skins/cavendish/header_bl.png diff --git a/skins/cavendish/header_br.gif b/skins/cavendish/header_br.gif Binary files differnew file mode 100644 index 0000000..175fa69 --- /dev/null +++ b/skins/cavendish/header_br.gif diff --git a/skins/cavendish/header_logo.gif b/skins/cavendish/header_logo.gif Binary files differnew file mode 100644 index 0000000..e00acf1 --- /dev/null +++ b/skins/cavendish/header_logo.gif diff --git a/skins/cavendish/header_tab.gif b/skins/cavendish/header_tab.gif Binary files differnew file mode 100644 index 0000000..3d2a2e1 --- /dev/null +++ b/skins/cavendish/header_tab.gif diff --git a/skins/cavendish/header_tl.gif b/skins/cavendish/header_tl.gif Binary files differnew file mode 100644 index 0000000..3a43c71 --- /dev/null +++ b/skins/cavendish/header_tl.gif diff --git a/skins/cavendish/header_tr.gif b/skins/cavendish/header_tr.gif Binary files differnew file mode 100644 index 0000000..7e30f7b --- /dev/null +++ b/skins/cavendish/header_tr.gif diff --git a/skins/cavendish/key-point_bl.gif b/skins/cavendish/key-point_bl.gif Binary files differnew file mode 100644 index 0000000..fe6f825 --- /dev/null +++ b/skins/cavendish/key-point_bl.gif diff --git a/skins/cavendish/key-point_tl.gif b/skins/cavendish/key-point_tl.gif Binary files differnew file mode 100644 index 0000000..87d7cd0 --- /dev/null +++ b/skins/cavendish/key-point_tl.gif diff --git a/skins/cavendish/link_icon.gif b/skins/cavendish/link_icon.gif Binary files differnew file mode 100644 index 0000000..815ccb1 --- /dev/null +++ b/skins/cavendish/link_icon.gif diff --git a/skins/cavendish/lock_icon.gif b/skins/cavendish/lock_icon.gif Binary files differnew file mode 100644 index 0000000..8a87e28 --- /dev/null +++ b/skins/cavendish/lock_icon.gif diff --git a/skins/cavendish/magnify-clip.png b/skins/cavendish/magnify-clip.png Binary files differnew file mode 100644 index 0000000..992aa2e --- /dev/null +++ b/skins/cavendish/magnify-clip.png diff --git a/skins/cavendish/mail_icon.gif b/skins/cavendish/mail_icon.gif Binary files differnew file mode 100644 index 0000000..50a87a9 --- /dev/null +++ b/skins/cavendish/mail_icon.gif diff --git a/skins/cavendish/main.css b/skins/cavendish/main.css new file mode 100644 index 0000000..ead4930 --- /dev/null +++ b/skins/cavendish/main.css @@ -0,0 +1,235 @@ +/*
+** MediaWiki 'cavendish' style sheet for CSS2/3-capable browsers.
+** Copyright Mozilla Foundation - http://www.mozilla.org/
+** License: GPL (http://www.gnu.org/copyleft/gpl.html)
+**
+** Loosely based on the monobook style by Gabriel Wicke
+*
+* Last modified on 2010/12/31 for Cavendish mod.
+*/
+
+
+/* Inherit styles from monobook */
+@import url("monobook.css");
+
+/* Try to use custom fonts trough CSS3 (opera 10+, safari 3.1+ and ff 3.5+) */
+/* Let Google provide the Ubuntu font */
+@import url("http://fonts.googleapis.com/css?family=Ubuntu:regular,italic,bold");
+@import url("http://fonts.googleapis.com/css?family=Droid+Sans+Mono");
+
+/* Load Cavendish specific styles */
+@import url("content.css");
+@import url("template.css");
+@import url("basetemplate.css");
+@import url("cavendish.css");
+
+#header ul
+{
+ margin: 0;
+ padding-right: 1em;
+}
+
+#header li
+{
+ padding: 0 6px 0 0;
+ margin-right: 1px;
+}
+
+#header ul li.selected a
+{
+ background-position: 0% -200px;
+ color: #455372;
+}
+
+#header ul li.selected
+{
+ background-position: 100% -200px;
+ border-bottom: 1px solid #fff;
+}
+
+ /* header tabs mouseover effects */
+ #header ul li.selected:hover a
+ {
+ background-position: 0% 0%;
+ color: #333;
+ }
+
+ #header ul li.selected:hover
+ {
+ background-position: 100% 0%;
+ border-bottom: 1px solid #fff;
+ }
+
+/* if you want the mozilla.org button back, look for "mozilla-org"
+in cavendish.php and uncomment that line. Also uncomment this body
+part below. -figure002 */
+
+/*
+body {
+ background: url("subsite_back.gif") repeat-x;
+ background-color: #FFF;
+ margin-top: 0;
+ padding-top: 0;
+}
+*/
+
+
+div#header { clear: both; }
+
+#header h1 a {
+ /*background: transparent url("wiki_header_logo.gif") no-repeat scroll 5px -5px; */
+ font-family: Ubuntu, "Trebuchet MS", Verdana, Helvetica, sans-serif;
+ color: #FFFFFF;
+ font-size: 1.7em;
+ text-shadow: 1px 1px 2px #000;
+ text-indent: 1.7em;
+ text-transform: lowercase;
+}
+
+#header h1 a:hover {
+ text-decoration: none;
+}
+
+#mozilla-org a {
+ float: right;
+ display: block;
+ text-indent: -5000em;
+ width: 110px;
+ height: 25px;
+ text-decoration: none;
+ background: url("subsite_mozilla-org.gif") no-repeat;
+ margin-bottom: 1.5em;
+}
+
+
+/*
+** classes for special content elements like town boxes
+** intended to be referenced directly from the wiki src
+*/
+
+/*
+** Diff rendering
+*/
+table.diff { background:white; }
+td.diff-otitle { background:#ffffff; }
+td.diff-ntitle { background:#ffffff; }
+td.diff-addedline {
+ background:#ccffcc;
+ font-size: smaller;
+}
+td.diff-deletedline {
+ background:#ffffaa;
+ font-size: smaller;
+}
+td.diff-context {
+ background:#eeeeee;
+ font-size: smaller;
+}
+
+span.diffchange { color: red; font-weight: bold; }
+
+
+/*
+** Structural Elements
+*/
+
+
+/*
+** the navigation portlet
+*/
+
+#p-nav {
+ position:relative;
+ z-index:3;
+}
+
+
+/*
+** WORKAROUNDS
+*/
+
+/* navbox container style */
+.navbox p
+{
+ text-align: left !important;
+}
+
+/* make font in tables smaller */
+td, th
+{
+ font-size: 100%;
+ line-height: 1.5;
+}
+
+/* make the list of references look smaller */
+ol.references
+{
+ font-size: 95% !important; /* default: 100% */
+ text-align: justify;
+}
+
+/* make highlighted sources (<source>) bigger */
+.de1, .de2
+{
+ font: 1.2em/1.2em monospace !important;
+}
+
+/*
+** This is an edited part from monobook. Removed the #bodyContent
+** parts, because this class is not present in cavendish.
+*/
+a.external,
+a[href ^="gopher://"] {
+ background: url(external.png) center right no-repeat;
+ padding-right: 13px;
+}
+a[href ^="https://"],
+.link-https {
+ background: url(lock_icon.gif) center right no-repeat;
+ padding-right: 16px;
+}
+a[href ^="mailto:"],
+.link-mailto {
+ background: url(mail_icon.gif) center right no-repeat;
+ padding-right: 18px;
+}
+a[href ^="news://"] {
+ background: url(news_icon.png) center right no-repeat;
+ padding-right: 18px;
+}
+a[href ^="ftp://"],
+.link-ftp {
+ background: url(file_icon.gif) center right no-repeat;
+ padding-right: 18px;
+}
+a[href ^="irc://"],
+a.extiw[href ^="irc://"],
+.link-irc {
+ background: url(discussionitem_icon.gif) center right no-repeat;
+ padding-right: 18px;
+}
+a.external[href $=".ogg"], a.external[href $=".OGG"],
+a.external[href $=".mid"], a.external[href $=".MID"],
+a.external[href $=".midi"], a.external[href $=".MIDI"],
+a.external[href $=".mp3"], a.external[href $=".MP3"],
+a.external[href $=".wav"], a.external[href $=".WAV"],
+a.external[href $=".wma"], a.external[href $=".WMA"],
+.link-audio {
+ background: url("audio.png") center right no-repeat;
+ padding-right: 13px;
+}
+a.external[href $=".ogm"], a.external[href $=".OGM"],
+a.external[href $=".avi"], a.external[href $=".AVI"],
+a.external[href $=".mpeg"], a.external[href $=".MPEG"],
+a.external[href $=".mpg"], a.external[href $=".MPG"],
+.link-video {
+ background: url("video.png") center right no-repeat;
+ padding-right: 13px;
+}
+a.external[href $=".pdf"], a.external[href $=".PDF"],
+a.external[href *=".pdf#"], a.external[href *=".PDF#"],
+a.external[href *=".pdf?"], a.external[href *=".PDF?"],
+.link-document {
+ background: url("document.png") center right no-repeat;
+ padding-right: 12px;
+}
diff --git a/skins/cavendish/menu_back.gif b/skins/cavendish/menu_back.gif Binary files differnew file mode 100644 index 0000000..0afde1e --- /dev/null +++ b/skins/cavendish/menu_back.gif diff --git a/skins/cavendish/menu_br.gif b/skins/cavendish/menu_br.gif Binary files differnew file mode 100644 index 0000000..d88a5a8 --- /dev/null +++ b/skins/cavendish/menu_br.gif diff --git a/skins/cavendish/menu_tr.gif b/skins/cavendish/menu_tr.gif Binary files differnew file mode 100644 index 0000000..0ceb90e --- /dev/null +++ b/skins/cavendish/menu_tr.gif diff --git a/skins/cavendish/monobook.css b/skins/cavendish/monobook.css new file mode 100644 index 0000000..727355b --- /dev/null +++ b/skins/cavendish/monobook.css @@ -0,0 +1,1308 @@ +/* +** 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 :) +*/ + +#column-content { + width: 100%; + float: right; + margin: 0 0 .6em -12.2em; + padding: 0; +} +#content { + margin: 2.8em 0 0 12.2em; + padding: 0 1em 1em 1em; + position: relative; + z-index: 2; +} +#column-one { + padding-top: 160px; +} +#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; +} + +/* 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; +} +fieldset table { + /* but keep table layouts in forms clean... */ + background: none; +} +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 { + 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: 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; } + +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; +} +fieldset.nested { + margin: 0 0 0.5em 0; + padding: 0 0.5em 0.5em; +} +legend { + padding: .5em; + font-size: 95%; +} +form { + border: none; + margin: 0; +} + +textarea { + width: 100%; + padding: .1em; +} + +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 +*/ + +#siteSub { + display: none; +} +#jump-to-nav { + display: none; +} + +#contentSub, #contentSub2 { + font-size: 84%; + line-height: 1.2em; + margin: 0 0 1.4em 1em; + color: #7d7d7d; + width: auto; +} +span.subpages { + display: block; +} + +/* 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; + /* These two rules hack around bug 2013 (fix for more limited bug 11325). + When bug 2013 is fixed properly, they should be removed. */ + line-height: 1.2em; + padding-bottom: 0; +} + +/* 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 0.9em; +} +#siteNotice p { + margin: 0; + padding: 0; +} + +.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; +} +img.thumbborder { + border: 1px solid #dddddd; +} +.hiddenStructure { + display: none; +} + +/* +** 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%; +} + +/* +** edit views etc +*/ +.special li { + line-height: 1.4em; + margin: 0; + padding: 0; +} + +/* +** 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.external[href ^="gopher://"] { + background: url(external.png) center right no-repeat; + padding: 0 13px; +} +.rtl #bodyContent a.external, +.rtl #bodyContent a.external[href ^="gopher://"] { + background-image: url(external-rtl.png); +} +#bodyContent a.external[href ^="https://"], +.link-https { + background: url(lock_icon.gif) center right no-repeat; + padding: 0 16px; +} +#bodyContent a.external[href ^="mailto:"], +.link-mailto { + background: url(mail_icon.gif) center right no-repeat; + padding: 0 18px; +} +#bodyContent a.external[href ^="news://"] { + background: url(news_icon.png) center right no-repeat; + padding: 0 18px; +} +#bodyContent a.external[href ^="ftp://"], +.link-ftp { + background: url(file_icon.gif) center right no-repeat; + padding: 0 18px; +} +#bodyContent a.external[href ^="irc://"], +.link-irc { + background: url(discussionitem_icon.gif) center right no-repeat; + padding: 0 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: 0 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: 0 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: 0 12px; +} + +/* for rtl wikis */ +.rtl #bodyContent a.external { + background-position: left; + padding-right: 0; +} +.rtl a.feedlink { + background-position: right; + padding-right: 16px; + padding-left: 0; +} + +/* correction for ltr wikis */ +.ltr #bodyContent a.external { + padding-left: 0; +} + +/* disable interwiki styling */ +#bodyContent a.extiw, +#bodyContent a.extiw:active { + color: #36b; +} +#bodyContent a.external { + color: #36b; +} +/* +** 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 +*/ + +#p-logo { + top: 0; + left: 0; + position: absolute; /*needed to use z-index */ + z-index: 3; + height: 155px; + width: 12em; + overflow: visible; +} +#p-logo h5 { + display: none; +} +#p-logo a, +#p-logo a:hover { + display: block; + height: 155px; + width: 12.2em; + background-repeat: no-repeat; + background-position: 35% 50% !important; + text-decoration: none; +} + +/* +** Search portlet +*/ +#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; +} +#p-search #searchform div div { + margin-top: .4em; + font-size: 95%; +} +/* +** the personal toolbar +*/ +#p-personal { + position: absolute; + left: 0; + top: 0; + 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: #2f6fab; + 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: #005896; + 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 +*/ +#p-cactions { + position: absolute; + top: 1.3em; + left: 11.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: 95%; +} +#p-cactions ul { + list-style: none; +} +#p-cactions li { + display: inline; + border: 1px solid #aaa; + border-bottom: none; + padding: 0 0 .1em 0; + margin: 0 .3em 0 0; + overflow: visible; + background: white; +} +#p-cactions li.selected { + border-color: #fabd23; + padding: 0 0 .2em 0; + font-weight: bold; +} +#p-cactions li a { + background-color: #fbfbfb; + color: #002bb8; + border: none; + padding: 0 .8em .3em; + position: relative; + z-index: 0; + margin: 0; + text-decoration: none; +} +#p-cactions li.selected a { + z-index: 3; + padding: 0 1em .2em!important; + background-color: white; +} +#p-cactions .new a { + color: #ba0000; +} +#p-cactions li a:hover { + z-index: 3; + text-decoration: none; + background-color: white; +} +#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; +} + +#p-lang { + position: relative; + z-index: 3; +} + +/* Override text-transform on languages where capitalization is significant */ +.capitalize-all-nouns .portlet h5, +.capitalize-all-nouns .portlet h6, +.capitalize-all-nouns #p-personal ul, +.capitalize-all-nouns #p-cactions ul li a { + text-transform: none; +} + +/* 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; +} +#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%; +} + +.mw-htmlform-submit { + font-weight: bold; + padding-left: .3em; + padding-right: .3em; + margin-right: 2em; +} + +/* js pref toc */ +#preftoc { + margin: 0; + padding: 0; + width: 100%; + clear: both; +} +#preftoc li { + background-color: #f0f0f0; + color: #000; +} +#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; +} +#preferences { + margin: 0; + border: 1px solid #aaa; + clear: both; + padding: 1.5em; + background-color: #F9F9F9; +} +.prefsection { + border: none; + padding: 0; + margin: 0; +} + +.prefsection legend { + font-weight: bold; +} +.prefsection table, .prefsection legend { + background-color: #F9F9F9; +} +.mainLegend { + display: none; +} +td.htmlform-tip { + font-size: x-small; + padding: .2em 2em; + color: #666; +} + +.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; +} +.rtl div#userloginForm form, +.rtl div#userlogin form#userlogin2 { + float: right; +} + +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, +div#userloginForm .captcha { + border: 1px solid #bbb; + padding: 1.5em 2em; + background-color: white; +} + +#loginend, #signupend { + clear: both; +} + +#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; +} + +/* +** 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; +} + + +div.patrollink { + clear: both; +} + +.sharedUploadNotice { + font-style: italic; +} + +span.updatedmarker { + color: black; + background-color: #0f0; +} + +.previewnote { + color: #c00; + margin-bottom: 1em; +} + +.previewnote p { + text-indent: 3em; + margin: 0.8em 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; +} + +.toggle { + margin-left: 2em; + text-indent: -2em; +} + +input#wpSummary { + width: 80%; +} + +/* @bug 1714 */ +input#wpSave, input#wpDiff { + margin-right: 0.33em; +} + +#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; +} + +/* 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#searchTargetHide { + float:right; + border:solid 1px black; + background:#DCDCDC; + padding:2px; +} + +#powersearch p { + margin-top:0px; +} + +div.multipageimagenavbox { + border: solid 1px silver; + padding: 4px; + margin: 1em; + 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; +} + +.templatesUsed { margin-top: 1.5em; } + +.mw-summary-preview { + margin: 0.1em 0; +} + +/* Friendlier slave lag warnings */ +div.mw-lag-warn-normal, +div.mw-lag-warn-high { + padding: 3px; + text-align: center; + margin: 3px auto; +} +div.mw-lag-warn-normal { + border: 1px solid #FFCC66; + background-color: #FFFFCC; +} +div.mw-lag-warn-high { + font-weight: bold; + border: 2px solid #FF0033; + background-color: #FFCCCC; +} + +.MediaTransformError { + background-color: #ccc; + padding: 0.1em; +} +.MediaTransformError td { + text-align: center; + vertical-align: middle; + font-size: 90%; +} + +/* God-damned hack for the crappy layout */ +.os-suggest { + font-size: 127%; +} + +/* Sometimes people don't want personal tools to be lowercase! */ +.no-text-transform { + text-transform: none; +} diff --git a/skins/cavendish/news_icon.png b/skins/cavendish/news_icon.png Binary files differnew file mode 100644 index 0000000..dd1541d --- /dev/null +++ b/skins/cavendish/news_icon.png diff --git a/skins/cavendish/required.gif b/skins/cavendish/required.gif Binary files differnew file mode 100644 index 0000000..bd71976 --- /dev/null +++ b/skins/cavendish/required.gif diff --git a/skins/cavendish/subsite_back.gif b/skins/cavendish/subsite_back.gif Binary files differnew file mode 100644 index 0000000..1fe411d --- /dev/null +++ b/skins/cavendish/subsite_back.gif diff --git a/skins/cavendish/subsite_mozilla-org.gif b/skins/cavendish/subsite_mozilla-org.gif Binary files differnew file mode 100644 index 0000000..b18706f --- /dev/null +++ b/skins/cavendish/subsite_mozilla-org.gif diff --git a/skins/cavendish/template.css b/skins/cavendish/template.css new file mode 100644 index 0000000..895b8ae --- /dev/null +++ b/skins/cavendish/template.css @@ -0,0 +1,253 @@ +/* mozilla.org Cavendish Template Styles
+ * Initial Design by Daniel Burka and Steven Garrity
+*/
+
+/* Basic Structure */
+ body {
+ background: #fff url("body_back.gif") repeat-x;
+ }
+
+/* Header */
+
+ #header {
+ background: #455372 url("header_bl.png") bottom left repeat-x;
+ position: relative;
+ min-height: 39px;
+ height: 3em;
+ padding: 15px 0;
+ }
+
+ #ignored {}
+
+ #header h1 {
+ position: absolute;
+ top: 0;
+ left: 0;
+ margin: 0;
+ background: url("header_tl.gif") no-repeat;
+ height: 8px;
+ z-index: 100; /* above the UL */
+ }
+ #header h1 a {
+ display: block;
+ height: 58px;
+ /* background: transparent url("header_logo.gif") no-repeat; */
+ }
+ #header ul {
+ width: auto;
+ position: absolute;
+ bottom: 0;
+ right: 0;
+ margin: 0;
+ padding: 0 15px 0 0;
+ list-style: none;
+ background: url("header_br.gif") no-repeat bottom right;
+ z-index: 90; /* below the H1 */
+ }
+ #header li {
+ float: right;
+ background: transparent url("header_tab.gif") 100% -600px no-repeat;
+ padding: 0 6px 0 0;
+ margin: 0 1px 0 0;
+ border-bottom: 1px solid #515358;
+ }
+ #header ul a {
+ float: left;
+ display: block;
+ padding: 4px 4px 4px 10px;
+ background: transparent url("header_tab.gif") 0% -600px no-repeat;
+ font-weight: bold;
+ color: #fff;
+ text-decoration: none;
+ }
+ #header ul li:hover a { background-position: 0% -400px; }
+ #header ul li:hover { background-position: 100% -400px; }
+
+ body.sectionAbout li#menu_aboutus a,
+ body.sectionProducts li#menu_products a,
+ body.sectionSupport li#menu_support a,
+ body.sectionDevelopers li#menu_developers a,
+ body.sectionStore li#menu_store a {
+ background-position: 0% -200px;
+ color: #039;
+ }
+
+ body.sectionAbout li#menu_aboutus,
+ body.sectionProducts li#menu_products,
+ body.sectionSupport li#menu_support,
+ body.sectionDevelopers li#menu_developers,
+ body.sectionStore li#menu_store {
+ background-position: 100% -200px;
+ border-bottom: 1px solid #fff;
+ }
+
+ body.sectionAbout li#menu_aboutus:hover,
+ body.sectionProducts li#menu_products:hover,
+ body.sectionSupport li#menu_support:hover,
+ body.sectionDevelopers li#menu_developers:hover,
+ body.sectionStore li#menu_store:hover {
+ background-position: 100% 0%;
+ }
+
+ body.sectionAbout li#menu_aboutus:hover a,
+ body.sectionProducts li#menu_products:hover a,
+ body.sectionSupport li#menu_support:hover a,
+ body.sectionDevelopers li#menu_developers:hover a,
+ body.sectionStore li#menu_store:hover a {
+ background-position: 0% 0%;
+ color: #333;
+ }
+
+/* Search Field */
+
+ #header form {
+ position: absolute;
+ top: 0;
+ right: 0;
+ padding: 12px 20px 0 0;
+ background: url("header_tr.gif") no-repeat top right;
+ margin: 0; /* need for IE Mac */
+ text-align: right; /* need for IE Mac */
+ white-space: nowrap; /* for Opera */
+ }
+ #header form label { color: #fff; font-size: 110%; }
+ #header form input { font-size: 90%; }
+
+ #searchform div {
+ margin-top: 0;
+ }
+
+ #header form #searchInput {
+ width: 170px;
+ font-size: 90%;
+ border: 0px solid #293756;
+ background: #D9DBE1;
+ padding: 2px 3px;
+ border-radius: 3px;
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ }
+ #header form #searchInput:hover, #header form #searchInput:focus {
+ background: #fff;
+ }
+
+/* Sidebar */
+
+ #nav:before {
+ line-height: 0.1;
+ font-size: 1px;
+ background: transparent url("menu_tr.gif") no-repeat top right;
+ margin: 0;
+ height: 9px;
+ display: block;
+ /*border-bottom: 1px solid #ddd;*/
+ content: url("key-point_tl.gif");
+ }
+ #nav {
+ background: #E0E9E9 url("menu_back.gif") right repeat-y;
+ }
+ #nav:after {
+ display: block;
+ padding-top: 0;
+ line-height: 0.1;
+ font-size: 1px;
+ content: url("key-point_bl.gif");
+ margin: 0 0 0 0;
+ height: 8px;
+ background: transparent url("menu_br.gif") scroll no-repeat bottom right ;
+ border-top: 1px solid #fff;
+ }
+
+ #nav, #nav ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ }
+ #nav {
+ margin-bottom: 1em;
+ }
+ #nav li {
+ display: inline;
+ padding: 0;
+ margin: 0;
+ }
+
+ #nav li span { /* used for un-linked menu items */
+ display: block;
+ padding: 6px 10px;
+ font-weight: bold;
+ color: #666;
+ text-shadow: 0px 1px 0px #ffffff;
+ letter-spacing: 0.8px;
+ }
+
+ #nav li span#configParent, #nav li span #configuration {
+ display: inline;
+ font-weight: normal;
+ padding: 0;
+ }
+
+ #nav li a {
+ display: block;
+ padding: 8px 10px;
+ text-decoration: none;
+ background: #EDF2F2;
+ border-bottom: 1px solid #ddd;
+ border-top: 1px solid #fff;
+ border-right: 1px solid #ddd;
+ }
+
+ #nav li a:hover {
+ background: #E0E9E9;
+ }
+
+ #nav li li span { /* used for un-linked menu items */
+ padding: 4px 8px 4px 20px;
+ }
+
+ #nav li li a {
+ padding: 6px 8px 6px 20px;
+ }
+
+ #oN {
+ background-color: #E0E9E9;
+ }
+ #oN:hover {
+ background-color: #C6DCDC;
+ }
+
+/* Footer */
+
+ #footer {
+ border-top: 1px solid #999;
+ border-bottom: 0px; /* removes the yellow line */
+ margin: 2em 0;
+ padding: 1em 0;
+ text-align: center;
+ }
+
+ #footer ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ }
+
+ #footer li {
+ display: inline;
+ }
+
+ #footer a {
+ white-space: nowrap;
+ }
+
+ #footer p,#footer p a {
+ color: #666;
+ }
+
+ #footer p a:hover {
+ color: #000;
+ }
+
+ #footer p span {
+ padding-right: 1em;
+ }
diff --git a/skins/cavendish/user.gif b/skins/cavendish/user.gif Binary files differnew file mode 100644 index 0000000..c9c9ab9 --- /dev/null +++ b/skins/cavendish/user.gif diff --git a/skins/cavendish/video.png b/skins/cavendish/video.png Binary files differnew file mode 100644 index 0000000..38103da --- /dev/null +++ b/skins/cavendish/video.png diff --git a/skins/cavendish/wiki_header_logo.gif b/skins/cavendish/wiki_header_logo.gif Binary files differnew file mode 100644 index 0000000..6e69fec --- /dev/null +++ b/skins/cavendish/wiki_header_logo.gif |