Make dark footer

Also separated it from the content a bit, cleaned up the class names to
be more consistent, etc.

Change-Id: Ib0b3539ec112ef162c8d16e91bd805b884a2a502
isekai
Isarra 9 years ago
parent 9e93a9ca9a
commit 826140a6b0

@ -24,8 +24,8 @@ class TimelessTemplate extends BaseTemplate {
</div> </div>
</div> </div>
<div id="content-container" class="ts-container"> <div id="mw-content-container" class="ts-container">
<div id="content-block" class="ts-inner"> <div id="mw-content-block" class="ts-inner">
<div id="mw-site-navigation"> <div id="mw-site-navigation">
<h2><?php echo $this->getMsg( 'navigation-heading' )->parse() ?></h2> <h2><?php echo $this->getMsg( 'navigation-heading' )->parse() ?></h2>
<?php <?php
@ -39,7 +39,7 @@ class TimelessTemplate extends BaseTemplate {
</div> </div>
<div id="mw-related-navigation"> <div id="mw-related-navigation">
</div> </div>
<div id="content"> <div id="mw-content">
<div class="mw-body" role="main"> <div class="mw-body" role="main">
<?php <?php
if ( $this->data['sitenotice'] ) { if ( $this->data['sitenotice'] ) {
@ -76,12 +76,16 @@ class TimelessTemplate extends BaseTemplate {
<?php <?php
$this->html( 'bodytext' ); $this->html( 'bodytext' );
?>
<div class="visual-clear"></div>
<?php
$this->html( 'catlinks' ); $this->html( 'catlinks' );
$this->html( 'dataAfterContent' ); $this->html( 'dataAfterContent' );
?> ?>
</div> </div>
</div> </div>
</div> </div>
<div class="visual-clear"></div>
</div> </div>
</div> </div>

@ -8,13 +8,38 @@ body {
margin: 0; margin: 0;
padding: 0; padding: 0;
color: @text; color: @text;
background: @background2; background: @background-dark;
font-size: 1em; font-size: 1em;
line-height: 1.3; line-height: 1.3;
} }
#content { #mw-content {
background: @background; background: @background;
} }
#mw-content-container {
background: @background2;
}
#mw-footer-container {
border-top: solid 1px @background-dark2;
box-shadow: inset 0 7px 2px -4px rgba(0, 0, 0, .1);
ul {
margin: 0;
}
}
#p-logo {
text-align: center;
width: 10em;
a.mw-wiki-logo {
display: block;
content: '';
width: 10em;
height: 10em;
background-repeat: no-repeat;
background-position: 50% 50%;
}
}
/* Misc */ /* Misc */
@ -34,19 +59,14 @@ a {
} }
} }
#p-logo { .mw-editsection-bracket {
text-align: center; display: none;
width: 10em;
a.mw-wiki-logo {
display: block;
content: '';
width: 10em;
height: 10em;
background-repeat: no-repeat;
background-position: 50% 50%;
}
} }
.visual-clear {
clear: both;
}
/* Hidden stuff */
#mw-site-navigation h2, #mw-site-navigation h2,
#p-search h3, #p-search h3,

@ -11,7 +11,7 @@
float: left; float: left;
} }
#p-search, #p-search,
#content { #mw-content {
margin-left: 12em; margin-left: 12em;
margin-right: 12em; margin-right: 12em;
} }
@ -25,10 +25,10 @@
position: fixed; position: fixed;
top: 0; top: 0;
width: 100%; width: 100%;
background: @foreground; background: @background-dark;
color: @text-inverse; color: @text-inverse;
height: 3em; height: 3em;
border-bottom: solid 1px @foreground2; border-bottom: solid 1px @background-dark2;
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
} }
@ -38,7 +38,7 @@
#p-logo-text { #p-logo-text {
width: 10em; width: 10em;
text-align: center; text-align: center;
text-shadow: 0 -1px 0 @foreground2; text-shadow: 0 -1px 0 @background-dark2;
a { a {
color: @text-inverse; color: @text-inverse;
@ -57,7 +57,7 @@
background: @background; background: @background;
margin: .5em 0 0 0; margin: .5em 0 0 0;
position: relative; position: relative;
border-top: solid 1px @foreground2; border-top: solid 1px @background-dark2;
} }
#searchInput { #searchInput {
border: none; border: none;
@ -86,15 +86,16 @@
/* CONTENT */ /* CONTENT */
#content-container { #mw-content-container {
margin-top: 3em; margin-top: 3em;
padding-bottom: 1em;
} }
#content { #mw-content {
background: @background; background: @background;
padding-top: 1em; padding-top: 1em;
border: 1px @grey-bright; border: 1px @grey-bright;
border-style: none solid; border-style: none solid solid;
box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.02); box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
overflow: hidden; overflow: hidden;
padding-right: 2em; padding-right: 2em;
padding-left: 2em; padding-left: 2em;

@ -4,8 +4,8 @@
@background: #fff; @background: #fff;
@background2: #f3f3f3; @background2: #f3f3f3;
@foreground: #777; @background-dark: #777;
@foreground2: #555; @background-dark2: #555;
@text-inverse: #fff; @text-inverse: #fff;
@link: @blue; @link: @blue;

Loading…
Cancel
Save