diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-05-22 20:08:30 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-05-22 20:08:30 +0000 |
commit | cf52dbe5d4021890630177a9d44afdb8679c0084 (patch) | |
tree | 521ee1792535bb940c74388c19666dd4290e30df | |
parent | 94527bdc76adf421ee33eff3a5a480e187b620b7 (diff) | |
download | mediawiki-cf52dbe5d4021890630177a9d44afdb8679c0084.tar mediawiki-cf52dbe5d4021890630177a9d44afdb8679c0084.tar.gz mediawiki-cf52dbe5d4021890630177a9d44afdb8679c0084.tar.bz2 mediawiki-cf52dbe5d4021890630177a9d44afdb8679c0084.tar.xz mediawiki-cf52dbe5d4021890630177a9d44afdb8679c0084.zip |
revert 1147; it still breaks the whole wiki CSS
-rw-r--r-- | skins/cavendish.php | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/skins/cavendish.php b/skins/cavendish.php index 4c9a162..a0f2b56 100644 --- a/skins/cavendish.php +++ b/skins/cavendish.php @@ -123,6 +123,46 @@ class cavendishTemplate extends QuickTemplate { <?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') ?>"> +<!-- +mageia.org global navigation bar - rda, 2011/06/30 +ping #mageia-webteam on Freenode or mageia-webteam@ ml. +--> +<style> +.nav { + margin: 0 0 0 1em 0; + padding: 0.3em; + background: #ffffff; + font: normal normal normal 13px/1.231 arial, helvetica, clean, sans-serif; + font-family: Verdana, 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans', Verdana, Tahoma, Arial, sans-serif; + border-bottom: 1px solid #9db1ca; + -webkit-box-shadow: 0 1px 2px #9db1ca; -moz-box-shadow: 0 1px 2px #9db1ca; box-shadow: 0 1px 2px #9db1ca; +} +.nav2 { margin: 0 0.5em; padding: 0; width: auto; position: relative; } +p.loc { margin: 0 auto; padding: 0.5em 0; font-size: 0.9em; color: #ccc; width: 100%; text-align: left; } +p.loc a { color: #2383c2; text-decoration: none; } +p.loc a.sel { font-weight: bold; color: #000; } +body { margin: 0 0 3em 0; padding-top: 0; } +a:link { color: #2383c2; } +a.new:link { color: #ba0000; } +a:visited { color: #5a3696; } +.nav a[href^="https://"] { background: none; padding-right: 0; } +</style> +<div class="nav"><!--googleoff: all--><div class="nav2"> +<p class="loc"><a href="http://www.mageia.org/en/" accesskey="1">Mageia</a> + | <a href="http://www.mageia.org/en/1/">1</a> + | <a href="http://blog.mageia.org/en/">Blog</a> + | <a href="http://www.mageia.org/en/downloads/">Downloads</a> + | <a href="http://www.mageia.org/en/support/">Support</a> + | <a href="https://forums.mageia.org/en/">Forum</a> + | <a href="http://www.mageia.org/en/contribute/">Contribute</a> + | <a href="https://wiki.mageia.org/en/" class="sel">Wiki</a> + | <a href="https://bugs.mageia.org/">Bugzilla</a> + | <a href="http://www.mageia.org/en/donate/">Donations</a> + | <a href="http://www.mageia.org/en/about/">About</a></p> +</div><!--googleon: all--></div> +<br> +<!-- /mageia.org nav bar --> + <div id="internal"></div> <!-- cavendish-mod --> <div id="container"> <!-- cavendish-mod / default: globalWrapper --> @@ -299,7 +339,6 @@ class cavendishTemplate extends QuickTemplate { var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> -<script src="//nav.mageia.org/js/"></script> </body></html> <?php wfRestoreWarnings(); |