[WIKI] Redo the skin customizations for MediaWiki 1.31.0

This commit is contained in:
Colin Finck 2018-06-30 09:26:47 +02:00
parent f4d5e5c88e
commit 1985069073
3 changed files with 14 additions and 7 deletions

View File

@ -55,6 +55,7 @@ class VectorTemplate extends BaseTemplate {
// Output HTML Page
$this->html( 'headelement' );
?>
<link type="text/css" rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic" media="all" />
<div id="mw-page-base" class="noprint"></div>
<div id="mw-head-base" class="noprint"></div>
<div id="content" class="mw-body" role="main">
@ -152,6 +153,11 @@ class VectorTemplate extends BaseTemplate {
<div id="mw-navigation">
<h2><?php $this->msg( 'navigation-heading' ) ?></h2>
<div id="mw-head">
<div id="reactos-head">
<a id="homelink" href="/"><img src="/sites/default/files/ReactOS_0.png"></a>
<a id="homebutton" href="/">Back to Website</a>
</div>
<?php $this->renderNavigation( [ 'PERSONAL' ] ); ?>
<div id="left-navigation">
<?php $this->renderNavigation( [ 'NAMESPACES', 'VARIANTS' ] ); ?>
@ -161,11 +167,6 @@ class VectorTemplate extends BaseTemplate {
</div>
</div>
<div id="mw-panel">
<div id="p-logo" role="banner"><a class="mw-wiki-logo" href="<?php
echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] )
?>" <?php
echo Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) )
?>></a></div>
<?php $this->renderPortals( $this->data['sidebar'] ); ?>
</div>
</div>

View File

@ -47,6 +47,12 @@
"screen-hd.less": {
"media": "screen and (min-width: 982px)"
},
"reactos.css": {
"media": "screen"
},
"../../../rosweb/css/static-header.css": {
"media": "screen"
},
"print.less": {}
}
},

View File

@ -2,8 +2,8 @@
@html-font-size: 100%;
@font-family-serif: 'Linux Libertine', 'Georgia', 'Times', serif;
@font-family-sans-serif: sans-serif;
@font-family-serif: 'Open Sans', 'Linux Libertine', 'Georgia', 'Times', serif;
@font-family-sans-serif: 'Open Sans', sans-serif;
// Page content
// FIXME: Use global variable since Echo and CentralNotice use this variable