Cleaned up unnessecary components

This commit is contained in:
alistair3149 2020-01-06 18:32:44 -05:00
parent 3396785c18
commit 6b0630d589
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C
4 changed files with 3 additions and 13 deletions

View file

@ -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' );
}
/**

View file

@ -228,6 +228,7 @@ a {
.mw-wiki-title {
font-family: @fonts-secondary !important;
text-transform: uppercase;
letter-spacing: 2px;
a& {
color: @base-50;

View file

@ -98,7 +98,6 @@
.mw-wiki-title {
color: @base-90;
font-size: 20px;
letter-spacing: 2px;
}
}

View file

@ -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 {