mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-29 00:31:09 +00:00
Cleaned up unnessecary components
This commit is contained in:
parent
3396785c18
commit
6b0630d589
|
@ -245,7 +245,7 @@ class CitizenTemplate extends BaseTemplate {
|
||||||
[ 'id' => 'mw-header-menu-drawer-container' ],
|
[ 'id' => 'mw-header-menu-drawer-container' ],
|
||||||
Html::rawElement(
|
Html::rawElement(
|
||||||
'div',
|
'div',
|
||||||
[ 'id' => 'mw-header-banner' ],
|
[ 'id' => 'mw-header-banner', 'role' => 'banner' ],
|
||||||
$this->getLogo() .
|
$this->getLogo() .
|
||||||
$this->getSiteTitle( 'text' )
|
$this->getSiteTitle( 'text' )
|
||||||
) .
|
) .
|
||||||
|
@ -331,17 +331,11 @@ class CitizenTemplate extends BaseTemplate {
|
||||||
* @return string html
|
* @return string html
|
||||||
*/
|
*/
|
||||||
protected function getLogo( $id = 'p-logo' ) {
|
protected function getLogo( $id = 'p-logo' ) {
|
||||||
$html = Html::openElement( 'div', [
|
|
||||||
'id' => $id,
|
|
||||||
'class' => 'mw-portlet',
|
|
||||||
'role' => 'banner',
|
|
||||||
] );
|
|
||||||
$html .= Html::element( 'a', [
|
$html .= Html::element( 'a', [
|
||||||
'href' => $this->data['nav_urls']['mainpage']['href'],
|
'href' => $this->data['nav_urls']['mainpage']['href'],
|
||||||
|
'id' => 'p-logo',
|
||||||
'class' => 'mw-wiki-logo',
|
'class' => 'mw-wiki-logo',
|
||||||
] + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) );
|
] + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) );
|
||||||
|
|
||||||
return $html . Html::closeElement( 'div' );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -228,6 +228,7 @@ a {
|
||||||
.mw-wiki-title {
|
.mw-wiki-title {
|
||||||
font-family: @fonts-secondary !important;
|
font-family: @fonts-secondary !important;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
|
||||||
a& {
|
a& {
|
||||||
color: @base-50;
|
color: @base-50;
|
||||||
|
|
|
@ -98,7 +98,6 @@
|
||||||
.mw-wiki-title {
|
.mw-wiki-title {
|
||||||
color: @base-90;
|
color: @base-90;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
letter-spacing: 2px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -62,10 +62,6 @@
|
||||||
* Modified from https://codepen.io/erikterwan/pen/EVzeRP and https://codepen.io/oxla/pen/zgvqmM
|
* Modified from https://codepen.io/erikterwan/pen/EVzeRP and https://codepen.io/oxla/pen/zgvqmM
|
||||||
*/
|
*/
|
||||||
#mw-header-menu {
|
#mw-header-menu {
|
||||||
.mw-wiki-title {
|
|
||||||
letter-spacing: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
input {
|
||||||
&:checked {
|
&:checked {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue