windhamdavid 10 years ago
parent
commit
bc0bb4f71d
24 changed files with 694 additions and 361 deletions
  1. 6 9
      404.php
  2. 2 2
      comments.php
  3. 1 1
      css/animate.css
  4. 2 2
      css/bootstrap.css
  5. 5 2
      css/font-awesome.css
  6. 4 4
      css/fullcalendar.css
  7. 0 1
      css/style.min.css
  8. 81 0
      footer-home.php
  9. 2 4
      footer.php
  10. 18 17
      functions.php
  11. 3 3
      gruntfile.js
  12. 7 6
      header-home.php
  13. 4 5
      header.php
  14. 23 12
      index.php
  15. 157 0
      js/drawfillsvg.js
  16. 187 154
      js/init.js
  17. 0 51
      js/jasny-bootstrap.js
  18. 3 0
      js/modernizr.js
  19. 23 0
      js/script.js
  20. 0 0
      js/script.min.js
  21. 51 0
      js/validate.min.js
  22. 5 7
      single.php
  23. 99 81
      style.css
  24. 11 0
      style.min.css

+ 6 - 9
404.php

@@ -1,5 +1,5 @@
 <?php get_header(); ?>
-	<div id="container" class="one-column">
+	<div class="container">
 		<div id="content" role="main">
 			<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
 				<div class="entry-content">
@@ -10,14 +10,11 @@
 					<header class="page-header">
 						<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'dw' ), get_search_query() ); ?></h1>
 					</header>
-						<?php while ( have_posts() ) : the_post();
-								the_excerpt();
-							endwhile;
-							dw_paging_nav();
-							else :
-								get_search_form();
-							endif;
-					?>
+						<?php 	while ( have_posts() ) : the_post();the_excerpt();
+								endwhile; dw_paging_nav();
+								else :get_search_form();
+								endif; 
+						?>
 				</div>
 			</div>
 		</div>

+ 2 - 2
comments.php

@@ -1,5 +1,5 @@
 <?php if ( comments_open() ): ?>
-<div class="commentbubble"><a href="#" class="toggle-comments"><?php comments_number('0', '1', '%'); ?> Comments</a></div>
+<div class="commentbubble"><a href="#" class="toggle-comments"><?php comments_number('0', '1', '%'); ?> Comments</a> <span class="fa fa-comment-o"></span></div>
 <?php endif;?>
 <div id="comments" class="comments-area">
 	<?php if ( have_comments() ) : ?>
@@ -7,7 +7,7 @@
 			<?php wp_list_comments( array( 
 				'callback' => 'dw_comment',
 				'style' => 'ul', 
-				'avatar_size' => 16,
+				'avatar_size' => 50,
 				'short_ping' => true
 				) ); 
 			?>

+ 1 - 1
css/animate.css

@@ -1,5 +1,5 @@
 @charset "UTF-8";
-/*!
+/*
 Animate.css - http://daneden.me/animate
 Licensed under the MIT license - http://opensource.org/licenses/MIT
 

+ 2 - 2
css/bootstrap.css

@@ -1,12 +1,12 @@
 /* @override http://macs.local/david/wp-content/themes/dw/css/bootstrap.css */
 
-/*!
+/*
  * Bootstrap v3.2.0 (http://getbootstrap.com)
  * Copyright 2011-2014 Twitter, Inc.
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
 
-/*! normalize.css v3.0.1 | MIT License | git.io/normalize */
+/* normalize.css v3.0.1 | MIT License | git.io/normalize */
 html {
   font-family: sans-serif;
   -webkit-text-size-adjust: 100%;

+ 5 - 2
css/font-awesome.css

@@ -1,6 +1,6 @@
 /* @override http://macs.local/david/wp-content/themes/dw/css/font-awesome.css */
 
-/*!
+/*
  *  Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
  *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
  */
@@ -9,7 +9,10 @@
 @font-face {
   font-family: 'FontAwesome';
   src: url('../fonts/fontawesome-webfont.eot?v=4.2.0');
-  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
+  src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), 
+  	url('../fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), 
+	url('../fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), 
+	url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
   font-weight: normal;
   font-style: normal;
 }

+ 4 - 4
css/fullcalendar.css

@@ -1,6 +1,6 @@
 /* @override http://macs.local/david/wp-content/themes/dw/css/fullcalendar.css */
 
-/*!
+/*
  * FullCalendar v2.1.1 Stylesheet
  * Docs & License: http://arshaw.com/fullcalendar/
  * (c) 2013 Adam Shaw
@@ -417,7 +417,7 @@ temporary rendered events).
 --------------------------------------------------------------------------------------------------*/
 
 .fc-scroller { /* this class goes on elements for guaranteed vertical scrollbars */
-	overflow-y: scroll;
+	overflow-y: hidden;
 	overflow-x: hidden;
 }
 
@@ -588,8 +588,8 @@ a.fc-more:hover {
 
 .fc-toolbar h2 {
 	margin: 0;
-	font-size: 24px;
-	color: #fff;
+	font-size: 21px;
+	color: #777;
 }
 
 /* button layering (for border precedence) */

File diff suppressed because it is too large
+ 0 - 1
css/style.min.css


+ 81 - 0
footer-home.php

@@ -0,0 +1,81 @@
+<div class="container-fluid footer-home dark">
+	<div class="container">
+		<div class="row">
+			<div class="col-md-8">
+				<div class="row">
+					<div class="col-md-2">
+						<ul>
+							<li><a href="<?php echo home_url( '/' ); ?>bio"><span class="fa fa-file-text-o fa-fw"></span> About</a></li>
+							<li><a href="<?php echo home_url( '/' ); ?>notebook"><span class="fa fa-pencil-square-o fa-fw"></span> Notebook</a></li>
+							<li><a href="<?php echo home_url( '/' ); ?>studio"><span class="fa fa-paint-brush fa-fw"></span> Studio</a></li>
+							<li><a href="<?php echo home_url( '/' ); ?>contact"><span class="fa fa-lightbulb-o fa-fw"></span> Projects</a></li>
+							<li><a href="#archives" data-toggle="collapse" data-parent=".navmenu"><span class="fa fa-folder-open-o fa-fw"></span> Archives</a>
+						</ul>
+					</div>
+					<div class="col-md-6">
+						<ul>
+							<li class="dim"><a href="<?php echo home_url( '/' ); ?>"><span class="fa fa-home fa-fw"></span> Address</a>: South Carolina USA</li>
+							<li class="dim"><a href="<?php echo home_url( '/' ); ?>"><span class="fa fa-phone fa-fw"></span> Phone</a>: 803-712-3283</li>
+							<li class="dim"><a href="<?php echo home_url( '/' ); ?>"><span class="fa fa-envelope-o fa-fw"></span> Email</a>: 
+							<span class="email"><script type="text/javascript"> 
+								//<![CDATA[
+
+								function hiveware_enkoder(){var i,j,x,y,x=
+								"x=\"3.r87dx:7=\\\"57|A;7&;:7<7:7h6=767:7:7878767::<7:7:7:75777;7;7879767::" +
+								"=787:7:78797:7::5797;7;7:787:76:=797:7;787;7:7;75767;7:7;7=7:7;7=787:::797" +
+								"97:76787<7:767<767:77:5777:::787576:679747:7:777<7::;7:767:::787977::777:7" +
+								"6:7::787:79:57777:67976767::678767:7=7577::767=777::47777:;7668767::f;:7=7" +
+								"7:h657;6:7;787f::7::57j;;766:7<::7=7=7h7:74787f:87=747g;:7<687i::7g:579:;7" +
+								"i::7;;:78:=7<7:7f:87=6:7f757h7;766;7=;:7f;=7=6::f797h;:79:87i::79;<77::77:" +
+								"575;::4:87966:<697;6:79677;6::f;:7<6::i;877;7:9::76;;77;778;;76697<::7=667" +
+								"g7::6657=6:7=797f;:7h;77=&;7?}87A+7:+?87js;7v,67mA:74?97m@7:|257pi:7rk87xl" +
+								":7?m57/A;76-:7!}:7/A=7yr:7iw87ge:7ti57,+;7)+;7/|:72w=7yf::wx97v,:7m0876-:7" +
+								"-?<7#}:7\\\";57y=::''87;x6:=u97ne:7sc77ap::e(:7x)::;f87or9:(i77=067;i67<x;" +
+								"7.l87en:7gt=7h;;7i+87+)::{j77=x:7.c97ha7:rC87od9:eA77t(67i)67-4:7;i77f(::j" +
+								"<:732::)j97+=;79487;y:7+=57St:7ri77ng;7.f87ro9:mC77ha67rC67od7:e(97j):7}y\""+
+								";j=eval(x.charAt(0));x=x.substr(1);y='';for(i=0;i<x.length;i+=4){y+=x.subs" +
+								"tr(i,2);}for(i=2;i<x.length;i+=4){y+=x.substr(i,2);}y=y.substr(j);";
+								while(x=eval(x));}hiveware_enkoder();
+
+								//]]>
+								</script></span>
+							</li>
+							<li class="dim"><a href="<?php echo home_url( '/' ); ?>"><span class="fa fa-group fa-fw"></span> Client</a>: sandbox.davidawindham.com</li>
+							<li class="dim"><a href="<?php echo home_url( '/' ); ?>"><span class="fa fa-calculator fa-fw"></span> Billing</a>: billing.davidawindham.com</li>
+						</ul>
+					</div>
+					<div class="col-md-4">
+
+					</div>
+				</div>
+			</div>
+			<div class="col-md-2">
+				<ul class="social">
+					<li><a href="https://github.com/windhamdavid" class="" rel="me"><span class="fa fa-2x fa-github-square"></span></a></li>
+					<li><a href="http://www.last.fm/user/windhamdavid" class=""><span class="fa fa-2x fa-lastfm-square"></span></a></li>
+					<li><a href="http://vimeo.com/windhamdavid" class=""><span class="fa fa-2x fa-vimeo-square"></span></a></li>
+					<li><a href="http://windhamdavid.tumblr.com/" class=""><span class="fa fa-2x fa-tumblr-square"></span></a></li>
+					<li><a href="https://davidawindham.com/feed" class="" rel="me"><span class="fa fa-2x fa-rss-square"></span></a></li>
+					<li><a href="https://twitter.com/windhamdavid" class="" rel="me"><span class="fa fa-2x fa-twitter-square"></span></a></li>
+					<li><a href="https://www.facebook.com/windhamdavid" class=""><span class="fa fa-2x fa-facebook-square"></span></a></li>
+					<li><a href="https://plus.google.com/+DavidWindham1" class="" rel="me"><span class="fa fa-2x fa-google-plus-square"></span></a></li>
+					<li><a href="https://keybase.io/windhamdavid" class=""><span class="fa fa-15x fa-key"></span></a></li>
+					<li><a href="https://www.coinbase.com/windhamdavid" class=""><span class="fa fa-15x fa-bitcoin"></span></a></li>
+					<li><a href="https://angel.co/windhamdavid" class=""><span class="fa fa-15x fa-angellist"></span></a></li>
+				</ul>
+			</div>
+			<div class="col-md-2">
+				<!--<span class="right"><img src="<?php echo get_bloginfo('template_directory');?>/img/dog.png" class="avatar" alt="David Windham"/></span>-->
+				<p class="dim right"><a href="https://github.com/windhamdavid/dw"><span class="fa fa-15x fa-code-fork"></span> </a></p>
+				<p class="small dim right">&copy; 2005-2015<br />David A. Windham</p>
+				<p class="small dull right">This website uses cookies.</p>
+			</div>
+		</div>
+	</div>
+</div>
+<?php wp_footer(); ?>
+<!--[if lt IE 9]>
+	<script src="<?php echo get_template_directory_uri(); ?>/js/html5shiv.min.js"></script>
+<![endif]-->
+</body>
+</html>

+ 2 - 4
footer.php

@@ -1,15 +1,13 @@
-<div class="container-fluid footer dark">
+<div class="container-fluid footer">
 	<div class="container">
 		<div class="row">
 			<div class="col-md-4">
-				
-				<p class="dim">Some Copy<p>
 			</div>
 			<div class="col-md-4">
 				<p class="dim"><p>
 			</div>
 			<div class="col-md-4">
-				<span class="right"><img src="<?php echo get_bloginfo('template_directory');?>/img/dog.png" class="avatar" alt="David Windham"/></span>
+				<!--<span class="right"><img src="<?php echo get_bloginfo('template_directory');?>/img/dog.png" class="avatar" alt="David Windham"/></span>-->
 				<p class="dim right"><a href="https://github.com/windhamdavid/dw"><span class="fa fa-15x fa-code-fork"></span> </a></p>
 				<p class="small dim right">&copy; 2005-2015<br />David A. Windham</p>
 			</div>

+ 18 - 17
functions.php

@@ -20,25 +20,26 @@ add_image_size( 'post-large', 770, 577, true );
 
 function dw_scripts() {
 	global $post;
-	wp_enqueue_style( 'style', get_stylesheet_uri() );
-	//wp_enqueue_style( 'style-min', get_template_directory_uri() . '/css/style.min.css');
-	wp_enqueue_style( 'boot', get_template_directory_uri() . '/css/bootstrap.css');
+	//wp_enqueue_style( 'style', get_stylesheet_uri() );
+	wp_enqueue_style( 'style-min', get_template_directory_uri() . '/style.min.css');
+	//wp_enqueue_style( 'boot', get_template_directory_uri() . '/css/bootstrap.css');
 	//wp_enqueue_style( 'jasny', get_template_directory_uri() . '/css/jasny-bootstrap.css');
-	wp_enqueue_style( 'font', get_template_directory_uri() . '/css/font-awesome.css');
-	wp_enqueue_style( 'cal', get_template_directory_uri() . '/css/fullcalendar.css');
-	wp_enqueue_style( 'ani', get_template_directory_uri() . '/css/animate.css');
+	//wp_enqueue_style( 'font', get_template_directory_uri() . '/css/font-awesome.css');
+	//wp_enqueue_style( 'cal', get_template_directory_uri() . '/css/fullcalendar.css');
+	//wp_enqueue_style( 'ani', get_template_directory_uri() . '/css/animate.css');
 	
-	wp_deregister_script('jquery');
-	wp_enqueue_script('jquery', get_template_directory_uri() . '/js/jquery-2.1.1.min.js', array(), false, true);
-	wp_enqueue_script( 'boostrap', get_template_directory_uri() . '/js/bootstrap.min.js', 'jquery', '', true );
-	wp_enqueue_script( 'offcanvas', get_template_directory_uri() . '/js/jasny-bootstrap.js', 'jquery', '', true );
-	wp_enqueue_script( 'time', get_template_directory_uri() . '/js/moment.min.js', 'jquery', '', true );
-	wp_enqueue_script( 'cal', get_template_directory_uri() . '/js/fullcalendar.min.js', 'jquery', '', true );
-	//wp_enqueue_script( 'valid', get_template_directory_uri() . '/js/holder.js', 'jquery', '', true );
-	//wp_enqueue_script( 'valid', get_template_directory_uri() . '/js/validate.js', 'jquery', '', true );
-	wp_enqueue_script( 'trans', get_template_directory_uri() . '/js/smooth.js', 'jquery', '', true );
-	wp_enqueue_script( 'scripts', get_template_directory_uri() . '/js/scripts.js', 'jquery', '', true );
-	//wp_enqueue_script( 'script', get_template_directory_uri() . '/js/script.min.js', 'jquery', '', true );
+	//wp_deregister_script('jquery');
+	//wp_enqueue_script('jquery', get_template_directory_uri() . '/js/jquery-2.1.1.min.js', array(), false, true);
+	//wp_enqueue_script( 'modern', get_template_directory_uri() . '/js/modernizr.js', 'jquery', '', true );
+	//wp_enqueue_script( 'boostrap', get_template_directory_uri() . '/js/bootstrap.min.js', 'jquery', '', true );
+	//wp_enqueue_script( 'offcanvas', get_template_directory_uri() . '/js/jasny-bootstrap.js', 'jquery', '', true );
+	//wp_enqueue_script( 'time', get_template_directory_uri() . '/js/moment.min.js', 'jquery', '', true );
+	//wp_enqueue_script( 'cal', get_template_directory_uri() . '/js/fullcalendar.min.js', 'jquery', '', true );
+	//wp_enqueue_script( 'holder', get_template_directory_uri() . '/js/holder.js', 'jquery', '', true );
+	//wp_enqueue_script( 'valid', get_template_directory_uri() . '/js/validate.min.js', 'jquery', '', true );
+	//wp_enqueue_script( 'smooth', get_template_directory_uri() . '/js/smooth.js', 'jquery', '', true );
+	//wp_enqueue_script( 'scripts', get_template_directory_uri() . '/js/scripts.js', 'jquery', '', true );
+	wp_enqueue_script( 'scriptmin', get_template_directory_uri() . '/js/script.min.js', 'jquery', '', true );
 	//wp_enqueue_script( 'script', get_template_directory_uri() . '/js/script.js', 'jquery', '', true );
 
 

+ 3 - 3
gruntfile.js

@@ -13,7 +13,7 @@ module.exports = function(grunt) {
 		cssmin: {
 		  combine: {
 		    files: {
-		      'css/style.min.css': ['style.css', 'css/bootstrap.css', 'css/font-awesome.css', 'css/fullcalendar.css', 'css/animate.css']
+		      'style.min.css': ['style.css', 'css/bootstrap.css', 'css/font-awesome.css', 'css/fullcalendar.css', 'css/animate.css']
 		    }
 		  }
 		},
@@ -23,7 +23,7 @@ module.exports = function(grunt) {
 				separator: ';',
 			},
 			dist: {
-				src: ['js/jquery-2.1.1.min.js', 'js/bootstrap.min.js', 'js/jasny-canvas.js', 'js/moment.min.js', 'js/fullcalendar.min.js', 'js/validate.js', 'js/scripts.js', ],
+				src: ['js/jquery-2.1.1.min.js', 'js/bootstrap.min.js', 'js/jasny-bootstrap.js', 'js/moment.min.js', 'js/fullcalendar.min.js', 'js/validate.min.js', 'js/scripts.js', ],
 				dest: 'js/script.js',
 			},
 		},
@@ -50,7 +50,7 @@ module.exports = function(grunt) {
 	grunt.loadNpmTasks('grunt-contrib-jshint');
 	grunt.loadNpmTasks('grunt-contrib-uglify');
 	
-	grunt.registerTask('jshint', [ 'jshint' ]);
+	grunt.registerTask('js', [ 'jshint' ]);
 	grunt.registerTask('default', [ 'cssmin', 'concat', 'uglify' ]);
 
 };

+ 7 - 6
header-home.php

@@ -30,6 +30,10 @@
 			</div>
 		</div>
 	</div>
+	<div class="container-full top-lead">
+		<div class="container">
+		</div>
+	</div>
 </div>
 <div class="modal fade terminal" tabindex="-1" role="dialog" aria-labelledby="welcomeback" aria-hidden="true">
   <div class="modal-dialog modal-lg">
@@ -43,29 +47,26 @@
 		<div class="navbar navbar-fixed-top">
 			<div class="container">
 				<div class="site-title">
-					<a href="http://davidawindham.com" title="David Windham"><img class="dw" title="David Windham" src="<?php echo get_bloginfo('template_directory');?>/img/dw.png" width="17"/></a>
-					<a href="<?php echo home_url( '/' ); ?>" class="navbar-brand navbar-right" title="David A. Windham" rel="home">David A. Windham</a>			
+					<a href="#" class="navbar-brand navbar-right"  data-toggle="offcanvas" data-target=".navmenu" title="David A. Windham" rel="home">David A. Windham</a>			
 				</div>
 			</div>
-			<a href="#" class="nav-toggle navbar-right" data-toggle="offcanvas" data-target=".navmenu" data-canvas="body"><span></span></a>
 		</div>
 	</div>
 </header>
-<nav id="site-menu" class="navmenu navmenu-default navmenu-fixed-right offcanvas" role="navigation">
+<nav id="site-menu" class="slide-menu-left navmenu navmenu-default navmenu-fixed-right offcanvas" role="navigation">
 	<ul class="nav nav-stacked">
 		<li><a href="<?php echo home_url( '/' ); ?>bio" class="list-group-item"><span class="fa fa-file-text-o fa-fw"></span> About</a></li>
 		<li><a href="<?php echo home_url( '/' ); ?>notebook" class="list-group-item"><span class="fa fa-pencil-square-o fa-fw"></span> Notebook</a></li>
 		<li><a href="<?php echo home_url( '/' ); ?>studio" class="list-group-item"><span class="fa fa-flask fa-fw"></span> Studio</a></li>
 		<li><a href="<?php echo home_url( '/' ); ?>contact" class="list-group-item"><span class="fa fa-envelope-o fa-fw"></span> Contact</a></li>
 		<li><a href="#archives" class="list-group-item" data-toggle="collapse" data-parent=".navmenu"><span class="fa fa-folder-open-o fa-fw"></span> Archives</a>
+		<li><a href="#social" class="list-group-item" data-toggle="collapse" data-parent=".navmenu"><span class="fa fa-external-link fa-fw"></span> Connect</a></li>
 	</ul>
 	<div class="collapse" id="archives">
 		<ul>
 			<?php wp_get_archives( array( 'type' => 'yearly') ); ?>
 		</ul>
 	</div>
-	<div class="clear"></div>
-	<a href="#social" class="list-group-item" data-toggle="collapse" data-parent=".navmenu"><span class="fa fa-external-link fa-fw"></span> Connect</a>
 	<div class="collapse" id="social">
 		<ul class="social">
 			<li><a href="https://davidawindham.com/feed" class="" rel="me"><span class="fa fa-2x fa-rss-square"></span></a></li>

+ 4 - 5
header.php

@@ -16,16 +16,15 @@
 <header id="header">
 	<div class="navbar navbar-fixed-top">
 		<div class="container">
-		<div class="site-title">
-			<a href="http://davidawindham.com" title="David Windham"><img class="dw" title="David Windham" alt="David Windham" src="<?php echo get_bloginfo('template_directory');?>/img/dw.png" width="17"/></a>
-			<a href="<?php echo home_url( '/' ); ?>" class="navbar-brand navbar-right" title="David A. Windham" rel="home">David A. Windham</a>			
+			<div class="site-title">
+				<a href="#" class="navbar-brand navbar-right"  data-toggle="offcanvas" data-target=".navmenu" title="David A. Windham" rel="home">David A. Windham</a>			
+			</div>
 		</div>
-		</div>
-		<a href="#" class="nav-toggle navbar-right" data-toggle="offcanvas" data-target=".navmenu" data-canvas="body"><span></span></a>
 	</div>
 </header>
 <nav class="navmenu navmenu-default navmenu-fixed-right offcanvas" role="navigation">
 	<ul class="nav nav-stacked">
+		<li><a href="<?php echo home_url( '/' ); ?>" class="list-group-item"><span class="fa fa-home fa-fw"></span> Home</a></li>
 		<li><a href="<?php echo home_url( '/' ); ?>bio" class="list-group-item"><span class="fa fa-file-text-o fa-fw"></span> About</a></li>
 		<li><a href="<?php echo home_url( '/' ); ?>notebook" class="list-group-item"><span class="fa fa-pencil-square-o fa-fw"></span> Notebook</a></li>
 		<li><a href="<?php echo home_url( '/' ); ?>studio" class="list-group-item"><span class="fa fa-flask fa-fw"></span> Studio</a></li>

+ 23 - 12
index.php

@@ -1,7 +1,7 @@
 <?php get_header('home'); ?>
-	<div class="container-full">
+	<div class="container-full leader">
 		<div class="container">
-			<div class="row m-scene scene_element scene_element--fadeinright">
+			<div class="row">
 				<div class="col-xs-5">
 					<h1 class="didot">David A. Windham</h1>
 					
@@ -29,6 +29,7 @@
 						</ul>
 					</div>
 				</div>
+			</div>
 		</div>
 	</div>
 	<video id="tv" class="sat" preload="auto" autoplay="true" loop="loop" muted="muted" volume="0">
@@ -49,7 +50,7 @@
 				</div>
 			    <div class="item">
 					<div class="container">
-						<h1 class="light super cm-sanswow wow fadeIn" data-wow-duration="4s">This Is Another Title - 2</h1>
+						<h1 class="light super cm-sans wow fadeIn" data-wow-duration="4s">This Is Another Title - 2</h1>
 						<h3 class="light cm-concrete">Another line about that Essay</h3>
 					</div>
 					<div class="carousel-caption">
@@ -70,10 +71,10 @@
 		</div>
 	</div>
 	<div class="container-fluid posts">
-		<div class="container2">
+		<div class="container">
 			<div class="row">
 				<div class="col-sm-4 wow fadeInLeft">
-					<article id="main">
+					<article id="main" class="home">
 						<?php query_posts('showposts=1'); ?>
 						<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
 						<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
@@ -89,7 +90,7 @@
 					</article>
 				</div>
 				<div class="col-sm-4 wow fadeInUp" data-wow-duration="1s">
-					<article id="main">
+					<article id="main" class="home">
 						<?php query_posts('showposts=1&offset=1'); ?>
 						<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
 						<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
@@ -105,7 +106,7 @@
 					</article>
 				</div>
 				<div class="col-sm-4 wow fadeInRight">
-					<article id="main">
+					<article id="main" class="home">
 						<?php query_posts('showposts=1&offset=2'); ?>
 						<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
 						<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
@@ -123,12 +124,22 @@
 			</div>
 		</div>
 	</div>
-	<div class="container">
-		<div class="row">
-			
+	<div class="container-full dark">
+		<div class="container">
+			<div class="row">
+				<div class="col-xs-5">
+
+				</div>
+				<div class="col-xs-4">
+					
+				</div>
+				<div class="col-xs-3 front-nav">
+					
+				</div>
+			</div>
 		</div>
 	</div>
-	<div class="container-full leader dark">
+	<div class="container-full dark">
 		<div class="container">
 			<div class="row">
 				<div class="col-sm-8">
@@ -180,4 +191,4 @@
 			</div>
 		</div>
 	</div>
-<?php get_footer(); ?>
+<?php get_footer('home'); ?>

+ 157 - 0
js/drawfillsvg.js

@@ -0,0 +1,157 @@
+/**
+ * Draw Fill SVG
+ *
+ * A plugin that simulates a "draw" effect on the stroke of an SVG, fades out
+ * the stroke, and fades in a fill colour.
+ *
+ * Licensed under the MIT license.
+ * http://www.opensource.org/licenses/mit-license.php
+ *
+ * Copyright 2014, Call Me Nick
+ * http://callmenick.com
+ */
+
+(function( window ){
+
+  'use strict';
+
+  /**
+   * Cross browser transition end events
+   *
+   * Use modernizr to detect cross browser transition end events. Make sure
+   * to include Modernizr in your doc and have "Modernizr.prefixed()" checked
+   * off in the extensibility section.
+   */
+
+  var transEndEventNames = {
+    "WebkitTransition" : "webkitTransitionEnd",
+    "MozTransition"    : "transitionend",
+    "OTransition"      : "oTransitionEnd",
+    "msTransition"     : "MSTransitionEnd",
+    "transition"       : "transitionend"
+  },
+  transEndEventName = transEndEventNames[ Modernizr.prefixed('transition') ];
+
+  /**
+   * Extend obj function
+   *
+   */
+
+  function extend( a, b ) {
+    for( var key in b ) { 
+      if( b.hasOwnProperty( key ) ) {
+        a[key] = b[key];
+      }
+    }
+    return a;
+  }
+
+  /**
+   * DrawFillSVG constructor
+   *
+   */
+
+  function DrawFillSVG( options ) {
+    this.options = extend( {}, this.options );
+    extend( this.options, options );
+    this._init();
+  }
+
+  /**
+   * DrawFillSVG options
+   *
+   * Available options:
+   * elementId - the ID of the element to draw
+   */
+
+  DrawFillSVG.prototype.options = {
+    elementId : "svg"
+  }
+
+  /**
+   * DrawFillSVG _init
+   *
+   * Initialise DrawFillSVG
+   */
+
+  DrawFillSVG.prototype._init = function() {
+    this.svg = document.getElementById(this.options.elementId);
+    this.paths = this.svg.querySelectorAll("path");
+    this._initAnimation();
+  }
+
+  /**
+   * DrawFillSVG _initAnimation()
+   *
+   * Reset some style properties on our paths, add some transitions, set the
+   * stroke-dasharray to the length of the path, and the stroke-dashoffset to
+   * the length of the path pushing it out of view initially. Then, set the 
+   * stroke-dashoffset to 0, animating the strokes in a drawing manner. Then,
+   * run the path filler sequence.
+   */
+
+  DrawFillSVG.prototype._initAnimation = function() {
+    for ( var i = 0; i < this.paths.length; i++ ) {
+      var path = this.paths[i];
+      var length = path.getTotalLength();
+
+      // reset opacities
+      path.style.fillOpacity = 0;
+      path.style.strokeOpacity = 1;
+
+      // reset transitions
+      path.style.transition = path.style.WebkitTransition = "none";
+
+      // reset stroke dash array and stroke dash offset
+      path.style.strokeDasharray = length + " " + length;
+      path.style.strokeDashoffset = length;
+      path.getBoundingClientRect();
+
+      // apply new transitions
+      path.style.transition = path.style.WebkitTransition = "stroke-dashoffset 2s ease-in-out";
+
+      // go baby go
+      path.style.strokeDashoffset = 0;
+
+      // fill the path
+      this._fillPath( path );
+    }
+  }
+
+  /**
+   * DrawFillSVG _fillPath()
+   *
+   * Resets the transition props, then fills the path and fades out the stroke
+   * by updating the styles.
+   */
+
+  DrawFillSVG.prototype._fillPath = function( path ) {
+    path.addEventListener( transEndEventName, function() {
+      // reset transitions
+      path.style.transition = path.style.WebkitTransition = "none";
+      path.style.transition = path.style.WebkitTransition = "fill-opacity 1s ease-in-out, stroke-opacity 1s ease-in-out";
+
+      // edit props
+      path.style.fillOpacity = 1;
+      path.style.strokeOpacity = 0;
+    } );
+  }
+
+  /**
+   * DrawFillSVG replay
+   *
+   * A public function that allows you to replay the animation if you want. For
+   * example, click a button, and replay the animation.
+   */
+
+  DrawFillSVG.prototype.replay = function() {
+    this._initAnimation();
+  }
+
+  /**
+   * Add to global namespace
+   */
+
+  window.DrawFillSVG = DrawFillSVG;
+
+})( window );

+ 187 - 154
js/init.js

@@ -1,16 +1,23 @@
-jQuery(document).ready(function($) {
+new WOW().init();
 
-$(window).bind("load", function () {
+jQuery(document).ready(function($) {
+	
+$(window).bind('load', function() {
 	$('#loader').fadeOut(700);
 });
 
-$(function cookieset(){	
+
+/*============================================
+		      Welcome Cookies
+==============================================*/
+
+$(function dw_set_cookie() {
 	var COOKIE = 'windhamdavid-cookie';
-	$go = $.cookie(COOKIE);
-	if ($go == null) {
-		$.cookie(COOKIE, 'yum-cookies', { expires: 7, path: '/', expires: 6 });	
-		$(".welcome").typed({
-			strings: ["Hey,", "Hello,\n^10Welcome to ^10my domain ^10...^10", "Hello, \nWelcome to my little corner of the internet. \n^10It's nice to ", "Hello, \nWelcome to my little corner of the internet. \nIt's very nice to have you here!^10\n"],
+	var dwcookie = $.cookie(COOKIE);
+	if (dwcookie == null) {
+		$.cookie(COOKIE, 'yum-cookies', { expires: 7, path: '/'});	
+		$('.welcome').typed({
+			strings: ['Hey,', 'Hello,\n^10Welcome to ^10my domain ^10...^10', 'Hello, \nWelcome to my little corner of the internet. \n^10It is nice to ', 'Hello, \nWelcome to my little corner of the internet. \nIt is very nice to have you here!^10\n'],
 			typeSpeed: -40,
 			backSpeed: -70,
 			startDelay: 0,
@@ -19,15 +26,15 @@ $(function cookieset(){
 			loopCount: false,
 			attr: null,
 			callback: function(){
-			 	shift();
+			 	dw_shift();
 			 }
 		});	
 	}
 	else {
 		$('.intro').collapse('hide');
 		$('.terminal').modal('show');
-		$(".welcome-back").typed({
-			strings: ["Hey...", "Welcome back..."],
+		$('.welcome-back').typed({
+			strings: ['Hey...', 'Welcome back...'],
 			typeSpeed: -40,
 			backSpeed: -70,
 			startDelay: 0,
@@ -36,178 +43,204 @@ $(function cookieset(){
 			loopCount: false,
 			attr: null,
 			callback: function(){
-			 	thecollapse();
+			 	dw_collapse();
 			 }
 		});	
 	}
 });
 	
-function shift(){
+function dw_shift() {
+	var collapseh = $('.intro').height();
 	$('.leader').ScrollTo({
+		offset: -(collapseh),
 	    duration: 1500,
 		easing: 'linear',
-	    durationMode: 'all',
 		callback: function(){
-			thecollapse();
+			dw_collapse();
 		}
 	});
-};
+	$('.intro').slideToggle({
+		duration: 1000,
+		easing: 'linear'
+	});
+}
 
-function thecollapse(){
-	$('.intro').collapse('hide')
-	$('.terminal').modal('hide')
-};
+function dw_collapse() {
+	//$('.intro').collapse('hide');
+	$('.terminal').modal('hide');
+}
+
+
+/*============================================
+		     Navigation 
+==============================================*/
+
+$('.nav-toggle').on('touchstart click', function(e) {
+	e.preventDefault();
+	$( this ).toggleClass( 'active' );
+});
 
 $('#nav').affix({
-	offset: {top: $('.intro').height()-$('#nav').height()}
+	offset: {top: $('.intro').height()-$('.navbar').height()}
 });	
 
-$('.nav-toggle').on( 'click', function() {
-	$( this ).toggleClass( 'active' );
+$(function dw_hidenav() {
+	var headerHeight = $('.navbar').height();
+	$(window).on('scroll', { previousTop: 0 },
+		function() {
+		var currentTop = $(window).scrollTop();
+		if (currentTop < this.previousTop) {
+			if (currentTop > 0 && $('.navbar').hasClass('fixed')) {
+					$('.navbar').addClass('visible');
+				} else {
+					$('.navbar').removeClass('visible fixed');
+				}
+		} 
+		else {
+			$('.navbar').removeClass('visible');
+			if (currentTop > headerHeight && !$('.navbar').hasClass('fixed')) $('.navbar').addClass('fixed');
+		}
+		this.previousTop = currentTop;
+		}  
+	);
 });
 
+
+/*============================================
+		      Carousel 
+==============================================*/
+
 $('.carousel').carousel({
 	interval: 4200
 });
 
-$('.carousel').on('slide.bs.carousel', function () {
-	$('.carousel-caption').fadeIn(600)
+$('.carousel').on('slide.bs.carousel', function() {
+	$('.carousel-caption').fadeIn(600);
 	//$('#tv').removeClass('invert');
-})
+});
 
-$('.carousel').on('slid.bs.carousel', function () {
-	$('.carousel-caption').fadeOut(600)
+$('.carousel').on('slid.bs.carousel', function() {
+	$('.carousel-caption').fadeOut(600);
 	//$('#tv').addClass('invert');
-})
-
-$(function(){
-	$('.calendar').fullCalendar ({
-		firstDay : 1,
-		height: 345,
-		events: [
-				{
-					title: 'Project',
-					start: '2014-09-27',
-					end: '2014-10-02'
-				},
-				{
-					title: 'Conf',
-					start: '2014-10-11',
-					end: '2014-10-13',
-					borderColor: 'red'
-				},
-				{
-					title: 'off',
-					start: '2014-10-13',
-					end: '2014-10-16'	
-				},
-				{
-					title: 'Contract',
-					start: '2014-10-16',
-					end: '2014-10-31'
-				},
-				{
-					title: 'Contract',
-					start: '2014-11-03',
-					end: '2014-11-22'
-				},
-				{
-					title: 'Project',
-					start: '2014-12-01',
-					end: '2014-12-06'
-				},
-				{
-					title: 'Project',
-					start: '2014-12-08',
-					end: '2014-12-13'
-				},
-				{
-					title: 'Holiday',
-					start: '2014-12-22',
-					end: '2015-01-05',
-					borderColor: 'red'
-				},
-				{
-					title: 'Project',
-					start: '2015-01-06',
-					end: '2015-01-25'
-				},
-				{
-					title: 'Project',
-					start: '2015-02-02',
-					end: '2015-02-14'
-				},
-				{
-					title: 'Holiday',
-					start: '2015-02-14',
-					end: '2015-02-19',
-					borderColor: 'red'
-				},
-		]
-    })
 });
 
 
-;(function ($) {
-  'use strict';
-  var content  = $('.transit').smoothState({
-        onStart : {
-          duration: 250,
-          render: function () {
-            content.toggleAnimationClass('is-exiting');
-          }
-        }
-      }).data('smoothState');
-})(jQuery);
-
-
-var headerHeight = $('.navbar').height();
-$(window).on('scroll', { previousTop: 0 },
-function() {
-    var currentTop = $(window).scrollTop();
-    if (currentTop < this.previousTop) {
-        if (currentTop > 0 && $('.navbar').hasClass('fixed')) {
-            $('.navbar').addClass('visible');
-        } else {
-            $('.navbar').removeClass('visible fixed');
-        }
-    } else {
-        $('.navbar').removeClass('visible');
-        if (currentTop > headerHeight && !$('.navbar').hasClass('fixed')) $('.navbar').addClass('fixed');
-    }
-    this.previousTop = currentTop;
+/*============================================
+		      Comments
+==============================================*/
+
+$('#comments').hide();
+
+$('.toggle-comments').on('touchstart click', function(e) {
+	e.preventDefault();
+	$('#comments').toggle('slow', function() {
+		var anchor = $('.toggle-comments');
+		var anchorText = anchor.text() === 'Hide Comments' ? 'Show Comments' : 'Hide Comments';
+		$(anchor).text(anchorText);
+	});
 });
 
-var commentsDiv = $('#comments');
-	if (commentsDiv.length) {
-		$(commentsDiv).hide();
-		$('.toggle-comments').on('click', function(e) {
-			e.preventDefault();
-			$(commentsDiv).toggle('slow', function() {
-				var anchor = $('.toggle-comments');
-				var anchorText = anchor.text() === 'Hide Comments' ? 'Show Comments' : 'Hide Comments';
-				$(anchor).text(anchorText);
-			});
-		});
-	}
+$('#commentform').validate({
+	rules: {
+		author: {
+			required: true,
+			minlength: 2
+		},
+		email: {
+			required: true,
+			email: true
+		},
+		comment: {
+			required: true,
+			minlength: 20
+		}
+	},
+	messages: {
+		author: "Please enter in your name.",
+		email: "Please enter a valid email address.",
+		comment: "Message box can't be empty!"
+	},
+	errorElement: "div",
+	errorPlacement: function(error, element) {
+		element.before(error);
+	} 
 });
 
-;(function ($) {
- 	'use strict';
-    var $body    = $('html, body'),
-        content  = $('#big-top').smoothState({
-            prefetch: true,
-            pageCacheSize: 4,
-            onStart: {
-                duration: 250,
-                render: function (url, $container) {
-                    content.toggleAnimationClass('is-exiting');
-                    $body.animate({
-                        scrollTop: 0
-                    });
-                }
-            }
-        }).data('smoothState');
-})(jQuery);
-
-new WOW().init();
+/*============================================
+		      SmoothState 
+==============================================*/
+
+
+		
+/*============================================
+		      Calendar
+==============================================*/	
+
+$('.calendar').fullCalendar ({
+	firstDay : 1,
+	height: 345,
+	events: [
+			{
+				title: 'Project',
+				start: '2014-09-27',
+				end: '2014-10-02'
+			},
+			{
+				title: 'Conf',
+				start: '2014-10-11',
+				end: '2014-10-13',
+				borderColor: 'red'
+			},
+			{
+				title: 'off',
+				start: '2014-10-13',
+				end: '2014-10-16'	
+			},
+			{
+				title: 'Contract',
+				start: '2014-10-16',
+				end: '2014-10-31'
+			},
+			{
+				title: 'Contract',
+				start: '2014-11-03',
+				end: '2014-11-22'
+			},
+			{
+				title: 'Project',
+				start: '2014-12-01',
+				end: '2014-12-06'
+			},
+			{
+				title: 'Project',
+				start: '2014-12-08',
+				end: '2014-12-13'
+			},
+			{
+				title: 'Holiday',
+				start: '2014-12-22',
+				end: '2015-01-05',
+				borderColor: 'red'
+			},
+			{
+				title: 'Project',
+				start: '2015-01-06',
+				end: '2015-01-25'
+			},
+			{
+				title: 'Project',
+				start: '2015-02-02',
+				end: '2015-02-14'
+			},
+			{
+				title: 'Holiday',
+				start: '2015-02-14',
+				end: '2015-02-19',
+				borderColor: 'red'
+			}
+	]
+});
+
+
+		
+});

+ 0 - 51
js/jasny-bootstrap.js

@@ -316,54 +316,3 @@
   })
 
 }(window.jQuery);
-
-/* ========================================================================
- * Bootstrap: transition.js v3.1.3
- * http://getbootstrap.com/javascript/#transitions
- * ========================================================================
- * Copyright 2011-2014 Twitter, Inc.
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
- * ======================================================================== */
-
-
-+function ($) {
-  'use strict';
-
-  // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
-  // ============================================================
-
-  function transitionEnd() {
-    var el = document.createElement('bootstrap')
-
-    var transEndEventNames = {
-      WebkitTransition : 'webkitTransitionEnd',
-      MozTransition    : 'transitionend',
-      OTransition      : 'oTransitionEnd otransitionend',
-      transition       : 'transitionend'
-    }
-
-    for (var name in transEndEventNames) {
-      if (el.style[name] !== undefined) {
-        return { end: transEndEventNames[name] }
-      }
-    }
-
-    return false // explicit for ie8 (  ._.)
-  }
-
-  if ($.support.transition !== undefined) return  // Prevent conflict with Twitter Bootstrap
-
-  // http://blog.alexmaccaw.com/css-transitions
-  $.fn.emulateTransitionEnd = function (duration) {
-    var called = false, $el = this
-    $(this).one($.support.transition.end, function () { called = true })
-    var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
-    setTimeout(callback, duration)
-    return this
-  }
-
-  $(function () {
-    $.support.transition = transitionEnd()
-  })
-
-}(window.jQuery);

File diff suppressed because it is too large
+ 3 - 0
js/modernizr.js


File diff suppressed because it is too large
+ 23 - 0
js/script.js


File diff suppressed because it is too large
+ 0 - 0
js/script.min.js


+ 51 - 0
js/validate.min.js

@@ -0,0 +1,51 @@
+/**
+ * jQuery Validation Plugin 1.9.0
+ *
+ * http://bassistance.de/jquery-plugins/jquery-plugin-validation/
+ * http://docs.jquery.com/Plugins/Validation
+ *
+ * Copyright (c) 2006 - 2011 Jรถrn Zaefferer
+ *
+ * Dual licensed under the MIT and GPL licenses:
+ *   http://www.opensource.org/licenses/mit-license.php
+ *   http://www.gnu.org/licenses/gpl.html
+ */
+(function(c){c.extend(c.fn,{validate:function(a){if(this.length){var b=c.data(this[0],"validator");if(b)return b;this.attr("novalidate","novalidate");b=new c.validator(a,this[0]);c.data(this[0],"validator",b);if(b.settings.onsubmit){a=this.find("input, button");a.filter(".cancel").click(function(){b.cancelSubmit=true});b.settings.submitHandler&&a.filter(":submit").click(function(){b.submitButton=this});this.submit(function(d){function e(){if(b.settings.submitHandler){if(b.submitButton)var f=c("<input type='hidden'/>").attr("name",
+b.submitButton.name).val(b.submitButton.value).appendTo(b.currentForm);b.settings.submitHandler.call(b,b.currentForm);b.submitButton&&f.remove();return false}return true}b.settings.debug&&d.preventDefault();if(b.cancelSubmit){b.cancelSubmit=false;return e()}if(b.form()){if(b.pendingRequest){b.formSubmitted=true;return false}return e()}else{b.focusInvalid();return false}})}return b}else a&&a.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing")},valid:function(){if(c(this[0]).is("form"))return this.validate().form();
+else{var a=true,b=c(this[0].form).validate();this.each(function(){a&=b.element(this)});return a}},removeAttrs:function(a){var b={},d=this;c.each(a.split(/\s/),function(e,f){b[f]=d.attr(f);d.removeAttr(f)});return b},rules:function(a,b){var d=this[0];if(a){var e=c.data(d.form,"validator").settings,f=e.rules,g=c.validator.staticRules(d);switch(a){case "add":c.extend(g,c.validator.normalizeRule(b));f[d.name]=g;if(b.messages)e.messages[d.name]=c.extend(e.messages[d.name],b.messages);break;case "remove":if(!b){delete f[d.name];
+return g}var h={};c.each(b.split(/\s/),function(j,i){h[i]=g[i];delete g[i]});return h}}d=c.validator.normalizeRules(c.extend({},c.validator.metadataRules(d),c.validator.classRules(d),c.validator.attributeRules(d),c.validator.staticRules(d)),d);if(d.required){e=d.required;delete d.required;d=c.extend({required:e},d)}return d}});c.extend(c.expr[":"],{blank:function(a){return!c.trim(""+a.value)},filled:function(a){return!!c.trim(""+a.value)},unchecked:function(a){return!a.checked}});c.validator=function(a,
+b){this.settings=c.extend(true,{},c.validator.defaults,a);this.currentForm=b;this.init()};c.validator.format=function(a,b){if(arguments.length==1)return function(){var d=c.makeArray(arguments);d.unshift(a);return c.validator.format.apply(this,d)};if(arguments.length>2&&b.constructor!=Array)b=c.makeArray(arguments).slice(1);if(b.constructor!=Array)b=[b];c.each(b,function(d,e){a=a.replace(RegExp("\\{"+d+"\\}","g"),e)});return a};c.extend(c.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",
+validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:c([]),errorLabelContainer:c([]),onsubmit:true,ignore:":hidden",ignoreTitle:false,onfocusin:function(a){this.lastActive=a;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass);this.addWrapper(this.errorsFor(a)).hide()}},onfocusout:function(a){if(!this.checkable(a)&&(a.name in this.submitted||!this.optional(a)))this.element(a)},
+onkeyup:function(a){if(a.name in this.submitted||a==this.lastElement)this.element(a)},onclick:function(a){if(a.name in this.submitted)this.element(a);else a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(a,b,d){a.type==="radio"?this.findByName(a.name).addClass(b).removeClass(d):c(a).addClass(b).removeClass(d)},unhighlight:function(a,b,d){a.type==="radio"?this.findByName(a.name).removeClass(b).addClass(d):c(a).removeClass(b).addClass(d)}},setDefaults:function(a){c.extend(c.validator.defaults,
+a)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:c.validator.format("Please enter no more than {0} characters."),
+minlength:c.validator.format("Please enter at least {0} characters."),rangelength:c.validator.format("Please enter a value between {0} and {1} characters long."),range:c.validator.format("Please enter a value between {0} and {1}."),max:c.validator.format("Please enter a value less than or equal to {0}."),min:c.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){function a(e){var f=c.data(this[0].form,"validator"),g="on"+e.type.replace(/^validate/,
+"");f.settings[g]&&f.settings[g].call(f,this[0],e)}this.labelContainer=c(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||c(this.currentForm);this.containers=c(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var b=this.groups={};c.each(this.settings.groups,function(e,f){c.each(f.split(/\s/),function(g,h){b[h]=e})});var d=
+this.settings.rules;c.each(d,function(e,f){d[e]=c.validator.normalizeRule(f)});c(this.currentForm).validateDelegate("[type='text'], [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",a).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",
+a);this.settings.invalidHandler&&c(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){this.checkForm();c.extend(this.submitted,this.errorMap);this.invalid=c.extend({},this.errorMap);this.valid()||c(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid()},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},element:function(a){this.lastElement=
+a=this.validationTargetFor(this.clean(a));this.prepareElement(a);this.currentElements=c(a);var b=this.check(a);if(b)delete this.invalid[a.name];else this.invalid[a.name]=true;if(!this.numberOfInvalids())this.toHide=this.toHide.add(this.containers);this.showErrors();return b},showErrors:function(a){if(a){c.extend(this.errorMap,a);this.errorList=[];for(var b in a)this.errorList.push({message:a[b],element:this.findByName(b)[0]});this.successList=c.grep(this.successList,function(d){return!(d.name in a)})}this.settings.showErrors?
+this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){c.fn.resetForm&&c(this.currentForm).resetForm();this.submitted={};this.lastElement=null;this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b=0,d;for(d in a)b++;return b},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()==
+0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{c(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(a){}},findLastActive:function(){var a=this.lastActive;return a&&c.grep(this.errorList,function(b){return b.element.name==a.name}).length==1&&a},elements:function(){var a=this,b={};return c(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&
+a.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in b||!a.objectLength(c(this).rules()))return false;return b[this.name]=true})},clean:function(a){return c(a)[0]},errors:function(){return c(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=c([]);this.toHide=c([]);this.currentElements=c([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},
+prepareElement:function(a){this.reset();this.toHide=this.errorsFor(a)},check:function(a){a=this.validationTargetFor(this.clean(a));var b=c(a).rules(),d=false,e;for(e in b){var f={method:e,parameters:b[e]};try{var g=c.validator.methods[e].call(this,a.value.replace(/\r/g,""),a,f.parameters);if(g=="dependency-mismatch")d=true;else{d=false;if(g=="pending"){this.toHide=this.toHide.not(this.errorsFor(a));return}if(!g){this.formatAndAdd(a,f);return false}}}catch(h){this.settings.debug&&window.console&&console.log("exception occured when checking element "+
+a.id+", check the '"+f.method+"' method",h);throw h;}}if(!d){this.objectLength(b)&&this.successList.push(a);return true}},customMetaMessage:function(a,b){if(c.metadata){var d=this.settings.meta?c(a).metadata()[this.settings.meta]:c(a).metadata();return d&&d.messages&&d.messages[b]}},customMessage:function(a,b){var d=this.settings.messages[a];return d&&(d.constructor==String?d:d[b])},findDefined:function(){for(var a=0;a<arguments.length;a++)if(arguments[a]!==undefined)return arguments[a]},defaultMessage:function(a,
+b){return this.findDefined(this.customMessage(a.name,b),this.customMetaMessage(a,b),!this.settings.ignoreTitle&&a.title||undefined,c.validator.messages[b],"<strong>Warning: No message defined for "+a.name+"</strong>")},formatAndAdd:function(a,b){var d=this.defaultMessage(a,b.method),e=/\$?\{(\d+)\}/g;if(typeof d=="function")d=d.call(this,b.parameters,a);else if(e.test(d))d=jQuery.format(d.replace(e,"{$1}"),b.parameters);this.errorList.push({message:d,element:a});this.errorMap[a.name]=d;this.submitted[a.name]=
+d},addWrapper:function(a){if(this.settings.wrapper)a=a.add(a.parent(this.settings.wrapper));return a},defaultShowErrors:function(){for(var a=0;this.errorList[a];a++){var b=this.errorList[a];this.settings.highlight&&this.settings.highlight.call(this,b.element,this.settings.errorClass,this.settings.validClass);this.showLabel(b.element,b.message)}if(this.errorList.length)this.toShow=this.toShow.add(this.containers);if(this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);
+if(this.settings.unhighlight){a=0;for(b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass)}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return c(this.errorList).map(function(){return this.element})},showLabel:function(a,b){var d=this.errorsFor(a);if(d.length){d.removeClass(this.settings.validClass).addClass(this.settings.errorClass);
+d.attr("generated")&&d.html(b)}else{d=c("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(a),generated:true}).addClass(this.settings.errorClass).html(b||"");if(this.settings.wrapper)d=d.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();this.labelContainer.append(d).length||(this.settings.errorPlacement?this.settings.errorPlacement(d,c(a)):d.insertAfter(a))}if(!b&&this.settings.success){d.text("");typeof this.settings.success=="string"?d.addClass(this.settings.success):this.settings.success(d)}this.toShow=
+this.toShow.add(d)},errorsFor:function(a){var b=this.idOrName(a);return this.errors().filter(function(){return c(this).attr("for")==b})},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},validationTargetFor:function(a){if(this.checkable(a))a=this.findByName(a.name).not(this.settings.ignore)[0];return a},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(a){var b=this.currentForm;return c(document.getElementsByName(a)).map(function(d,
+e){return e.form==b&&e.name==a&&e||null})},getLength:function(a,b){switch(b.nodeName.toLowerCase()){case "select":return c("option:selected",b).length;case "input":if(this.checkable(b))return this.findByName(b.name).filter(":checked").length}return a.length},depend:function(a,b){return this.dependTypes[typeof a]?this.dependTypes[typeof a](a,b):true},dependTypes:{"boolean":function(a){return a},string:function(a,b){return!!c(a,b.form).length},"function":function(a,b){return a(b)}},optional:function(a){return!c.validator.methods.required.call(this,
+c.trim(a.value),a)&&"dependency-mismatch"},startRequest:function(a){if(!this.pending[a.name]){this.pendingRequest++;this.pending[a.name]=true}},stopRequest:function(a,b){this.pendingRequest--;if(this.pendingRequest<0)this.pendingRequest=0;delete this.pending[a.name];if(b&&this.pendingRequest==0&&this.formSubmitted&&this.form()){c(this.currentForm).submit();this.formSubmitted=false}else if(!b&&this.pendingRequest==0&&this.formSubmitted){c(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=
+false}},previousValue:function(a){return c.data(a,"previousValue")||c.data(a,"previousValue",{old:null,valid:true,message:this.defaultMessage(a,"remote")})}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(a,b){a.constructor==String?this.classRuleSettings[a]=b:c.extend(this.classRuleSettings,
+a)},classRules:function(a){var b={};(a=c(a).attr("class"))&&c.each(a.split(" "),function(){this in c.validator.classRuleSettings&&c.extend(b,c.validator.classRuleSettings[this])});return b},attributeRules:function(a){var b={};a=c(a);for(var d in c.validator.methods){var e;if(e=d==="required"&&typeof c.fn.prop==="function"?a.prop(d):a.attr(d))b[d]=e;else if(a[0].getAttribute("type")===d)b[d]=true}b.maxlength&&/-1|2147483647|524288/.test(b.maxlength)&&delete b.maxlength;return b},metadataRules:function(a){if(!c.metadata)return{};
+var b=c.data(a.form,"validator").settings.meta;return b?c(a).metadata()[b]:c(a).metadata()},staticRules:function(a){var b={},d=c.data(a.form,"validator");if(d.settings.rules)b=c.validator.normalizeRule(d.settings.rules[a.name])||{};return b},normalizeRules:function(a,b){c.each(a,function(d,e){if(e===false)delete a[d];else if(e.param||e.depends){var f=true;switch(typeof e.depends){case "string":f=!!c(e.depends,b.form).length;break;case "function":f=e.depends.call(b,b)}if(f)a[d]=e.param!==undefined?
+e.param:true;else delete a[d]}});c.each(a,function(d,e){a[d]=c.isFunction(e)?e(b):e});c.each(["minlength","maxlength","min","max"],function(){if(a[this])a[this]=Number(a[this])});c.each(["rangelength","range"],function(){if(a[this])a[this]=[Number(a[this][0]),Number(a[this][1])]});if(c.validator.autoCreateRanges){if(a.min&&a.max){a.range=[a.min,a.max];delete a.min;delete a.max}if(a.minlength&&a.maxlength){a.rangelength=[a.minlength,a.maxlength];delete a.minlength;delete a.maxlength}}a.messages&&delete a.messages;
+return a},normalizeRule:function(a){if(typeof a=="string"){var b={};c.each(a.split(/\s/),function(){b[this]=true});a=b}return a},addMethod:function(a,b,d){c.validator.methods[a]=b;c.validator.messages[a]=d!=undefined?d:c.validator.messages[a];b.length<3&&c.validator.addClassRules(a,c.validator.normalizeRule(a))},methods:{required:function(a,b,d){if(!this.depend(d,b))return"dependency-mismatch";switch(b.nodeName.toLowerCase()){case "select":return(a=c(b).val())&&a.length>0;case "input":if(this.checkable(b))return this.getLength(a,
+b)>0;default:return c.trim(a).length>0}},remote:function(a,b,d){if(this.optional(b))return"dependency-mismatch";var e=this.previousValue(b);this.settings.messages[b.name]||(this.settings.messages[b.name]={});e.originalMessage=this.settings.messages[b.name].remote;this.settings.messages[b.name].remote=e.message;d=typeof d=="string"&&{url:d}||d;if(this.pending[b.name])return"pending";if(e.old===a)return e.valid;e.old=a;var f=this;this.startRequest(b);var g={};g[b.name]=a;c.ajax(c.extend(true,{url:d,
+mode:"abort",port:"validate"+b.name,dataType:"json",data:g,success:function(h){f.settings.messages[b.name].remote=e.originalMessage;var j=h===true;if(j){var i=f.formSubmitted;f.prepareElement(b);f.formSubmitted=i;f.successList.push(b);f.showErrors()}else{i={};h=h||f.defaultMessage(b,"remote");i[b.name]=e.message=c.isFunction(h)?h(a):h;f.showErrors(i)}e.valid=j;f.stopRequest(b,j)}},d));return"pending"},minlength:function(a,b,d){return this.optional(b)||this.getLength(c.trim(a),b)>=d},maxlength:function(a,
+b,d){return this.optional(b)||this.getLength(c.trim(a),b)<=d},rangelength:function(a,b,d){a=this.getLength(c.trim(a),b);return this.optional(b)||a>=d[0]&&a<=d[1]},min:function(a,b,d){return this.optional(b)||a>=d},max:function(a,b,d){return this.optional(b)||a<=d},range:function(a,b,d){return this.optional(b)||a>=d[0]&&a<=d[1]},email:function(a,b){return this.optional(b)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(a)},
+url:function(a,b){return this.optional(b)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(a)},
+date:function(a,b){return this.optional(b)||!/Invalid|NaN/.test(new Date(a))},dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(a)},number:function(a,b){return this.optional(b)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},creditcard:function(a,b){if(this.optional(b))return"dependency-mismatch";if(/[^0-9 -]+/.test(a))return false;var d=0,e=0,f=false;a=a.replace(/\D/g,"");for(var g=a.length-1;g>=
+0;g--){e=a.charAt(g);e=parseInt(e,10);if(f)if((e*=2)>9)e-=9;d+=e;f=!f}return d%10==0},accept:function(a,b,d){d=typeof d=="string"?d.replace(/,/g,"|"):"png|jpe?g|gif";return this.optional(b)||a.match(RegExp(".("+d+")$","i"))},equalTo:function(a,b,d){d=c(d).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){c(b).valid()});return a==d.val()}}});c.format=c.validator.format})(jQuery);
+(function(c){var a={};if(c.ajaxPrefilter)c.ajaxPrefilter(function(d,e,f){e=d.port;if(d.mode=="abort"){a[e]&&a[e].abort();a[e]=f}});else{var b=c.ajax;c.ajax=function(d){var e=("port"in d?d:c.ajaxSettings).port;if(("mode"in d?d:c.ajaxSettings).mode=="abort"){a[e]&&a[e].abort();return a[e]=b.apply(this,arguments)}return b.apply(this,arguments)}}})(jQuery);
+(function(c){!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(e){e=c.event.fix(e);e.type=b;return c.event.handle.call(this,e)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)},handler:function(e){arguments[0]=c.event.fix(e);arguments[0].type=b;return c.event.handle.apply(this,arguments)}}});c.extend(c.fn,{validateDelegate:function(a,
+b,d){return this.bind(b,function(e){var f=c(e.target);if(f.is(a))return d.apply(f,arguments)})}})})(jQuery);

+ 5 - 7
single.php

@@ -1,15 +1,12 @@
 <?php get_header(); ?>
+
 	<div class="container">
-		<div id="content" role="main">
+		<article id="content" class="single" role="main">
 			<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
 			<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
 				<div class="entry-content">
 					<div class="date">
-						<?php the_date('M j, Y g:i a '); ?>		
-						<div class="meta">
-							<?php dw_posted_at(); ?>
-							<p><small><?php edit_post_link('Edit');?></small><p>
-						</div>
+						<?php the_time('n/j/Y'); ?>	
 					</div>
 					<h2 class="entry-title"><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'daw' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
 					<?php the_content(); ?>
@@ -22,6 +19,7 @@
 				</div>
 			</div>
 			<?php endwhile; ?>
-		</div>
+		</article>
 	</div>
+	
 <?php get_footer(); ?>

+ 99 - 81
style.css

@@ -10,7 +10,7 @@ Thanks:
 normalize.css v3.0.1 * MIT License
 bootstrap v3.2.0 * MIT License
 font awesome 4.2.0 * MIT License
-_S | GPL License
+_s | GPL License
 */
 
 html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:bold}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
@@ -37,11 +37,6 @@ a img {border: 0;}
 body { 
 	background: rgba(242,242,242,.7)
 }
-body,input,textarea {
-	color: #666;
-	font-size: 12px;
-	line-height: 18px;
-}
 
 
 /*============================================
@@ -148,6 +143,9 @@ input,button,select,textarea {
 .dim {
 	color: #737373;
 }
+.dull {
+	color: #535353;
+}
 .right {
 	text-align: right;
 }
@@ -163,6 +161,9 @@ h1.super {
 	font-style: normal;
 	font-weight: 300;
 }
+.email a {
+	color: #777;
+}
 
 /*============================================
 										Grid 
@@ -208,22 +209,10 @@ h1.super {
   }
 
 }
-/* @media (min-width: 1310px) {
-	.offcanvas {
-	  display: block;
-		z-index: 1;
-	}
-	body {
-		margin-right: 150px !important;
-	}
-	.navbar {
-		margin-right: 150px !important;
-	}	
-	.nav-toggle {
-		display: none;
-	}
+@media (min-width: 1310px) {
+
 }
-*/
+
 
 
 
@@ -397,19 +386,6 @@ h1.super {
 	75%{-webkit-transform:rotateY(90deg);opacity:.6} 
 	100%{-webkit-transform:rotateY(0deg);opacity:1}}
 
-
-.zw-logo {
-	transform-origin: 50% 50%;
-  -webkit-transform-origin: 50% 50%;
-  animation:  spin 4s cubic-bezier(.49,.05,.32,1.04) infinite alternate;
-}
-
-@keyframes spin {
-	50% {
-	  transform: rotate(360deg);
-	}
-}
-
 .m-scene .scene_element {
   -webkit-animation-duration: 0.25s;
   animation-duration: 0.25s;
@@ -551,9 +527,6 @@ h1.super {
 	background: -moz-linear-gradient(top, #355069 0, #5e7a9b 100%);
 	background: -o-linear-gradient(top, #355069 0, #5e7a9b 100%);
 	background: linear-gradient(top, #355069 0, #5e7a9b 100%);
-}
-.posts {
-
 }
 .postss:before {
 	content: "";
@@ -615,16 +588,22 @@ h1.super {
 #tv {
 	position: fixed; 
 	right: 0; 
-	bottom: 0;
+	top: 0;
 	min-width: 100%; 
 	min-height: 100%;
-	width: 100%; 
-	height: 200px; 
+	width: auto; 
+	height: auto; 
 	z-index: -100;
-	background: url(tv.jpg) no-repeat;
+	background: url(img/tv.gif) no-repeat;
 	background-size: cover;
-	-webkit-filter: blur(0px);
-	-webkit-filter: saturate(10%);	
+	-webkit-background-size: cover;
+	-moz-background-size: cover;
+	-o-background-size: cover;
+	filter: saturate(10%);
+	-webkit-filter: saturate(10%);
+	transform-origin: 50% 50%;
+	-webkit-transform-origin: 50% 50%;
+	border: none;
 }
 #tv.invert {
 	-webkit-filter: invert(100%);
@@ -632,7 +611,15 @@ h1.super {
 #tv.contrast {
 	-webkit-filter: contrast(100%);
 }
-
+#tv.blur {
+	-webkit-filter: blur(0px);
+}
+#tv.sat {
+	-webkit-filter: saturate(10%);
+}
+#tv.scale {
+	-webkit-filter: scale(1.5);
+}
 
 /*============================================
 										Navbar 
@@ -652,7 +639,7 @@ h1.super {
 }
 .navbar.fixed {
   position: fixed;
-  top: -80px;
+  top: -81px;
   background-color: rgba(237, 237, 237, 0.7);
   -webkit-transition: -webkit-transform 0.3s;
   -moz-transition: -moz-transform 0.3s;
@@ -698,25 +685,20 @@ h1.super {
 }
 .navmenu,
 .navbar-offcanvas {
-  width: 150px;
+  width: 170px;
   height: auto;
-  border-style: solid;
-  border-width: 1px;
-  border-radius: 4px;
-  padding-top:80px;
 }
 .navmenu-fixed-right,
 .navbar-offcanvas {
   position: fixed;
-  top: 0;
+  top: 80px;
   bottom: 0;
   z-index: 1030;
   overflow-y: auto;
   border-radius: 0;
-  background-color: rgba(237, 237, 237, 0.7);
+
   left: auto;
   right: 0;
-  border-width: 0 0 0 0px;
 }
 .nav-toggle { 
 	padding: 15px 0;
@@ -783,15 +765,12 @@ ul.social li {
 }
 
 
-
-
 /*============================================
 										Header 
 ==============================================*/
 .site-title {
 	float: right;
 	padding: 15px 0;
-	font: 21px/27px "Courier New", Courier, mono;
 }
 .site-title a {
 	color: #000;
@@ -822,8 +801,11 @@ img.dw {
 ==============================================*/
 
 /*===== Structure =====*/
+.a:hover {
+	color: #1d8;
+}
 .leader {
-	padding: 50px 0;
+	padding: 50px 0 0;
 }
 .dark {
 	background: #222;
@@ -831,26 +813,60 @@ img.dw {
 .footer {
 	padding: 50px 0;
 }
+.footer-home {
+	padding: 90px 0 50px;
+}
 .col-centered {
 	float: none;
 	margin: 0 auto;
 }
 article#main {
-	padding: 10px;
-	margin: 30px 0 0;
+	padding: 0px;
 }
 article#main .entry-content {
 	padding: 15px;
+
+}
+article h2 {
+	font-size: 28px;
+}
+article.single {
+	background: #fff;
+	padding: 70px 60px;
+}
+article.home {
+	background: rgba(255, 255, 255, 0.9);
+	padding: 70px 60px;
+		border-radius: 10px;
+}
+.post {
+	margin-bottom: 40px;
+}
+article p {
+	text-indent: 12px;
 }
 
 
 /*===== Wordpress =====*/
 
-.post {
-	background: #fff;
-	margin-bottom: 40px;
+@media (max-width: 768px) {
+	article.single {
+		background: #fff;
+		padding: 10px;
+	}
 }
+@media (min-width: 768px) {
 
+}
+@media (min-width: 992px) {
+
+}
+@media (min-width: 1200px) {
+
+}
+@media (min-width: 1310px) {
+
+}
 
 #content {
 	margin-bottom: 36px;
@@ -981,7 +997,7 @@ article#main .entry-content {
 }
 #content .entry-title {
 	color: #000;
-	font-size: 18px;
+	font-size: 24px;
 	line-height: 1.3em;
 	margin-bottom: 20px;
 }
@@ -995,7 +1011,7 @@ h2.entry-title {
 }
 .entry-title a:active,
 .entry-title a:hover {
-	color: #a0aec4;
+	color: #1db;
 }
 .entry-meta {
 	color: #888;
@@ -1197,11 +1213,21 @@ span.fb  {
 										Comments 
 ==============================================*/
 
+#commentform input.error, 
+#commentform textarea.error { 
+	background: #FFD2D2; 
+	color:#000000; 
+}
+#commentform .error  { 
+	font-size: 16px; 
+	padding: 0 0 5px 0; 
+	color: #FF0000; 
+}
 .commentbubble {
-	font-size: 12px;
+	font-family:"CM Type";
+	font-size: 13px;
 	color: #777;
-	float: right;
-	margin: 0 55px 0 0;
+	margin: 0px 15px 0 0;
 }
 .comment {
 	padding: 10px;
@@ -1211,17 +1237,19 @@ span.fb  {
 	text-align: right;
 }
 .comments-area {
-	background: #ebebeb;
+	background: rgba(242,242,242,.7);
 	padding: 15px;
+	margin: 60px 0 0 0;
 }
 #content .comments-area p {
+
 	margin: 0 0 8px;
 	font-size: 13px;
 }
 #content .comments-area .reply {
 	margin: 5px 8px 0px;
 	padding: 2px 9px;
-	background: #ebeaea;
+	background: rgba(242,242,242,.5);
 	font-size: 11px;
 }
 .comments-title {
@@ -1232,9 +1260,7 @@ span.fb  {
 	line-height: 1.5;
 	font-weight: normal;
 }
-.comments-area {
-	margin: 0px 50px;
-}
+
 .comments-area ul {
 	margin: 0px 0px;
 	list-style: none;
@@ -1330,7 +1356,6 @@ li.comment.thread-odd {
 #respond h3#reply-title {
 	margin: 0px 8px 0px;
 	padding: 2px 9px;
-	background: #ebeaea;
 	font-size: 11px;
 	margin: 0;
 }
@@ -1376,11 +1401,7 @@ li.comment.thread-odd {
 .required {
 	color: red;
 }
-img.avatar {
-	width: 20px;
-	height: 20px;
-	margin: 0 0 -5px;
-}
+
 
 
 
@@ -1786,9 +1807,6 @@ span.right {
   }
 }
 
-.contact-form-message {
-
-}
 
 .signup-footer {
   background: #101a12;

File diff suppressed because it is too large
+ 11 - 0
style.min.css


Some files were not shown because too many files changed in this diff