converted all tabs to spaces
This commit is contained in:
parent
cbd57dc329
commit
e2116839f8
10 changed files with 132 additions and 132 deletions
|
@ -1,47 +1,47 @@
|
||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
background-color: $base-background-colour;
|
background-color: $base-background-colour;
|
||||||
border: solid 1px $base-colour;
|
border: solid 1px $base-colour;
|
||||||
color: $base-colour;
|
color: $base-colour;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
line-height: $base-margin-bottom;
|
line-height: $base-margin-bottom;
|
||||||
padding: ($base-margin-bottom / 4) ($base-margin-bottom / 2);
|
padding: ($base-margin-bottom / 4) ($base-margin-bottom / 2);
|
||||||
width: 300px;
|
width: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type="checkbox"],
|
input[type="checkbox"],
|
||||||
input[type="radio"] {
|
input[type="radio"] {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: 0;
|
border: 0;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
min-height: ($base-margin-bottom * 4);
|
min-height: ($base-margin-bottom * 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.form__group {
|
.form__group {
|
||||||
margin-bottom: $base-margin-bottom;
|
margin-bottom: $base-margin-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form__label {
|
.form__label {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.form__controls {
|
.form__controls {
|
||||||
@extend .clearfix;
|
@extend .clearfix;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
background-color: $base-colour;
|
background-color: $base-colour;
|
||||||
border: 0;
|
border: 0;
|
||||||
color: $base-background-colour;
|
color: $base-background-colour;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: ($base-margin-bottom * 1.5);
|
height: ($base-margin-bottom * 1.5);
|
||||||
line-height: ($base-margin-bottom * 1.5);
|
line-height: ($base-margin-bottom * 1.5);
|
||||||
padding: 0 $base-margin-bottom;
|
padding: 0 $base-margin-bottom;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
|
@ -7,4 +7,4 @@
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,12 +1,12 @@
|
||||||
html {
|
html {
|
||||||
background-color: $base-background-colour;
|
background-color: $base-background-colour;
|
||||||
color: $base-colour;
|
color: $base-colour;
|
||||||
font: #{($base-font-size * 6.25) * 1%}/#{$base-line-height} $base-font-stack;
|
font: #{($base-font-size * 6.25) * 1%}/#{$base-line-height} $base-font-stack;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: $base-colour;
|
color: $base-colour;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1,
|
h1,
|
||||||
|
@ -18,26 +18,26 @@ h6,
|
||||||
p,
|
p,
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
margin-bottom: $base-margin-bottom;
|
margin-bottom: $base-margin-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
margin-left: $base-margin-bottom;
|
margin-left: $base-margin-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul ul,
|
ul ul,
|
||||||
ol ol {
|
ol ol {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
display: block;
|
display: block;
|
||||||
height: auto;
|
height: auto;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
padding-left: $base-margin-bottom;
|
padding-left: $base-margin-bottom;
|
||||||
}
|
}
|
|
@ -1,10 +1,10 @@
|
||||||
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
|
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
|
||||||
border: 0;
|
border: 0;
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
font: inherit;
|
font: inherit;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
vertical-align: baseline;
|
vertical-align: baseline;
|
||||||
}
|
}
|
||||||
|
|
||||||
article,
|
article,
|
||||||
|
@ -19,7 +19,7 @@ menu,
|
||||||
nav,
|
nav,
|
||||||
section,
|
section,
|
||||||
main {
|
main {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
address,
|
address,
|
||||||
|
@ -28,29 +28,29 @@ cite,
|
||||||
dfn,
|
dfn,
|
||||||
th,
|
th,
|
||||||
var {
|
var {
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote, q {
|
blockquote, q {
|
||||||
quotes: none;
|
quotes: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote,
|
blockquote,
|
||||||
q {
|
q {
|
||||||
&:before,
|
&:before,
|
||||||
&:after {
|
&:after {
|
||||||
content: '';
|
content: '';
|
||||||
content: none;
|
content: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
|
@ -1,35 +1,35 @@
|
||||||
.alignleft {
|
.alignleft {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.alignleft {
|
img.alignleft {
|
||||||
margin-right: $gutter * 1px;
|
margin-right: $gutter * 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.alignright {
|
.alignright {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
img.alignright {
|
img.alignright {
|
||||||
margin-left : $gutter * 1px;
|
margin-left : $gutter * 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aligncenter {
|
.aligncenter {
|
||||||
display: block;
|
display: block;
|
||||||
margin: {
|
margin: {
|
||||||
left: auto;
|
left: auto;
|
||||||
right: auto;
|
right: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.clearfix {
|
.clearfix {
|
||||||
&:before,
|
&:before,
|
||||||
&:after{
|
&:after{
|
||||||
content: '';
|
content: '';
|
||||||
display: table;
|
display: table;
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
}
|
}
|
||||||
&:after{
|
&:after{
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
}
|
}
|
14
footer.php
14
footer.php
|
@ -1,9 +1,9 @@
|
||||||
<footer class="footer" role="contentinfo">
|
<footer class="footer" role="contentinfo">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<?php wp_nav_menu( array( 'theme_location' => 'footer' ) ); ?>
|
<?php wp_nav_menu( array( 'theme_location' => 'footer' ) ); ?>
|
||||||
© <?php bloginfo( 'name' ); ?> <?php echo date( 'Y' ); ?>
|
© <?php bloginfo( 'name' ); ?> <?php echo date( 'Y' ); ?>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<?php wp_footer(); ?>
|
<?php wp_footer(); ?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -53,4 +53,4 @@ function my_wp_nav_menu_args( $args = '' ) {
|
||||||
return $args;
|
return $args;
|
||||||
}
|
}
|
||||||
|
|
||||||
add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' );
|
add_filter( 'wp_nav_menu_args', 'my_wp_nav_menu_args' );
|
44
header.php
44
header.php
|
@ -1,24 +1,24 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html <?php language_attributes(); ?>>
|
<html <?php language_attributes(); ?>>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
||||||
<meta name="HandheldFriendly" content="true">
|
<meta name="HandheldFriendly" content="true">
|
||||||
<meta name="MobileOptimized" content="320">
|
<meta name="MobileOptimized" content="320">
|
||||||
<title><?php wp_title( '' ); ?></title>
|
<title><?php wp_title( '' ); ?></title>
|
||||||
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>">
|
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>">
|
||||||
<?php wp_head(); ?>
|
<?php wp_head(); ?>
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
<script src="http://cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script>
|
<script src="http://cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
</head>
|
</head>
|
||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
<header class="header" role="banner">
|
<header class="header" role="banner">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<nav role="navigation">
|
<nav role="navigation">
|
||||||
<?php wp_nav_menu( array( 'theme_location' => 'header' ) ); ?>
|
<?php wp_nav_menu( array( 'theme_location' => 'header' ) ); ?>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
50
index.php
50
index.php
|
@ -2,42 +2,42 @@
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<main class="main" role="main">
|
<main class="main" role="main">
|
||||||
|
|
||||||
<?php while ( have_posts() ) : the_post(); ?>
|
<?php while ( have_posts() ) : the_post(); ?>
|
||||||
|
|
||||||
<article <?php post_class(); ?>>
|
<article <?php post_class(); ?>>
|
||||||
|
|
||||||
<header role="heading">
|
<header role="heading">
|
||||||
<h3 class="post__title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
<h3 class="post__title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
||||||
<p class="post__date"><time><?php echo human_time_diff( strtotime( $post->post_date ) ) . ' ' . __( 'ago' ); ?></time></p>
|
<p class="post__date"><time><?php echo human_time_diff( strtotime( $post->post_date ) ) . ' ' . __( 'ago' ); ?></time></p>
|
||||||
<p class="post__comments"><?php comments_popup_link( __( 'No comments yet' ), __( '1 comment' ), __( '% comments' ) ); ?></p>
|
<p class="post__comments"><?php comments_popup_link( __( 'No comments yet' ), __( '1 comment' ), __( '% comments' ) ); ?></p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<?php the_content( __( 'Read More' ) ); ?>
|
<?php the_content( __( 'Read More' ) ); ?>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<?php endwhile; ?>
|
<?php endwhile; ?>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo paginate_links(array(
|
echo paginate_links(array(
|
||||||
'base' => str_replace( 99999999, '%#%', esc_url( get_pagenum_link( 99999999 ) ) ),
|
'base' => str_replace( 99999999, '%#%', esc_url( get_pagenum_link( 99999999 ) ) ),
|
||||||
'format' => '?paged=%#%',
|
'format' => '?paged=%#%',
|
||||||
'current' => max( 1, get_query_var('paged') ),
|
'current' => max( 1, get_query_var('paged') ),
|
||||||
'total' => $jobs->max_num_pages
|
'total' => $jobs->max_num_pages
|
||||||
));
|
));
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<aside class="sidebar">
|
<aside class="sidebar">
|
||||||
<?php get_sidebar(); ?>
|
<?php get_sidebar(); ?>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
"grunt-contrib-watch": "~0.5.3",
|
"grunt-contrib-watch": "~0.5.3",
|
||||||
"grunt-contrib-imagemin": "~0.5.0"
|
"grunt-contrib-imagemin": "~0.5.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue