Fixed for Mediawiki 1.39
This commit is contained in:
parent
d581539a37
commit
aaae2e4a35
|
@ -2,6 +2,6 @@
|
|||
|
||||
Wikirby's old, no longer functional custom skin.
|
||||
|
||||
It was originally written by "Steve", and recreated by dkpat https://dkpat.dev
|
||||
It was originally written by "Steve" https://wikirby.com/wiki/User:Steve, and recreated/updated by dkpat https://dkpat.dev
|
||||
|
||||
This skin no longer functions on modern versions of MediaWiki. As with Fire Emblem Wiki's custom skin, it would be a good gift to the people at WiKirby to make it work again some day.
|
||||
|
|
|
@ -33,37 +33,20 @@
|
|||
if( !defined( 'MEDIAWIKI' ) )
|
||||
die( -1 );
|
||||
|
||||
$wgValidSkinNames['wikirbyclassic'] = 'WikirbyClassic';
|
||||
$wgValidSkinNames['Wikirby'] = 'Wikirby';
|
||||
|
||||
/**
|
||||
* Inherit main code from SkinTemplate, set the CSS and template filter.
|
||||
* @todo document
|
||||
* @addtogroup Skins
|
||||
*/
|
||||
class SkinWikirbyClassic extends SkinTemplate {
|
||||
/** Using GuMax */
|
||||
var $skinname = 'wikirbyclassic', $stylename = 'wikirbyclassic',
|
||||
$template = 'WikirbyClassicTemplate', $useHeadElement = true;
|
||||
|
||||
function setupSkinUserCss( OutputPage $out ) {
|
||||
global $wgHandheldStyle;
|
||||
parent::setupSkinUserCss( $out );
|
||||
|
||||
// Append to the default screen common & print styles...
|
||||
$out->addStyle( 'WikirbyClassic/gumax_main.css', 'screen' );
|
||||
if( $wgHandheldStyle ) {
|
||||
// Currently in testing... try 'chick/main.css'
|
||||
$out->addStyle( $wgHandheldStyle, 'handheld' );
|
||||
}
|
||||
$out->addStyle( 'monobook/rtl.css', 'screen', '', 'rtl' );
|
||||
$out->addStyle( 'WikirbyClassic/gumax_print.css', 'print' );
|
||||
}
|
||||
class SkinWikirby extends SkinTemplate {
|
||||
}
|
||||
/**
|
||||
* @todo document
|
||||
* @addtogroup Skins
|
||||
*/
|
||||
class WikirbyClassicTemplate extends BaseTemplate {
|
||||
class WikirbyTemplate extends BaseTemplate {
|
||||
var $skin;
|
||||
/**
|
||||
* Template filter callback for MonoBook skin.
|
||||
|
@ -100,13 +83,12 @@ class WikirbyClassicTemplate extends BaseTemplate {
|
|||
<div id="p-logo">
|
||||
<?php
|
||||
$logoAttribs = array() + Linker::tooltipAndAccesskeyAttribs('p-logo');
|
||||
$logoAttribs['style'] = "background-image: url({$this->data['logopath']});";
|
||||
$logoAttribs['style'] = "background-image: url(https://wikirby.com/w/skins/WiKirby/images/logo.png);";
|
||||
$logoAttribs['href'] = $this->data['nav_urls']['mainpage']['href'];
|
||||
echo Html::element( 'a', $logoAttribs );
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
|
||||
<!-- end of gumax-p-logo -->
|
||||
<!-- Search -->
|
||||
<?php
|
||||
|
@ -118,13 +100,10 @@ class WikirbyClassicTemplate extends BaseTemplate {
|
|||
<input type='hidden' name="title" value="<?php $this->text('searchtitle') ?>"/>
|
||||
<?php echo $this->makeSearchInput(array( "id" => "searchInput" )); ?>
|
||||
|
||||
<?php echo $this->makeSearchButton("go", array( "id" => "searchGoButton", "class" => "searchButton" ));
|
||||
if ($wgUseTwoButtonsSearchForm): ?> 
|
||||
<?php echo $this->makeSearchButton("fulltext", array( "id" => "mw-searchButton", "class" => "searchButton" ));
|
||||
else: ?>
|
||||
|
||||
<div><a href="<?php $this->text('searchaction') ?>" rel="search"><?php $this->msg('powersearch-legend') ?></a></div><?php
|
||||
endif; ?>
|
||||
<?php
|
||||
echo $this->makeSearchButton("go", array( "id" => "searchGoButton", "class" => "searchButton" ));
|
||||
echo $this->makeSearchButton("fulltext", array( "id" => "mw-searchButton", "class" => "searchButton" ));
|
||||
?>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
@ -148,30 +127,25 @@ class WikirbyClassicTemplate extends BaseTemplate {
|
|||
<table class="gumax-row" width="100%"><tr><td class="gumax-row-left" valign="top">
|
||||
<!-- Navigation Menu -->
|
||||
<div id="gumax-p-navigation">
|
||||
<?php foreach ($this->data['sidebar'] as $bar => $cont) { ?>
|
||||
<?php foreach ($this->data['sidebar'] as $bar => $cont) {
|
||||
if($bar == 'SEARCH' || $bar == 'LANGUAGES') continue;
|
||||
?>
|
||||
<div class='gumax-portlet'>
|
||||
<h5><?php $out = wfMessage( $bar )->text(); if (wfMessage($bar)->inContentLanguage()->isBlank()) echo $bar; else echo $out; ?></h5>
|
||||
<ul>
|
||||
<?php foreach($cont as $key => $val) { ?>
|
||||
<li id="<?php echo htmlspecialchars($val['id']) ?>"<?php
|
||||
<?php foreach($cont as $key => $val) {
|
||||
/* <li id="<?php echo htmlspecialchars($val['id']) ?>"<?php
|
||||
if ( $val['active'] ) { ?> class="active" <?php }
|
||||
// var_dump($val);
|
||||
?>><a href="<?php echo htmlspecialchars($val['href']) ?>"><?php echo htmlspecialchars($val['text']) ?></a></li>
|
||||
<?php } ?>
|
||||
*/
|
||||
echo $this->makeListItem($key, $val);
|
||||
} ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
<!-- She Media Left Sidebar Ad Desktop Begin -->
|
||||
<h5 style="text-align:center" class="gumax-portlet h5">Advertisement</h5>
|
||||
<!-- BLOGHER ADS Begin Second 160x600 ad -->
|
||||
<div style="text-align:center" id="skm-ad-sky-2"></div>
|
||||
<script type="text/javascript">
|
||||
blogherads.adq.push(['sky', 'skm-ad-sky-2']);
|
||||
</script>
|
||||
<!-- BLOGHER ADS End Second 160x600 ad -->
|
||||
<!-- She Media Left Sidebar Ad Desktop End -->
|
||||
|
||||
<!-- end of Navigation Menu -->
|
||||
</td><td class="gumax-row-right" valign="top">
|
||||
|
||||
|
@ -251,7 +225,7 @@ class WikirbyClassicTemplate extends BaseTemplate {
|
|||
<li id="t-ispermalink"><?php $this->msg('permalink') ?></li><?php
|
||||
}
|
||||
|
||||
Hooks::run( 'WikirbyClassicTemplateToolboxEnd', array( &$this ) );
|
||||
Hooks::run( 'WikirbyTemplateToolboxEnd', array( &$this ) );
|
||||
Hooks::run( 'SkinTemplateToolboxEnd', array( &$this ) );
|
||||
?>
|
||||
|
||||
|
@ -328,7 +302,7 @@ class WikirbyClassicTemplate extends BaseTemplate {
|
|||
}
|
||||
$linkHtml = Html::element( 'a', $linkAttribs, $tab['text'] );
|
||||
/* Surround with a <li> */
|
||||
$liAttribs = array( 'id' => Sanitizer::escapeId( "ca-$key" ) );
|
||||
// $liAttribs = array( 'id' => Sanitizer::escapeId( "ca-$key" ) );
|
||||
if( $tab['class'] ) {
|
||||
$liAttribs['class'] = $tab['class'];
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<dwsync>
|
||||
<file name="document.png" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758120000000" remote="130208152910000000" Dst="2" />
|
||||
<file name="user.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758120000000" remote="130208153060000000" Dst="2" />
|
||||
<file name="wiki.png" server="ftp.dkpat.net/public_html/skinwiki/" local="130205389660000000" remote="130208153060000000" Dst="2" />
|
||||
<file name="blank.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758500000000" remote="130208152910000000" Dst="2" />
|
||||
<file name="mail_icon.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758500000000" remote="130208153040000000" Dst="2" />
|
||||
<file name="gumax_template.css" server="ftp.dkpat.net/public_html/skinwiki/" local="130208149032080088" remote="130208152920000000" Dst="2" />
|
||||
<file name="jquery.js" server="ftp.dkpat.net/public_html/skinwiki/" local="130208119078496260" remote="130208153040000000" Dst="2" />
|
||||
<file name="arrow_up.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758520000000" remote="130208152900000000" Dst="2" />
|
||||
<file name="file_icon.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758520000000" remote="130208152910000000" Dst="2" />
|
||||
<file name="link_icon.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758520000000" remote="130208153040000000" Dst="2" />
|
||||
<file name="external.png" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758540000000" remote="130208152910000000" Dst="2" />
|
||||
<file name="gumax_print.css" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758540000000" remote="130208152920000000" Dst="2" />
|
||||
<file name="video.png" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758540000000" remote="130208153060000000" Dst="2" />
|
||||
<file name="rtl.css" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758540000000" remote="130208153050000000" Dst="2" />
|
||||
<file name="magnify-clip.png" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758560000000" remote="130208153040000000" Dst="2" />
|
||||
<file name="gumax_default.css" server="ftp.dkpat.net/public_html/skinwiki/" local="130208119082379753" remote="130208152920000000" Dst="2" />
|
||||
<file name="arrow.png" server="ftp.dkpat.net/public_html/skinwiki/" local="130208132144579457" remote="130208152900000000" Dst="2" />
|
||||
<file name="arrow.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758560000000" remote="130208152900000000" Dst="2" />
|
||||
<file name="news_icon.png" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758560000000" remote="130208153050000000" Dst="2" />
|
||||
<file name="gumax_main.css" server="ftp.dkpat.net/public_html/skinwiki/" local="130208119077675521" remote="130208152920000000" Dst="2" />
|
||||
<file name="required.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758580000000" remote="130208153050000000" Dst="2" />
|
||||
<file name="dotbullet.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758600000000" remote="130208152910000000" Dst="2" />
|
||||
<file name="nav_rrow.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758600000000" remote="130208153050000000" Dst="2" />
|
||||
<file name="audio.png" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758620000000" remote="130208152910000000" Dst="2" />
|
||||
<file name="handheld.css" server="ftp.dkpat.net/public_html/skinwiki/" local="130208119082580010" remote="130208152930000000" Dst="2" />
|
||||
<file name="bullet.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="130205389970000000" remote="130208152910000000" Dst="2" />
|
||||
<file name="arrow_left.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758640000000" remote="130208152900000000" Dst="2" />
|
||||
<file name="lock_icon.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758640000000" remote="130208153040000000" Dst="2" />
|
||||
<file name="discussionitem_icon.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758640000000" remote="130208152910000000" Dst="2" />
|
||||
<file name="main.css" server="ftp.dkpat.net/public_html/skinwiki/" local="130208119082790310" remote="130208153050000000" Dst="2" />
|
||||
</dwsync>
|
1337
handheld.css
1337
handheld.css
File diff suppressed because it is too large
Load Diff
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<dwsync>
|
||||
<file name="c2_top_right.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758340000000" remote="130208152940000000" Dst="2" />
|
||||
<file name="c2_bottom_left.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758360000000" remote="130208152930000000" Dst="2" />
|
||||
<file name="dot_arrow.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758380000000" remote="130208152940000000" Dst="2" />
|
||||
<file name="gumax-arrow-blue.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758400000000" remote="130208152940000000" Dst="2" />
|
||||
<file name="gumax-bullet.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758420000000" remote="130208152950000000" Dst="2" />
|
||||
<file name="gumax-bullet-hil.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758420000000" remote="130208152950000000" Dst="2" />
|
||||
<file name="c2_bottom_right.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758420000000" remote="130208152930000000" Dst="2" />
|
||||
<file name="gumax-arrow-yellow.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758440000000" remote="130208152940000000" Dst="2" />
|
||||
<file name="gm_shadow_r.png" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758440000000" remote="130208152940000000" Dst="2" />
|
||||
<file name="three_dot.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758440000000" remote="130208153030000000" Dst="2" />
|
||||
<file name="c2_top_left.gif" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758440000000" remote="130208152940000000" Dst="2" />
|
||||
<file name="gm_shadow_l.png" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758480000000" remote="130208152940000000" Dst="2" />
|
||||
</dwsync>
|
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<dwsync>
|
||||
<file name="gumax-bg-1.jpg" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758180000000" remote="130208152950000000" Dst="2" />
|
||||
<file name="gumax-bodycenter.png" server="ftp.dkpat.net/public_html/skinwiki/" local="129746758180000000" remote="130208153000000000" Dst="2" />
|
||||
<file name="gumax-content.png" server="ftp.dkpat.net/public_html/skinwiki/" local="130205388830000000" remote="130208153010000000" Dst="2" />
|
||||
<file name="gumax-bg.png" server="ftp.dkpat.net/public_html/skinwiki/" local="130205388290000000" remote="130208153000000000" Dst="2" />
|
||||
<file name="gumax-bodyleft.jpg" server="ftp.dkpat.net/public_html/skinwiki/" local="130205388680000000" remote="130208153010000000" Dst="2" />
|
||||
<file name="gumax-bodyright.jpg" server="ftp.dkpat.net/public_html/skinwiki/" local="130205388730000000" remote="130208153010000000" Dst="2" />
|
||||
<file name="gumax-footcenter.jpg" server="ftp.dkpat.net/public_html/skinwiki/" local="130205388880000000" remote="130208153010000000" Dst="2" />
|
||||
<file name="gumax-footleft.jpg" server="ftp.dkpat.net/public_html/skinwiki/" local="130205388950000000" remote="130208153010000000" Dst="2" />
|
||||
<file name="gumax-footright.jpg" server="ftp.dkpat.net/public_html/skinwiki/" local="130205389020000000" remote="130208153010000000" Dst="2" />
|
||||
<file name="gumax-headcenter.jpg" server="ftp.dkpat.net/public_html/skinwiki/" local="130205389070000000" remote="130208153010000000" Dst="2" />
|
||||
<file name="gumax-headleft.jpg" server="ftp.dkpat.net/public_html/skinwiki/" local="130205389120000000" remote="130208153010000000" Dst="2" />
|
||||
<file name="gumax-headright.jpg" server="ftp.dkpat.net/public_html/skinwiki/" local="130205389190000000" remote="130208153020000000" Dst="2" />
|
||||
<file name="go.png" server="ftp.dkpat.net/public_html/skinwiki/" local="130205389800000000" remote="130208152950000000" Dst="2" />
|
||||
<file name="personal.png" server="ftp.dkpat.net/public_html/skinwiki/" local="130205389450000000" remote="130208153020000000" Dst="2" />
|
||||
<file name="search.png" server="ftp.dkpat.net/public_html/skinwiki/" local="130205389550000000" remote="130208153020000000" Dst="2" />
|
||||
</dwsync>
|
|
@ -112,7 +112,7 @@ ul {
|
|||
list-style-type: square;
|
||||
margin: .3em 0 0 1.5em;
|
||||
padding: 0;
|
||||
list-style-image: url(bullet.gif);
|
||||
list-style-image: url(skins/WiKirby/bullet.gif);
|
||||
}
|
||||
ol {
|
||||
line-height: 1.5em;
|
||||
|
@ -527,33 +527,33 @@ div.townBox dl dd {
|
|||
** 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,
|
||||
#bodyContent a[href ^="gopher://"] {
|
||||
background: url(external.png) center right no-repeat;
|
||||
background: url(skins/WiKirby/external.png) center right no-repeat;
|
||||
padding-right: 13px;
|
||||
}
|
||||
}*/
|
||||
#bodyContent a[href ^="https://"],
|
||||
.link-https {
|
||||
background: url(lock_icon.gif) center right no-repeat;
|
||||
background: url(skins/WiKirby/lock_icon.gif) center right no-repeat;
|
||||
padding-right: 16px;
|
||||
}
|
||||
#bodyContent a[href ^="mailto:"],
|
||||
.link-mailto {
|
||||
background: url(mail_icon.gif) center right no-repeat;
|
||||
background: url(skins/WiKirby/mail_icon.gif) center right no-repeat;
|
||||
padding-right: 18px;
|
||||
}
|
||||
#bodyContent a[href ^="news://"] {
|
||||
background: url(news_icon.png) center right no-repeat;
|
||||
background: url(skins/WiKirby/news_icon.png) center right no-repeat;
|
||||
padding-right: 18px;
|
||||
}
|
||||
#bodyContent a[href ^="ftp://"],
|
||||
.link-ftp {
|
||||
background: url(file_icon.gif) center right no-repeat;
|
||||
background: url(skins/WiKirby/file_icon.gif) center right no-repeat;
|
||||
padding-right: 18px;
|
||||
}
|
||||
#bodyContent a[href ^="irc://"],
|
||||
.link-irc {
|
||||
background: url(discussionitem_icon.gif) center right no-repeat;
|
||||
background: url(skins/WiKirby/discussionitem_icon.gif) center right no-repeat;
|
||||
padding-right: 18px;
|
||||
}
|
||||
#bodyContent a.external[href $=".ogg"], #bodyContent a.external[href $=".OGG"],
|
||||
|
@ -563,7 +563,7 @@ div.townBox dl dd {
|
|||
#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;
|
||||
background: url("skins/WiKirby/audio.png") center right no-repeat;
|
||||
padding-right: 13px;
|
||||
}
|
||||
#bodyContent a.external[href $=".ogm"], #bodyContent a.external[href $=".OGM"],
|
||||
|
@ -571,14 +571,14 @@ div.townBox dl dd {
|
|||
#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;
|
||||
background: url("skins/WiKirby/video.png") center right no-repeat;
|
||||
padding-right: 13px;
|
||||
}
|
||||
#bodyContent a.external[href $=".pdf"], #bodyContent a.external[href $=".PDF"],
|
||||
#bodyContent a.external[href *=".pdf#"], #bodyContent a.external[href *=".PDF#"],
|
||||
#bodyContent a.external[href *=".pdf?"], #bodyContent a.external[href *=".PDF?"],
|
||||
.link-document {
|
||||
background: url("document.png") center right no-repeat;
|
||||
background: url("skins/WiKirby/document.png") center right no-repeat;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
|
@ -600,10 +600,10 @@ div.townBox dl dd {
|
|||
}
|
||||
/* this can be used in the content area to switch off
|
||||
special external link styling */
|
||||
#bodyContent .plainlinks a {
|
||||
/*#bodyContent .plainlinks a {
|
||||
background: none !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
}*/
|
||||
|
||||
/*
|
||||
** the remaining portlets
|
|
@ -44,7 +44,7 @@ body {
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
min-width: 800px;
|
||||
background: #4466bf url('images/shadow/gumax-bg.png') repeat-x;
|
||||
background: #4466bf url('skins/WiKirby/images/shadow/gumax-bg.png') repeat-x;
|
||||
}
|
||||
body, td, th, input, textarea, pre, h1, h2, h3, h4, h5, h6 {
|
||||
color: #555;
|
||||
|
@ -70,8 +70,6 @@ table.gumax-caption, table.gumax-row {
|
|||
table.gumax-row td.gumax-row-left, #gumax-p-navigation {
|
||||
width: 180px; /* menu width */
|
||||
}
|
||||
#gumax-header, table.gumax-caption, table.gumax-row, #gumax-footer { /* border: 1px solid #0066CC; /**/
|
||||
}
|
||||
table.gumax-row td.gumax-row-left {
|
||||
border-right: 1px solid #e5eeff;
|
||||
}
|
||||
|
@ -147,7 +145,7 @@ table.gumax-caption, table.gumax-row {
|
|||
top: 0;
|
||||
right: 0;
|
||||
white-space: nowrap;
|
||||
background: url(images/shadow/personal.png) no-repeat left bottom;
|
||||
background: url(skins/WiKirby/images/shadow/personal.png) no-repeat left bottom;
|
||||
z-index: 700;
|
||||
}
|
||||
#gumax-p-login ul {
|
||||
|
@ -203,7 +201,7 @@ li#pt-userpage, li#pt-anonuserpage, li#pt-login {
|
|||
overflow: visible;
|
||||
display: block;
|
||||
padding: 0;
|
||||
background: url(images/shadow/wiki.png);
|
||||
background: url(skins/WiKirby/images/shadow/wiki.png);
|
||||
}
|
||||
#p-logo a, #p-logo a:hover {
|
||||
display: block;
|
||||
|
@ -240,7 +238,7 @@ li#pt-userpage, li#pt-anonuserpage, li#pt-login {
|
|||
font-family: Verdana, Sans-serif, Arial;
|
||||
vertical-align: middle;
|
||||
font-size: 100%;
|
||||
background: url(images/shadow/go.png) no-repeat;
|
||||
background: url(skins/WiKirby/images/shadow/go.png) no-repeat;
|
||||
color: transparent; /* font color */
|
||||
text-decoration: none;
|
||||
border: none;
|
||||
|
@ -252,7 +250,7 @@ li#pt-userpage, li#pt-anonuserpage, li#pt-login {
|
|||
font-family: Verdana, Sans-serif, Arial;
|
||||
vertical-align: middle;
|
||||
font-size: 100%;
|
||||
background: url(images/shadow/search.png) no-repeat;
|
||||
background: url(skins/WiKirby/images/shadow/search.png) no-repeat;
|
||||
color: transparent; /* font color */
|
||||
text-decoration: none;
|
||||
border: none;
|
||||
|
@ -297,13 +295,13 @@ li#pt-userpage, li#pt-anonuserpage, li#pt-login {
|
|||
margin: 0;
|
||||
float: none;
|
||||
overflow: hidden;
|
||||
padding: 0 .8em .3em .8em;
|
||||
padding: 0 .8em .3em 2em;
|
||||
font-size: 90%;
|
||||
}
|
||||
.gumax-portlet ul {
|
||||
line-height: 1.5em;
|
||||
list-style-type: square;
|
||||
list-style-image: url(arrow.png);
|
||||
list-style-image: url(skins/WiKirby/arrow.png);
|
||||
}
|
||||
.gumax-portlet li {
|
||||
padding: 0;
|
||||
|
@ -621,6 +619,20 @@ pre {
|
|||
clear: both;
|
||||
-moz-border-radius: .5em;
|
||||
}
|
||||
#catlinks ul{
|
||||
display: inline;
|
||||
margin: 0;
|
||||
}
|
||||
#catlinks li:first-child{
|
||||
padding-left: 0.25em;
|
||||
border-left: none;
|
||||
}
|
||||
#catlinks li{
|
||||
display: inline-block;
|
||||
list-style: none;
|
||||
border-left: 1px solid #AAA;
|
||||
padding: 0 0.5em;
|
||||
}
|
||||
#catlinks p, .catlinks {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
@ -872,51 +884,51 @@ div#userloginForm form, form#userlogin2 {
|
|||
-----------------------------------------------------------------------------*/
|
||||
|
||||
#contentHeadLeft {
|
||||
background: #FAFCFD url(images/shadow/gumax-headleft.jpg) no-repeat;
|
||||
background: #FAFCFD url(skins/WiKirby/images/shadow/gumax-headleft.jpg) no-repeat;
|
||||
height: 28px;
|
||||
padding-left: 22px;
|
||||
}
|
||||
#contentHeadCenter {
|
||||
background: url(images/shadow/gumax-headcenter.jpg) repeat-x;
|
||||
background: url(skins/WiKirby/images/shadow/gumax-headcenter.jpg) repeat-x;
|
||||
height: 100%;
|
||||
margin: 0 6px;
|
||||
}
|
||||
#contentHeadRight {
|
||||
background: url(images/shadow/gumax-headright.jpg) no-repeat right;
|
||||
background: url(skins/WiKirby/images/shadow/gumax-headright.jpg) no-repeat right;
|
||||
height: 100%;
|
||||
padding-right: 22px;
|
||||
}
|
||||
#contentBodyLeft {
|
||||
background: url(images/shadow/gumax-bodyleft.jpg) repeat-y;
|
||||
background: url(skins/WiKirby/images/shadow/gumax-bodyleft.jpg) repeat-y;
|
||||
padding-left: 22px;
|
||||
clear: both;
|
||||
}
|
||||
#contentBodyCenter {
|
||||
height: auto;
|
||||
background: url(images/shadow/gumax-bodycente.jpg);
|
||||
background: url(skins/WiKirby/images/shadow/gumax-bodycenter.png);
|
||||
}
|
||||
#contentBodyRight {
|
||||
padding-right: 22px;
|
||||
background: url(images/shadow/gumax-bodyright.jpg) repeat-y right;
|
||||
background: url(skins/WiKirby/images/shadow/gumax-bodyright.jpg) repeat-y right;
|
||||
}
|
||||
#contentFootLeft {
|
||||
background: #FAFCFD url(images/shadow/gumax-footleft.jpg) no-repeat;
|
||||
background: #FAFCFD url(skins/WiKirby/images/shadow/gumax-footleft.jpg) no-repeat;
|
||||
height: 28px;
|
||||
padding-left: 22px;
|
||||
clear: both;
|
||||
}
|
||||
#contentFootCenter {
|
||||
background: url(images/shadow/gumax-footcenter.jpg) repeat-x;
|
||||
background: url(skins/WiKirby/images/shadow/gumax-footcenter.jpg) repeat-x;
|
||||
height: 100%;
|
||||
margin: 0 6px;
|
||||
}
|
||||
#contentFootRight {
|
||||
background: url(images/shadow/gumax-footright.jpg) no-repeat right;
|
||||
background: url(skins/WiKirby/images/shadow/gumax-footright.jpg) no-repeat right;
|
||||
height: 100%;
|
||||
padding-right: 22px;
|
||||
}
|
||||
#contentMain {
|
||||
background: #ecf6ff url(images/shadow/gumax-content.png) repeat-x; /**/
|
||||
background: #ecf6ff url(skins/WiKirby/images/shadow/gumax-content.png) repeat-x; /**/
|
||||
width: auto;
|
||||
margin-left: 6px;
|
||||
Margin-right: 6px;
|
|
@ -23,7 +23,6 @@ To test:
|
|||
|
||||
*/
|
||||
body {
|
||||
direction: rtl;
|
||||
/* unicode-bidi: bidi-override;*/
|
||||
unicode-bidi: embed;
|
||||
}
|
||||
|
@ -37,10 +36,6 @@ body {
|
|||
border-right: 1px solid #aaaaaa;
|
||||
border-left: none;
|
||||
}
|
||||
html>body .portlet {
|
||||
float: right;
|
||||
clear: right;
|
||||
}
|
||||
.editsection {
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
|
@ -88,7 +83,6 @@ div.magnify,
|
|||
#p-cactions li {
|
||||
margin-left: 0.3em;
|
||||
margin-right: 0;
|
||||
float: right;
|
||||
}
|
||||
* html #p-cactions li a {
|
||||
display: block;
|
||||
|
@ -109,14 +103,6 @@ li#ca-watch,li#ca-unwatch {
|
|||
/* Fix margins for non-css2 browsers */
|
||||
/* top right bottom left */
|
||||
|
||||
ul {
|
||||
margin-left: 0;
|
||||
margin-right: 1.5em;
|
||||
}
|
||||
ol {
|
||||
margin-left: 0;
|
||||
margin-right: 2.4em;
|
||||
}
|
||||
dd {
|
||||
margin-left: 0;
|
||||
margin-right: 1.6em;
|
||||
|
@ -129,9 +115,6 @@ dd {
|
|||
margin-left: 0;
|
||||
margin-right: 2em;
|
||||
}
|
||||
div.tright, div.floatright, table.floatright {
|
||||
clear: none;
|
||||
}
|
||||
div.tleft, div.floatleft, table.floatleft {
|
||||
clear: left;
|
||||
}
|
||||
|
@ -158,10 +141,10 @@ li#ca-watch {
|
|||
float: left;
|
||||
}
|
||||
/* Fix link icons */
|
||||
.external {
|
||||
/*.external {
|
||||
padding: 0 !important;
|
||||
background: none !important;
|
||||
}
|
||||
}*/
|
||||
#footer {
|
||||
clear: both;
|
||||
}
|
||||
|
@ -198,10 +181,6 @@ li#ca-watch {
|
|||
|
||||
/* workaround for moz bug, displayed bullets on left side */
|
||||
|
||||
#toc ul {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#toc ul ul {
|
||||
margin: 0 2em 0 0;
|
||||
}
|
56
skin.json
56
skin.json
|
@ -1,12 +1,48 @@
|
|||
{
|
||||
"name": "WiKirby Classic",
|
||||
"type": "skin",
|
||||
|
||||
"ValidSkinNames": {
|
||||
"wikirbyclassic": "WikirbyClassic"
|
||||
},
|
||||
"AutoloadClasses": {
|
||||
"SkinWikirbyClassic": "WikirbyClassic.php"
|
||||
},
|
||||
"manifest_version": 1
|
||||
"name": "WiKirby",
|
||||
"url": "https://gitea.systemtheta.net/system-theta/openwiki-wikirby-skin",
|
||||
"description": "The classic WiKirby Skin! Originally by 'Steve', it's been kept alive through the years through care and effort.",
|
||||
"version": "2.0.0",
|
||||
"type": "skin",
|
||||
"author": [
|
||||
"Steve",
|
||||
"dkpat",
|
||||
"Ampera",
|
||||
"The OpenWiki Project"
|
||||
],
|
||||
"license-name": "GPL-2.0-or-later",
|
||||
|
||||
"requires": {
|
||||
"MediaWiki": ">= 1.35.0"
|
||||
},
|
||||
"ValidSkinNames": {
|
||||
"wikirby": {
|
||||
"class": "SkinWikirby",
|
||||
"args": [
|
||||
{
|
||||
"name": "wikirby",
|
||||
"template": "WiKirbyTemplate",
|
||||
"styles": [
|
||||
"skin.wikirby"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"AutoloadClasses": {
|
||||
"SkinWikirby": "Wikirby.php"
|
||||
},
|
||||
"ResourceModules": {
|
||||
"skin.wikirby": {
|
||||
"styles": [
|
||||
"gumax_default.css",
|
||||
"gumax_template.css",
|
||||
"rtl.css"
|
||||
]
|
||||
}
|
||||
},
|
||||
"ResourceFileModulePaths": {
|
||||
"localBasePath": "resources"
|
||||
},
|
||||
"manifest_version": 2
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue