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,
|
||||
select,
|
||||
textarea {
|
||||
background-color: $base-background-colour;
|
||||
border: solid 1px $base-colour;
|
||||
color: $base-colour;
|
||||
display: inline-block;
|
||||
font: inherit;
|
||||
line-height: $base-margin-bottom;
|
||||
padding: ($base-margin-bottom / 4) ($base-margin-bottom / 2);
|
||||
width: 300px;
|
||||
background-color: $base-background-colour;
|
||||
border: solid 1px $base-colour;
|
||||
color: $base-colour;
|
||||
display: inline-block;
|
||||
font: inherit;
|
||||
line-height: $base-margin-bottom;
|
||||
padding: ($base-margin-bottom / 4) ($base-margin-bottom / 2);
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
width: auto;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: ($base-margin-bottom * 4);
|
||||
min-height: ($base-margin-bottom * 4);
|
||||
}
|
||||
|
||||
.form__group {
|
||||
margin-bottom: $base-margin-bottom;
|
||||
margin-bottom: $base-margin-bottom;
|
||||
}
|
||||
|
||||
.form__label {
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.form__controls {
|
||||
@extend .clearfix;
|
||||
@extend .clearfix;
|
||||
}
|
||||
|
||||
.btn {
|
||||
background-color: $base-colour;
|
||||
border: 0;
|
||||
color: $base-background-colour;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: ($base-margin-bottom * 1.5);
|
||||
line-height: ($base-margin-bottom * 1.5);
|
||||
padding: 0 $base-margin-bottom;
|
||||
width: auto;
|
||||
background-color: $base-colour;
|
||||
border: 0;
|
||||
color: $base-background-colour;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
height: ($base-margin-bottom * 1.5);
|
||||
line-height: ($base-margin-bottom * 1.5);
|
||||
padding: 0 $base-margin-bottom;
|
||||
width: auto;
|
||||
}
|
|
@ -7,4 +7,4 @@
|
|||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,12 +1,12 @@
|
|||
html {
|
||||
background-color: $base-background-colour;
|
||||
color: $base-colour;
|
||||
font: #{($base-font-size * 6.25) * 1%}/#{$base-line-height} $base-font-stack;
|
||||
background-color: $base-background-colour;
|
||||
color: $base-colour;
|
||||
font: #{($base-font-size * 6.25) * 1%}/#{$base-line-height} $base-font-stack;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $base-colour;
|
||||
text-decoration: none;
|
||||
color: $base-colour;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
h1,
|
||||
|
@ -18,26 +18,26 @@ h6,
|
|||
p,
|
||||
ul,
|
||||
ol {
|
||||
margin-bottom: $base-margin-bottom;
|
||||
margin-bottom: $base-margin-bottom;
|
||||
}
|
||||
|
||||
ul,
|
||||
ol {
|
||||
margin-left: $base-margin-bottom;
|
||||
margin-left: $base-margin-bottom;
|
||||
}
|
||||
|
||||
ul ul,
|
||||
ol ol {
|
||||
margin-bottom: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
display: block;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
font-style: italic;
|
||||
padding-left: $base-margin-bottom;
|
||||
font-style: italic;
|
||||
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 {
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: baseline;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
article,
|
||||
|
@ -19,7 +19,7 @@ menu,
|
|||
nav,
|
||||
section,
|
||||
main {
|
||||
display: block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
address,
|
||||
|
@ -28,29 +28,29 @@ cite,
|
|||
dfn,
|
||||
th,
|
||||
var {
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
quotes: none;
|
||||
}
|
||||
|
||||
blockquote,
|
||||
q {
|
||||
&:before,
|
||||
&:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
&:before,
|
||||
&:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
th {
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
}
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
}
|
|
@ -1,35 +1,35 @@
|
|||
.alignleft {
|
||||
float: left;
|
||||
float: left;
|
||||
}
|
||||
|
||||
img.alignleft {
|
||||
margin-right: $gutter * 1px;
|
||||
margin-right: $gutter * 1px;
|
||||
}
|
||||
|
||||
.alignright {
|
||||
float: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
img.alignright {
|
||||
margin-left : $gutter * 1px;
|
||||
margin-left : $gutter * 1px;
|
||||
}
|
||||
|
||||
.aligncenter {
|
||||
display: block;
|
||||
margin: {
|
||||
left: auto;
|
||||
right: auto;
|
||||
}
|
||||
display: block;
|
||||
margin: {
|
||||
left: auto;
|
||||
right: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
&:before,
|
||||
&:after{
|
||||
content: '';
|
||||
display: table;
|
||||
line-height: 0;
|
||||
}
|
||||
&:after{
|
||||
clear: both;
|
||||
}
|
||||
&:before,
|
||||
&:after{
|
||||
content: '';
|
||||
display: table;
|
||||
line-height: 0;
|
||||
}
|
||||
&:after{
|
||||
clear: both;
|
||||
}
|
||||
}
|
14
footer.php
14
footer.php
|
@ -1,9 +1,9 @@
|
|||
<footer class="footer" role="contentinfo">
|
||||
<div class="container">
|
||||
<footer class="footer" role="contentinfo">
|
||||
<div class="container">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'footer' ) ); ?>
|
||||
© <?php bloginfo( 'name' ); ?> <?php echo date( 'Y' ); ?>
|
||||
</div>
|
||||
</footer>
|
||||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
© <?php bloginfo( 'name' ); ?> <?php echo date( 'Y' ); ?>
|
||||
</div>
|
||||
</footer>
|
||||
<?php wp_footer(); ?>
|
||||
</body>
|
||||
</html>
|
|
@ -53,4 +53,4 @@ function my_wp_nav_menu_args( $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>
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
||||
<meta name="HandheldFriendly" content="true">
|
||||
<meta name="MobileOptimized" content="320">
|
||||
<title><?php wp_title( '' ); ?></title>
|
||||
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>">
|
||||
<?php wp_head(); ?>
|
||||
<!--[if lt IE 9]>
|
||||
<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://cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<header class="header" role="banner">
|
||||
<div class="container">
|
||||
<nav role="navigation">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'header' ) ); ?>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
|
||||
<meta name="HandheldFriendly" content="true">
|
||||
<meta name="MobileOptimized" content="320">
|
||||
<title><?php wp_title( '' ); ?></title>
|
||||
<link rel="stylesheet" href="<?php bloginfo( 'stylesheet_url' ); ?>">
|
||||
<?php wp_head(); ?>
|
||||
<!--[if lt IE 9]>
|
||||
<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://cdnjs.cloudflare.com/ajax/libs/selectivizr/1.0.2/selectivizr-min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body <?php body_class(); ?>>
|
||||
<header class="header" role="banner">
|
||||
<div class="container">
|
||||
<nav role="navigation">
|
||||
<?php wp_nav_menu( array( 'theme_location' => 'header' ) ); ?>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
50
index.php
50
index.php
|
@ -2,42 +2,42 @@
|
|||
|
||||
<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">
|
||||
<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__comments"><?php comments_popup_link( __( 'No comments yet' ), __( '1 comment' ), __( '% comments' ) ); ?></p>
|
||||
</header>
|
||||
<header role="heading">
|
||||
<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__comments"><?php comments_popup_link( __( 'No comments yet' ), __( '1 comment' ), __( '% comments' ) ); ?></p>
|
||||
</header>
|
||||
|
||||
<?php the_content( __( 'Read More' ) ); ?>
|
||||
<?php the_content( __( 'Read More' ) ); ?>
|
||||
|
||||
</article>
|
||||
</article>
|
||||
|
||||
<?php endwhile; ?>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php
|
||||
echo paginate_links(array(
|
||||
'base' => str_replace( 99999999, '%#%', esc_url( get_pagenum_link( 99999999 ) ) ),
|
||||
'format' => '?paged=%#%',
|
||||
'current' => max( 1, get_query_var('paged') ),
|
||||
'total' => $jobs->max_num_pages
|
||||
));
|
||||
?>
|
||||
<?php
|
||||
echo paginate_links(array(
|
||||
'base' => str_replace( 99999999, '%#%', esc_url( get_pagenum_link( 99999999 ) ) ),
|
||||
'format' => '?paged=%#%',
|
||||
'current' => max( 1, get_query_var('paged') ),
|
||||
'total' => $jobs->max_num_pages
|
||||
));
|
||||
?>
|
||||
|
||||
</main>
|
||||
</main>
|
||||
|
||||
<aside class="sidebar">
|
||||
<?php get_sidebar(); ?>
|
||||
</aside>
|
||||
<aside class="sidebar">
|
||||
<?php get_sidebar(); ?>
|
||||
</aside>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
"grunt-contrib-watch": "~0.5.3",
|
||||
"grunt-contrib-imagemin": "~0.5.0"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue