Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add to SVN

svn path=/trunk/mono-wiki-skin/; revision=114018
  • Loading branch information...
commit 84c10c807ed03a92d480d9f41587ed546d51fe1f 0 parents
Miguel de Icaza migueldeicaza authored
Showing with 1,507 additions and 0 deletions.
  1. +75 −0 _edcontent.css
  2. +89 −0 _editor.css
  3. +392 −0 mono.php
  4. +127 −0 mono/css.php
  5. +33 −0 mono/frontpage.inc.html
  6. BIN  mono/images/download.png
  7. BIN  mono/images/footer.png
  8. BIN  mono/images/footerhr.png
  9. BIN  mono/images/header-border.png
  10. BIN  mono/images/logo-mini.png
  11. BIN  mono/images/logo.png
  12. BIN  mono/images/logos.png
  13. BIN  mono/images/splash-gradient.png
  14. +325 −0 mono/style.css
  15. +127 −0 moonlight/css.php
  16. +24 −0 moonlight/frontpage.inc.html
  17. BIN  moonlight/images/distro-fedora.png
  18. BIN  moonlight/images/distro-opensuse.png
  19. BIN  moonlight/images/distro-ubuntu.png
  20. BIN  moonlight/images/distro-unknown.png
  21. BIN  moonlight/images/edit.png
  22. BIN  moonlight/images/favicon.ico
  23. BIN  moonlight/images/favicon.png
  24. BIN  moonlight/images/header-bg.png
  25. BIN  moonlight/images/hr.png
  26. BIN  moonlight/images/li.png
  27. BIN  moonlight/images/logo-mini.png
  28. BIN  moonlight/images/logo.png
  29. BIN  moonlight/images/mono-logo.png
  30. BIN  moonlight/images/novell-logo.png
  31. BIN  moonlight/images/splash-clouds-stars.png
  32. BIN  moonlight/images/splash-download.png
  33. BIN  moonlight/images/splash-gradient.png
  34. BIN  moonlight/images/splash-hill.png
  35. BIN  moonlight/images/splash-house.png
  36. BIN  moonlight/images/splash-moon.png
  37. BIN  moonlight/images/spot1.png
  38. BIN  moonlight/images/spot2.png
  39. BIN  moonlight/images/spot3.png
  40. +302 −0 moonlight/style.css
  41. +13 −0 print.css
75 _edcontent.css
@@ -0,0 +1,75 @@
+/*
+ * MindTouch DekiWiki - a commercial grade open source wiki
+ * derived from MediaWiki (www.mediawiki.org)
+ * Copyright (C) 2006 MindTouch, Inc.
+ * www.mindtouch.com oss@mindtouch.com
+ *
+ * For community documentation and downloads visit www.opengarden.org;
+ * please review the licensing section.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+/***
+ * MT: royk
+ * these are custom styles for the editor
+ */
+.edimportant {
+ font-weight: bold;
+ color: #f00;
+ border-bottom: 1px dotted #000;
+ background: none;
+}
+.edhighlight {
+ font-weight: normal;
+ color: #000;
+ border: none;
+ background-color: #ff0;
+}
+.edsubtle {
+ color: #999;
+ border: none;
+ background: none;
+}
+.edcomment {
+ font-size: 0.83em;
+ font-weight: bold;
+ color: #000;
+ border: 1px dotted #36c;
+ background-color: #efefef;
+}
+.edcode {
+ font-family: Courier New, Courier, Serif;
+ background-color: #f5f5f5;
+}
+.edbtn {
+ cursor: pointer;
+ margin: 1px;
+}
+.edbtnhvr {
+ cursor: pointer;
+ border: 1px solid;
+ border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
+}
+.edbtndisabled {
+ cursor: default;
+}
+.edbtnpress {
+ cursor: pointer;
+ border: 1px solid;
+ border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
+ background-color: #fff;
+}
89 _editor.css
@@ -0,0 +1,89 @@
+/*
+ * MindTouch DekiWiki - a commercial grade open source wiki
+ * derived from MediaWiki (www.mediawiki.org)
+ * Copyright (C) 2006 MindTouch, Inc.
+ * www.mindtouch.com oss@mindtouch.com
+ *
+ * For community documentation and downloads visit www.opengarden.org;
+ * please review the licensing section.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+@import url("_edcontent.css"); /* editor styles like 'highlight', 'comment', etc.
+
+/***
+ * MT: royk
+ *
+ * this stylesheet should only contain specific styling to the editor (header bg images, link icons)
+ * the styling of the content is handled in _content.css
+ */
+body {
+ font-family: Verdana, Arial, Sans-Serif;
+ background-color: #ffffff;
+}
+table {
+ font-size: 1em;
+}
+a {
+ color: #956220 !important;
+ cursor: default;
+}
+.plain {
+ background-color: #dbdbdb;
+ border: 1px dotted #bbb;
+}
+h1, .header_1,
+h2, .header_2,
+h3, .header_3,
+h4, .header_4,
+h5, .header_5,
+h6, .header_6 {
+ background-position: top right;
+ background-repeat: no-repeat;
+}
+
+h1, .header_1 {
+ color: #003471;
+ background-image: url('../common/icons/editor-title.gif');
+}
+h2, .header_2 {
+ background-image: url('../common/icons/editor-h1.gif');
+}
+h3, .header_3 {
+ background-image: url('../common/icons/editor-h2.gif');
+}
+h4, .header_4 {
+ background-image: url('../common/icons/editor-h3.gif');
+}
+h5, .header_5 {
+ background-image: url('../common/icons/editor-h4.gif');
+}
+h6, .header_6 {
+ background-image: url('../common/icons/editor-h5.gif');
+}
+
+a.internal,
+a:link.internal {
+}
+a.external,
+a:link.external {
+ background-position: top right;
+ background-repeat: no-repeat;
+ background-image: url('../common/icons/icon-external.gif');
+ padding-right: 13px;
+}
+
392 mono.php
@@ -0,0 +1,392 @@
+<?php
+/*
+ * MindTouch DekiWiki - a commercial grade open source wiki
+ * derived from MediaWiki (www.mediawiki.org)
+ * Copyright (C) 2006 MindTouch, Inc.
+ * www.mindtouch.com oss@mindtouch.com
+ *
+ * For community documentation and downloads visit www.opengarden.org;
+ * please review the licensing section.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+/**
+ * Base Template
+ *
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+
+if( !defined( 'MEDIAWIKI' ) )
+ die();
+
+/** */
+require_once('includes/SkinTemplate.php');
+
+/**
+ * Inherit main code from SkinTemplate, set the CSS and template filter.
+ * @todo document
+ * @package MediaWiki
+ * @subpackage Skins
+ */
+class SkinMono extends SkinTemplate {
+ /**
+ * @type const - Defines the number of custom HTML areas available
+ */
+ const HTML_AREAS = 6;
+
+ /** Using Base. */
+ function initPage( &$out ) {
+ SkinTemplate::initPage( $out );
+ $this->skinname = 'moonlight';
+ $this->stylename = 'mono';
+ $this->template = 'BaseTemplate';
+ }
+}
+
+class BaseTemplate extends QuickTemplate {
+ /**
+ * Template filter callback for Base 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 getSkin() {
+ /* FIXME need to figure out how to read the ui/skin configuration from deki */
+
+ #return "moonlight";
+ return "mono";
+ print "FOO" . $_GLOBALS['wgConfig'];
+ }
+ function execute() {
+ global $wgLogo, $wgUser, $wgTitle, $wgRequest, $wgArticle, $wgOut, $editor, $wgScriptPath, $wgContLang, $wgMenus, $IP;
+ $sk = $wgUser->getSkin();
+ $isArticle = $editor || $wgArticle->getID() > 0 || $wgArticle->mTitle->isEmptyNamespace();
+
+echo('<?xml version="1.0" encoding="UTF-8"?>');
+?>
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+
+<html>
+<head>
+
+ <script type="text/javascript">var _starttime = new Date().getTime();</script>
+ <meta http-equiv="Content-Type" content="<?php $this->text('mimetype') ?>; charset=<?php $this->text('charset') ?>" />
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
+ <meta content="index,follow" name="robots"/>
+ <link href="/@gui/opensearch/description" title="MindTouch Deki Search" type="application/opensearchdescription+xml" rel="search"/>
+ <link href="/index.php?title=&action=edit" title="Edit page" type="application/x-wiki" rel="alternate"/>
+ <link href="/skins/mono/moonlight/favicon.ico" rel="shortcut icon"/>
+ <link href="/skins/mono/moonlight/favicon.png" type="image/png" rel="shortcut icon"/>
+
+ <title><?php $this->text('pagetitle'); ?></title>
+
+ <!-- default css -->
+ <?php $this->html('resetcss'); ?>
+ <link rel="stylesheet" type="text/css" media="screen" href="/skins/moonlight/css.php"/>
+
+ <?php $this->html('printcss'); ?>
+
+ <!-- default scripting -->
+ <?php $this->html('javascript'); ?>
+
+ <!-- specific screen stylesheets-->
+ <?php if (!Skin::isPrintPage()) { ?>
+ <link rel="stylesheet" type="text/css" media="screen" href="<?php $this->html('pathskin'); ?>/css.php"/>
+ <?php } else { ?>
+ <link rel="stylesheet" type="text/css" media="screen" href="<?php $this->html('pathtpl'); ?>/print.css" />
+ <link rel="stylesheet" type="text/css" media="screen" href="<?php $this->html('pathcommon'); ?>/prince.content.css" />
+ <?php } ?>
+
+ <!-- specific print stylesheets -->
+ <link rel="stylesheet" type="text/css" media="print" href="<?php $this->html('pathtpl'); ?>/print.css" />
+
+ <!-- IE6 & IE7 specific stuff -->
+ <!--[if IE]><meta http-equiv="imagetoolbar" content="no" /><![endif]-->
+ <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="<?php $this->html('pathskin'); ?>/ie6.php"/><![endif]-->
+
+ <?php $this->html('inlinejavascript'); ?>
+
+ <!-- styles overwritten via control panel - load this css last -->
+ <?php $this->html('customhead'); ?>
+ <?php $this->html('customarea1'); ?>
+</head>
+
+<body class="<?php $this->html('pagetype');?>">
+ <div class="header">
+ <a href="/" id="logo"></a>
+ <div id="navi">
+ <!-- FIXME should be in a wiki document? -->
+ <div id="menu">
+ <a href="/Start">Start</a>
+ <a href="/Contribute">Contribute</a>
+ <a href="/Forums">Forums</a>
+ </div>
+ <div id="search"><?php $this->BaseSiteSearch(); ?></div>
+ </div><!--navi-->
+ </div><!--header-->
+ <hr class="headerhr" />
+ <!--
+ <div class="separator"><hr></div>
+ -->
+
+
+<?php
+#if ($_SERVER['PHP_SELF']=='/') {
+if ($wgTitle->getPrefixedText() == wfHomePageInternalTitle()) {
+ if ($this->getSkin()=="moonlight") {
+ require_once('moonlight/frontpage.inc.html'); //splash for the frontpage
+ } else {
+ require_once('mono/frontpage.inc.html'); //splash for the frontpage
+ }
+}
+?>
+<div id="content">
+
+<?php
+#if ($_SERVER['PHP_SELF']!='/'){
+if ($wgTitle->getPrefixedText() != wfHomePageInternalTitle()) { #sidebar for everything but the frontpage
+?>
+ <div class="sidebar">
+ <div id="sidebarmenu">
+ <a href="/About">About</a>
+ <a href="/Articles">Documentation</a>
+ <a href="/Screenshots">Screenshots</a>
+ <a href="/Downloads">Downloads</a>
+ </div>
+ <?php $this->html('toc'); ?>
+
+ <!-- start table of content -->
+
+ </div><!--sidebar-->
+<?php
+}
+?>
+ <h1 id="title"><?php $this->text('displaypagetitle'); ?></h1>
+ <?php $this->html('bodytext'); ?>
+
+
+
+
+
+</div><!--content-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <div id="footer">
+ <hr>
+<?php
+ if (!$wgUser->isAnonymous()) {
+ print "<div class=\"wikiEdit\">\n";
+ print "<ul class=\"login\">\n";
+ print '<li><a href="' . $this->haveData('userpageurl') . '">' . $this->haveData('username') . '</a></li>';
+ print '<li><a href="' . $this->haveData('logouturl') . '">' . wfMsg('Page.UserLogout.page-title') . '</a></li>';
+ print "</ul>\n";
+
+ print "<ul class=\"control\">\n";
+ print "<li>Page Editing Controls:</li>";
+ $this->BasePageMenuControl('edit', 'Skin.Common.edit-page');
+ $this->BasePageMenuControl('add', 'Skin.Common.new-page');
+ $this->BasePageMenuControl('restrict', 'Skin.Common.restrict-access');
+ $this->BasePageMenuControl('attach', 'Skin.Common.attach-file');
+ $this->BasePageMenuControl('move', 'Skin.Common.move-page');
+ $this->BasePageMenuControl('delete', 'Skin.Common.delete-page');
+ $this->BasePageMenuControl('tags', 'Skin.Common.tags-page');
+ print "<li>&nbsp; &nbsp;</li>";
+ print "<li><a href='" . wfMsg('controlpanellink') . "'>control panel</li>\n"; //FIXME this isn't right, actually :)
+ print "<li>&nbsp; &nbsp;</li>";
+ $this->BasePageMenuControl('print', 'Skin.Common.print-page');
+ $this->BasePageMenuControl('email', 'Skin.Common.email-page');
+ print "</ul>\n";
+ print "</div>\n";
+ } else {
+ print "<div class=\"wikiEdit\">\n";
+ print "<ul class=\"login\">\n";
+ print '<li><a href="' . $this->haveData('loginurl') . '">' . wfMsg('Page.UserLogin.page-title') . '</a></li>';
+ print "</ul>\n";
+ print "<ul class=\"control\">\n";
+ $this->BasePageMenuControl('print', 'Skin.Common.print-page');
+ $this->BasePageMenuControl('email', 'Skin.Common.email-page');
+ print "</ul>\n";
+ print "</div>\n";
+ } ?>
+
+ <div class="sitemap">
+ <!-- FIXME should be in a wiki document? -->
+ <div class="links">
+ <h3>About</h3>
+ <ul>
+ <li><a href="#">About Mono</a></li>
+ <li><a href="#">Roadmap</a></li>
+ <li><a href="#">Technologies</a></li>
+ <li><a href="#">Screenshots</a></li>
+ <li><a href="#">Success Stories</a></li>
+ <li><a href="#">FAQs</a></li>
+ </ul>
+ </div><!--links-->
+ <div class="links">
+ <h3>Documentation</h3>
+ <ul>
+ <li><a href="#">Getting Started</a></li>
+ <li><a href="#">API Reference</a></li>
+ <li><a href="#">Articles</a></li>
+ </ul>
+ </div><!--links-->
+ <div class="links">
+ <h3>Downloads</h3>
+ <ul>
+ <li><a href="#">Latest Release</a></li>
+ <li><a href="#">MonoDevelop</a></li>
+ <li><a href="#">Tools</a></li>
+ <li><a href="#">Daily Snapshots</a></li>
+ <li><a href="#">Previous Releases</a></li>
+ </ul>
+ </div><!--links-->
+ <div class="links">
+ <h3>Resources</h3>
+ <ul>
+ <li><a href="#">Forums</a></li>
+ <li><a href="#">Mailing Lists</a></li>
+ <li><a href="#">Chat (IRC)</a></li>
+ <li><a href="#">Blogs</a></li>
+ <li><a href="#">Contact</a></li>
+ </ul>
+ </div><!--links-->
+ <div class="links">
+ <h3>Mono Development</h3>
+ <ul>
+ <li><a href="#">Report Bugs</a></li>
+ <li><a href="#">Contributing</a></li>
+ <li><a href="#">SVN</a></li>
+ <li><a href="#">Build Status</a></li>
+ <li><a href="#">Class Status</a></li>
+ </ul>
+ </div><!--links-->
+ <div class="links">
+ <h3>Mono in Action</h3>
+ <p>Mono 1.0 was released over three years ago, in June 2004. Since
+ then, Mono has been taken up as the platform of choice for many
+ open-source and commercial projects. See Mono in action:</p>
+ <ul>
+ <li><a href="#">Screenshots</a></li>
+ <li><a href="#">Videos</a></li>
+ <li><a href="#">Applications that use Mono</a></li>
+ </ul>
+ </div><!--links-->
+
+ </div><!--sitemap-->
+ <div id="copy">
+ <a href="http://ww/novell.com/linux"><span id="novell-logo">Novell, Inc.</span></a>
+ <a href="http://www.mono-project.org"><span id="mono-logo">Mono</span></a>
+ <div class="legal">All rights reserved. Blah blah legal speak. Lorem
+ ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus posuere, ante
+ eu tempor dictum, felis nibh facilisis sem.</div>
+
+ </div><!--copy-->
+ </div><!--footer-->
+
+ </body>
+</html>
+<?php
+ }
+
+ function BaseSiteTools($key, $languageKey) {
+ global $wgUser;
+
+ $t = Title::makeTitle( NS_SPECIAL, $key );
+ $sk = $wgUser->getSkin();
+ $href = $sk->makeSpecialUrl($key);
+ if ($key == 'Contributions') {
+ $href = $t->getLocalURL('target=' . urlencode( $wgUser->getName()));
+ }
+ elseif ($key == 'ListTemplates') {
+ $t = Title::makeTitle('', NS_TEMPLATE);
+ $href = $sk->makeNSUrl('', '', NS_TEMPLATE);
+ }
+ elseif ($key == 'Listusers') {
+ $t = Title::makeTitle('', NS_USER);
+ $href = $sk->makeNSUrl('', '', NS_USER);
+ }
+ else {
+ $href = $t->getLocalURL();
+ }
+
+ echo("\t".'<li class="site'.ucfirst($key).'"><a href="'.$href.'" title="'. wfMsg($languageKey) .'"><span></span>'. wfMsg($languageKey) .'</a></li>'."\n");
+ }
+
+ function BaseSiteSearch() {
+?>
+ <div class="siteSearch">
+ <fieldset class="search">
+ <form action="<?php $this->text('searchaction') ?>">
+ <span><?php echo(wfMsg('Page.Search.search'));?> </span><input id="searchInput" class="inputText" name="search" type="text" value="<?php $this->text('search'); ?>" />
+ <input type="hidden" name="type" value="fulltext" />
+ <input type="submit" name="go" class="inputSubmit" value="<?php echo wfMsg('Skin.Common.submit-find'); ?>" />
+ </form>
+ </fieldset>
+ </div>
+<?php
+ }
+
+ function BaseUserAuth() {
+ global $wgUser;
+ ?>
+ <div class="userAuth">
+ <?php if (!$wgUser->isAnonymous()) {
+ echo '<span>'. wfMsg('Skin.Common.logged-in') . '</span>';
+ echo('<a href="'.$this->haveData('userpageurl').'" class="userPage">'.$this->haveData('username').'</a>');
+ echo('<a href="'.$this->haveData('logouturl').'" class="userLogout">'.wfMsg('Page.UserLogout.page-title').'</a>');
+ } else {
+ echo '<span>'. wfMsg('Skin.Common.you-not-logged-in') . '</span>';
+ echo('<a href="'.$this->haveData('loginurl').'" class="userLogin">'. wfMsg('Page.UserLogin.page-title') .'</a>');
+ if ($this->hasData('registerurl')) {
+ echo('<a href="'.$this->haveData('registerurl').'" class="userLogin">'. wfMsg('Page.UserRegister.page-title') .'</a>');
+ }
+ }
+ ?>
+ </div>
+ <?php
+ }
+
+ function BasePageMenuControl($key, $languageKey) {
+ $pkey = 'page'.$key;
+ $href = $this->haveHref($pkey);
+ $onclick = 'menuOff(\'menuPageOptions\');'.$this->haveOnClick($pkey);
+ $class = $this->haveCSSClass($pkey);
+ echo("\t".'<li class="page'.ucfirst($key).'"><a href="'.$href.'"'.($class != '' ? ' class="'.$class.'"': '').' onclick="'.$onclick.'" title="'. wfMsg($languageKey) .'"><span></span>'. wfMsg($languageKey) .'</a></li>'."\n");
+ }
+}
+?>
127 mono/css.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * MindTouch Deki - enterprise collaboration and integration platform
+ * derived from MediaWiki (www.mediawiki.org)
+ * Copyright (C) 2006 MindTouch, Inc.
+ * www.mindtouch.com oss@mindtouch.com
+ *
+ * For community documentation and downloads visit www.opengarden.org;
+ * please review the licensing section.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+chdir($_SERVER['DOCUMENT_ROOT']);
+define('MEDIAWIKI', true);
+$wgDisabledGzip = false;
+require_once('LocalSettings.php');
+
+$cachedir = $IP.'/skins/common/cache';
+
+//if etag is sent, see if that file exists and return a 304
+if (isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
+ $cachefile = $cachedir.'/cache-'.$_SERVER['HTTP_IF_NONE_MATCH'];
+ if (is_file($cachefile)) {
+ $cachefiles = array($cachefile);
+ header("Last-Modified: " . gmdate("D, d M Y H:i:s", getLastModified($cachefiles)) . " GMT");
+ header("HTTP/1.0 304 Not Modified");
+ header('Content-Length: 0');
+ exit();
+ }
+}
+
+// get the current skin directory
+$skinDir = dirname(__FILE__);
+$IncludeList = array($skinDir . '/style.css');
+
+// Determine last modification date of the files
+$lastmodified = getLastModified($IncludeList);
+
+// Send Etag hash
+$hash = $lastmodified . '-' . md5(serialize($IncludeList));
+
+// Set the cache filename
+define('CACHE_FILE', $cachedir.'/'.'cache-' . $hash);
+
+header("Content-Type: text/css; charset: ISO-8859-1");
+
+//Get the content of CSS in memory
+$content = getContent($IncludeList);
+
+header("Etag: " . $hash );
+header("Last-Modified: " . gmdate("D, d M Y H:i:s", $lastmodified) . " GMT");
+header("Connection: close");
+
+ob_start();
+$wgDisabledGzip = false;
+# Begin GZip; this can be disabled by setting $wgDisabledGzip to true in LocalSettings.php
+$isGzip = substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') && $wgDisabledGzip !== true;
+if ($isGzip) {
+ header("Content-Encoding: gzip");
+ ob_start('ob_gzhandler');
+}
+echo($content);
+if ($isGzip) {
+ ob_end_flush(); // The ob_gzhandler one
+ header('Content-Length: '.ob_get_length());
+}
+ob_end_flush();
+
+function compress($buffer) {
+ $buffer = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $buffer);
+ $buffer = str_replace(array("\r\n", "\r", "\n", "\t", ' '), '', $buffer);
+ $buffer = str_replace('{ ', '{', $buffer);
+ $buffer = str_replace(' }', '}', $buffer);
+ $buffer = str_replace('; ', ';', $buffer);
+ $buffer = str_replace(', ', ',', $buffer);
+ $buffer = str_replace(' {', '{', $buffer);
+ $buffer = str_replace('} ', '}', $buffer);
+ $buffer = str_replace(': ', ':', $buffer);
+ $buffer = str_replace(' ,', ',', $buffer);
+ $buffer = str_replace(' ;', ';', $buffer);
+ return $buffer;
+}
+function getContent($IncludeList) {
+ // Write the cache file if it doesn't exists
+ if (!file_exists(CACHE_FILE)) {
+ $contents = '';
+ foreach($IncludeList as $file) {
+ $contents .= "\n\n" . file_get_contents($file);
+ }
+ if ($fp = @fopen(CACHE_FILE, 'wb')) {
+ fwrite($fp, $contents);
+ fclose($fp);
+ }
+ }
+ else {
+ $contents = file_get_contents(CACHE_FILE);
+ }
+ return compress($contents);
+}
+
+function getLastModified(&$IncludeList) {
+ $lastmodified = 0;
+ foreach ($IncludeList as $k => $file) {
+ if (!is_file($file)) {
+ unset($IncludeList[$k]);
+ continue;
+ }
+ $lastmodified = max($lastmodified, filemtime($file));
+ }
+ return $lastmodified;
+}
+
+?>
33 mono/frontpage.inc.html
@@ -0,0 +1,33 @@
+<!--FIXME mono splash -->
+ <div id="splash">
+ <hr>
+ <div>
+ <!--graphics-->
+ <div id="logos"></div>
+ <!--end graphics-->
+ <a id="download" href="/Downloads">Download</a>
+ <div class="about">
+ <h1>What is Mono?</h1>
+ <p>Mono provides the necessary software to develop and run .NET client
+ and server applications on Linux, Solaris, Mac OS X, Windows, and Unix.</p>
+
+ <p>Sponsored by <a href="http://www.novell.com">Novell</a>, the Mono open source
+ project has an active and enthusiastic contributing community and is
+ positioned to become the leading choice for development of Linux
+ applications.</p>
+
+ </div>
+ <div id="downloadlabel">
+ <h2>Download Mono</h2>
+ <p>Latest version: 1.9.1 (Mono 2.0 Beta)</p>
+ </div>
+ <!--
+ <div class="distro-icons">
+ <a href="/Downloads#openSUSE"><img alt="" width="22" height="22" src="/skins/mono/moonlight/images/distro-opensuse.png"></a>
+ <a href="/Downloads#Ubuntu"><img alt="" width="22" height="22" src="/skins/mono/moonlight/images/distro-ubuntu.png"></a>
+ <a href="/Downloads#Fedora"><img alt="" width="22" height="22" src="/skins/mono/moonlight/images/distro-fedora.png"></a>
+ <a href="/Downloads#Unknown"><img alt="" width="22" height="22" src="/skins/mono/moonlight/images/distro-unknown.png"></a>
+ </div>
+ -->
+ </div>
+ </div><!--splash-->
BIN  mono/images/download.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  mono/images/footer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  mono/images/footerhr.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  mono/images/header-border.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  mono/images/logo-mini.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  mono/images/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  mono/images/logos.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  mono/images/splash-gradient.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
325 mono/style.css
@@ -0,0 +1,325 @@
+/* Mono Stylesheet */
+body {
+ background-color: #fff;
+ padding: 0;
+ margin: 0;
+ font-family: "Droid Sans", Myriad, Segoe, Sans-Serif;
+ font-size: 13px;
+ color: #000;
+}
+
+a { color: #5d7555; text-decoration: none; font-weight: bold; }
+a:hover { text-decoration: underline; color: #a3c69f; }
+ul>li { list-style-image: url(/skins/mono/moonlight/images/li.png); line-height: 150%; }
+
+#menu { font-family: 'Arial Rounded CE', 'Arial Rounded', Arial, Sans-Serif; color: #c5d2c8; }
+h1,h2,h3,h4,h5 { font-family: 'Arial Rounded CE', 'Arial Rounded', Arial, Sans-Serif;
+ color: #444; margin: 1.5em 0 .5em 0; }
+ #title { margin-top: .6em; }
+ h1 { font-size: 230% }
+ h2 { font-size: 190% }
+ h3 { font-size: 150% }
+ h4 { font-size: 130% }
+ h5 { font-size: 120% }
+ul,ol { margin: 1em 0 2em 2em; }
+li>ul { margin: 0 1em; }
+
+dt { font-weight: bold; margin-left: 1em; }
+dd { font-weight: normal; margin: 0 0 1em 3em; }
+td { padding: .5em; vertical-align: top; }
+
+hr {
+ display: block;
+ width: 100%;
+ height: 1px;
+ margin: 0; padding: 0;
+ border: 0;
+ background: url(/skins/mono/moonlight/images/hr.png) no-repeat 50% 50%;
+}
+
+p,blockquote { margin-bottom: 1em; line-height: 160%; }
+blockquote { margin-left: 2em; }
+
+pre {
+ background-color: #ddd;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ padding: 1em;
+ max-width: 60em;
+ overflow: auto;
+ margin-bottom: 1em;
+}
+
+
+.header {
+ position: relative;
+ min-height: 53px;
+ overflow: hidden;
+ max-width: 86em;
+ margin: auto;
+}
+ hr.headerhr { height: 15px; width: 100%; margin: 0; padding: 0;
+ background: url(/skins/mono/mono/images/header-border.png) repeat-x bottom center;
+ }
+
+ .page-home .header { /* frontpage */
+ position: relative;
+ min-height: 87px;
+ overflow: hidden;
+ max-width: 86em;
+ margin: auto;
+ }
+ .page-home .headerhr { display: none; }
+
+ #logo {
+ display: block;
+ border: 0;
+ position: absolute;
+ top: 18px;
+ left: 24px;
+ width: 125px;
+ height: 31px;
+ background: url(/skins/mono/mono/images/logo-mini.png) no-repeat top left;
+ }
+
+
+ .page-home #logo { /* frontpage */
+ width: 167px;
+ height: 41px;
+ background: url(/skins/mono/mono/images/logo.png) no-repeat top left;
+ }
+
+ #navi {
+ position: absolute;
+ bottom: 10px;
+ right: 0;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+ #search, #menu { float: left; } /* need inline-block*/
+ .siteSearch form>span { display: none; } /* No stupid redundant label */
+
+ #menu {
+ font-size: 115%;
+ }
+ #menu>a { margin-right: .5em; }
+
+#splash {
+ background: #4b6983 url(/skins/mono/mono/images/splash-gradient.png) no-repeat 90% bottom;
+ color: #fff;
+ border-bottom: 1px solid #091828;
+ overflow: hidden;
+ padding-top: 1px;
+}
+ #splash>div {
+ max-width: 80em;
+ margin: auto;
+ padding: 0 2em;
+ position: relative;
+ height: 230px;
+ }
+
+ #splash h1 { margin-top: 1em; color: #fff; }
+ #splash .about { max-width: 42%; margin-left: 0;}
+ #splash a { color: #83a67f; }
+
+ #logos {
+ width: 226px;
+ height: 188px;
+ position: absolute;
+ top: 15px;
+ right: 300px;
+ background: url(/skins/mono/mono/images/logos.png) no-repeat top left;
+ }
+
+ #download {
+ display: block;
+ text-indent: -300em;
+ width: 139px;
+ height: 39px;
+ position: absolute;
+ bottom: 40px;
+ right: 30px;
+ background: url(/skins/mono/mono/images/download.png) no-repeat top left;
+ outline: none;
+ }
+
+ #downloadlabel {
+ display: block;
+ position: absolute;
+ top: 0;
+ right: 40px;
+ color: #000;
+ }
+ #downloadlabel h2 { color: black; }
+
+ #splash .distro-icons {
+ position: absolute;
+ bottom: 16px;
+ left: 16px;
+ }
+ .distro-icons>a>img { border: 0; margin-right: 6px; }
+
+#content {
+ margin: auto;
+ max-width: 60em;
+ padding: 1em 2em 6em 20em;
+ min-height: 20em;
+ position: relative;
+ overflow: hidden;
+}
+ .page-home #content {
+ max-width: 80em;
+ padding: 1em 2em;
+ }
+ .page-home #title { display: none; }
+
+ .sidebar {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 18em;
+ padding: 1em;
+ margin-top: 2em;
+ }
+
+ #sidebarmenu a {
+ font-family: 'Arial Rounded CE', 'Arial Rounded', Arial, Sans-Serif;
+ font-weight: bold;
+ color: #222;
+ font-size: 120%;
+ display: block;
+ margin-bottom: .5em;
+ }
+
+.columns {
+ overflow: hidden;
+ margin-bottom: 2em;
+}
+ .columns>div {
+ float: left;
+ width: 46%;
+ margin-right: 2em;
+ }
+
+ .spotproject { margin-bottom: 2em; overflow: hidden; }
+
+ .spotproject h3 { margin-top: 0; }
+
+ .spotproject img {
+ display: block;
+ float: left;
+ margin-right: 8px;
+ }
+
+ .separator {
+ padding: 1px 0;
+ width: 100%;
+ background-color: #192838;
+ height: 1px;
+ border-bottom: 1px solid #090818;
+ }
+
+#footer {
+ background: #dbdbdb url(/skins/mono/mono/images/footer.png) no-repeat top center;
+ padding-top: 1px;
+}
+
+ #footer .sitemap, #copy, #footer .wikiEdit {
+ max-width: 80em;
+ margin: auto;
+ padding: 1em 2em 2em;
+ overflow: hidden;
+ clear: left;
+ }
+ #footer .wikiEdit { padding: 0 2em; }
+ #footer ul { margin: 1em 0 2em; padding: 0;}
+
+ .wikiEdit a {
+ color: #729fcf;
+ }
+ .wikiEdit li {
+ display: block;
+ float: left;
+ margin-right: 1em;
+ font-size: 80%;
+ }
+ .login { float: right; overflow: hidden; }
+ .login li {
+ display: block;
+ float: left;
+ margin-right: 1em;
+ font-size: 90%;
+ font-weight: bold;
+ }
+
+ #footer hr {
+ height: 15px;
+ background: url(/skins/mono/mono/images/footerhr.png) repeat-x top center;
+ width: 100%;
+ margin-top: -15px;
+ }
+
+ #footer .links {
+ font-size: 90%;
+ float: left;
+ margin: 0 2em 0 1em;
+ width: 19em;
+ min-height: 16em;
+ }
+ #footer .links h3 { margin: 0 0 1em 0; }
+ #footer .links ul {
+ line-height: 150%;
+ margin: 0 0 0 2em;
+ }
+ .links li { margin: 0; }
+
+ #mono-logo {
+ display: none;
+ /*
+ float: left;
+ width: 127px;
+ height: 32px;
+ background: url(/skins/mono/moonlight/images/mono-logo.png) no-repeat top left;
+ text-indent: -300em;
+ margin-right: 20px;
+ */
+ }
+
+ #novell-logo {
+ display: block;
+ float: left;
+ width: 73px;
+ height: 32px;
+ background: url(/skins/mono/moonlight/images/novell-logo.png) no-repeat top left;
+ border-right: 1px dotted #828282;
+ padding-right: 5px;
+ margin-right: 10px;
+ text-indent: -300em;
+ }
+
+ #footer .legal { font-size: 90%; color: #828282; margin-top: 8px; }
+
+/* images can't be too wide */
+img.internal { max-width: 60em; width: 100%; margin: 1em 0 2em 0; }
+td>img.internal { max-width: 300px; width: inherit; }
+
+.printfooter { display: none; }
+
+#pageToc { display: none; } /*FIXME just a workaround */
+ .pageToc li { font-size: 90%; margin: 0 0 1em 0; position: relative; padding-left: 2.2em; }
+ .pageToc>ol>li { padding-left: 1.5em; }
+ .pageToc>ol>li>ol>li>ol>li { padding-left: 3em; }
+ .pageToc li>span { display: block; position: absolute; top: 0; left: 0; }
+ .editIcon {
+ display: block;
+ float: right;
+ }
+ .editIcon .sectionedit {
+ background: url('/skins/mono/moonlight/images/edit.png') no-repeat top left;
+ }
+ .editIcon .sectionedit:after { content: 'edit' }
+
+#pageTypeSpecial { padding: 1em; margin: 2em 0 14em 0; }
+#pageTypeSpecial #searchForm { display: none; }
127 moonlight/css.php
@@ -0,0 +1,127 @@
+<?php
+/*
+ * MindTouch Deki - enterprise collaboration and integration platform
+ * derived from MediaWiki (www.mediawiki.org)
+ * Copyright (C) 2006 MindTouch, Inc.
+ * www.mindtouch.com oss@mindtouch.com
+ *
+ * For community documentation and downloads visit www.opengarden.org;
+ * please review the licensing section.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * http://www.gnu.org/copyleft/gpl.html
+ */
+
+chdir($_SERVER['DOCUMENT_ROOT']);
+define('MEDIAWIKI', true);
+$wgDisabledGzip = false;
+require_once('LocalSettings.php');
+
+$cachedir = $IP.'/skins/common/cache';
+
+//if etag is sent, see if that file exists and return a 304
+if (isset($_SERVER['HTTP_IF_NONE_MATCH'])) {
+ $cachefile = $cachedir.'/cache-'.$_SERVER['HTTP_IF_NONE_MATCH'];
+ if (is_file($cachefile)) {
+ $cachefiles = array($cachefile);
+ header("Last-Modified: " . gmdate("D, d M Y H:i:s", getLastModified($cachefiles)) . " GMT");
+ header("HTTP/1.0 304 Not Modified");
+ header('Content-Length: 0');
+ exit();
+ }
+}
+
+// get the current skin directory
+$skinDir = dirname(__FILE__);
+$IncludeList = array($skinDir . '/style.css');
+
+// Determine last modification date of the files
+$lastmodified = getLastModified($IncludeList);
+
+// Send Etag hash
+$hash = $lastmodified . '-' . md5(serialize($IncludeList));
+
+// Set the cache filename
+define('CACHE_FILE', $cachedir.'/'.'cache-' . $hash);
+
+header("Content-Type: text/css; charset: ISO-8859-1");
+
+//Get the content of CSS in memory
+$content = getContent($IncludeList);
+
+header("Etag: " . $hash );
+header("Last-Modified: " . gmdate("D, d M Y H:i:s", $lastmodified) . " GMT");
+header("Connection: close");
+
+ob_start();
+$wgDisabledGzip = false;
+# Begin GZip; this can be disabled by setting $wgDisabledGzip to true in LocalSettings.php
+$isGzip = substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip') && $wgDisabledGzip !== true;
+if ($isGzip) {
+ header("Content-Encoding: gzip");
+ ob_start('ob_gzhandler');
+}
+echo($content);
+if ($isGzip) {
+ ob_end_flush(); // The ob_gzhandler one
+ header('Content-Length: '.ob_get_length());
+}
+ob_end_flush();
+
+function compress($buffer) {
+ $buffer = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $buffer);
+ $buffer = str_replace(array("\r\n", "\r", "\n", "\t", ' '), '', $buffer);
+ $buffer = str_replace('{ ', '{', $buffer);
+ $buffer = str_replace(' }', '}', $buffer);
+ $buffer = str_replace('; ', ';', $buffer);
+ $buffer = str_replace(', ', ',', $buffer);
+ $buffer = str_replace(' {', '{', $buffer);
+ $buffer = str_replace('} ', '}', $buffer);
+ $buffer = str_replace(': ', ':', $buffer);
+ $buffer = str_replace(' ,', ',', $buffer);
+ $buffer = str_replace(' ;', ';', $buffer);
+ return $buffer;
+}
+function getContent($IncludeList) {
+ // Write the cache file if it doesn't exists
+ if (!file_exists(CACHE_FILE)) {
+ $contents = '';
+ foreach($IncludeList as $file) {
+ $contents .= "\n\n" . file_get_contents($file);
+ }
+ if ($fp = @fopen(CACHE_FILE, 'wb')) {
+ fwrite($fp, $contents);
+ fclose($fp);
+ }
+ }
+ else {
+ $contents = file_get_contents(CACHE_FILE);
+ }
+ return compress($contents);
+}
+
+function getLastModified(&$IncludeList) {
+ $lastmodified = 0;
+ foreach ($IncludeList as $k => $file) {
+ if (!is_file($file)) {
+ unset($IncludeList[$k]);
+ continue;
+ }
+ $lastmodified = max($lastmodified, filemtime($file));
+ }
+ return $lastmodified;
+}
+
+?>
24 moonlight/frontpage.inc.html
@@ -0,0 +1,24 @@
+ <div id="splash">
+ <hr>
+ <div>
+ <!--graphics-->
+ <div id="hill"></div>
+ <div id="clouds"></div>
+ <div id="house"></div>
+ <div id="moon"></div>
+ <!--end graphics-->
+ <a id="download" href="/Downloads">Download</a>
+ <div class="about">
+ <h1>What is Moonlight?</h1>
+ <p>Moonlight is the free software implementation of Microsoft's Silverlight technology.</p>
+ <p>Some less clunky description here.</p>
+ </div>
+ <div class="distro-icons">
+ <a href="/Downloads#openSUSE"><img alt="" width="22" height="22" src="/skins/mono/moonlight/images/distro-opensuse.png"></a>
+ <a href="/Downloads#Ubuntu"><img alt="" width="22" height="22" src="/skins/mono/moonlight/images/distro-ubuntu.png"></a>
+ <a href="/Downloads#Fedora"><img alt="" width="22" height="22" src="/skins/mono/moonlight/images/distro-fedora.png"></a>
+ <a href="/Downloads#Unknown"><img alt="" width="22" height="22" src="/skins/mono/moonlight/images/distro-unknown.png"></a>
+ </div>
+ </div>
+ </div><!--splash-->
+
BIN  moonlight/images/distro-fedora.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/distro-opensuse.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/distro-ubuntu.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/distro-unknown.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/edit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/favicon.ico
Binary file not shown
BIN  moonlight/images/favicon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/header-bg.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/hr.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/li.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/logo-mini.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/mono-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/novell-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/splash-clouds-stars.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/splash-download.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/splash-gradient.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/splash-hill.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
BIN  moonlight/images/splash-house.png
Diff not rendered
BIN  moonlight/images/splash-moon.png
Diff not rendered
BIN  moonlight/images/spot1.png
Diff not rendered
BIN  moonlight/images/spot2.png
Diff not rendered
BIN  moonlight/images/spot3.png
Diff not rendered
302 moonlight/style.css
@@ -0,0 +1,302 @@
+/* Moonlight Stylesheet */
+body {
+ background: #4d4d4d url(/skins/mono/moonlight/images/header-bg.png) no-repeat left top;
+ padding: 0;
+ margin: 0;
+ font-family: "Droid Sans", Myriad, Segoe, Sans-Serif;
+ font-size: 13px;
+ color: #fff;
+}
+
+a { color: #83a67f; text-decoration: none; font-weight: bold; }
+a:hover { text-decoration: underline; color: #a3c69f; }
+ul>li { list-style-image: url(/skins/mono/moonlight/images/li.png); line-height: 150%; }
+
+#menu { font-family: 'Arial Rounded CE', 'Arial Rounded', Arial, Sans-Serif; color: #c5d2c8; }
+h1,h2,h3,h4,h5 { font-family: 'Arial Rounded CE', 'Arial Rounded', Arial, Sans-Serif;
+ color: #c5d2c8; margin: 1.5em 0 .5em 0; }
+h1 { font-size: 230% }
+h2 { font-size: 190% }
+h3 { font-size: 150% }
+h4 { font-size: 130% }
+h5 { font-size: 120% }
+ul,ol { margin: 1em 0 2em 2em; }
+
+dt { font-weight: bold; margin-left: 1em; }
+dd { font-weight: normal; margin: 0 0 1em 3em; }
+td { padding: .5em; vertical-align: top; }
+
+hr {
+ display: block;
+ width: 100%;
+ height: 1px;
+ margin: 0; padding: 0;
+ border: 0;
+ background: url(/skins/mono/moonlight/images/hr.png) no-repeat 50% 50%;
+}
+
+p,blockquote { margin-bottom: 1em; line-height: 160%; }
+blockquote { margin-left: 2em; }
+
+pre {
+ background-color: black;
+ -moz-border-radius: 5px;
+ -webkit-border-radius: 5px;
+ border-radius: 5px;
+ padding: 1em;
+ max-width: 60em;
+ overflow: auto;
+ margin-bottom: 1em;
+}
+
+
+.header {
+ position: relative;
+ min-height: 48px;
+ overflow: hidden;
+ max-width: 86em;
+ margin: auto;
+}
+ hr.headerhr { display: none; }
+ .page-home .header { /* frontpage */
+ position: relative;
+ min-height: 87px;
+ overflow: hidden;
+ max-width: 86em;
+ margin: auto;
+ }
+
+ #logo {
+ display: block;
+ border: 0;
+ position: absolute;
+ top: 18px;
+ left: 24px;
+ width: 150px;
+ height: 30px;
+ background: url(/skins/mono/moonlight/images/logo-mini.png) no-repeat top left;
+ }
+
+
+ .page-home #logo { /* frontpage */
+ width: 264px;
+ height: 53px;
+ background: url(/skins/mono/moonlight/images/logo.png) no-repeat top left;
+ }
+
+ #navi {
+ position: absolute;
+ bottom: 10px;
+ right: 0;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+ #search, #menu { float: left; } /* need inline-block*/
+ .siteSearch form>span { display: none; } /* No stupid redundant label */
+
+ #menu {
+ font-size: 115%;
+ }
+ #menu>a { margin-right: .5em; }
+
+#splash {
+ background: #192838 url(/skins/mono/moonlight/images/splash-gradient.png) no-repeat 40% bottom;
+ color: #fff;
+ border-bottom: 1px solid #091828;
+ overflow: hidden;
+ padding-top: 1px;
+}
+ #splash>div {
+ max-width: 80em;
+ margin: auto;
+ padding: 0 2em;
+ position: relative;
+ height: 270px;
+ }
+
+ #splash h1 { margin-top: 1em; color: #fff; }
+ #splash .about { max-width: 30%; margin-left: 50px;}
+
+ #hill {
+ width: 1062px;
+ height: 115px;
+ position: absolute;
+ bottom: 0;
+ right: 100px;
+ background: url(/skins/mono/moonlight/images/splash-hill.png) no-repeat top left;
+ }
+
+ #clouds {
+ width: 726px;
+ height: 169px;
+ position: absolute;
+ top: 10px;
+ right: 100px;
+ background: url(/skins/mono/moonlight/images/splash-clouds-stars.png) no-repeat top left;
+ }
+
+ #moon {
+ width: 66px;
+ height: 68px;
+ position: absolute;
+ top: 48px;
+ right: 478px;
+ background: url(/skins/mono/moonlight/images/splash-moon.png) no-repeat top left;
+ }
+
+ #house {
+ width: 57px;
+ height: 68px;
+ position: absolute;
+ bottom: 104px;
+ right: 180px;
+ background: url(/skins/mono/moonlight/images/splash-house.png) no-repeat top left;
+ }
+
+ #download {
+ display: block;
+ text-indent: -300em;
+ width: 199px;
+ height: 39px;
+ position: absolute;
+ bottom: 20px;
+ right: 80px;
+ background: url(/skins/mono/moonlight/images/splash-download.png) no-repeat top left;
+ }
+
+
+ #splash .distro-icons {
+ position: absolute;
+ bottom: 16px;
+ left: 16px;
+ }
+ .distro-icons>a>img { border: 0; margin-right: 6px; }
+
+#content {
+ margin: auto;
+ max-width: 60em;
+ padding: 1em 2em 6em 20em;
+ position: relative;
+}
+ .page-home #content {
+ max-width: 80em;
+ padding: 1em 2em;
+ }
+ .page-home #title { display: none; }
+ .sidebar {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 18em;
+ padding: 1em;
+ margin-top: 2em;
+ }
+ #sidebarmenu a {
+ display: block;
+ }
+
+.columns {
+ overflow: hidden;
+ margin-bottom: 2em;
+}
+ .columns>div {
+ float: left;
+ width: 46%;
+ margin-right: 2em;
+ }
+
+ .spotproject { margin-bottom: 2em; overflow: hidden; }
+
+ .spotproject h3 { margin-top: 0; }
+
+ .spotproject img {
+ display: block;
+ float: left;
+ margin-right: 8px;
+ }
+
+ .separator {
+ padding: 1px 0;
+ width: 100%;
+ background-color: #192838;
+ height: 1px;
+ border-bottom: 1px solid #090818;
+ }
+
+#footer {
+ background-color: #373737;
+ padding-top: 1px;
+}
+
+ #footer .sitemap, #copy, #footer .wikiEdit {
+ max-width: 80em;
+ margin: auto;
+ padding: 2em;
+ overflow: hidden;
+ clear: left;
+ }
+ .sitemap a { color: #9db8d2;}
+
+ ul.wikiEdit {
+ }
+ .wikiEdit li {
+ display: block;
+ float: left;
+ margin-right: 1em;
+ font-size: 80%;
+ }
+
+ #footer .links {
+ font-size: 90%;
+ float: left;
+ margin: 0 2em 0 1em;
+ width: 19em;
+ min-height: 16em;
+ }
+ .links ul {
+ line-height: 150%;
+ margin: 0 0 0 2em;
+ }
+ .links li { margin: 0; }
+
+ #mono-logo {
+ display: block;
+ float: left;
+ width: 127px;
+ height: 32px;
+ background: url(/skins/mono/moonlight/images/mono-logo.png) no-repeat top left;
+ text-indent: -300em;
+ margin-right: 20px;
+ }
+
+ #novell-logo {
+ display: block;
+ float: left;
+ width: 73px;
+ height: 32px;
+ background: url(/skins/mono/moonlight/images/novell-logo.png) no-repeat top left;
+ border-right: 1px dotted #828282;
+ padding-right: 5px;
+ margin-right: 10px;
+ text-indent: -300em;
+ }
+
+ #footer .legal { font-size: 90%; color: #828282; }
+
+/* images can't be too wide */
+img.internal { max-width: 60em; width: 100%; margin: 1em 0 2em 0; }
+td>img.internal { max-width: 300px; width: inherit; }
+
+.printfooter { display: none; }
+
+#pageToc { display: none; } /*FIXME just a workaround */
+ .pageToc li { font-size: 90%; margin: 0 0 1em 0; position: relative; padding-left: 2.2em; }
+ .pageToc>ol>li { padding-left: 1.5em; }
+ .pageToc>ol>li>ol>li>ol>li { padding-left: 3em; }
+ .pageToc li>span { display: block; position: absolute; top: 0; left: 0; }
+ .editIcon .sectionedit {
+ background: url('/skins/mono/moonlight/images/edit.png') no-repeat top left;
+ }
+
+#pageTypeSpecial { padding: 1em; margin: 2em 0 14em 0; }
+#pageTypeSpecial #searchForm { display: none; }
13 print.css
@@ -0,0 +1,13 @@
+div.header,
+div.body div.siteNav,
+div.body div.page div.pageBar,
+div.body div.page div.pageInfo,
+div.body div.page div.pageStatus,
+div.body div.page div.pageRevision,
+div.body div.page div.pageToc,
+div.body div.file,
+div.body div.gallery,
+div.custom,
+div.body div.page div.pageComments {
+ display: none;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.