MediaWiki:Vector.css: различия между версиями
Материал из Энциклопедия ТвГУ
Перейти к навигацииПерейти к поискуArm.Is (обсуждение | вклад) |
Arm.Is (обсуждение | вклад) |
||
| Строка 1: | Строка 1: | ||
/* Размещённый здесь CSS будет применяться к векторной теме оформления */ | /* Размещённый здесь CSS будет применяться к векторной теме оформления */ | ||
| − | + | <div id="custom-header"> | |
| + | <div id="p-logo" role="banner" style="width: 180px; height: 100%;"> | ||
| + | <a style="background-image: url(<?php $this->text( 'logopath' ) ?>; width: 100%; height: 100%;);" href="<?php echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] ) ?>" <?php echo Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ) ?>></a> | ||
| + | </div> | ||
| + | |||
| + | <div class="clear: both;"> </div> | ||
| + | </div> | ||
| + | |||
| + | <div id="mw-page-base" class="noprint" style="background-color: red;"></div> | ||
| + | <div id="mw-head-base" class="noprint" style="background-color: blue;"> | ||
| + | <div id="mw-navigation" style="width: 100%;"> | ||
| + | |||
| + | <div id="mw-head"> | ||
| + | <?php $this->renderNavigation( 'PERSONAL' ); ?> | ||
| + | |||
| + | <div id="left-navigation"> | ||
| + | <?php $this->renderNavigation( array( 'NAMESPACES', 'VARIANTS' ) ); ?> | ||
| + | </div> | ||
| + | |||
| + | <div id="right-navigation"> | ||
| + | <?php $this->renderNavigation( array( 'VIEWS', 'ACTIONS', 'SEARCH' ) ); ?> | ||
| + | </div> | ||
| + | </div> | ||
| + | |||
| + | </div> | ||
| + | </div> | ||
| + | |||
| + | <div id="content" class="mw-body" role="main"> | ||
| + | |||
| + | <a id="top"></a> | ||
| + | |||
| + | <div id="mw-js-message" style="display:none;"<?php $this->html( 'userlangattributes' ) ?>> | ||
| + | |||
| + | </div> | ||
| + | |||
| + | |||
| + | <?php | ||
| + | if ( $this->data['sitenotice'] ) { | ||
| + | echo "<div id='siteNotice'>" . $this->html('sitenotice') . "</div>"; | ||
| + | } | ||
| + | ?> | ||
| + | |||
| + | |||
| + | <h1 id="firstHeading" class="firstHeading" lang="<?php | ||
| + | $this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode(); | ||
| + | $this->text( 'pageLanguage' ); | ||
| + | ?>"> | ||
| + | <span dir="auto"> | ||
| + | <?php $this->html( 'title' ) ?> | ||
| + | </span> | ||
| + | </h1> | ||
| + | |||
| + | |||
| + | <?php $this->html( 'prebodyhtml' ) ?> | ||
Версия 22:41, 5 мая 2015
/* Размещённый здесь CSS будет применяться к векторной теме оформления */
<div id="custom-header">
<div id="p-logo" role="banner" style="width: 180px; height: 100%;">
<a style="background-image: url(<?php $this->text( 'logopath' ) ?>; width: 100%; height: 100%;);" href="<?php echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] ) ?>" <?php echo Xml::expandAttributes( Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) ) ?>></a>
</div>
<div class="clear: both;"> </div>
</div>
<div id="mw-page-base" class="noprint" style="background-color: red;"></div>
<div id="mw-head-base" class="noprint" style="background-color: blue;">
<div id="mw-navigation" style="width: 100%;">
<div id="mw-head">
<?php $this->renderNavigation( 'PERSONAL' ); ?>
<div id="left-navigation">
<?php $this->renderNavigation( array( 'NAMESPACES', 'VARIANTS' ) ); ?>
</div>
<div id="right-navigation">
<?php $this->renderNavigation( array( 'VIEWS', 'ACTIONS', 'SEARCH' ) ); ?>
</div>
</div>
</div>
</div>
<div id="content" class="mw-body" role="main">
<a id="top"></a>
<div id="mw-js-message" style="display:none;"<?php $this->html( 'userlangattributes' ) ?>>
</div>
<?php
if ( $this->data['sitenotice'] ) {
echo "<div id='siteNotice'>" . $this->html('sitenotice') . "</div>";
}
?>
<h1 id="firstHeading" class="firstHeading" lang="<?php
$this->data['pageLanguage'] = $this->getSkin()->getTitle()->getPageViewLanguage()->getHtmlCode();
$this->text( 'pageLanguage' );
?>">
<span dir="auto">
<?php $this->html( 'title' ) ?>
</span>
</h1>
<?php $this->html( 'prebodyhtml' ) ?>