Formatting cleanup

This commit is contained in:
Mike Francis 2014-03-31 16:15:18 +01:00
parent 0d8c4da159
commit cbd57dc329
6 changed files with 58 additions and 28 deletions

View File

@ -8,7 +8,7 @@ textarea {
font: inherit;
line-height: $base-margin-bottom;
padding: ($base-margin-bottom / 4) ($base-margin-bottom / 2);
width: 208px;
width: 300px;
}
input[type="checkbox"],
@ -34,7 +34,6 @@ textarea {
@extend .clearfix;
}
input[type="submit"],
.btn {
background-color: $base-colour;
border: 0;

View File

@ -9,15 +9,25 @@ a {
text-decoration: none;
}
h1, h2, h3, h4, h5, h6, p, ul, ol {
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
margin-bottom: $base-margin-bottom;
}
ul, ol {
ul,
ol {
margin-left: $base-margin-bottom;
}
ul ul, ol ol {
ul ul,
ol ol {
margin-bottom: 0;
}

View File

@ -7,11 +7,27 @@ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockq
vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main {
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
display: block;
}
address, caption, cite, dfn, th, var {
address,
caption,
cite,
dfn,
th,
var {
font-style: normal;
font-weight: normal;
}
@ -20,9 +36,13 @@ blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
blockquote,
q {
&:before,
&:after {
content: '';
content: none;
}
}
table {

View File

@ -1,5 +1,6 @@
<footer class="footer" role="contentinfo">
<div class="container">
<?php wp_nav_menu( array( 'theme_location' => 'footer' ) ); ?>
&copy; <?php bloginfo( 'name' ); ?> <?php echo date( 'Y' ); ?>
</div>
</footer>

View File

@ -18,7 +18,7 @@
<header class="header" role="banner">
<div class="container">
<nav role="navigation">
<?php wp_nav_menu( array( 'menu_class' => 'nav' ) ); ?>
<?php wp_nav_menu( array( 'theme_location' => 'header' ) ); ?>
</nav>
</div>
</header>