mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 16:21:11 +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' ],
|
||||
Html::rawElement(
|
||||
'div',
|
||||
[ 'id' => 'mw-header-banner' ],
|
||||
[ 'id' => 'mw-header-banner', 'role' => 'banner' ],
|
||||
$this->getLogo() .
|
||||
$this->getSiteTitle( 'text' )
|
||||
) .
|
||||
|
@ -331,17 +331,11 @@ class CitizenTemplate extends BaseTemplate {
|
|||
* @return string html
|
||||
*/
|
||||
protected function getLogo( $id = 'p-logo' ) {
|
||||
$html = Html::openElement( 'div', [
|
||||
'id' => $id,
|
||||
'class' => 'mw-portlet',
|
||||
'role' => 'banner',
|
||||
] );
|
||||
$html .= Html::element( 'a', [
|
||||
'href' => $this->data['nav_urls']['mainpage']['href'],
|
||||
'id' => 'p-logo',
|
||||
'class' => 'mw-wiki-logo',
|
||||
] + Linker::tooltipAndAccesskeyAttribs( 'p-logo' ) );
|
||||
|
||||
return $html . Html::closeElement( 'div' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -228,6 +228,7 @@ a {
|
|||
.mw-wiki-title {
|
||||
font-family: @fonts-secondary !important;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 2px;
|
||||
|
||||
a& {
|
||||
color: @base-50;
|
||||
|
|
|
@ -98,7 +98,6 @@
|
|||
.mw-wiki-title {
|
||||
color: @base-90;
|
||||
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
|
||||
*/
|
||||
#mw-header-menu {
|
||||
.mw-wiki-title {
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
input {
|
||||
&:checked {
|
||||
|
||||
|
|
Loading…
Reference in a new issue