[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/patches/mediawiki/skins
From:       Daniel Molkentin <molkentin () kde ! org>
Date:       2007-03-09 6:13:01
Message-ID: 1173420781.271537.12271.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 640775 by danimo:

upps, committed an entirely outdated version of the style. this is the
version we actually use. it also contains path fixes

CCMAIL:Jarosław Staniek <js@iidea.pl>
CCMAIL:Aaron Seigo <aseigo@kde.org>


 M  +12 -5     Oxygen.php  
 M  +148 -9    oxygen/css.php  


--- trunk/www/patches/mediawiki/skins/Oxygen.php #640774:640775
@@ -64,6 +64,7 @@
 		</style>
 		<link rel="stylesheet" media="screen,projection" type="text/css" title="KDE \
Colors" href="<?php $this->text('stylepath') \
?>/oxygen/css.php?mode=normal&amp;css-inc=/" />  <link rel="stylesheet" media="print, \
embossed" type="text/css" href="<?php $this->text('stylepath') \
?>/oxygen/css.php?mode=print&amp;css-inc=/" /> +		<!--[if IE 6]> <link \
rel="stylesheet" type="text/css" media="screen" title="KDE Colors - ie Fix" \
href="$this->text('stylepath') ?>/oxygen/ie_fix.css" />  <![endif]-->  <link \
rel="alternative stylesheet" media="screen, aural, handheld, tty, braille" \
type="text/css" title="Flat" href="<?php $this->text('stylepath') \
?>/oxygen/css.php?mode=flat&amp;css-inc=/" />  <link rel="alternative stylesheet" \
media="screen" type="text/css" title="Browser Colors" href="<?php \
$this->text('stylepath') ?>/oxygen/css.php?color&amp;background&amp;link" />  <link \
rel="alternative stylesheet" media="screen" type="text/css" title="White on Black" \
href="<?php $this->text('stylepath') \
?>/oxygen/css.php?color=%23FFFFFF&amp;background=%23000000&amp;link=%23FF8080" /> @@ \
-73,6 +74,11 @@  <?php	}
         	if($this->data['usercss'   ]) { ?>
         	<style type="text/css"><?php $this->html('usercss'   ) ?></style>
+		<script type="<?php $this->text('jsmimetype') ?>" src="<?php \
$this->text('stylepath' ) ?>/common/wikibits.js?1"><!-- wikibits js --></script> \
+<?php	if($this->data['jsvarurl'  ]) { ?> +		<script type="<?php \
$this->text('jsmimetype') ?>" src="<?php $this->text('jsvarurl'  ) ?>"><!-- site js \
--></script> +<?php	} ?>
+
 <?php	}
 		if($this->data['userjs'    ]) { ?>
 		<script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('userjs' \
) ?>"></script> @@ -90,7 +96,8 @@
 			<div id="header_top"><div><div>
 				<img alt ="" src="/skins/oxygen/top-kde.png"/>
 				<!-- Name of Site Goes Here - Media Wiki doesn't provide name of site in API -->
-				KDE Developers Home
+				<!--<a href="/" class="headerlink">KDE Developers Home</a>-->
+				<a href="/" class="title"><?php global $wgSitename; echo $wgSitename; ?></a>
 				</div></div></div>
 	  	<div id="header_bottom">
 
@@ -137,7 +144,6 @@
 								</div>
 									</div>
 									</div>
-	<?php foreach ($this->data['sidebar'] as $bar => $cont) { ?>
 	<div id='left'>
 		<!-- Search Menu -->
 		<div class="menu_box">
@@ -152,6 +158,7 @@
 		</div>
 	<!-- End of Search Menu -->
 		
+	<?php foreach ($this->data['sidebar'] as $bar => $cont) { ?>
 	<!-- Main Menu -->
 	<div class="menutitle"><div>
 		<h2><?php $out = wfMsg( $bar ); if (wfEmptyMsg($bar, $out)) echo $bar; else echo \
$out; ?></h2> @@ -164,8 +171,8 @@
 				?>><a href="<?php echo htmlspecialchars($val['href']) ?>"><?php echo \
htmlspecialchars($val['text']) ?></a></li>  <?php			} ?>
 			</ul>
+	<?php } ?>
 		</div>	
-	<?php } ?>
 	<!-- Toolbox Menu -->
 	<div class="menutitle"><div>
 		<h2><?php $this->msg('toolbox') ?></h2>
@@ -260,8 +267,8 @@
 		</div>
 		<div class="clear"></div>
 		<div id="footer"><div id="footer_text">
-		Maintained by <a href="mailto:kde-www@kde.org">KDE webmasters</a><br />
-        KDE<sup>&#174;</sup> and <a href="/media/images/kde_gear_black.png">the K \
Desktop Environment<sup>&#174;</sup> logo</a> are registered trademarks of <a \
href="http://ev.kde.org/" title="Homepage of the KDE non-profit Organization">KDE \
e.V.</a> | +<!--		Maintained by <a href="mailto:kde-www@kde.org">KDE \
webmasters</a><br />--> +        KDE<sup>&#174;</sup> and <a \
href="/media/images/kde_gear_black.png">the K Desktop Environment<sup>&#174;</sup> \
logo</a> are registered trademarks of <a href="http://ev.kde.org/" title="Homepage of \
the KDE non-profit Organization">KDE e.V.</a> Qt&reg; and Trolltech&reg; are \
registered trademarks of <a href="http://www.trolltech.com">Trolltech ASA</a>. \
Linux&reg; is a registered Trademark of Linus Torvalds. |  <a \
href="http://www.kde.org/contact/impressum.php">Legal</a>  </div></div>
 	</body>
--- trunk/www/patches/mediawiki/skins/oxygen/css.php #640774:640775
@@ -22,7 +22,7 @@
     font-size: 0.8em;
     font-family: "Bitstream Vera Sans", "Lucida Grande", "Trebuchet MS", sans-serif;
     <?php color ('#535353')?>
-    <?php background ('#ffffff')?>
+    <?php background ('#fff')?>
 }
 
 .clear {
@@ -36,15 +36,27 @@
 	font-size: 100%;
 	color: black;
 }
+
+
 a:link, a:visited {
     padding-bottom: 0;
     text-decoration: none;
     <?php linkcolor ('#0057ae')?>
 }
+
 a:hover {
 	text-decoration: underline;
 }
 
+a.title:link, a.title:visited, a.title:hover {
+    text-decoration: none;
+    <?php linkcolor ('#fff')?>
+}
+
+a:visited {
+    <?php linkcolor ('#644a9b')?>
+}
+/*
 a.stub {
 	color: #772233;
 }
@@ -54,33 +66,40 @@
 a.new:visited, #p-personal a.new:visited {
 	color: #a55858;
 }
-
-
+*/
 h1, h2, h3, h4 {
     text-align: left;
     font-weight: bold;
+    margin-top: 1.0em;
     <?php color ('#F7800A')?>
     <?php background ('transparent')?>
 }
 
 h1 {
+    margin-top: 1.5em;
     font-size: 1.7em;
 }
 
+h1.firstHeading {
+    margin-top: .5em;
+    font-size: 1.7em;
+}
+
 h2 {
     font-size: 1.5em;
 }
 
 h3 {
-    font-size: 1.4em;
+    font-size: 1.2em;
+    <?php color ('#e3ad00')?>
 }
 
 h4 {
-    font-size: 1.3em;
+    font-size: 1.1em;
 }
 
 h5 {
-    font-size: 1.2em;
+    font-size: 1.0em;
 }
 
 
@@ -147,7 +166,8 @@
 input, textarea, select {
     margin: 0.2em;
     padding: 0.1em;
-    <?php color ('#888888')?>
+    font-size: 125%; /* for poor aaron */
+    <?php color ('#000')?>
     <?php background ('#fff')?>
     border: 1px solid;
 }
@@ -206,15 +226,17 @@
 	font-style: italic;
 }*/
 code {
+        font-family: 'Bitstream Vera Sans Mono', Courier;
 	background-color: #f9f9f9;
 	padding: 0 0.5em 0 0.5em;
 	border: 1px solid #b5cfe9;
 }
 pre {
 	padding: 1em;
-	border: 1px dashed #2f6fab;
+/*/	border: 1px dashed #2f6fab;
 	color: black;
-	background-color: #f9f9f9;
+	background-color: #f9f9f9;*/
+	font-size: 1.1em;
 	line-height: 1.1em;
 	overflow: auto;
 }
@@ -390,6 +412,12 @@
 	text-decoration:none;
 }
 
+#menu ul li.new a {
+	<?php background ('url(tab-right.png) no-repeat top right')?>
+ 	<?php color ('#bbbbbb')?>
+	text-decoration:none;
+}
+
 #menu ul li.selected a{
 	<?php background ('url(taba-right.png) no-repeat top right')?>
 	border-bottom: 1px solid white;	
@@ -465,6 +493,7 @@
 width: 8em;
 border: 2px solid #dddddd;
 color: #aaa;
+font-size:75%
 }
 .menu_box input.searchButton {
 	/*confirm the colours used in here */
@@ -473,6 +502,7 @@
 	background-color: #888a85;
 	color: #fff;
 	border: 1px solid #bcbdba;
+        font-size:75%
 }
 
 #footer {
@@ -498,6 +528,31 @@
     <?php onlyprint(); ?>
 }
 
+img.tex {
+        vertical-align: middle;
+}
+span.texhtml {
+        font-family: serif;
+}
+
+/* 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%;
+}
+
+
 /*
 ** Diff rendering
 */
@@ -521,8 +576,92 @@
 	font-weight: bold;
 }
 
+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;
+	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; }
 
 
+/* rounded infobox */
+
+.rbroundbox { }
+.rbtop div { background: url(tl.png) no-repeat top left; }
+.rbtop { background: url(tr.png) no-repeat top right; }
+.rbbot div { background: url(bl.png) no-repeat bottom left; }
+.rbbot { background: url(br.png) no-repeat bottom right; }
+
+ .rbtopwrap { 
+     color: #fff; 
+     background-color: #0071bc; 
+     padding-bottom: 0.5em;
+     font-weight: bold;
+     text-align: center;
+}
+ 
+.rbtop div, .rbtop, .rbbot div, .rbbot {
+    width: 100%;
+    height: 7px;
+    font-size: 1px;
+}
+
+.rbcontent { margin: 0 7px; padding-top: 0.5em; }
+.rbroundbox { width: 50%; margin: 1em auto; background-color: #dadde0;}
+
+/* rounded codebox */
+
+div.rtop, div.rbottom { display: block; }
+div.rtop b, div.rbottom b { display: block; height: 1px; overflow: hidden; }
+div.rtop b.r1, div.rbottom b.r1 { margin: 0 5px; background: #555753; }
+b.r2 {margin: 0 3px; border-left: 2px solid #555753; border-right: 2px solid \
#555753;} +b.r3 {margin: 0 2px; border-left: 1px solid #555753; border-right: 1px \
solid #555753;} +div.rtop b.r4, div.rbottom b.r4 
+{ margin: 0 1px; height: 2px; border-left: 1px solid #555753; border-right: 1px \
solid #555753; } +div.rmiddle { border-left: 1px solid #555753; border-right: 1px \
solid #555753; padding: 0 5px; } +div.rcode p, pre { margin: 0; } 
+div.codebox { margin-bottom: 1em; } 
+
+div.rcode { 
+  margin: 0; 
+  padding: 0;
+  display: block;
+  overflow:auto;
+  font-family: 'Bitstream Vera Sans Mono', monospace;
+  white-space: pre;
+}
+
+.codebarbg {
+  background-image: url(codebarbg.png);
+  background-position: center right;
+  background-repeat: no-repeat;
+  background-color: #f1f1f1;
+  font-family: 'Bitstream Vera Sans Mono', monospace;
+  font-weight: bold;
+  font-size: 14px;
+  color: #555753;
+  padding: 0em 0.5em 0em 0.5em;
+  margin-bottom: 0.5em;
+}
+
 <?php
 
 if (isset ($_GET ['css-inc']) && file_exists ($_SERVER ['DOCUMENT_ROOT'].$_GET \
['css-inc'].'/css.inc'))


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic