Browse Source

On branch master

 Initial commit, add all files
Stefano Mandelli 8 years ago
commit
a6e8fc9245
36 changed files with 6191 additions and 0 deletions
  1. 41 0
      404.php
  2. 91 0
      archive.php
  3. 298 0
      changelog.txt
  4. 93 0
      comments.php
  5. 31 0
      content-aside.php
  6. 31 0
      content-quote.php
  7. 31 0
      content-video.php
  8. 71 0
      content.php
  9. 80 0
      footer.php
  10. 454 0
      functions.php
  11. 163 0
      header.php
  12. 148 0
      header.php.back
  13. 126 0
      hemingway-editor-style.css
  14. 108 0
      image.php
  15. BIN
      images/header.jpg
  16. 65 0
      index.php
  17. 86 0
      js/global.js
  18. 19 0
      js/theme-customizer.js
  19. 22 0
      languages/hemingway-xx_XX.pot
  20. BIN
      languages/sv_SE.mo
  21. 497 0
      languages/sv_SE.po
  22. 281 0
      license.txt
  23. 81 0
      page.php
  24. 26 0
      readme.txt
  25. BIN
      screenshot.png
  26. 111 0
      search.php
  27. 4 0
      searchform.php
  28. 9 0
      sidebar.php
  29. 163 0
      single.php
  30. 2481 0
      style.css
  31. 159 0
      template-archives.php
  32. 83 0
      template-fullwidth.php
  33. 83 0
      template-nosidebar.php
  34. 99 0
      widgets/dribbble-widget.php
  35. 74 0
      widgets/flickr-widget.php
  36. 82 0
      widgets/video-widget.php

+ 41 - 0
404.php

@@ -0,0 +1,41 @@
+<?php get_header(); ?>
+
+<div class="wrapper section-inner">
+
+	<div class="content left">
+
+		<div class="posts">
+	
+			<div class="post">
+			
+				<div class="content-inner">
+		                
+					<div class="post-header">
+					        
+			        	<h2 class="post-title"><?php _e('Error 404', 'hemingway'); ?></h2>
+			        	
+			        </div>
+				                                                	            
+			        <div class="post-content">
+			        	            
+			            <p><?php _e("It seems like you have tried to open a page that doesn't exist. It could have been deleted, moved, or it never existed at all. You are welcome to search for what you are looking for with the form below.", 'hemingway') ?></p>
+			            
+			            <?php get_search_form(); ?>
+			            
+			        </div> <!-- /post-content -->
+		        
+		        </div> <!-- /content-inner -->
+		            	                        	
+			</div> <!-- /post -->
+		
+		</div> <!-- /posts -->
+	
+	</div> <!-- /content -->
+	
+	<?php get_sidebar(); ?>
+	
+	<div class="clear"></div>
+
+</div> <!-- /wrapper -->
+
+<?php get_footer(); ?>

+ 91 - 0
archive.php

@@ -0,0 +1,91 @@
+<?php get_header(); ?>
+
+<div class="wrapper section-inner">
+	
+		<div class="content left">
+				
+			<div class="posts">
+			
+				<div class="page-title">
+		
+					<h4><?php if ( is_day() ) : ?>
+						<?php printf( __( 'Date: %s', 'hemingway' ), '' . get_the_date() . '' ); ?>
+					<?php elseif ( is_month() ) : ?>
+						<?php printf( __( 'Month: %s', 'hemingway' ), '' . get_the_date( _x( 'F Y', 'F = Month, Y = Year', 'hemingway' ) ) ); ?>
+					<?php elseif ( is_year() ) : ?>
+						<?php printf( __( 'Year: %s', 'hemingway' ), '' . get_the_date( _x( 'Y', 'Y = Year', 'hemingway' ) ) ); ?>
+					<?php elseif ( is_category() ) : ?>
+						<?php printf( __( 'Category: %s', 'hemingway' ), '' . single_cat_title( '', false ) . '' ); ?>
+					<?php elseif ( is_tag() ) : ?>
+						<?php printf( __( 'Tag: %s', 'hemingway' ), '' . single_tag_title( '', false ) . '' ); ?>
+					<?php elseif ( is_author() ) : ?>
+						<?php $curauth = (isset($_GET['author_name'])) ? get_user_by('slug', $author_name) : get_userdata(intval($author)); ?>
+						<?php printf( __( 'Author: %s', 'hemingway' ), $curauth->display_name ); ?>
+					<?php else : ?>
+						<?php _e( 'Archive', 'hemingway' ); ?>
+					<?php endif; ?>
+					
+					<?php
+					$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
+					
+					if ( "1" < $wp_query->max_num_pages ) : ?>
+					
+						<span><?php printf( __('(page %s of %s)', 'hemingway'), $paged, $wp_query->max_num_pages ); ?></span>
+					
+					<?php endif; ?></h4>
+					
+					<?php
+						$tag_description = tag_description();
+						if ( ! empty( $tag_description ) )
+							echo apply_filters( 'tag_archive_meta', '<div class="tag-archive-meta">' . $tag_description . '</div>' );
+					?>
+					
+				</div> <!-- /page-title -->
+				
+				<div class="clear"></div>
+		
+				<?php if ( have_posts() ) : ?>
+			
+					<?php rewind_posts(); ?>
+				
+					<?php while ( have_posts() ) : the_post(); ?>
+					
+						<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+				
+							<?php get_template_part( 'content', get_post_format() ); ?>
+							
+							<div class="clear"></div>
+							
+						</div> <!-- /post -->
+						
+					<?php endwhile; ?>
+								
+			</div> <!-- /posts -->
+						
+			<?php if ( $wp_query->max_num_pages > 1 ) : ?>
+			
+				<div class="post-nav archive-nav">
+				
+					<?php echo get_next_posts_link( __('Older<span> posts</span>', 'hemingway')); ?>
+								
+					<?php echo get_previous_posts_link( __('Newer<span> posts</span>', 'hemingway')); ?>
+					
+					<div class="clear"></div>
+					
+				</div> <!-- /post-nav archive-nav -->
+				
+				<div class="clear"></div>
+				
+			<?php endif; ?>
+					
+		<?php endif; ?>
+	
+	</div> <!-- /content -->
+	
+	<?php get_sidebar(); ?>
+	
+	<div class="clear"></div>
+
+</div> <!-- /wrapper -->
+
+<?php get_footer(); ?>

+ 298 - 0
changelog.txt

@@ -0,0 +1,298 @@
+*** Hemingway Changelog ***
+
+
+Version 1.54 (2015-08-24)
+-------------------------
+- Fixed overflow bug with wp-caption
+- Added screen-reader-text styling
+
+
+Version 1.53 (2015-08-24)
+-------------------------
+- Fixed a floating bug with the single post navigation
+
+
+
+Version 1.52 (2015-08-11)
+-------------------------
+- Removed the title_tag fallback
+
+
+Version 1.51 (2015-08-11)
+-------------------------
+- Added a missing margin between the format-video post content and post meta on archive pages
+
+
+Version 1.50 (2015-08-11)
+-------------------------
+- Removed a add_shortcode() function from functions.php
+- Added title_tag() support
+- Fixed a busted sanitize_callback in functions.php
+
+
+Version 1.49 (2015-08-10)
+-------------------------
+- Added UTF-8 as charset in style.css
+- Updated widgets with PHP5 object constructors for WordPress 4.3
+- Removed meta fields for the video post format in order to comply with WordPress theme review guidelines (presentation vs. functionality)
+- Condensed functions.php and added the comment-reply script
+- ...as well as styling for the comment form when it is within .commentlist
+- Fixed so that the featured image is centered if it's smaller than the containing element
+- Fixed so that comments will be displayed on pages if there are comments, even if "Allow Comments" is not checked (the reply form is still hidden)
+- Fixed a bug with floating elements in the comments navigation
+- Fixed a styling error with the dropdown arrow in the main menu (one level deep)
+- Changed titles on single posts/pages from h2 to the h1 element
+
+
+Version 1.48 (2014-10-01)
+-------------------------
+- Added a width attribute in the inline style of images in posts (thanks, RavanH!)
+- Added styling of input elements of the email type to style.css (Ibid)
+
+
+Version 1.47 (2014-08-06)
+-------------------------
+- Added missing form/input elements to the custom accent color control
+- Added license information for screenshot.png
+
+
+Version 1.46 (2014-08-06)
+-------------------------
+- Fixed a clearing bug in .blog-menu
+- Optimized the CSS for brevity and browser compatibility
+- Improved the display of forms and inputs in the post-content
+- Improved the display of the comment form
+- Updated the Swedish translation, added missing namespaces
+
+
+Version 1.45 (2014-07-25)
+-------------------------
+- Fixed so that the header height is fixed, rather than relative to the width of the screen
+- Fixed a bug in functions.php which would prevent plugins from setting featured images
+- Added in some missing accent color elements
+- Fixed so that the "Comments are closed" message isn't displayed on pages with comments deactivated
+- Removed the default widgets that previously would've been displayed in no widgets had been entered
+
+
+Version 1.44 (2014-05-08)
+-------------------------
+- Added a query reset to template-archives.php to prevent the wrong comments from loading
+
+
+Version 1.43 (2014-05-06)
+-------------------------
+- Fixed so that the recent posts widgets only display published posts
+- Added a full width page template
+
+
+Version 1.42 (2014-04-13)
+-------------------------
+- Added support for editor styles
+
+
+Version 1.41 (2014-04-08)
+-------------------------
+- Fixed so that .widget_links is included in the custom accent color settings
+
+
+Version 1.40 (2014-03-31)
+-------------------------
+- Added a function for uploading a custom logo in place of the site title and description in the header
+- Fixed the styling of current-menu-item in the navigation
+
+
+Version 1.39 (2014-03-28)
+-------------------------
+- Fixed the styling of form elements
+
+
+Version 1.38 (2014-03-25)
+-------------------------
+- Fixed centering of .aligncenter images
+
+
+Version 1.37 (2014-03-24)
+-------------------------
+- Added anchor link "#comments" to comments.php
+– Fixed Google Fonts enqueue to avoid SSL issues
+– Fixed a developer notice on search.php and 404.php
+– Removed some superfluous lines from functions.php
+- Updated theme description and tags
+
+
+Version 1.35 (2014-03-20)
+-------------------------
+- Added a theme option for accent color
+
+
+Version 1.34 (2014-03-20)
+-------------------------
+- Fixed a video-widget bug
+
+
+Version 1.33 (2014-03-20)
+-------------------------
+- Fixed a bug where the site title in the header would be hidden if site description is empty
+
+
+Version 1.32 (2014-03-18)
+-------------------------
+- Fixed a bug displaying content.php as excerpts on archives
+
+
+Version 1.31 (2014-03-17)
+-------------------------
+- Hides blog-info div in header if both site title and site description are empty
+- Added title to changelog.txt
+
+
+Version 1.30 (2014-03-11)
+-------------------------
+- Fixed main-menu hover on tablets
+
+
+Version 1.28 (2014-02-24)
+-------------------------
+- Replaced the embeds in video-widget.php with WordPress built-in oEmbed function
+
+
+Version 1.27 (2014-02-24)
+-------------------------
+- Replaced the embeds in content-video.php and single.php with WordPress built-in oEmbed function
+
+
+Version 1.26 (2014-02-18)
+-------------------------
+- Fixed an issue with iframes
+
+
+Version 1.25 (2014-02-18)
+-------------------------
+- Fixed a bug with custom header images
+
+
+Version 1.24 (2014-02-18)
+-------------------------
+- Fixed a security glitch allowing users to enter js in the video post format url
+
+
+Version 1.23 (2014-02-17)
+-------------------------
+- Add max-width to .featured-media iframe
+
+
+Version 1.22 (2014-02-17)
+-------------------------
+- Fixed tag cloud styling
+
+
+Version 1.21 (2014-02-17)
+-------------------------
+- Fixed a bug in the condititional statement from the last update
+
+
+Version 1.20 (2014-02-17)
+-------------------------
+- Added condititional statement for blog-description to prevent empty h3 in header
+
+
+Version 1.19 (2014-02-17)
+-------------------------
+- Hidden img#wpstats smiley
+
+
+Version 1.18 (2014-02-17)
+-------------------------
+- Another update to the theme description (sorry, theme reviewers)
+
+
+Version 1.16 (2014-02-17)
+-------------------------
+- Minor change to the theme description
+
+
+Version 1.15 (2014-02-17)
+-------------------------
+- Added font-smoothing to bdoy to make sure that the WordPress.org theme demo renders the theme correctly
+
+
+Version 1.14 (2014-02-17)
+-------------------------
+- Fixed the meta tag to be HTML 5 compliant
+- Fixed so that placeholder widgets are shown if no widgets have been added
+
+
+Version 1.13 (2014-02-16)
+-------------------------
+- Added post thumbnail support for page and template-nosidebar
+
+
+Version 1.12 (2014-02-13)
+-------------------------
+- Fixed meta tag http-equiv
+
+
+Version 1.11 (2014-02-11)
+-------------------------
+- Added a Swedish translation
+
+
+Version 1.10 (2014-02-09)
+-------------------------
+- Fixed a styling issue with align-left and align-right @600px
+
+
+Version 1.09 (2014-02-09)
+-------------------------
+- Fixed alignment on post-nav-newer
+
+
+Version 1.08 (2014-02-05)
+-------------------------
+- Misc bug fixes
+
+
+Version 1.07 (2014-02-03)
+-------------------------
+- Misc bug fixes
+
+
+Version 1.06 (2014-02-03)
+-------------------------
+- More post-meta-bottom adjustments
+– Improved footer styling
+- Misc bug fixes
+
+
+Version 1.05 (2014-02-02)
+-------------------------
+- Cleaned up post-meta-bottom
+- Misc bug fixes
+
+
+Version 1.04 (2014-02-01)
+-------------------------
+- Fixed styling for the archive template
+- Cleaned up style.css, fixed section numbering
+– Misc bug fixes
+
+
+Version 1.03 (2014-01-31)
+-------------------------
+- Added larger screenshot.png to account for high DPI displays
+- Misc bug fixes
+
+
+Version 1.02 (2014-01-31)
+-------------------------
+- Added video post format
+- Added aside post format
+
+
+Version 1.01 (2014-01-31)
+-------------------------
+- Changed the theme description in style.css
+
+
+Version 1 (2014-01-31)
+-------------------------

+ 93 - 0
comments.php

@@ -0,0 +1,93 @@
+<?php if ( post_password_required() )
+	return;
+?>
+
+	<?php if ( have_comments() ) : ?>
+	
+		<div class="comments">
+		
+			<a name="comments"></a>
+				
+			<h2 class="comments-title">
+			
+				<?php echo count($wp_query->comments_by_type['comment']) . ' ';
+				echo _n( 'Comment' , 'Comments' , count($wp_query->comments_by_type['comment']), 'hemingway' ); ?>
+				
+			</h2>
+	
+			<ol class="commentlist">
+			    <?php wp_list_comments( array( 'type' => 'comment', 'callback' => 'hemingway_comment' ) ); ?>
+			</ol>
+			
+			<?php if (!empty($comments_by_type['pings'])) : ?>
+			
+				<div class="pingbacks">
+				
+					<div class="pingbacks-inner">
+				
+						<h3 class="pingbacks-title">
+						
+							<?php echo count($wp_query->comments_by_type['pings']) . ' ';
+							echo _n( 'Pingback', 'Pingbacks', count($wp_query->comments_by_type['pings']), 'hemingway' ); ?>
+						
+						</h3>
+					
+						<ol class="pingbacklist">
+						    <?php wp_list_comments( array( 'type' => 'pings', 'callback' => 'hemingway_comment' ) ); ?>
+						</ol>
+						
+					</div>
+					
+				</div>
+			
+			<?php endif; ?>
+				
+			<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
+			
+				<div class="comment-nav-below" role="navigation">
+									
+					<div class="post-nav-older"><?php previous_comments_link( __( '&laquo; Older<span> Comments</span>', 'hemingway' ) ); ?></div>
+					
+					<div class="post-nav-newer"><?php next_comments_link( __( 'Newer<span> Comments</span> &raquo;', 'hemingway' ) ); ?></div>
+					
+					<div class="clear"></div>
+					
+				</div> <!-- /comment-nav-below -->
+				
+			<?php endif; ?>
+			
+		</div><!-- /comments -->
+		
+	<?php endif; ?>
+	
+	<?php if ( ! comments_open() && !is_page() ) : ?>
+	
+		<p class="nocomments"><?php _e( 'Comments are closed.', 'hemingway' ); ?></p>
+		
+	<?php endif; ?>
+	
+	<?php $comments_args = array(
+	
+		'comment_notes_before' => 
+			'<p class="comment-notes">' . __( 'Your email address will not be published.', 'hemingway' ) . '</p>',
+	
+		'comment_field' => 
+			'<p class="comment-form-comment"><textarea id="comment" name="comment" cols="45" rows="6" required>' . '</textarea></p>',
+		
+		'fields' => apply_filters( 'comment_form_default_fields', array(
+		
+			'author' =>
+				'<p class="comment-form-author">' .
+				'<input id="author" name="author" type="text" placeholder="' . __('Name','hemingway') . '" value="' . esc_attr( $commenter['comment_author'] ) . '" size="30" />' . '<label for="author">Author</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '</p>',
+			
+			'email' =>
+				'<p class="comment-form-email">' . '<input id="email" name="email" type="text" placeholder="' . __('Email','hemingway') . '" value="' . esc_attr(  $commenter['comment_author_email'] ) . '" size="30" /><label for="email">Email</label> ' . ( $req ? '<span class="required">*</span>' : '' ) . '</p>',
+			
+			'url' =>
+			'<p class="comment-form-url">' . '<input id="url" name="url" type="text" placeholder="' . __('Website','hemingway') . '" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /><label for="url">Website</label></p>')
+		),
+	);
+	
+	comment_form($comments_args);
+	
+	?>

+ 31 - 0
content-aside.php

@@ -0,0 +1,31 @@
+<div class="post-meta">
+	
+	<span class="post-date"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_time(get_option('date_format')); ?></a></span>
+	
+	<?php if( is_sticky() && !has_post_thumbnail() ) { ?> 
+		
+		<span class="date-sep"> / </span>
+	
+		<?php _e('Sticky', 'hemingway'); ?>
+	
+	<?php } ?>
+	
+	<?php if ( current_user_can( 'manage_options' ) ) { ?>
+	
+		<span class="date-sep"> / </span>
+					
+		<?php edit_post_link(__('Edit', 'hemingway')); ?>
+	
+	<?php } ?>
+							
+</div>
+
+<div class="post-content">
+	    		            			            	                                                                                            
+	<?php the_content(); ?>
+			
+	<?php wp_link_pages(); ?>
+				        
+</div> <!-- /post-content -->
+            
+<div class="clear"></div>

+ 31 - 0
content-quote.php

@@ -0,0 +1,31 @@
+<div class="post-meta">
+	
+	<span class="post-date"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_time(get_option('date_format')); ?></a></span>
+	
+	<?php if( is_sticky() && !has_post_thumbnail() ) { ?> 
+		
+		<span class="date-sep"> / </span>
+	
+		<?php _e('Sticky', 'hemingway'); ?>
+	
+	<?php } ?>
+	
+	<?php if ( current_user_can( 'manage_options' ) ) { ?>
+	
+		<span class="date-sep"> / </span>
+					
+		<?php edit_post_link(__('Edit', 'hemingway')); ?>
+	
+	<?php } ?>
+							
+</div>
+
+<div class="post-content">
+	    		            			            	                                                                                            
+	<?php the_content(); ?>
+			
+	<?php wp_link_pages(); ?>
+				        
+</div> <!-- /post-content -->
+            
+<div class="clear"></div>

+ 31 - 0
content-video.php

@@ -0,0 +1,31 @@
+<div class="post-meta">
+	
+	<span class="post-date"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_time(get_option('date_format')); ?></a></span>
+	
+	<?php if( is_sticky() && !has_post_thumbnail() ) { ?> 
+		
+		<span class="date-sep"> / </span>
+	
+		<?php _e('Sticky', 'hemingway'); ?>
+	
+	<?php } ?>
+	
+	<?php if ( current_user_can( 'manage_options' ) ) { ?>
+	
+		<span class="date-sep"> / </span>
+					
+		<?php edit_post_link(__('Edit', 'hemingway')); ?>
+	
+	<?php } ?>
+							
+</div>
+
+<div class="post-content">
+	    		            			            	                                                                                            
+	<?php the_content(); ?>
+			
+	<?php wp_link_pages(); ?>
+				        
+</div> <!-- /post-content -->
+            
+<div class="clear"></div>

+ 71 - 0
content.php

@@ -0,0 +1,71 @@
+<div class="post-header">
+
+	<?php if ( has_post_thumbnail() ) : ?>
+
+		<div class="featured-media">
+		
+			<?php if( is_sticky() ) { ?> <span class="sticky-post"><?php _e('Sticky post', 'hemingway'); ?></span> <?php } ?>
+		
+			<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
+			
+				<?php the_post_thumbnail('post-image'); ?>
+				
+				<?php if ( !empty(get_post(get_post_thumbnail_id())->post_excerpt) ) : ?>
+								
+					<div class="media-caption-container">
+					
+						<p class="media-caption"><?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?></p>
+						
+					</div>
+					
+				<?php endif; ?>
+				
+			</a>
+					
+		</div> <!-- /featured-media -->
+			
+	<?php endif; ?>
+	
+    <h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
+    
+    <div class="post-meta">
+	
+		<span class="post-date"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_time(get_option('date_format')); ?></a></span>
+		
+		<span class="date-sep"> / </span>
+			
+		<span class="post-author"><?php the_author_posts_link(); ?></span>
+		
+		<span class="date-sep"> / </span>
+		
+		<?php comments_popup_link( '<span class="comment">' . __( '0 Comments', 'hemingway' ) . '</span>', __( '1 Comment', 'hemingway' ), __( '% Comments', 'hemingway' ) ); ?>
+		
+		<?php if( is_sticky() && !has_post_thumbnail() ) { ?> 
+		
+			<span class="date-sep"> / </span>
+		
+			<?php _e('Sticky', 'hemingway'); ?>
+		
+		<?php } ?>
+		
+		<?php if ( current_user_can( 'manage_options' ) ) { ?>
+		
+			<span class="date-sep"> / </span>
+						
+			<?php edit_post_link(__('Edit', 'hemingway')); ?>
+		
+		<?php } ?>
+								
+	</div>
+    
+</div> <!-- /post-header -->
+									                                    	    
+<div class="post-content">
+	    		            			            	                                                                                            
+		<?php the_content(); ?>
+					
+		<?php wp_link_pages(); ?>
+
+</div> <!-- /post-content -->
+            
+<div class="clear"></div>

+ 80 - 0
footer.php

@@ -0,0 +1,80 @@
+	<div class="footer section large-padding bg-dark">
+		
+		<div class="footer-inner section-inner">
+		
+			<?php if ( is_active_sidebar( 'footer-a' ) ) : ?>
+			
+				<div class="column column-1 left">
+				
+					<div class="widgets">
+			
+						<?php dynamic_sidebar( 'footer-a' ); ?>
+											
+					</div>
+					
+				</div>
+				
+			<?php endif; ?> <!-- /footer-a -->
+				
+			<?php if ( is_active_sidebar( 'footer-b' ) ) : ?>
+			
+				<div class="column column-2 left">
+				
+					<div class="widgets">
+			
+						<?php dynamic_sidebar( 'footer-b' ); ?>
+											
+					</div> <!-- /widgets -->
+					
+				</div>
+				
+			<?php endif; ?> <!-- /footer-b -->
+								
+			<?php if ( is_active_sidebar( 'footer-c' ) ) : ?>
+			
+				<div class="column column-3 left">
+			
+					<div class="widgets">
+			
+						<?php dynamic_sidebar( 'footer-c' ); ?>
+											
+					</div> <!-- /widgets -->
+					
+				</div>
+				
+			<?php endif; ?> <!-- /footer-c -->
+			
+			<div class="clear"></div>
+		
+		</div> <!-- /footer-inner -->
+	
+	</div> <!-- /footer -->
+	
+	<div class="credits section bg-dark no-padding">
+	
+		<div class="credits-inner section-inner">
+	
+			<p class="credits-left">
+			
+				&copy; <?php echo date("Y") ?> <a href="<?php echo home_url(); ?>" title="<?php bloginfo('name'); ?>"><?php bloginfo('name'); ?></a>
+			
+			</p>
+			
+			<p class="credits-right">
+				
+				<span><?php printf( __( 'Theme by <a href="%s">Anders Noren</a>', 'hemingway'), 'http://www.andersnoren.se' ); ?></span> &mdash; <a title="<?php _e('To the top', 'hemingway'); ?>" class="tothetop"><?php _e('Up', 'hemingway' ); ?> &uarr;</a>
+				
+			</p>
+			
+			<div class="clear"></div>
+		
+		</div> <!-- /credits-inner -->
+		
+	</div> <!-- /credits -->
+
+</div> <!-- /big-wrapper -->
+
+<?php wp_footer(); ?>
+
+</body>
+</html>

+ 454 - 0
functions.php

@@ -0,0 +1,454 @@
+<?php
+
+// Theme setup
+add_action( 'after_setup_theme', 'hemingway_setup' );
+
+function hemingway_setup() {
+	
+	// Automatic feed
+	add_theme_support( 'automatic-feed-links' );
+	
+	// Custom background
+	add_theme_support( 'custom-background' );
+		
+	// Post thumbnails
+	add_theme_support( 'post-thumbnails' );
+	add_image_size( 'post-image', 676, 9999 );
+
+	// Post formats
+	add_theme_support( 'post-formats', array( 'video', 'aside', 'quote' ) );
+
+	// Custom header
+	$args = array(
+		'width'         => 1280,
+		'height'        => 416,
+		'default-image' => get_template_directory_uri() . '/images/header.jpg',
+		'uploads'       => true,
+		'header-text'  	=> false
+		
+	);
+	add_theme_support( 'custom-header', $args );
+	
+	// Title tag
+	add_theme_support( 'title-tag' );
+	
+	// Add nav menu
+	register_nav_menu( 'primary', 'Primary Menu' );
+	
+	// Make the theme translation ready
+	load_theme_textdomain('hemingway', get_template_directory() . '/languages');
+	
+	$locale = get_locale();
+	$locale_file = get_template_directory() . "/languages/$locale.php";
+	if ( is_readable($locale_file) )
+	  require_once($locale_file);
+	
+}
+
+// Enqueue Javascript files
+function hemingway_load_javascript_files() {
+	if ( !is_admin() ) {
+		wp_enqueue_script( 'hemingway_global', get_template_directory_uri().'/js/global.js', array('jquery'), '', true );
+		if ( is_singular() ) wp_enqueue_script( "comment-reply" );
+	}
+}
+
+add_action( 'wp_enqueue_scripts', 'hemingway_load_javascript_files' );
+
+
+// Enqueue styles
+function hemingway_load_style() {
+	if ( !is_admin() ) {
+	    wp_enqueue_style( 'hemingway_googleFonts', '//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Raleway:700,400' );
+	    wp_enqueue_style( 'hemingway_style', get_stylesheet_uri() );
+	}
+}
+
+add_action('wp_print_styles', 'hemingway_load_style');
+
+
+// Add editor styles
+function hemingway_add_editor_styles() {
+    add_editor_style( 'hemingway-editor-style.css' );
+    $font_url = '//fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Raleway:700,400';
+    add_editor_style( str_replace( ',', '%2C', $font_url ) );
+}
+add_action( 'init', 'hemingway_add_editor_styles' );
+
+
+// Add footer widget areas
+add_action( 'widgets_init', 'hemingway_sidebar_reg' ); 
+
+function hemingway_sidebar_reg() {
+	register_sidebar(array(
+	  'name' => __( 'Footer A', 'hemingway' ),
+	  'id' => 'footer-a',
+	  'description' => __( 'Widgets in this area will be shown in the left column in the footer.', 'hemingway' ),
+	  'before_title' => '<h3 class="widget-title">',
+	  'after_title' => '</h3>',
+	  'before_widget' => '<div class="widget %2$s"><div class="widget-content">',
+	  'after_widget' => '</div><div class="clear"></div></div>'
+	));	
+	register_sidebar(array(
+	  'name' => __( 'Footer B', 'hemingway' ),
+	  'id' => 'footer-b',
+	  'description' => __( 'Widgets in this area will be shown in the middle column in the footer.', 'hemingway' ),
+	  'before_title' => '<h3 class="widget-title">',
+	  'after_title' => '</h3>',
+	  'before_widget' => '<div class="widget %2$s"><div class="widget-content">',
+	  'after_widget' => '</div><div class="clear"></div></div>'
+	));
+	register_sidebar(array(
+	  'name' => __( 'Footer C', 'hemingway' ),
+	  'id' => 'footer-c',
+	  'description' => __( 'Widgets in this area will be shown in the right column in the footer.', 'hemingway' ),
+	  'before_title' => '<h3 class="widget-title">',
+	  'after_title' => '</h3>',
+	  'before_widget' => '<div class="widget %2$s"><div class="widget-content">',
+	  'after_widget' => '</div><div class="clear"></div></div>'
+	));
+	register_sidebar(array(
+	  'name' => __( 'Sidebar', 'hemingway' ),
+	  'id' => 'sidebar',
+	  'description' => __( 'Widgets in this area will be shown in the sidebar.', 'hemingway' ),
+	  'before_title' => '<h3 class="widget-title">',
+	  'after_title' => '</h3>',
+	  'before_widget' => '<div class="widget %2$s"><div class="widget-content">',
+	  'after_widget' => '</div><div class="clear"></div></div>'
+	));
+}
+	
+// Add theme widgets
+require_once (get_template_directory() . "/widgets/dribbble-widget.php");  
+require_once (get_template_directory() . "/widgets/flickr-widget.php");  
+require_once (get_template_directory() . "/widgets/video-widget.php");
+
+
+// Set content-width
+if ( ! isset( $content_width ) ) $content_width = 676;
+
+
+// Add classes to next_posts_link and previous_posts_link
+add_filter('next_posts_link_attributes', 'hemingway_posts_link_attributes_1');
+add_filter('previous_posts_link_attributes', 'hemingway_posts_link_attributes_2');
+
+function hemingway_posts_link_attributes_1() {
+    return 'class="post-nav-older"';
+}
+function hemingway_posts_link_attributes_2() {
+    return 'class="post-nav-newer"';
+}
+
+
+// Menu walker adding "has-children" class to menu li's with children menu items
+class hemingway_nav_walker extends Walker_Nav_Menu {
+    function display_element( $element, &$children_elements, $max_depth, $depth=0, $args, &$output ) {
+        $id_field = $this->db_fields['id'];
+        if ( !empty( $children_elements[ $element->$id_field ] ) ) {
+            $element->classes[] = 'has-children';
+        }
+        Walker_Nav_Menu::display_element( $element, $children_elements, $max_depth, $depth, $args, $output );
+    }
+}
+
+
+// Add class to body if the post/page has a featured image
+add_action('body_class', 'hemingway_if_featured_image_class' );
+
+function hemingway_if_featured_image_class($classes) {
+     global $post;
+     if ( isset( $post ) && has_post_thumbnail() ) {
+             $classes[] = 'has-featured-image';
+     }
+     return $classes;
+}
+
+
+// Custom more-link text
+add_filter( 'the_content_more_link', 'hemingway_custom_more_link', 10, 2 );
+
+function hemingway_custom_more_link( $more_link, $more_link_text ) {
+	return str_replace( $more_link_text, __('Continue reading', 'hemingway'), $more_link );
+}
+
+
+// Style the admin area
+function hemingway_custom_colors() {
+   echo '<style type="text/css">
+   
+#postimagediv #set-post-thumbnail img {
+	max-width: 100%;
+	height: auto;
+}
+
+         </style>';
+}
+
+add_action('admin_head', 'hemingway_custom_colors');
+
+
+// hemingway comment function
+if ( ! function_exists( 'hemingway_comment' ) ) :
+function hemingway_comment( $comment, $args, $depth ) {
+	$GLOBALS['comment'] = $comment;
+	switch ( $comment->comment_type ) :
+		case 'pingback' :
+		case 'trackback' :
+	?>
+	
+	<li <?php comment_class(); ?> id="comment-<?php comment_ID(); ?>">
+	
+		<?php __( 'Pingback:', 'hemingway' ); ?> <?php comment_author_link(); ?> <?php edit_comment_link( __( '(Edit)', 'hemingway' ), '<span class="edit-link">', '</span>' ); ?>
+		
+	</li>
+	<?php
+			break;
+		default :
+		global $post;
+	?>
+	<li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">
+	
+		<div id="comment-<?php comment_ID(); ?>" class="comment">
+		
+			<div class="comment-meta comment-author vcard">
+							
+				<?php echo get_avatar( $comment, 120 ); ?>
+
+				<div class="comment-meta-content">
+											
+					<?php printf( '<cite class="fn">%1$s %2$s</cite>',
+						get_comment_author_link(),
+						( $comment->user_id === $post->post_author ) ? '<span class="post-author"> ' . __( '(Post author)', 'hemingway' ) . '</span>' : ''
+					); ?>
+					
+					<p><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ) ?>"><?php echo get_comment_date() . ' at ' . get_comment_time() ?></a></p>
+					
+				</div> <!-- /comment-meta-content -->
+				
+			</div> <!-- /comment-meta -->
+
+			<div class="comment-content post-content">
+			
+				<?php if ( '0' == $comment->comment_approved ) : ?>
+				
+					<p class="comment-awaiting-moderation"><?php _e( 'Awaiting moderation', 'hemingway' ); ?></p>
+					
+				<?php endif; ?>
+			
+				<?php comment_text(); ?>
+				
+				<div class="comment-actions">
+				
+					<?php edit_comment_link( __( 'Edit', 'hemingway' ), '', '' ); ?>
+					
+					<?php comment_reply_link( array_merge( $args, array( 'reply_text' => __( 'Reply', 'hemingway' ), 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
+					
+					<div class="clear"></div>
+				
+				</div> <!-- /comment-actions -->
+				
+			</div><!-- /comment-content -->
+
+		</div><!-- /comment-## -->
+	<?php
+		break;
+	endswitch;
+}
+endif;
+
+
+
+// Hemingway theme options
+
+class Hemingway_Customize {
+
+   public static function register ( $wp_customize ) {
+   
+      //1. Define a new section (if desired) to the Theme Customizer
+      $wp_customize->add_section( 'hemingway_options', 
+         array(
+            'title' => __( 'Hemingway Options', 'hemingway' ), //Visible title of section
+            'priority' => 35, //Determines what order this appears in
+            'capability' => 'edit_theme_options', //Capability needed to tweak
+            'description' => __('Allows you to customize some settings for Hemingway.', 'hemingway'), //Descriptive tooltip
+         ) 
+      );
+      
+      $wp_customize->add_section( 'hemingway_logo_section' , array(
+		    'title'       => __( 'Logo', 'hemingway' ),
+		    'priority'    => 40,
+		    'description' => __('Upload a logo to replace the default site name and description in the header','hemingway'),
+		) );
+      
+      //2. Register new settings to the WP database...
+      $wp_customize->add_setting( 'accent_color', //No need to use a SERIALIZED name, as `theme_mod` settings already live under one db record
+         array(
+            'default' => '#1abc9c', //Default setting/value to save
+            'type' => 'theme_mod', //Is this an 'option' or a 'theme_mod'?
+            'capability' => 'edit_theme_options', //Optional. Special permissions for accessing this setting.
+            'transport' => 'postMessage', //What triggers a refresh of the setting? 'refresh' or 'postMessage' (instant)?
+            'sanitize_callback' => 'sanitize_hex_color'
+         ) 
+      );
+      
+      
+      // Add logo setting and sanitize it
+      $wp_customize->add_setting( 'hemingway_logo', 
+      	array( 
+      		'sanitize_callback' => 'esc_url_raw'
+      	) 
+      );
+
+                  
+      //3. Finally, we define the control itself (which links a setting to a section and renders the HTML controls)...
+      $wp_customize->add_control( new WP_Customize_Color_Control( //Instantiate the color control class
+         $wp_customize, //Pass the $wp_customize object (required)
+         'hemingway_accent_color', //Set a unique ID for the control
+         array(
+            'label' => __( 'Accent Color', 'hemingway' ), //Admin-visible name of the control
+            'section' => 'colors', //ID of the section this control should render in (can be one of yours, or a WordPress default section)
+            'settings' => 'accent_color', //Which setting to load and manipulate (serialized is okay)
+            'priority' => 10, //Determines the order this control appears in for the specified section
+         ) 
+      ) );
+      
+      $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'hemingway_logo', array(
+		    'label'    => __( 'Logo', 'hemingway' ),
+		    'section'  => 'hemingway_logo_section',
+		    'settings' => 'hemingway_logo',
+		) ) );
+		
+      
+      //4. We can also change built-in settings by modifying properties. For instance, let's make some stuff use live preview JS...
+      $wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
+      $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
+   }
+
+   public static function header_output() {
+      ?>
+      
+	      <!--Customizer CSS--> 
+	      
+	      <style type="text/css">
+	           <?php self::generate_css('body::selection', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('body a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('body a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.blog-title a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.blog-menu a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.blog-search #searchsubmit', 'background-color', 'accent_color'); ?>
+	           <?php self::generate_css('.blog-search #searchsubmit', 'border-color', 'accent_color'); ?>
+	           <?php self::generate_css('.blog-search #searchsubmit:hover', 'background-color', 'accent_color'); ?>
+	           <?php self::generate_css('.blog-search #searchsubmit:hover', 'border-color', 'accent_color'); ?>
+	           <?php self::generate_css('.featured-media .sticky-post', 'background-color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-title a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-meta a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.blog .format-quote blockquote cite a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content a.more-link:hover', 'background-color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content input[type="submit"]:hover', 'background-color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content input[type="reset"]:hover', 'background-color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content input[type="button"]:hover', 'background-color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content fieldset legend', 'background-color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content .searchform #searchsubmit', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content .searchform #searchsubmit', 'border-color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content .searchform #searchsubmit:hover', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.post-content .searchform #searchsubmit:hover', 'border-color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-categories a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-categories a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-tags a:hover', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.post-tags a:hover:after', 'border-right-color', 'accent_color'); ?>
+	           <?php self::generate_css('.post-nav a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.archive-nav a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.logged-in-as a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.logged-in-as a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.content #respond input[type="submit"]:hover', 'background-color', 'accent_color'); ?>
+	           <?php self::generate_css('.comment-meta-content cite a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.comment-meta-content p a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.comment-actions a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('#cancel-comment-reply-link', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('#cancel-comment-reply-link:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.comment-nav-below a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget-title a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget-title a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_text a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_text a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_rss a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_rss a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_archive a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_archive a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_meta a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_meta a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_recent_comments a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_recent_comments a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_pages a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_pages a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_links a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_links a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_recent_entries a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_recent_entries a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_categories a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_categories a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_search #searchsubmit', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_search #searchsubmit', 'border-color', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_search #searchsubmit:hover', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.widget_search #searchsubmit:hover', 'border-color', 'accent_color'); ?>
+	           <?php self::generate_css('#wp-calendar a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('#wp-calendar a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('#wp-calendar tfoot a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.dribbble-shot:hover', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.widgetmore a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.widgetmore a:hover', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('.flickr_badge_image a:hover img', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.footer .flickr_badge_image a:hover img', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.footer .dribbble-shot:hover img', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.sidebar .tagcloud a:hover', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.footer .tagcloud a:hover', 'background', 'accent_color'); ?>
+	           <?php self::generate_css('.credits a:hover', 'color', 'accent_color'); ?>
+	           
+	           <?php self::generate_css('body#tinymce.wp-editor a', 'color', 'accent_color'); ?>
+	           <?php self::generate_css('body#tinymce.wp-editor a:hover', 'color', 'accent_color'); ?>
+	      </style> 
+	      
+	      <!--/Customizer CSS-->
+	      
+      <?php
+   }
+   
+   public static function live_preview() {
+      wp_enqueue_script( 
+           'hemingway-themecustomizer', // Give the script a unique ID
+           get_template_directory_uri() . '/js/theme-customizer.js', // Define the path to the JS file
+           array(  'jquery', 'customize-preview' ), // Define dependencies
+           '', // Define a version (optional) 
+           true // Specify whether to put in footer (leave this true)
+      );
+   }
+
+   public static function generate_css( $selector, $style, $mod_name, $prefix='', $postfix='', $echo=true ) {
+      $return = '';
+      $mod = get_theme_mod($mod_name);
+      if ( ! empty( $mod ) ) {
+         $return = sprintf('%s { %s:%s; }',
+            $selector,
+            $style,
+            $prefix.$mod.$postfix
+         );
+         if ( $echo ) {
+            echo $return;
+         }
+      }
+      return $return;
+    }
+}
+
+// Setup the Theme Customizer settings and controls...
+add_action( 'customize_register' , array( 'Hemingway_Customize' , 'register' ) );
+
+// Output custom CSS to live site
+add_action( 'wp_head' , array( 'Hemingway_Customize' , 'header_output' ) );
+
+// Enqueue live preview javascript in Theme Customizer admin screen
+add_action( 'customize_preview_init' , array( 'Hemingway_Customize' , 'live_preview' ) );
+
+?>

+ 163 - 0
header.php

@@ -0,0 +1,163 @@
+<!DOCTYPE html>
+
+<html <?php language_attributes(); ?>>
+
+	<head>
+		
+		<meta charset="<?php bloginfo( 'charset' ); ?>">
+		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" >
+																		
+		<title><?php wp_title('|', true, 'right'); ?></title>
+				
+		<?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>
+		 
+		<?php wp_head(); ?>
+	
+	</head>
+	
+	<body <?php body_class(); ?>>
+	
+		<div class="big-wrapper">
+	
+			<div class="header-cover section bg-dark-light no-padding">
+		
+				<div class="header section" style="background-image: url(<?php if (get_header_image() != '') : ?><?php header_image(); ?><?php else : ?><?php echo get_template_directory_uri() . '/images/header.jpg'; ?><?php endif; ?>);">
+							
+					<div class="header-inner section-inner">
+					
+						<?php if ( get_theme_mod( 'hemingway_logo' ) ) : ?>
+						
+							<div class='blog-info'>
+							
+								<h2 class="blog-title-with-logo">
+
+						        <a href='<?php echo esc_url( home_url( '/' ) ); ?>' title='<?php echo esc_attr( get_bloginfo( 'title' ) ); ?> &mdash; <?php echo esc_attr( get_bloginfo( 'description' ) ); ?>' rel='home'>
+						        	<img class='blog-logo-title' src='<?php echo esc_url( get_theme_mod( 'hemingway_logo' ) ); ?>' alt='<?php echo esc_attr( get_bloginfo( 'title' ) ); ?>'>
+						        </a>
+						        
+									<a class="logo-text" href="<?php echo esc_url( home_url() ); ?>" title="<?php echo esc_attr( get_bloginfo( 'title' ) ); ?> &mdash; <?php echo esc_attr( get_bloginfo( 'description' ) ); ?>" rel="home">
+
+										<?php echo esc_attr( get_bloginfo( 'title' ) ); ?>
+
+									</a>
+								</h2>
+
+								<?php if ( get_bloginfo( 'description' ) ) { ?>
+								
+									<h3 class="blog-description"><?php echo esc_attr( get_bloginfo( 'description' ) ); ?></h3>
+									
+								<?php } ?>
+						        
+							</div> <!-- /blog-info -->
+					
+						<?php elseif ( get_bloginfo( 'description' ) || get_bloginfo( 'title' ) ) : ?>
+					
+							<div class="blog-info">
+							
+								<h2 class="blog-title">
+									<a href="<?php echo esc_url( home_url() ); ?>" title="<?php echo esc_attr( get_bloginfo( 'title' ) ); ?> &mdash; <?php echo esc_attr( get_bloginfo( 'description' ) ); ?>" rel="home"><?php echo esc_attr( get_bloginfo( 'title' ) ); ?></a>
+								</h2>
+								
+								<?php if ( get_bloginfo( 'description' ) ) { ?>
+								
+									<h3 class="blog-description"><?php echo esc_attr( get_bloginfo( 'description' ) ); ?></h3>
+									
+								<?php } ?>
+							
+							</div> <!-- /blog-info -->
+							
+						<?php endif; ?>
+									
+					</div> <!-- /header-inner -->
+								
+				</div> <!-- /header -->
+			
+			</div> <!-- /bg-dark -->
+			
+			<div class="navigation section no-padding bg-dark">
+			
+				<div class="navigation-inner section-inner">
+				
+					<div class="toggle-container hidden">
+			
+						<div class="nav-toggle toggle">
+								
+							<div class="bar"></div>
+							<div class="bar"></div>
+							<div class="bar"></div>
+							
+							<div class="clear"></div>
+						
+						</div>
+						
+						<div class="search-toggle toggle">
+								
+							<div class="metal"></div>
+							<div class="glass"></div>
+							<div class="handle"></div>
+						
+						</div>
+						
+						<div class="clear"></div>
+					
+					</div> <!-- /toggle-container -->
+					
+					<div class="blog-search hidden">
+					
+						<?php get_search_form(); ?>
+					
+					</div>
+				
+					<ul class="blog-menu">
+					
+						<?php if ( has_nav_menu( 'primary' ) ) {
+																			
+							wp_nav_menu( array( 
+							
+								'container' => '', 
+								'items_wrap' => '%3$s',
+								'theme_location' => 'primary', 
+								'walker' => new hemingway_nav_walker
+															
+							) ); } else {
+						
+							wp_list_pages( array(
+							
+								'container' => '',
+								'title_li' => ''
+							
+							));
+							
+						} ?>
+						
+						<div class="clear"></div>
+												
+					 </ul>
+					 
+					 <ul class="mobile-menu">
+					
+						<?php if ( has_nav_menu( 'primary' ) ) {
+																			
+							wp_nav_menu( array( 
+							
+								'container' => '', 
+								'items_wrap' => '%3$s',
+								'theme_location' => 'primary', 
+								'walker' => new hemingway_nav_walker
+															
+							) ); } else {
+						
+							wp_list_pages( array(
+							
+								'container' => '',
+								'title_li' => ''
+							
+							));
+							
+						} ?>
+						
+					 </ul>
+				 
+				</div> <!-- /navigation-inner -->
+				
+			</div> <!-- /navigation -->

+ 148 - 0
header.php.back

@@ -0,0 +1,148 @@
+<!DOCTYPE html>
+
+<html <?php language_attributes(); ?>>
+
+	<head>
+		
+		<meta charset="<?php bloginfo( 'charset' ); ?>">
+		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" >
+																		
+		<title><?php wp_title('|', true, 'right'); ?></title>
+				
+		<?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>
+		 
+		<?php wp_head(); ?>
+	
+	</head>
+	
+	<body <?php body_class(); ?>>
+	
+		<div class="big-wrapper">
+	
+			<div class="header-cover section bg-dark-light no-padding">
+		
+				<div class="header section" style="background-image: url(<?php if (get_header_image() != '') : ?><?php header_image(); ?><?php else : ?><?php echo get_template_directory_uri() . '/images/header.jpg'; ?><?php endif; ?>);">
+							
+					<div class="header-inner section-inner">
+					
+						<?php if ( get_theme_mod( 'hemingway_logo' ) ) : ?>
+						
+							<div class='blog-logo'>
+							
+						        <a href='<?php echo esc_url( home_url( '/' ) ); ?>' title='<?php echo esc_attr( get_bloginfo( 'title' ) ); ?> &mdash; <?php echo esc_attr( get_bloginfo( 'description' ) ); ?>' rel='home'>
+						        	<img src='<?php echo esc_url( get_theme_mod( 'hemingway_logo' ) ); ?>' alt='<?php echo esc_attr( get_bloginfo( 'title' ) ); ?>'>
+						        </a>
+						        
+						    </div> <!-- /blog-logo -->
+					
+						<?php elseif ( get_bloginfo( 'description' ) || get_bloginfo( 'title' ) ) : ?>
+					
+							<div class="blog-info">
+							
+								<h2 class="blog-title">
+									<a href="<?php echo esc_url( home_url() ); ?>" title="<?php echo esc_attr( get_bloginfo( 'title' ) ); ?> &mdash; <?php echo esc_attr( get_bloginfo( 'description' ) ); ?>" rel="home"><?php echo esc_attr( get_bloginfo( 'title' ) ); ?></a>
+								</h2>
+								
+								<?php if ( get_bloginfo( 'description' ) ) { ?>
+								
+									<h3 class="blog-description"><?php echo esc_attr( get_bloginfo( 'description' ) ); ?></h3>
+									
+								<?php } ?>
+							
+							</div> <!-- /blog-info -->
+							
+						<?php endif; ?>
+									
+					</div> <!-- /header-inner -->
+								
+				</div> <!-- /header -->
+			
+			</div> <!-- /bg-dark -->
+			
+			<div class="navigation section no-padding bg-dark">
+			
+				<div class="navigation-inner section-inner">
+				
+					<div class="toggle-container hidden">
+			
+						<div class="nav-toggle toggle">
+								
+							<div class="bar"></div>
+							<div class="bar"></div>
+							<div class="bar"></div>
+							
+							<div class="clear"></div>
+						
+						</div>
+						
+						<div class="search-toggle toggle">
+								
+							<div class="metal"></div>
+							<div class="glass"></div>
+							<div class="handle"></div>
+						
+						</div>
+						
+						<div class="clear"></div>
+					
+					</div> <!-- /toggle-container -->
+					
+					<div class="blog-search hidden">
+					
+						<?php get_search_form(); ?>
+					
+					</div>
+				
+					<ul class="blog-menu">
+					
+						<?php if ( has_nav_menu( 'primary' ) ) {
+																			
+							wp_nav_menu( array( 
+							
+								'container' => '', 
+								'items_wrap' => '%3$s',
+								'theme_location' => 'primary', 
+								'walker' => new hemingway_nav_walker
+															
+							) ); } else {
+						
+							wp_list_pages( array(
+							
+								'container' => '',
+								'title_li' => ''
+							
+							));
+							
+						} ?>
+						
+						<div class="clear"></div>
+												
+					 </ul>
+					 
+					 <ul class="mobile-menu">
+					
+						<?php if ( has_nav_menu( 'primary' ) ) {
+																			
+							wp_nav_menu( array( 
+							
+								'container' => '', 
+								'items_wrap' => '%3$s',
+								'theme_location' => 'primary', 
+								'walker' => new hemingway_nav_walker
+															
+							) ); } else {
+						
+							wp_list_pages( array(
+							
+								'container' => '',
+								'title_li' => ''
+							
+							));
+							
+						} ?>
+						
+					 </ul>
+				 
+				</div> <!-- /navigation-inner -->
+				
+			</div> <!-- /navigation -->

+ 126 - 0
hemingway-editor-style.css

@@ -0,0 +1,126 @@
+/*---------------------------------------------------------------------------------
+
+	Editor styles for Hemingway
+
+---------------------------------------------------------------------------------*/
+
+body#tinymce.wp-editor { 
+    font-family: 'Lato', Helvetica, sans-serif;
+    font-size: 16px;
+}
+
+body#tinymce.wp-editor a { color: #1abc9c; }
+body#tinymce.wp-editor a:hover { color: #1abc9c; text-decoration: underline; }
+
+/* headlines */
+
+body#tinymce.wp-editor h1, body#tinymce.wp-editor h2, body#tinymce.wp-editor h3, body#tinymce.wp-editor h4, body#tinymce.wp-editor h5, body#tinymce.wp-editor h6 {
+	color: #444;
+	line-height: 120%;
+}
+
+body#tinymce.wp-editor h1 { font-size: 2em; font-weight: 700; }
+
+body#tinymce.wp-editor h2 { font-size: 1.75em; font-weight: 700; }
+
+body#tinymce.wp-editor h3 { font-size: 1.5em; font-weight: 700; }
+
+body#tinymce.wp-editor h4 { font-size: 1.25em; }
+
+body#tinymce.wp-editor h5 { font-size: 1.1em; }
+
+/* blockquote */
+
+body#tinymce.wp-editor blockquote {
+	padding: 1.1em;
+	line-height: 150%;
+	color: #666;
+	background: #EEE;
+	font-family: 'Raleway', 'Helvetica Neue', sans-serif;
+}
+
+body#tinymce.wp-editor blockquote p:first-child { margin-top: 0; }
+body#tinymce.wp-editor blockquote p:last-child { margin-bottom: 0; }
+
+body#tinymce.wp-editor cite {
+	font-weight: 700;
+	letter-spacing: 1px;
+	text-transform: uppercase;
+	line-height: 140%;
+	color: #666;
+	font-style: normal;
+}
+
+body#tinymce.wp-editor cite:before { content: "— "; }
+
+body#tinymce.wp-editor blockquote cite {
+	display: block;
+	margin-top: 1em;
+	font-size: 0.8em;
+}
+
+body#tinymce.wp-editor blockquote cite em { font-style: italic; font-weight: bold; }
+
+/* media */
+
+body#tinymce.wp-editor .alignright { margin-left: 20px; }
+
+body#tinymce.wp-editor .alignleft { margin-right: 20px; }
+
+body#tinymce.wp-editor .wp-caption {
+	padding: 0;
+	border: none;
+	background: none;
+}
+
+body#tinymce.wp-editor .wp-caption-dd {
+	font-size: 0.85em;
+	padding-top: 0.5em;
+	color: #888;
+	text-align: center;
+	padding: 10px 0;
+}
+
+/* tables */
+
+body#tinymce.wp-editor table {
+	border-collapse: collapse;
+    border-spacing: 0;
+    empty-cells: show;
+    font-size: 0.9em;
+    width: 100%;
+    margin-bottom: 1.1em;
+    border: none;
+}
+
+body#tinymce.wp-editor th,
+body#tinymce.wp-editor td {
+	font-family: 'Lato', Helvetica, sans-serif;
+	padding: 2%;
+	margin: 0;
+	overflow: visible;
+	line-height: 120%;
+	border: none;
+	border-bottom: 1px solid #DDD;
+	font-size: 1em;
+}
+
+body#tinymce.wp-editor caption {
+	color: #444;
+	text-align: center;
+	padding: 2%;
+}
+
+body#tinymce.wp-editor thead {
+	vertical-align: bottom;
+	white-space: nowrap;
+}
+
+body#tinymce.wp-editor th {
+	font-weight: bold;
+	color: #444;
+}
+
+body#tinymce.wp-editor table tbody > tr:nth-child(odd) > td { background: #f9f9f9; }
+
+

+ 108 - 0
image.php

@@ -0,0 +1,108 @@
+<?php get_header(); ?>
+
+<div class="wrapper section-inner">
+
+	<div class="content left">
+											        
+		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+		
+			<div class="posts">
+		
+				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+				
+					<div class="content-inner">
+										
+						<div class="featured-media">
+						
+							<?php $imageArray = wp_get_attachment_image_src($post->ID, 'full', false); ?>
+						
+							<a href="<?php echo esc_url( $imageArray[0] ); ?>" title="<?php the_title_attribute(); ?>" rel="attachment">
+								<?php echo wp_get_attachment_image( $post->ID, 'post-image' ); ?></a>
+						
+						</div> <!-- /featured-media -->
+						
+						<div class="post-header">
+						
+							<h2 class="post-title"><?php echo basename(get_attached_file( $post->ID )); ?></h2>
+							
+							<div class="post-meta">
+							
+								<span><?php echo the_time(get_option('date_format')); ?></span>
+								
+								<span class="date-sep"> / </span>
+							
+								<span><?php echo $imageArray[1] // 1 is the width ?> <span style="text-transform:lowercase;">x</span> <?php echo $imageArray[2] . ' px'; // 2 is the height ?></span>
+							
+							</div>
+						
+						</div> <!-- /post-header -->
+		
+						<?php if ( ! empty( $post->post_excerpt ) ) : ?>
+						
+							<div class="post-content">
+							
+								<?php the_excerpt(); ?>
+								
+							</div> <!-- /post-content -->
+							
+						<?php endif; ?>
+												
+					</div> <!-- /content-inner -->
+					
+					<div class="post-meta-bottom">
+									
+						<div class="post-nav">
+						
+							<?php
+		/**
+		 * Grab the IDs of all the image attachments in a gallery so we can get the URL of the next adjacent image in a gallery,
+		 * or the first image (if we're looking at the last image in a gallery), or, in a gallery of one, just the link to that image file
+		 */
+		$attachments = array_values( get_children( array( 'post_parent' => $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID' ) ) );
+		foreach ( $attachments as $k => $attachment ) :
+			if ( $attachment->ID == $post->ID )
+				break;
+		endforeach;
+		
+		$l = $k - 1;
+		$k++;
+		
+		if ( isset( $attachments[ $k ] ) ) :
+			// get the URL of the next image attachment
+			$next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
+			$prev_attachment_url = get_attachment_link( $attachments[ $l ]->ID );
+		else :
+			// or get the URL of the first image attachment
+			$next_attachment_url = get_attachment_link( $attachments[ 0 ]->ID );
+		endif;
+		?>
+							<a href="<?php echo esc_url( $prev_attachment_url ); ?>" class="post-nav-older" rel="attachment"><?php _e('&laquo; Previous<span> attachment</span>', 'hemingway'); ?></a>
+							<a href="<?php echo esc_url( $next_attachment_url ); ?>" class="post-nav-newer" rel="attachment"><?php _e('Next<span> attachment</span> &raquo;', 'hemingway'); ?></a>
+						
+							<div class="clear"></div>
+						
+						</div> <!-- /post-nav -->
+					
+					</div> <!-- /post-meta-bottom -->
+					
+					<?php comments_template( '', true ); ?>
+																                        
+			   	<?php endwhile; else: ?>
+			
+					<p><?php _e("We couldn't find any posts that matched your query. Please try again.", "hemingway"); ?></p>
+				
+				<?php endif; ?>    
+					
+			</div> <!-- /post -->
+			
+		</div> <!-- /posts -->
+		
+	</div> <!-- /content -->
+	
+	<?php get_sidebar(); ?>
+	
+	<div class="clear"></div>
+
+</div> <!-- /wrapper section-inner -->
+		
+<?php get_footer(); ?>

BIN
images/header.jpg


+ 65 - 0
index.php

@@ -0,0 +1,65 @@
+<?php get_header(); ?>
+
+<div class="wrapper section-inner">
+
+	<div class="content left">
+																		                    
+		<?php if (have_posts()) : ?>
+		
+			<div class="posts">
+		
+				<?php
+				$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
+				$total_post_count = wp_count_posts();
+				$published_post_count = $total_post_count->publish;
+				$total_pages = ceil( $published_post_count / $posts_per_page );
+				
+				if ( "1" < $paged ) : ?>
+				
+					<div class="page-title">
+					
+						<h4><?php printf( __('Page %s of %s', 'hemingway'), $paged, $wp_query->max_num_pages ); ?></h4>
+						
+					</div>
+					
+					<div class="clear"></div>
+				
+				<?php endif; ?>
+					
+		    	<?php while (have_posts()) : the_post(); ?>
+		    	
+					<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+		    	
+			    		<?php get_template_part( 'content', get_post_format() ); ?>
+			    				    		
+		    		</div> <!-- /post -->
+		    			        		            
+		        <?php endwhile; ?>
+	        	                    
+			<?php endif; ?>
+			
+		</div> <!-- /posts -->
+		
+		<?php if ( $wp_query->max_num_pages > 1 ) : ?>
+		
+			<div class="post-nav archive-nav">
+						
+				<?php echo get_next_posts_link( __('&laquo; Older<span> posts</span>', 'hemingway')); ?>
+							
+				<?php echo get_previous_posts_link( __('Newer<span> posts</span> &raquo;', 'hemingway')); ?>
+				
+				<div class="clear"></div>
+				
+			</div> <!-- /post-nav archive-nav -->
+		
+		<?php endif; ?>
+			
+	</div> <!-- /content.left -->
+		
+	<?php get_sidebar(); ?>
+	
+	<div class="clear"></div>
+
+</div> <!-- /wrapper -->
+	              	        
+<?php get_footer(); ?>

+ 86 - 0
js/global.js

@@ -0,0 +1,86 @@
+jQuery(document).ready(function($) {
+
+	// Toggle mobile-menu
+	$(".nav-toggle").on("click", function(){	
+		$(this).toggleClass("active");
+		$(".mobile-menu").slideToggle();
+		if ($(".search-toggle").hasClass("active")) {
+			$(".search-toggle").removeClass("active");
+			$(".blog-search").slideToggle();
+		}
+	});
+	
+	// Toggle search form
+	$(".search-toggle").on("click", function(){	
+		$(this).toggleClass("active");
+		$(".blog-search").slideToggle();
+		if ($(".nav-toggle").hasClass("active")) {
+			$(".nav-toggle").removeClass("active");
+			$(".mobile-menu").slideToggle();
+		}
+	});
+	
+	
+	// Show mobile-menu > 700
+	$(window).resize(function() {
+		if ($(window).width() > 800) {
+			$(".toggle").removeClass("active");
+			$(".mobile-menu").hide();
+			$(".blog-search").hide();
+		}
+	});
+	
+	
+	// Cool header image scroll
+	$(window).scroll(function(e){
+		if ($(window).width() > 800) {
+			$('.header').css({
+				'bottom' : -($(this).scrollTop()/3)+"px",
+			}); 
+			var thisdist = $(this).scrollTop();
+			var headerheight = $(".header").outerHeight();
+			$('.blog-info').css({
+				'opacity' : (1 - thisdist/headerheight)
+			}); 
+		} else {
+			$('.header').css({'bottom' : 'auto'}); 	
+			$('.blog-info').css({'opacity' : "1" });
+		}
+	});
+	
+		
+	// resize videos after container
+	var vidSelector = ".post iframe, .post object, .post video, .widget-content iframe, .widget-content object, .widget-content iframe";	
+	var resizeVideo = function(sSel) {
+		$( sSel ).each(function() {
+			var $video = $(this),
+				$container = $video.parent(),
+				iTargetWidth = $container.width();
+
+			if ( !$video.attr("data-origwidth") ) {
+				$video.attr("data-origwidth", $video.attr("width"));
+				$video.attr("data-origheight", $video.attr("height"));
+			}
+
+			var ratio = iTargetWidth / $video.attr("data-origwidth");
+
+			$video.css("width", iTargetWidth + "px");
+			$video.css("height", ( $video.attr("data-origheight") * ratio ) + "px");
+		});
+	};
+
+	resizeVideo(vidSelector);
+
+	$(window).resize(function() {
+		resizeVideo(vidSelector);
+	});
+	
+	// Smooth scroll to header
+    $('.tothetop').click(function(){
+		$('html,body').animate({scrollTop: 0}, 500);
+		$(this).unbind("mouseenter mouseleave");
+        return false;
+    });
+	
+
+});

+ 19 - 0
js/theme-customizer.js

@@ -0,0 +1,19 @@
+/**
+ * This file adds some LIVE to the Theme Customizer live preview. To leverage
+ * this, set your custom settings to 'postMessage' and then add your handling
+ * here. Your javascript should grab settings from customizer controls, and 
+ * then make any necessary changes to the page using jQuery.
+ */
+( function( $ ) {
+
+	//Update site accent color in real time...
+	wp.customize( 'accent_color', function( value ) {
+		value.bind( function( newval ) {
+			$('.post-content a').css('color', newval );
+			$('.widget-content a').css('color', newval );
+			$('.featured-media .sticky-post').css('background', newval );
+			$('.widget_search #searchsubmit').css('background', newval ).css('border', newval );
+		} );
+	} );
+	
+} )( jQuery );

+ 22 - 0
languages/hemingway-xx_XX.pot

@@ -0,0 +1,22 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PlaceHolder\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2013-08-11 13:42:49+0000\n"
+"Last-Translator: none\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: CSL v1.x\n"
+"X-Poedit-Language: English\n"
+"X-Poedit-Country: UNITED STATES\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
+"X-Poedit-Basepath: ../\n"
+"X-Poedit-Bookmarks: \n"
+"X-Poedit-SearchPath-0: .\n"
+"X-Textdomain-Support: yes"
+

BIN
languages/sv_SE.mo


+ 497 - 0
languages/sv_SE.po

@@ -0,0 +1,497 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: Hemingway v1.46\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2014-08-06 10:49:01+0000\n"
+"Last-Translator: anders <anders@andersnoren.se>\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: CSL v1.x\n"
+"X-Poedit-Language: Swedish\n"
+"X-Poedit-Country: SWEDEN\n"
+"X-Poedit-SourceCharset: utf-8\n"
+"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
+"X-Poedit-Basepath: ../\n"
+"X-Poedit-Bookmarks: \n"
+"X-Poedit-SearchPath-0: .\n"
+"X-Textdomain-Support: yes"
+
+#: 404.php:15
+#@ hemingway
+msgid "Error 404"
+msgstr "Error 404"
+
+#: 404.php:21
+#@ hemingway
+msgid "It seems like you have tried to open a page that doesn't exist. It could have been deleted, moved, or it never existed at all. You are welcome to search for what you are looking for with the form below."
+msgstr "Det verkar som att du har försökt öppna en sida som inte existerar. Den kan ha raderats, flyttats eller har aldrig existerat överhuvudtaget. Du är välkommen att söka efter det du letar efter i sökformuläret nedan."
+
+#: archive.php:12
+#, php-format
+#@ hemingway
+msgid "Date: %s"
+msgstr "Datum: %s"
+
+#: archive.php:14
+#, php-format
+#@ hemingway
+msgid "Month: %s"
+msgstr "Månad: %s"
+
+#: archive.php:14
+#@ hemingway
+msgctxt "F = Month, Y = Year"
+msgid "F Y"
+msgstr "F Y"
+
+#: archive.php:16
+#, php-format
+#@ hemingway
+msgid "Year: %s"
+msgstr "År: %s"
+
+#: archive.php:16
+#@ hemingway
+msgctxt "Y = Year"
+msgid "Y"
+msgstr "Y"
+
+#: archive.php:18
+#, php-format
+#@ hemingway
+msgid "Category: %s"
+msgstr "Kategori: %s"
+
+#: archive.php:20
+#, php-format
+#@ hemingway
+msgid "Tag: %s"
+msgstr "Etikett: %s"
+
+#: archive.php:23
+#, php-format
+#@ hemingway
+msgid "Author: %s"
+msgstr "Författare: %s"
+
+#: archive.php:25
+#@ hemingway
+msgid "Archive"
+msgstr "Arkiv"
+
+#: archive.php:33
+#: search.php:20
+#: search.php:71
+#, php-format
+#@ hemingway
+msgid "(page %s of %s)"
+msgstr "(sida %s av %s)"
+
+#: archive.php:69
+#@ hemingway
+msgid "Older<span> posts</span>"
+msgstr "Äldre <span> inlägg</span>"
+
+#: archive.php:71
+#@ hemingway
+msgid "Newer<span> posts</span>"
+msgstr "Nyare <span>inlägg</span>"
+
+#: comments.php:14
+#@ hemingway
+msgid "Comment"
+msgid_plural "Comments"
+msgstr[0] "kommentar"
+msgstr[1] "kommentarer"
+
+#: comments.php:31
+#@ hemingway
+msgid "Pingback"
+msgid_plural "Pingbacks"
+msgstr[0] "Pingback"
+msgstr[1] "Pingbacks"
+
+#: comments.php:49
+#@ hemingway
+msgid "&laquo; Older<span> Comments</span>"
+msgstr "&laquo; Äldre<span> kommentarer</span>"
+
+#: comments.php:51
+#@ hemingway
+msgid "Newer<span> Comments</span> &raquo;"
+msgstr "Nyare<span> kommentarer</span> &raquo;"
+
+#: comments.php:65
+#@ hemingway
+msgid "Comments are closed."
+msgstr "Kommentarsfunktionen är avstängd."
+
+#: comments.php:72
+#@ hemingway
+msgid "Your email address will not be published."
+msgstr "Din e-postadress kommer inte att publiceras."
+
+#: comments.php:81
+#@ hemingway
+msgid "Name"
+msgstr "Namn"
+
+#: comments.php:84
+#@ hemingway
+msgid "Email"
+msgstr "E-post"
+
+#: comments.php:87
+#@ hemingway
+msgid "Website"
+msgstr "Webbplats"
+
+#: content-aside.php:9
+#: content-quote.php:9
+#: content-video.php:47
+#: content.php:47
+#@ hemingway
+msgid "Sticky"
+msgstr "Klistrat"
+
+#: content-aside.php:17
+#: content-quote.php:17
+#: content-video.php:55
+#: content.php:55
+#: functions.php:295
+#: page.php:49
+#: single.php:83
+#: template-archives.php:127
+#: template-fullwidth.php:55
+#: template-nosidebar.php:55
+#@ hemingway
+msgid "Edit"
+msgstr "Redigera"
+
+#: content-video.php:41
+#: content.php:41
+#: single.php:77
+#@ hemingway
+msgid "0 Comments"
+msgstr "0 kommentarer"
+
+#: content-video.php:41
+#: content.php:41
+#: single.php:77
+#@ hemingway
+msgid "1 Comment"
+msgstr "1 kommentar"
+
+#: content-video.php:41
+#: content.php:41
+#: single.php:77
+#@ hemingway
+msgid "% Comments"
+msgstr "% kommentarer"
+
+#: content.php:7
+#@ hemingway
+msgid "Sticky post"
+msgstr "Klistrat inlägg"
+
+#: searchform.php:2
+#@ hemingway
+msgid "Search form"
+msgstr "Sökformulär"
+
+#: footer.php:65
+#, php-format
+#@ hemingway
+msgid "Theme by <a href=\"%s\">Anders Noren</a>"
+msgstr "Tema av <a href=\"%s\">Anders Noren</a>"
+
+#: footer.php:65
+#@ hemingway
+msgid "To the top"
+msgstr "Till toppen"
+
+#: footer.php:65
+#@ hemingway
+msgid "Up"
+msgstr "Upp"
+
+#: functions.php:84
+#@ hemingway
+msgid "Footer A"
+msgstr "Footer A"
+
+#: functions.php:86
+#@ hemingway
+msgid "Widgets in this area will be shown in the left column in the footer."
+msgstr "Widgets i den här sektionen visas i den vänsta kolumnen i sidfoten."
+
+#: functions.php:93
+#@ hemingway
+msgid "Footer B"
+msgstr "Footer B"
+
+#: functions.php:95
+#@ hemingway
+msgid "Widgets in this area will be shown in the middle column in the footer."
+msgstr "Widgets i den här sektionen visas i mittenkolumnen i sidfoten."
+
+#: functions.php:102
+#@ hemingway
+msgid "Footer C"
+msgstr "Footer C"
+
+#: functions.php:104
+#@ hemingway
+msgid "Widgets in this area will be shown in the right column in the footer."
+msgstr "Widgets i den här sektionen visas i den högra kolumnen i sidfoten."
+
+#: functions.php:111
+#@ hemingway
+msgid "Sidebar"
+msgstr "Sidomeny"
+
+#: functions.php:113
+#@ hemingway
+msgid "Widgets in this area will be shown in the sidebar."
+msgstr "Widgets i den här sektionen visas i sidomenyn."
+
+#: functions.php:148
+#, php-format
+#@ hemingway
+msgid "Page %s"
+msgstr "Sida %s"
+
+#: functions.php:195
+#@ hemingway
+msgid "Continue reading"
+msgstr "Fortsätt läsa"
+
+#: functions.php:254
+#@ hemingway
+msgid "Pingback:"
+msgstr "Pingback:"
+
+#: functions.php:254
+#@ hemingway
+msgid "(Edit)"
+msgstr "(Redigera)"
+
+#: functions.php:274
+#@ hemingway
+msgid "(Post author)"
+msgstr "(Inläggsförfattare)"
+
+#: functions.php:287
+#@ hemingway
+msgid "Awaiting moderation"
+msgstr "Inväntar modererering"
+
+#: functions.php:297
+#@ hemingway
+msgid "Reply"
+msgstr "Svara"
+
+#: functions.php:315
+#@ hemingway
+msgid "Video URL (video post format)"
+msgstr "Videoadress (för video-inläggsformatet)"
+
+#: image.php:79
+#@ hemingway
+msgid "&laquo; Previous<span> attachment</span>"
+msgstr "&laquo; Föregående<span> bilaga</span>"
+
+#: image.php:80
+#@ hemingway
+msgid "Next<span> attachment</span> &raquo;"
+msgstr "Nästa<span> bilaga</span> &raquo;"
+
+#: image.php:92
+#: page.php:67
+#: single.php:147
+#: template-archives.php:143
+#: template-fullwidth.php:75
+#: template-nosidebar.php:75
+#@ hemingway
+msgid "We couldn't find any posts that matched your query. Please try again."
+msgstr "Vi kunde inte hitta några inlägg som matchade din sökning. Vänligen försök igen."
+
+#: index.php:21
+#, php-format
+#@ hemingway
+msgid "Page %s of %s"
+msgstr "Sida %s av %s"
+
+#: index.php:47
+#: search.php:46
+#@ hemingway
+msgid "&laquo; Older<span> posts</span>"
+msgstr "&laquo; Äldre<span> inlägg</span>"
+
+#: index.php:49
+#: search.php:48
+#@ hemingway
+msgid "Newer<span> posts</span> &raquo;"
+msgstr "Nyare<span> inlägg</span> &raquo;"
+
+#: search.php:13
+#: search.php:64
+#@ hemingway
+msgid "Search results:"
+msgstr "Sökresultat:"
+
+#: search.php:87
+#@ hemingway
+msgid "No results. Try again, would you kindly?"
+msgstr "Inga resultat. Försök igen, är du snäll?"
+
+#: searchform.php:3
+#@ hemingway
+msgid "Search"
+msgstr "Sök"
+
+#: single.php:115
+#@ hemingway
+msgid "Previous post:"
+msgstr "Föregående inlägg:"
+
+#: single.php:117
+#@ hemingway
+msgid "Previous post"
+msgstr "Föregående inlägg"
+
+#: single.php:128
+#@ hemingway
+msgid "Next post:"
+msgstr "Nästa inlägg:"
+
+#: single.php:130
+#@ hemingway
+msgid "Next post"
+msgstr "Nästa inlägg"
+
+#: template-archives.php:57
+#@ hemingway
+msgid "Last 30 Posts"
+msgstr "Senaste 30 inläggen"
+
+#: template-archives.php:71
+#@ hemingway
+msgid "Archives by Categories"
+msgstr "Kategoriarkiv"
+
+#: template-archives.php:77
+#@ hemingway
+msgid "Archives by Tags"
+msgstr "Etikettarkiv"
+
+#: template-archives.php:84
+#, php-format
+#@ hemingway
+msgid "View all posts in %s"
+msgstr "Visa alla inlägg i %s"
+
+#: template-archives.php:95
+#@ hemingway
+msgid "Contributors"
+msgstr "Författare"
+
+#: template-archives.php:101
+#@ hemingway
+msgid "Archives by Year"
+msgstr "År"
+
+#: template-archives.php:107
+#@ hemingway
+msgid "Archives by Month"
+msgstr "Månader"
+
+#: template-archives.php:113
+#@ hemingway
+msgid "Archives by Day"
+msgstr "Datum"
+
+#: widgets/dribbble-widget.php:10
+#@ hemingway
+msgid "Displays your latest Dribbble photos."
+msgstr "Visar dina senaste Dribbble-bilder."
+
+#: widgets/dribbble-widget.php:52
+#, php-format
+#@ hemingway
+msgid "Follow %s on Dribbble &raquo;"
+msgstr "Följ %s på Dribbble &raquo;"
+
+#: widgets/dribbble-widget.php:79
+#: widgets/flickr-widget.php:54
+#: widgets/video-widget.php:64
+#@ hemingway
+msgid "Title"
+msgstr "Titel"
+
+#: widgets/dribbble-widget.php:85
+#@ hemingway
+msgid "Dribbble username"
+msgstr "Dribbble-användarnamn"
+
+#: widgets/dribbble-widget.php:91
+#: widgets/flickr-widget.php:66
+#@ hemingway
+msgid "Number of images to display:"
+msgstr "Antal bilder att visa:"
+
+#: widgets/flickr-widget.php:8
+#@ hemingway
+msgid "Displays your latest Flickr photos."
+msgstr "Visar dina senaste Flickr-bilder."
+
+#: widgets/flickr-widget.php:32
+#@ hemingway
+msgid "More on Flickr &raquo;"
+msgstr "Mer på Flickr &raquo;"
+
+#: widgets/flickr-widget.php:60
+#@ hemingway
+msgid "Flickr ID (use <a target=\"_blank\" href=\"http://www.idgettr.com\">idGettr</a>):"
+msgstr "Flickr-ID (använd <a target=\"_blank\" href=\"http://www.idgettr.com\">idGettr</a>):"
+
+#: widgets/video-widget.php:8
+#@ hemingway
+msgid "Displays a video of your choosing."
+msgstr "Låter dig visa ett videoklipp."
+
+#: widgets/video-widget.php:70
+#@ hemingway
+msgid "Video URL"
+msgstr "Videoklippets adress"
+
+#: functions.php:363
+#@ hemingway
+msgid "Hemingway Options"
+msgstr "Hemingway-inställningar"
+
+#: functions.php:366
+#@ hemingway
+msgid "Allows you to customize some settings for Hemingway."
+msgstr "Låter dig ställa in temainställningar för Hemingway."
+
+#: functions.php:371
+#: functions.php:401
+#@ hemingway
+msgid "Logo"
+msgstr "Logotyp"
+
+#: functions.php:393
+#@ hemingway
+msgid "Accent Color"
+msgstr "Accentfärg"
+
+#: functions.php:373
+#@ hemingway
+msgid "Upload a logo to replace the default site name and description in the header"
+msgstr "Ladda upp en logotyp för att ersätta sidtiteln och -beskrivningen i sidhuvudet"
+

+ 281 - 0
license.txt

@@ -0,0 +1,281 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc. 
+              51 Franklin St, Fifth Floor, Boston, MA 02110, USA
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+

+ 81 - 0
page.php

@@ -0,0 +1,81 @@
+<?php get_header(); ?>
+
+<div class="wrapper section-inner">						
+
+	<div class="content left">
+	
+		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+			
+		<div class="posts">
+	
+			<div class="post">
+			
+				<?php if ( has_post_thumbnail() ) : ?>
+					
+					<div class="featured-media">
+					
+						<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
+						
+							<?php the_post_thumbnail('post-image'); ?>
+							
+							<?php if ( !empty(get_post(get_post_thumbnail_id())->post_excerpt) ) : ?>
+											
+								<div class="media-caption-container">
+								
+									<p class="media-caption"><?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?></p>
+									
+								</div>
+								
+							<?php endif; ?>
+							
+						</a>
+								
+					</div> <!-- /featured-media -->
+						
+				<?php endif; ?>
+														
+				<div class="post-header">
+											
+				    <h1 class="post-title"><?php the_title(); ?></h1>
+				    				    
+			    </div> <!-- /post-header -->
+			   				        			        		                
+				<div class="post-content">
+							                                        
+					<?php the_content(); ?>
+					
+					<?php if ( current_user_can( 'manage_options' ) ) : ?>
+																	
+						<p><?php edit_post_link( __('Edit', 'hemingway') ); ?></p>
+					
+					<?php endif; ?>
+														            			                        
+				</div> <!-- /post-content -->
+								
+			</div> <!-- /post -->
+			
+			<?php if ( comments_open() || get_comments_number() != '' ) : ?>
+			
+				<?php comments_template( '', true ); ?>
+			
+			<?php endif; ?>
+		
+		</div> <!-- /posts -->
+		
+		<?php endwhile; else: ?>
+		
+			<p><?php _e("We couldn't find any posts that matched your query. Please try again.", "hemingway"); ?></p>
+	
+		<?php endif; ?>
+	
+		<div class="clear"></div>
+		
+	</div> <!-- /content left -->
+	
+	<?php get_sidebar(); ?>
+	
+	<div class="clear"></div>
+
+</div> <!-- /wrapper -->
+								
+<?php get_footer(); ?>

+ 26 - 0
readme.txt

@@ -0,0 +1,26 @@
+Copyright
+--------------
+
+Hemingway WordPress Theme, Copyright 2014 Anders Norén
+Hemingway is distributed under the terms of the GNU GPL v2
+
+
+Install Steps
+--------------
+
+1. Upload the theme
+2. Activate the theme
+
+
+Licenses
+--------------
+
+Standard header image license: CC0 1.0 Universal (CC0 1.0) http://creativecommons.org/publicdomain/zero/1.0/
+
+Lato font license : SIL Open Font License, 1.1 http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
+
+Raleway font license : SIL Open Font License, 1.1 http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
+
+screenshot.png header image license : Public Domain CC0 1.0 Universal (CC0 1.0) http://creativecommons.org/publicdomain/zero/1.0/
+
+screenshot.png post image license : Public Domain CC0 1.0 Universal (CC0 1.0) http://creativecommons.org/publicdomain/zero/1.0/

BIN
screenshot.png


+ 111 - 0
search.php

@@ -0,0 +1,111 @@
+<?php get_header(); ?>
+
+	<div class="wrapper section-inner">
+	
+		<div class="content left">
+
+		<?php if ( have_posts() ) : ?>
+		
+			<div class="page-title">
+			
+				<h4>
+			
+					<?php _e( 'Search results:', 'hemingway'); echo ' "' . get_search_query() . '"'; ?>
+				
+					<?php
+					$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
+					
+					if ( "1" < $wp_query->max_num_pages ) : ?>
+					
+						<span><?php printf( __('(page %s of %s)', 'hemingway'), $paged, $wp_query->max_num_pages ); ?></span>
+					
+					<?php endif; ?>
+				
+				</h4>
+				
+			</div>
+					
+			<div class="posts">
+	
+				<?php while ( have_posts() ) : the_post(); ?>
+				
+					<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+								
+						<?php get_template_part( 'content', get_post_format() ); ?>						
+					
+					</div> <!-- /post -->
+					
+				<?php endwhile; ?>
+							
+			</div> <!-- /posts -->
+			
+			<?php if ( $wp_query->max_num_pages > 1 ) : ?>
+			
+				<div class="post-nav archive-nav">
+				
+					<?php echo get_next_posts_link( __('&laquo; Older<span> posts</span>', 'hemingway')); ?>
+								
+					<?php echo get_previous_posts_link( __('Newer<span> posts</span> &raquo;', 'hemingway')); ?>
+					
+					<div class="clear"></div>
+					
+				</div>
+				
+			<?php endif; ?>
+	
+		<?php else : ?>
+			
+			<div class="posts">
+			
+				<div class="page-title">
+			
+					<h4>
+				
+						<?php echo _e( 'Search results:', 'hemingway') . ' "' . get_search_query() . '"'; ?>
+					
+						<?php
+						$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
+						
+						if ( "1" < $wp_query->max_num_pages ) : ?>
+						
+							<span><?php printf( __('(page %s of %s)', 'hemingway'), $paged, $wp_query->max_num_pages ); ?></span>
+						
+						<?php endif; ?>
+						
+					</h4>
+					
+				</div>
+				
+				<div class="clear"></div>
+			
+				<div class="post">
+				
+					<div class="content-inner">
+				
+						<div class="post-content">
+						
+							<p><?php _e('No results. Try again, would you kindly?', 'hemingway'); ?></p>
+							
+							<?php get_search_form(); ?>
+						
+						</div> <!-- /post-content -->
+					
+					</div> <!-- /content-inner -->
+					
+					<div class="clear"></div>
+				
+				</div> <!-- /post -->
+			
+			</div> <!-- /posts -->
+		
+		<?php endif; ?>
+		
+		</div> <!-- /content -->
+		
+		<?php get_sidebar(); ?>
+		
+		<div class="clear"></div>
+		
+	</div> <!-- /wrapper -->
+		
+<?php get_footer(); ?>

+ 4 - 0
searchform.php

@@ -0,0 +1,4 @@
+<form method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">
+	<input type="search" value="" placeholder="<?php _e('Search form', 'hemingway'); ?>" name="s" id="s" /> 
+	<input type="submit" id="searchsubmit" value="<?php _e('Search', 'hemingway'); ?>">
+</form>

+ 9 - 0
sidebar.php

@@ -0,0 +1,9 @@
+<?php if ( is_active_sidebar( 'sidebar' ) ) : ?>
+
+	<div class="sidebar right" role="complementary">
+	
+		<?php dynamic_sidebar( 'sidebar' ); ?>
+		
+	</div><!-- /sidebar -->
+
+<?php endif; ?>

+ 163 - 0
single.php

@@ -0,0 +1,163 @@
+<?php get_header(); ?>
+
+<div class="wrapper section-inner">
+
+	<div class="content left">
+												        
+		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+		
+			<div class="posts">
+		
+				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+	
+					<div class="post-header">
+
+						<?php if ( has_post_thumbnail() ) : ?>
+					
+							<div class="featured-media">
+							
+								<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
+								
+									<?php the_post_thumbnail('post-image'); ?>
+									
+									<?php if ( !empty(get_post(get_post_thumbnail_id())->post_excerpt) ) : ?>
+													
+										<div class="media-caption-container">
+										
+											<p class="media-caption"><?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?></p>
+											
+										</div>
+										
+									<?php endif; ?>
+									
+								</a>
+										
+							</div> <!-- /featured-media -->
+								
+						<?php endif; ?>
+						
+						<?php $videourl = get_post_meta($post->ID, 'videourl', true); if ( $videourl != '' ) : ?>
+
+							<div class="featured-media">
+							
+								<?php if (strpos($videourl,'.mp4') !== false) : ?>
+				
+									<video controls>
+									  <source src="<?php echo $videourl; ?>" type="video/mp4">
+									</video>
+																							
+								<?php else : ?>
+									
+									<?php 
+									
+										$embed_code = wp_oembed_get($videourl); 
+										
+										echo $embed_code;
+										
+									?>
+										
+								<?php endif; ?>
+								
+							</div> <!-- /featured-media -->
+						
+						<?php endif; ?>
+						
+					    <h1 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
+					    
+					    <div class="post-meta">
+						
+							<span class="post-date"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_time(get_option('date_format')); ?></a></span>
+							
+							<span class="date-sep"> / </span>
+								
+							<span class="post-author"><?php the_author_posts_link(); ?></span>
+							
+							<span class="date-sep"> / </span>
+							
+							<?php comments_popup_link( '<span class="comment">' . __( '0 Comments', 'hemingway' ) . '</span>', __( '1 Comment', 'hemingway' ), __( '% Comments', 'hemingway' ) ); ?>
+							
+							<?php if ( current_user_can( 'manage_options' ) ) { ?>
+							
+								<span class="date-sep"> / </span>
+											
+								<?php edit_post_link(__('Edit', 'hemingway')); ?>
+							
+							<?php } ?>
+													
+						</div>
+					    
+					</div> <!-- /post-header -->
+														                                    	    
+					<div class="post-content">
+						    		            			            	                                                                                            
+						<?php the_content(); ?>
+								
+						<?php wp_link_pages(); ?>
+									        
+					</div> <!-- /post-content -->
+					            
+					<div class="clear"></div>
+					
+					<div class="post-meta-bottom">
+																		
+						<p class="post-categories"><span class="category-icon"><span class="front-flap"></span></span> <?php the_category(', '); ?></p>
+						
+						<?php if( has_tag()) { ?><p class="post-tags"><?php the_tags('', ''); ?></p><?php } ?>
+						
+						<div class="clear"></div>
+												
+						<div class="post-nav">
+													
+							<?php
+							$prev_post = get_previous_post();
+							if (!empty( $prev_post )): ?>
+							
+								<a class="post-nav-older" title="<?php _e('Previous post:', 'hemingway'); echo ' ' . get_the_title($prev_post); ?>" href="<?php echo get_permalink( $prev_post->ID ); ?>">
+								
+								<h5><?php _e('Previous post', 'hemingway'); ?></h5>																
+								<?php echo get_the_title($prev_post); ?>
+								
+								</a>
+						
+							<?php endif; ?>
+							
+							<?php
+							$next_post = get_next_post();
+							if (!empty( $next_post )): ?>
+								
+								<a class="post-nav-newer" title="<?php _e('Next post:', 'hemingway'); echo ' ' . get_the_title($next_post); ?>" href="<?php echo get_permalink( $next_post->ID ); ?>">
+								
+								<h5><?php _e('Next post', 'hemingway'); ?></h5>							
+								<?php echo get_the_title($next_post); ?>
+								
+								</a>
+						
+							<?php endif; ?>
+														
+							<div class="clear"></div>
+						
+						</div> <!-- /post-nav -->
+											
+					</div> <!-- /post-meta-bottom -->
+					
+					<?php comments_template( '', true ); ?>
+												                        
+			   	<?php endwhile; else: ?>
+			
+					<p><?php _e("We couldn't find any posts that matched your query. Please try again.", "hemingway"); ?></p>
+				
+				<?php endif; ?>    
+		
+			</div> <!-- /post -->
+			
+		</div> <!-- /posts -->
+	
+	</div> <!-- /content -->
+	
+	<?php get_sidebar(); ?>
+	
+	<div class="clear"></div>
+	
+</div> <!-- /wrapper -->
+		
+<?php get_footer(); ?>

+ 2481 - 0
style.css

@@ -0,0 +1,2481 @@
+@charset "UTF-8";
+
+/*---------------------------------------------------------------------------------
+
+	Theme Name: Hemingway
+	Version: 1.54
+	Description: Hemingway is a clean, beautiful and responsive two-column theme for bloggers. Features responsive design, retina-ready assets, full-width header image with parallax scrolling effect, custom accent color, custom logo upload, custom widgets (video, Flickr and Dribbble), page templates and translation-ready code. Included translations: Swedish/svenska.
+	Tags: black, dark, white, green, two-columns, fluid-layout, responsive-layout, custom-header, custom-menu, custom-colors, featured-images, flexible-header, post-formats, sticky-post, threaded-comments, translation-ready, editor-style
+	Author: Anders Norén
+	Author URI: http://www.andersnoren.se
+	Theme URI: http://www.andersnoren.se/teman/hemingway-wordpress-theme/
+	License: GNU General Public License version 2.0
+	License URI: http://www.gnu.org/licenses/gpl-2.0.html
+	
+	All files, unless otherwise stated, are released under the GNU General Public License
+	version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
+
+-----------------------------------------------------------------------------------
+
+	0.	CSS Reset & Clearfix
+	1.	Document Setup
+	2.  Structure
+	3.	Header
+	4.	Navigation
+	5.	Main Content
+	6.  Single post
+	7.	Post Content
+	8.	Comments
+	9.	Pagination
+	10.	Page & Page Templates
+	11.	Sidebar
+	12.	Footer
+	13. Credits
+	14.	Responsive
+
+----------------------------------------------------------------------------------- */
+
+
+/* -------------------------------------------------------------------------------- */
+/*	0. CSS Reset
+/* -------------------------------------------------------------------------------- */
+
+html, body { margin:0; padding:0;}
+
+h1, h2, h3, h4, h5, h6, p, blockquote, address, big, cite, code, em, font, img, small, strike, sub, sup, li, ol, ul, fieldset, form, label, legend, button, table, caption, tr, th, td {
+	margin:0;
+	padding:0;
+	border:0;
+	font-weight:normal;
+	font-style:normal;
+	font-size:100%;
+	line-height:1;
+	font-family:inherit;
+	text-align:left;
+}
+
+table {
+	border-collapse:collapse;
+	border-spacing:0;
+}
+
+ol, ul { list-style:none; }
+
+blockquote:before, 
+blockquote:after { content:""; }
+
+a { outline:none; }
+
+input[type=search] {
+   -moz-appearance:none;
+   -webkit-appearance:none;
+}
+
+input[type="search"]::-webkit-search-decoration,
+input[type="search"]::-webkit-search-cancel-button,
+input[type="search"]::-webkit-search-results-button,
+input[type="search"]::-webkit-search-results-decoration {
+  display: none;
+}
+
+
+/* -------------------------------------------------------------------------------- */
+/*	1. Document setup
+/* -------------------------------------------------------------------------------- */
+
+
+body {
+	margin: 0;
+	padding: 0;
+	border: none;
+	background: #FFF;
+	color: #444;
+	font-family: 'Lato', sans-serif;
+	font-size: 18px;
+	-webkit-font-smoothing: subpixel-antialiased;
+}
+
+body a {
+	color: #1abc9c;
+	text-decoration: none;
+}
+
+body a:hover {
+	color: #1abc9c;
+	text-decoration: none;
+}
+
+* { 
+	box-sizing: border-box; 
+	-moz-box-sizing: border-box; 
+	-webkit-box-sizing: border-box; 
+}
+
+img {
+	max-width: 100%;
+	height: auto;
+}
+
+.hidden { display: none; }
+.clear { clear: both; }
+.left { float: left; }
+.right { float: right; }
+
+::selection {
+	background: #1abc9c;
+	color: #333;
+}
+
+::-webkit-input-placeholder { color: #A9A9A9; }
+:-ms-input-placeholder { color: #A9A9A9; }
+
+
+/* Transitions --------------------------------------- */
+
+
+.screen-reader-text {
+	clip: rect(1px, 1px, 1px, 1px);
+	position: absolute !important;
+	height: 1px;
+	width: 1px;
+	overflow: hidden;
+}
+
+.screen-reader-text:focus {
+	background-color: #f1f1f1;
+	border-radius: 3px;
+	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
+	clip: auto !important;
+	color: #21759b;
+	display: block;
+	font-size: 14px;
+	font-size: 0.875rem;
+	font-weight: bold;
+	height: auto;
+	left: 5px;
+	line-height: normal;
+	padding: 15px 23px 14px;
+	text-decoration: none;
+	top: 5px;
+	width: auto;
+	z-index: 100000; /* Above WP toolbar. */
+}
+
+body a,
+.post-tags a::after {
+	-webkit-transition: all 0.1s ease-in-out;
+	 -moz-transition: all 0.1s ease-in-out;
+	 -ms-transition: all 0.1s ease-in-out;
+	 -o-transition: all 0.1s ease-in-out;
+	 transition: all 0.1s ease-in-out;
+}
+
+.nav-toggle,
+.nav-toggle .bar,
+.blog-menu a,
+.blog-menu ul .has-children,
+.blog-title a,
+.post-title a,
+.format-bubble,
+.post-meta a,
+.featured-media a,
+.content form input,
+.content form textarea,
+.media-caption,
+.post-nav a,
+input#s,
+#searchsubmit,
+.widget-content ul li,
+.widget_recent_entries a,
+.search-toggle.active .metal,
+.search-toggle.active .handle,
+a.more-link,
+.dribbble-shot img,
+.flickr_badge_image a img {
+	-webkit-transition: all 0.2s ease-in-out;
+	 -moz-transition: all 0.2s ease-in-out;
+	 -ms-transition: all 0.2s ease-in-out;
+	 -o-transition: all 0.2s ease-in-out;
+	 transition: all 0.2s ease-in-out;
+}
+
+.tothetop {
+	-webkit-transition: all 0.3s ease-in-out;
+	 -moz-transition: all 0.3s ease-in-out;
+	 -ms-transition: all 0.3s ease-in-out;
+	 -o-transition: all 0.3s ease-in-out;
+	 transition: all 0.3s ease-in-out;
+}
+
+
+/* Screen Reader Text --------------------------------------- */
+
+
+.screen-reader-text {
+	clip: rect(1px, 1px, 1px, 1px);
+	position: absolute !important;
+	height: 1px;
+	width: 1px;
+	overflow: hidden;
+}
+
+.screen-reader-text:focus {
+	background-color: #f1f1f1;
+	border-radius: 3px;
+	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
+	clip: auto !important;
+	color: #21759b;
+	display: block;
+	font-size: 14px;
+	font-size: 0.875rem;
+	font-weight: bold;
+	height: auto;
+	left: 5px;
+	line-height: normal;
+	padding: 15px 23px 14px;
+	text-decoration: none;
+	top: 5px;
+	width: auto;
+	z-index: 100000; /* Above WP toolbar. */
+}
+
+
+/* -------------------------------------------------------------------------------- */
+/*	2.	Structure
+/* -------------------------------------------------------------------------------- */
+
+
+.section {
+	padding: 10% 0;
+	position: relative;
+}
+
+.section.large-padding { padding: 7.5% 0; }
+.section.medium-padding { padding: 5% 0; }
+.section.small-padding { padding: 2.5% 0; }
+.section.no-padding { padding: 0; }
+
+.section.bg-dark { background: #1D1D1D; }
+.section.bg-dark-light { background: #262626; }
+
+.bg-shade {
+	position: absolute;
+	top: 0;
+	right: 0;
+	bottom: 0;
+	left: 0;	
+	background: #262626;
+}
+
+.section-inner {
+	width: 1040px;
+	max-width: 86%;
+	margin: 0 auto;
+}
+
+.big-wrapper { overflow: hidden; }
+
+.wrapper { 	margin-top: 75px; }
+
+.content { width: 65%; }
+.content.center { margin-left: auto; margin-right: auto; }
+.content.full-width { width: 100%; }
+
+.sidebar { width: 27.5%; }
+
+
+/* -------------------------------------------------------------------------------- */
+/*	3. Header
+/* -------------------------------------------------------------------------------- */
+
+
+.header-cover { overflow-y: hidden; }
+
+.header {
+	padding: 100px 0;
+	background: no-repeat center;
+	background-size: cover;
+	-moz-background-size: cover;
+	-webkit-background-size: cover;
+}
+
+.header-inner { position: relative; z-index: 2; text-align: center; }
+
+.blog-logo { display: inline-block; }
+
+.blog-logo a,
+.blog-logo img { display: block; }
+
+.blog-logo img {
+	max-height: 40%;
+	width: auto;
+	max-width: 100%;
+	height: auto;
+}
+
+.blog-info {
+	display: inline-block;
+	padding: 30px;
+}
+
+.blog-title { 
+	width: 100%; 
+	text-align: center; 
+	font-family: 'Raleway', sans-serif;
+}
+
+.blog-title a {
+	color: #FFF;
+	text-transform: uppercase;
+	letter-spacing: 4px;
+	font-weight: 700;
+	font-size: 2.7em;
+}
+
+.blog-title-with-logo a {
+	color: #FFF;
+	text-transform: uppercase;
+	letter-spacing: 4px;
+	font-weight: 700;
+	font-size: 3.2em;
+	vertical-align: 30%;
+	text-align: center; 
+}
+
+.blog-title-with-logo img {
+	vertical-align: -30%;
+	text-align: center; 
+}
+
+h2.blog-title-with-logo {
+	vertical-align: -30%;
+	text-align: center; 
+}
+
+
+.blog-description:before {
+	content: "";
+	display: block;
+	width: 100px;
+	height: 2px;
+	background: rgba(255,255,255,0.1);
+	margin: 20px auto;
+}
+
+.blog-description {
+	font-family: 'Raleway', sans-serif;
+	text-align: center;
+	color: rgba(255,255,255,0.8);
+	font-weight: 300;
+	font-size: 1.6em;
+}
+
+/* Nav-toggle --------------------------------------- */
+
+
+/* -------------------------------------------------------------------------------- */
+/*	4. Navigation
+/* -------------------------------------------------------------------------------- */
+
+
+.mobile-menu { display: none; }
+
+.blog-menu li { position: relative; }
+.blog-menu > li { float: left; }
+
+.blog-menu > li:before {
+	content: "/";
+	display: block;
+	position: absolute;
+	left: 0;
+	top: 50%;
+	margin-top: -9px;
+	margin-left: -3px;
+	font-size: 16px;
+	color: #444;
+	font-weight: 300;
+	z-index: 1000;
+}
+
+.blog-menu > li:first-child:before { content: none; }
+
+.blog-menu a {
+	display: block;
+	padding: 27px 20px;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+	color: rgba(255,255,255,0.4);
+	font-size: 13px;
+}
+
+.blog-menu a:hover,
+.blog-menu .current-menu-item a { color: #FFF; }
+
+.blog-menu > .has-children a,
+.blog-menu > .page_item_has_children a { padding-right: 35px; }
+
+.blog-menu > .has-children::after,
+.blog-menu > .page_item_has_children::after {
+	content: "";
+	display: block;
+	border: 5px solid transparent;
+	border-top-color: rgba(255,255,255,0.4);
+	position: absolute;
+	z-index: 1001;
+	right: 17px;
+	top: 50%;
+	margin-top: -2px;
+}
+
+.blog-menu > .has-children:hover::after,
+.blog-menu > .page_item_has_children:hover::after { border-top-color: #FFF; }
+
+.blog-menu li:hover a {
+	background-color: #1D1D1D;
+	cursor: pointer;
+}
+
+.blog-menu li:hover > a { color: #FFF; }
+
+
+/* Sub menus --------------------------------------- */
+
+
+.blog-menu ul {
+	position: absolute;
+	left: -9999px;
+	display: none;
+	z-index: 999;
+}
+
+.blog-menu ul li {
+    float: none;
+    display: block;
+}
+
+.blog-menu ul > .has-children::after,
+.blog-menu ul > .page_item_has_children::after {
+	content: "";
+	display: block;
+	border: 6px solid transparent;
+	border-left-color: rgba(255,255,255,0.4);
+	position: absolute;
+	z-index: 1001;
+	right: 10px;
+	top: 50%;
+	margin-top: -5px;
+}
+
+.blog-menu ul > .has-children:hover::after,
+.blog-menu ul > .page_item_has_children:hover::after { border-left-color: #FFF; }
+
+.blog-menu ul li { 	
+	width: 240px; 
+	background: #1d1d1d;
+}
+
+.blog-menu ul a {
+	padding: 20px 0px;
+	margin: 0 20px;
+	line-height: 130%;
+	-moz-box-sizing: border-box;
+	-webkit-box-sizing: border-box;
+	box-sizing: border-box;
+	border-bottom: 1px solid rgba(255,255,255,0.1);
+}
+
+.blog-menu ul > li:last-child a { border-bottom-width: 0; }
+
+.blog-menu li:hover > ul {
+	opacity: 1;
+	left: 0;
+	display: block;
+}
+
+
+/* Deep down --------------------------------------- */
+
+
+.blog-menu ul li:hover > ul {
+	top: 0;
+	left: 240px;
+	margin-left: 0;
+}
+
+
+/* -------------------------------------------------------------------------------- */
+/*	5. Main content
+/* -------------------------------------------------------------------------------- */
+
+
+.post, 
+.page { 
+	padding-bottom: 8%; 
+	border-bottom: 4px solid #EEE;
+	margin-bottom: 8%;
+}
+
+.single-post .post,
+.page .post,
+.post:last-child,
+.page:last-child { padding-bottom: 0; border-bottom: 0; margin-bottom: 0; }
+
+
+/* Featured media --------------------------------------- */
+
+
+.featured-media { 
+	position: relative;
+	display: block;
+	margin-bottom: 6%; 
+}
+
+.featured-media a,
+.featured-media img { display: block; }
+
+.featured-media img { 
+	border-radius: 4px; 
+	margin: 0 auto;
+}
+
+.featured-media iframe { 
+	display: block;
+	border: none; 
+	max-width: 100%; 
+	height: auto; 
+}
+
+.featured-media .sticky-post {
+	position: absolute;
+	top: 5%;
+	right: 0;
+	padding: 8px 10px;
+	border-radius: 3px 0 0 3px;
+	background: #1abc9c;
+	color: #FFF;
+	font-size: 0.7em;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+	z-index: 10;
+}
+
+.media-caption-container { 
+	position: absolute; 
+	width: 95%; 
+	margin-left: 2.5%; 
+	bottom: 1.5em; 
+	text-align: center; 
+	font-size: 0.85em; 
+}
+
+.media-caption { 
+	display: inline-block; 
+	padding: 7px 11px; 
+	border-radius: 3px; 
+	background: #262626; 
+	background: rgba(38,38,38,0.75); 
+	color: #FFF; 
+	text-align: center; 
+	line-height: 130%;
+}
+
+.media-caption:hover { 
+	background: #262626; 
+	color: #FFF; 
+}
+
+
+/* Post header --------------------------------------- */
+
+
+.post-header { margin-bottom: 5%; }
+
+.post-title {
+	font-size: 1.6em;
+	font-weight: 700;
+	line-height: 120%;
+	margin-bottom: 15px;
+	font-family: 'Lato', sans-serif;
+	text-transform: uppercase;
+ -ms-word-break: break-all;
+     word-break: break-word;
+
+-webkit-hyphens: auto;
+   -moz-hyphens: auto;
+        hyphens: auto;
+}
+
+.post-title,
+.post-title a { color: #2d2d2d; }
+
+.post-meta {
+	font-size: 0.8em;
+	color: #999;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+}
+
+.post-meta a { color: #999; }
+.post-meta a:hover { color: #1abc9c; }
+
+.post-meta .date-sep { margin: 0 5px; color: #DDD; }
+
+.post-content a.more-link {
+	display: inline-block;
+	background: #262626;
+	padding: 10px 18px;
+	color: #FFF;
+	font-size: 0.85em;
+	border-radius: 4px; 
+}
+
+.post-content a.more-link:hover { 
+	background: #1abc9c; 
+	color: #FFF;
+	text-decoration: none !important;
+}
+
+
+/* Post format aside & video --------------------------------------- */
+
+
+.blog .format-aside .post-meta,
+.archive .format-aside .post-meta,
+.search .format-aside .post-meta,
+.blog .format-video .post-meta,
+.archive .format-video .post-meta,
+.search .format-video .post-meta { text-align: center; }
+
+.blog .format-video .post-content, 
+.archive .format-video .post-content, 
+.search .format-video .post-content {
+	margin-top: 20px;
+}
+
+.blog .format-aside .post-content,
+.archive .format-aside .post-content,
+.search .format-aside .post-content {
+	padding: 20px;
+	background: #EEE;
+	margin-top: 20px;
+	border-radius: 3px;
+}
+
+
+/* Post format quote --------------------------------------- */
+
+
+.blog .format-quote .post-meta,
+.archive .format-quote .post-meta,
+.search .format-quote .post-meta { text-align: center; }
+
+.blog .format-quote .post-content,
+.archive .format-quote .post-content,
+.search .format-quote .post-content {
+	margin-top: 20px;
+	padding: 40px;
+	background: #262626;
+	color: #FFF;
+	border-radius: 3px;
+}
+
+.blog .format-quote .post-content blockquote,
+.archive .format-quote .post-content blockquote,
+.search .format-quote .post-content blockquote {
+	background: none;
+	color: #FFF;
+	padding: 0;
+	font-size: 1.25em;
+	margin-bottom: 0;
+}
+
+.blog .format-quote .post-content blockquote p,
+.archive .format-quote .post-content blockquote p,
+.search .format-quote .post-content blockquote p {
+	text-align: center;
+}
+
+.blog .format-quote .post-content blockquote cite,
+.archive .format-quote .post-content blockquote cite,
+.search .format-quote .post-content blockquote cite {
+	display: block;
+	text-align: center;
+	color: rgba(255,255,255,0.75);
+	font-size: 1rem;
+	font-weight: 400;
+}
+
+.blog .format-quote .post-content blockquote cite a,
+.archive .format-quote .post-content blockquote cite a,
+.search .format-quote .post-content blockquote cite a { color: rgba(255,255,255,0.75); }
+
+.blog .format-quote .post-content blockquote cite a:hover,
+.archive .format-quote .post-content blockquote cite a:hover,
+.search .format-quote .post-content blockquote cite a:hover { text-decoration: none; }
+
+
+/* -------------------------------------------------------------------------------- */
+/*	6. Single post
+/* -------------------------------------------------------------------------------- */
+
+
+.post-meta-bottom {
+	margin-top: 10%;
+	position: relative;
+}
+
+.post-categories {
+	position: relative;
+	font-size: 0.85em; 
+	font-weight: 400;
+	color: #999;
+	line-height: 120%;
+	padding-left: 36px;
+}
+
+.category-icon,
+.category-icon:after,
+.front-flap,
+.front-flap:after {
+	display: block;
+	position: absolute;
+}
+
+.category-icon {
+	left: 0;
+	top: 2px;
+	width: 24px;
+	height: 16px;
+	background: #727272;
+	border-radius: 0 2px 2px 2px;
+}
+
+.category-icon:after {
+	content: "";
+	width: 12px;
+	height: 3px;
+	top: -3px;
+	left: 0px;
+	background: #727272;
+	border-radius: 1px 1px 0 0;
+}
+
+.front-flap {
+	height: 13px;
+	width: 22px;
+	bottom: -1px;
+	right: -2px;
+	background: #727272;
+	border-radius: 2px;
+	border: 1px solid #FFF;
+	-webkit-transform: skew(-25deg,0deg);
+	-moz-transform: skew(-25deg,0deg);
+	-ms-transform: skew(-25deg,0deg);
+	-o-transform: skew(-25deg,0deg);
+	transform: skew(-25deg,0deg);
+}
+
+.post-categories a:hover { text-decoration: underline; }
+
+.post-tags { 
+	margin-top: 20px; 
+	margin-left: 12px;
+}
+
+.post-tags a {
+	position: relative;
+	font-size: 12px;
+	font-weight: 700;
+	text-transform: uppercase;
+	color: #FFF;
+	display: inline-block;
+	padding: 6px;
+	margin-bottom: 5px;
+	margin-right: 20px;
+	background: #767676;
+	border-radius: 0 2px 2px 0;
+}
+
+.post-tags a::after {
+	border-top: 12px solid transparent;
+	border-right: 12px solid #767676;
+	border-bottom: 12px solid transparent;
+	content: "";
+	height: 0;
+	position: absolute;
+	top: 0;
+	left: -12px;
+	width: 0;
+}
+
+.post-tags a:before {
+	content: "";
+	display: block;
+	position: absolute;
+	left: -4px;
+	top: 50%;
+	margin-top: -2px;
+	width: 4px;
+	height: 4px;
+	background: #FFF;
+	border-radius: 99px;
+	z-index: 10;
+}
+
+.post-tags a:hover {
+	background: #1abc9c;
+	color: #FFF;
+}
+
+.post-tags a:hover:after { border-right-color: #1abc9c; }
+
+.post-nav {
+	font-size: 0.95em;
+	margin-top: 20px;
+	border-top: 4px solid #EEE;
+	border-bottom: 4px solid #EEE;
+}
+
+.post-nav a {
+	display: block;
+	position: relative;
+	padding: 25px 0;
+	max-width: 49%;
+	color: #666;
+}
+
+.post-nav h5 {
+	text-transform: uppercase;
+	letter-spacing: 1px;
+	font-size: 0.7em;
+	color: #999;
+	margin-bottom: 7px;
+	font-weight: 700;
+}
+
+.post-nav-newer h5 { text-align: right; }
+
+.post-nav-older { float: left; }
+.post-nav-newer { float: right; text-align: right; }
+
+.post-nav a:hover { color: #1abc9c; }
+
+
+/* -------------------------------------------------------------------------------- */
+/*	7. Post content
+/* -------------------------------------------------------------------------------- */
+
+
+.post-content { font-size: 1.075em; }
+
+.post-content a:hover { text-decoration: underline; }
+
+.post-content p,
+.post-content blockquote,
+.post-content ul,
+.post-content ol,
+.post-content address,
+.post-content dl,
+.post-content .wp-caption,
+.post-content pre {
+	line-height: 170%;
+	margin-bottom: 1.0em;
+	text-align: justify;
+}
+
+.post-content > *:first-child { margin-top: 0; }
+.post-content *:last-child { margin-bottom: 0; }
+
+.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
+	margin: 50px 0 25px;
+	color: #444;
+	line-height: 120%;
+}
+
+.post-content h1 { font-size: 2em; font-weight: 700; }
+
+.post-content h2 { font-size: 1.75em; font-weight: 700; }
+
+.post-content h3 { font-size: 1.5em; font-weight: 700; }
+
+.post-content h4 { font-size: 1.25em; }
+
+.post-content h5 { font-size: 1.1em; }
+
+.post-content h6 {
+	font-size: 0.9em;
+	font-weight: bold;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+}
+
+.post-content h1+h1, .post-content h1+h2, .post-content h1+h3, .post-content h1+h4, .post-content h1+h5, .post-content h1+h6,
+.post-content h2+h1, .post-content h2+h2, .post-content h2+h3, .post-content h2+h4, .post-content h2+h5, .post-content h2+h6,
+.post-content h3+h1, .post-content h3+h2, .post-content h3+h3, .post-content h3+h4, .post-content h3+h5, .post-content h3+h6,
+.post-content h4+h1, .post-content h4+h2, .post-content h4+h3, .post-content h4+h4, .post-content h4+h5, .post-content h4+h6,
+.post-content h5+h1, .post-content h5+h2, .post-content h5+h3, .post-content h5+h4, .post-content h5+h5, .post-content h5+h6,
+.post-content h6+h1, .post-content h6+h2, .post-content h6+h3, .post-content h6+h4, .post-content h6+h5, .post-content h6+h6 {
+	margin-top: 25px;
+}
+
+.post-content blockquote {
+	padding: 1.1em;
+	line-height: 150%;
+	color: #666;
+	background: #EEE;
+	font-family: 'Raleway', 'Helvetica Neue', sans-serif;
+}
+
+.post-content cite {
+	font-weight: 700;
+	letter-spacing: 1px;
+	text-transform: uppercase;
+	line-height: 140%;
+	color: #666;
+}
+
+.post-content cite:before { content: "— "; }
+
+.post-content blockquote cite {
+	display: block;
+	margin-top: 1em;
+	font-size: 0.8em;
+}
+
+.post-content blockquote cite em { font-style: italic; font-weight: bold; }
+
+em, q {  font-style: italic;  }
+
+.post-content strong em,
+.post-content em strong {
+	font-weight: bold;
+	font-style: italic;
+}
+
+.post-content big { font-size: 1.25em; }
+
+abbr, acronym { cursor: help; }
+
+code, kbd, pre {
+	font-size: 0.85em;
+	background: #EEE;
+	font-family: Menlo, Monaco, monospace;
+}
+
+.post-content .highlight {
+	background: #fcf8a5;
+	width: auto;
+	display: inline;
+	padding: 2px 3px;
+}
+
+.post-content kbd,
+.post-content code {
+	padding: 5px;
+	border-radius: 3px;
+}
+
+.post-content dl { line-height: 160%; }
+
+.post-content dl dt { font-weight: bold; }
+
+.post-content hr {
+	width: 50%;
+	height: 4px;
+	background: #EEE;
+	margin: 2em auto;
+	border: 0;
+}
+
+.post-content ul {
+	list-style: disc;
+	margin-left: 1.5em;
+}
+
+.post-content ul ul { list-style: circle; }
+.post-content ul ul ul { list-style: square; }
+
+.post-content ol {
+	list-style: decimal;
+	margin-left: 1.5em;
+}
+
+.post-content ol ol { list-style: lower-alpha; }
+.post-content ol ol ol {
+	list-style: lower-roman;
+}
+
+.post-content ul ul,
+.post-content ul ol,
+.post-content ol ul,
+.post-content ol ol {
+	margin-bottom: 0;
+}
+
+.post-content li {
+	margin-bottom: 0.5em;
+	line-height: 170%;
+}
+
+.post-content li ol li:first-child,
+.post-content li ul li:first-child {
+	margin-top: 0.5em;
+}
+
+
+.post-content ol > li:last-child,
+.post-content ul > li:last-child {
+	margin-bottom: 0;
+}
+
+.post-content address {
+	padding: 3% 3.5%;
+	background: #F1F1F1;
+}
+
+.post-content pre {
+	white-space: pre-wrap;       /* css-3 */
+	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
+	white-space: -pre-wrap;      /* Opera 4-6 */
+	white-space: -o-pre-wrap;    /* Opera 7 */
+	word-wrap: break-word;       /* Internet Explorer 5.5+ */
+	line-height: 140%;
+	padding: 2% 2.5%;
+	background: #f1f1f1;
+}
+
+
+/* Post media --------------------------------------- */
+
+
+.wp-caption { max-width: 100%; }
+
+.wp-caption a,
+.wp-caption img { display: block; }
+
+img.alignleft,
+.alignleft img,
+img.aligncenter,
+.aligncenter img,
+img.alignright,
+.alignright img {
+	box-sizing: border-box;
+	padding: 5px;
+	border: 1px solid #EEE;
+}
+
+
+.post-content .alignleft,
+.post-content .alignright {
+	margin-bottom: 1.2em;
+	max-width: 40%;
+}
+
+.post-content .wp-caption .alignleft,
+.post-content .wp-caption .alignright {
+	margin-bottom: 0;
+}
+
+.post-content .alignleft {
+	float: left;
+	margin-right: 1em;
+}
+
+.post-content .alignright {
+	float: right;
+	margin-left: 1em;
+}
+
+.post-content .aligncenter {
+	display: block;
+	margin-left: auto;
+	margin-right: auto;
+	text-align: center;
+}
+
+.post-content .wp-caption-text,
+.post-content .gallery-caption {
+	padding-top: 0.5em;
+	font-size: 0.85em;
+	font-style: italic;
+	color: #888;
+	text-align: center;
+}
+
+.post-content .gallery-caption {
+	font-size: 16px;
+	line-height: 24px;
+}
+
+
+/* Tables --------------------------------------- */
+
+
+.post-content table {
+	border-collapse: collapse;
+    border-spacing: 0;
+    empty-cells: show;
+    font-size: 0.9em;
+    width: 100%;
+    margin-bottom: 1.1em;
+}
+
+.post-content th,
+.post-content td {
+	padding: 2%;
+	margin: 0;
+	overflow: visible;
+	line-height: 120%;
+	border-bottom: 1px solid #DDD;
+}
+
+.post-content caption {
+	color: #444;
+	text-align: center;
+	padding: 2%;
+}
+
+.post-content thead {
+	vertical-align: bottom;
+	white-space: nowrap;
+}
+
+.post-content th {
+	font-weight: bold;
+	color: #444;
+}
+
+.post-content table tbody > tr:nth-child(odd) > td { background: #f9f9f9; }
+
+
+/* Forms --------------------------------------- */
+
+
+.post-content fieldset {
+	padding: 25px;
+	border: 2px solid #eee;
+	margin-bottom: 1em;
+}
+
+.post-content fieldset legend {
+	font-size: 0.8rem;
+	line-height: 1;
+	font-weight: 700;
+	text-transform: uppercase;
+	letter-spacing: 2px;
+	padding: 10px 12px;
+	background: #1ABC9C;
+	color: #fff;
+}
+
+.post-content label {
+	font-size: 1rem;
+	font-weight: 700;
+}
+
+.post-content input,
+.post-content textarea { 
+	font-family: 'Lato', sans-serif; 
+}
+
+.post-content input[type="text"],
+.post-content input[type="tel"],
+.post-content input[type="url"],
+.post-content input[type="email"],
+.post-content input[type="password"],
+.post-content textarea {
+	width: 100%;
+	padding: 14px 16px;
+	font-size: 0.9em;
+	border: none;
+	color: #333;
+	background: #f2f2f2;
+	border-radius: 3px;
+	-webkit-appearance: none;
+}
+
+.post-content input[type="file"] {
+	padding: 10px;
+	background: #f2f2f2;
+	border-radius: 3px;
+}
+
+.post-content textarea { 
+	height: 180px; 
+	line-height: 140%;
+}
+
+.post-content input[type="text"]:focus,
+.post-content input[type="tel"]:focus,
+.post-content input[type="url"]:focus,
+.post-content input[type="email"]:focus,
+.post-content input[type="password"]:focus,
+.post-content textarea:focus {
+	outline: none;
+}
+
+.post-content input[type="submit"],
+.post-content input[type="reset"],
+.post-content input[type="button"] {
+	padding: 12px 16px;
+	margin: 0;
+	border: none;
+	background: #333;
+	color: #fff;
+	font-size: 0.9rem;
+	line-height: 1;
+	-webkit-appearance: none;
+	border-radius: 3px;
+	-webkit-appearance: none;
+}
+
+.post-content input[type="submit"] + input[type="reset"],
+.post-content input[type="submit"] + input[type="button"],
+.post-content input[type="reset"] + input[type="submit"],
+.post-content input[type="reset"] + input[type="button"],
+.post-content input[type="button"] + input[type="reset"],
+.post-content input[type="submit"] + input[type="submit"] {
+	margin-left: 10px;
+}
+
+.post-content input[type="submit"]:hover,
+.post-content input[type="reset"]:hover,
+.post-content input[type="button"]:hover {
+	cursor: pointer;
+	background: #1ABC9C;
+	color: #fff;
+}
+
+.post-content input[type="submit"]:focus,
+.post-content input[type="submit"]:active {
+	outline: none;
+}
+
+
+/* -------------------------------------------------------------------------------- */
+/*	8. Comments
+/* -------------------------------------------------------------------------------- */
+
+
+.comments,
+.comment-respond {
+	border-top: 4px solid #EEE;
+	padding-top: 10%;
+	margin-top: 10%;
+}
+
+.post-meta-bottom + .comments,
+.post-meta-bottom + .comment-respond {
+	border-top: none;
+	padding-top: 0;
+}
+
+.comments-title,
+#reply-title,
+.pingbacks-title {
+	font-size: 1.75em;
+	font-weight: 400;
+	color: #2d2d2d;
+}
+
+.comments-title { margin-bottom: 10%; }
+
+li.comment,
+li > div.comment {
+	margin-bottom: 25px;
+	position: relative;
+}
+
+li > div.comment { 
+	padding-bottom: 25px;
+	border-bottom: 1px solid #EEE; 
+}
+
+.commentlist > li:first-child > div.comment:first-child { border-top: 1px solid #EEE; padding-top: 25px; }
+
+.children > li > div.comment { padding-left: 10%; }
+.children .children > li > div.comment { padding-left: 20%; }
+.children .children .children > li > div.comment { padding-left: 30%; }
+.children .children .children .children > li > div.comment { padding-left: 40%; }
+.children .children .children .children .children > li > div.comment { padding-left: 50%; }
+
+.comment .children li:last-child { margin-bottom: 0; }
+
+.commentlist > li.comment:last-child,
+.commentlist > li.comment div.comment:last-child {
+	margin-bottom: 0;
+}
+
+
+/* Pingback list --------------------------------------- */
+
+
+.comments .pingbacks { margin-top: 5.5%; }
+
+.pingbacks-inner { margin: 0 auto; }
+
+.pingbacks-title { margin-bottom: 20px; }
+
+.pingbacklist li {
+	padding: 0.5em;
+	line-height: 130%;
+}
+
+.pingbacklist a:hover { text-decoration: underline; }
+
+.pingbacklist li:nth-child(odd) { background: #f9f9f9; }
+
+.pingbacklist .comment-edit-link { color: #999; }
+.pingbacklist .comment-edit-link:hover { color: #444; text-decoration: none; }
+
+
+/* Comment meta --------------------------------------- */
+
+
+.comment-meta { margin-bottom: 1em; }
+
+.comment-meta .avatar {
+	display: block;
+	height: 50px;
+	width: 50px;
+	border-radius: 999px;
+	float: left;
+}
+
+.comment-actions {
+	font-size: 0.7em;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+	font-weight: 700;
+}
+
+.comment-actions a { margin-left: 8px; }
+.comment-actions a:first-child { margin-left: 0; }
+
+.comment-meta-content {
+	margin-left: 70px;
+	padding-top: 7px;
+}
+
+.comment-meta-content cite {
+	font-size: 1.075em;
+	color: #444;
+	margin-bottom: 5px;
+	display: block;
+	font-weight: 700;
+}
+
+.bypostauthor .comment-meta-content cite .post-author { 
+	font-weight: 400; 
+	color: #999; 
+	margin-left: 3px; 
+	letter-spacing: 0; 
+}
+
+.comment-meta-content cite a { color: #444; }
+.comment-meta-content cite a:hover { color: #1abc9c; }
+
+.comment-meta-content p {
+	font-size: 0.8em;
+	text-transform: uppercase;
+}
+
+.comment-meta-content p a { color: #BBB; }
+.comment-meta-content p a:hover { color: #1abc9c; }
+
+.comment-awaiting-moderation {
+	position: absolute;
+	right: 0;
+	top: 4px;
+	font-weight: bold;
+	display: block;
+	padding: 10px;
+	background: #CCC;
+	border-radius: 3px;
+	font-size: 0.8rem;
+	color: #FFF;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+}
+
+.comment-awaiting-moderation:hover { background: #2d2d2d; }
+
+
+/* Comment nav below --------------------------------------- */
+
+
+.comment-nav-below {
+	margin-top: 10%;
+	margin-bottom: -5%;
+	border-top: 4px solid #EEE;
+	padding-top: 5%;
+	background: none;
+	font-size: 0.85em;
+	font-weight: 700;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+}
+
+.comment-nav-below a { color: #666; }
+
+
+/* Comment content --------------------------------------- */
+
+
+.comment-content {
+	margin-left: 70px;
+	font-size: 1em;
+}
+
+.comment-content h1,
+.comment-content h2,
+.comment-content h3,
+.comment-content h4,
+.comment-content h5,
+.comment-content h6 {
+	font-size: 1.25em;
+	font-weight: 500;
+	margin-top: 50px;
+	margin-bottom: 10px;
+	text-transform: none;
+}
+
+
+/* Respond --------------------------------------- */
+
+
+.comment-respond { border-top: 0; padding-top: 0; }
+
+.comments + .comment-respond {
+	padding-top: 10%;
+	border-top: 4px solid #EEE;
+	margin-top: 10%;
+}
+
+#reply-title { margin-bottom: 20px; }
+
+#respond a:hover { text-decoration: underline; }
+
+#respond .content-section-right {
+	border-radius: 0 0 4px 4px;
+	border-top: 1px solid #EEE;
+	z-index: 12;
+}
+
+.nocomments {
+	margin-top: 10%;
+	color: #666;
+	text-align: center;
+}
+
+#cancel-comment-reply-link {
+	margin-left: 10px;
+	font-size: 0.9rem;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+	font-weight: 700;
+}
+
+#respond p,
+#respond code {
+	line-height: 150%;
+}
+
+#respond code { border-radius: 2px; }
+
+.comment-form p { margin-bottom: 20px; }
+.comment-form p:last-child { margin-bottom: 0; }
+
+p.comment-notes,
+p.logged-in-as {
+	margin-bottom: 10%;
+	color: #666;
+}
+
+#respond form label,
+.comment-form .required { display: none; }
+
+.comment-form input[type="text"],
+.comment-form input[type="email"],
+.comment-form input.password,
+.comment-form textarea {
+	-webkit-appearance: none;
+	border: none;
+	background: #FAFAFA;
+	font-size: 1em;
+	color: #444;
+	font-family: 'Lato', 'Helvetica Neue', sans-serif;
+	border-radius: 3px;
+	padding: 16px;
+	margin: 0;
+	width: 100%;
+	border: 1px solid #EEE;
+}
+
+.comment-form textarea { line-height: 160%; height: 250px; }
+
+.comment-form input[type="text"]:focus,
+.comment-form input[type="email"]:focus,
+.comment-form input.password:focus,
+.comment-form textarea:focus {
+	outline: none;
+	background-color: #EEE;
+	color: #444;
+}
+
+.comment-form input { max-width: 75%; }
+
+.comment-form input[type="submit"] {
+	width: auto;
+	max-width: none;
+	padding: 16px 18px;
+	margin-bottom: 0;
+	border: none;
+	background: #1D1D1D;
+	color: #FFF;
+	font-family: 'Lato', sans-serif;
+	font-size: 0.925rem;
+	border-radius: 4px;
+}
+
+.comment-form input[type="submit"]:hover {
+	cursor: pointer;
+	background: #1abc9c;
+	color: #FFF;
+}
+
+.comment-form input[type="submit"]:active {
+	top: 1px;
+	position: relative;
+}
+
+p.form-allowed-tags {
+	margin-top: 1.5em;
+	line-height: 160%
+}
+
+.comment-form p.form-submit { margin: 1.5em 0 0; }
+
+
+/* In Commentlist */
+
+
+.commentlist .comment-respond { 
+	margin: 25px 0; 
+	padding-bottom: 25px;
+	border-bottom: 1px solid #eee;
+}
+
+.commentlist .comment-reply-title { margin-bottom: 10px; }
+
+.commentlist p.comment-notes,
+.commentlist p.logged-in-as {
+	margin-bottom: 20px;
+}
+
+
+/* -------------------------------------------------------------------------------- */
+/*	9. Pagination
+/* -------------------------------------------------------------------------------- */
+
+
+.page-title { 
+	margin-bottom: 7.5%; 
+	text-align: center;
+}
+
+.page-title h4 {
+	position: relative;
+	display: inline-block;
+	text-transform: uppercase;
+	font-size: 0.9em;
+	letter-spacing: 1px;
+	font-weight: 700;
+	color: #999;
+	padding-bottom: 5px;
+	border-bottom: 2px solid #EEE;
+}
+
+
+/* Archive nav --------------------------------------- */
+
+
+.archive-nav { margin-top: 15%; }
+
+.archive-nav a { 
+	font-weight: 700;
+	font-size: 0.9rem;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+}
+
+.archive-nav a:hover { color: #1abc9c; }
+
+.archive-nav .post-nav-older { float: left; }
+.archive-nav .post-nav-newer { float: right; }
+
+
+/* -------------------------------------------------------------------------------- */
+/*	10. Page & Page Templates
+/* -------------------------------------------------------------------------------- */
+
+
+/* Search --------------------------------------- */
+
+
+.post-content .searchform { position: relative; }
+
+.post-content .searchform input { height: 60px; }
+
+.post-content .searchform input#s {
+	-webkit-appearance: none;
+	width: 99%;
+	padding: 18px 95px 18px 18px;
+	background: #FFF;
+	border: 1px solid #DDD;
+	border-right: none;
+	font-family: 'Lato', sans-serif;
+	font-size: 1rem;
+	border-radius: 3px 0 0 3px;
+}
+
+.post-content .searchform #s:focus { 
+	outline: none; 
+	background: #EEE;
+	color: #444;
+}
+
+.post-content .searchform #searchsubmit {
+	-webkit-appearance: none;
+	position: absolute;
+	right: 0;
+	top: 0;
+	width: 85px;
+	line-height: 1;
+	border: none;
+	background: #1abc9c;
+	border: 1px solid #1abc9c;
+	color: #FFF;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+	font-size: 0.8rem;
+	font-family: 'Lato', sans-serif;
+	border-radius: 0 3px 3px 0;
+}
+
+.post-content .searchform #searchsubmit:hover {
+	cursor: pointer;
+	background-color: #089D80;
+	border-color: #089D80;
+}
+
+
+/* Archives template --------------------------------------- */
+
+
+.archive-col { font-size: 0.9em; }
+
+.page-template-template-archives-php .post-content ul {
+	margin-left: 0;
+	list-style: none;
+}
+
+.page-template-template-archives-php .post-content ul li { margin-bottom: 0; line-height: 130%; }
+
+.page-template-template-archives-php .post-content ul li a {
+	display: block;
+	border-bottom: 1px solid #EEE;
+	padding: 8px 0;
+}
+
+.page-template-template-archives-php .post-content ul li:last-child a { border-bottom: none; }
+
+.page-template-template-archives-php .post-content ul.children li:first-child a { border-bottom: 1px solid #EEE; }
+
+.page-template-template-archives-php .post-content ul li a span { color: #999; }
+
+.page-template-template-archives-php .post-content ul li a:hover {
+	text-decoration: none;
+	color: #666;
+}
+
+.page-template-template-archives-php .post-content ul li a:hover {
+	background-color: #F9F9F9;
+	padding-left: 12px;
+}
+
+
+/* -------------------------------------------------------------------------------- */
+/*	11. Sidebar
+/* -------------------------------------------------------------------------------- */
+
+
+.widget {
+	padding-bottom: 15%;
+	border-bottom: 4px solid #EEE;
+	margin-bottom: 15%;
+}
+
+.widget:last-child {
+	padding-bottom: 0;
+	border-bottom: 0;
+	margin-bottom: 0;
+}
+
+.widget-title {
+	font-family: 'Raleway', sans-serif;
+	font-size: 1.1rem;
+	text-transform: uppercase;
+	font-weight: 700;
+	margin-bottom: 20px;
+	color: #444;
+}
+
+/* widget-content */
+
+.widget-content {
+	color: #555;
+	font-size: 1rem;
+	line-height: 140%;
+}
+
+.widget-content *:last-child { margin-bottom: 0; }
+
+.widget-content a:hover { text-decoration: underline }
+
+.widget-content p {
+	line-height: 150%;
+	margin-bottom: 1em;
+}
+
+.widget-content ul li {
+	padding: 10px 0;
+	border-top: 1px solid #EEE;
+	line-height: 130%;
+}
+
+.widget-content li ul > li:first-child { margin-top: 10px; }
+.widget-content .page_item_has_children { padding-bottom: 0; }
+
+.widget-content li ul li { padding-left: 15px; }
+
+.widget-content ul li .post-date { margin-left: 5px; color: #999; }
+
+.widget-content > ul > li:first-child { border-top: 0; }
+
+
+/* Widget search --------------------------------------- */
+
+
+.widget_search form { position: relative; }
+
+.widget_search input { height: 52px; }
+
+.widget_search input#s {
+	-webkit-appearance: none;
+	width: 99%;
+	padding: 18px 95px 18px 18px;
+	background: #FFF;
+	border: 1px solid #DDD;
+	border-right: none;
+	font-family: 'Lato', sans-serif;
+	font-size: 1rem;
+	border-radius: 3px 0 0 3px;
+}
+
+.widget_search #s:focus { 
+	outline: none; 
+	background: #EEE;
+	color: #444;
+}
+
+.widget_search #searchsubmit {
+	-webkit-appearance: none;
+	position: absolute;
+	right: 0;
+	top: 0;
+	width: 85px;
+	line-height: 1;
+	border: none;
+	background: #1abc9c;
+	border: 1px solid #1abc9c;
+	color: #FFF;
+	text-transform: uppercase;
+	letter-spacing: 1px;
+	font-size: 0.8rem;
+	font-family: 'Lato', sans-serif;
+	border-radius: 0 3px 3px 0;
+}
+
+.widget_search #searchsubmit:hover {
+	cursor: pointer;
+	background-color: #089D80;
+	border-color: #089D80;
+}
+
+
+/* Widget calendar --------------------------------------- */
+
+
+#wp-calendar {
+	color: #888;
+	width: 100%;
+	max-width: 100%;
+	text-align: center;
+	font-size: 0.9em;
+}
+
+#wp-calendar a { color: #1abc9c; }
+
+#wp-calendar,
+#wp-calendar caption,
+#wp-calendar tr,
+#wp-calendar td,
+#wp-calendar th {
+	text-align: center;
+}
+
+#wp-calendar caption,
+#wp-calendar th,
+#wp-calendar td {
+	padding: 4% 2%;
+}
+
+#wp-calendar caption,
+#wp-calendar thead {
+	color: #666;
+	border-bottom: 1px solid #EEE;
+}
+
+#wp-calendar caption { text-transform: capitalize; }
+
+#wp-calendar thead th {
+	font-weight: bold;
+	text-transform: uppercase;
+	font-size: 0.9em;
+}
+
+#wp-calendar tfoot { border-top: 1px solid #EEE; }
+#wp-calendar tfoot td { padding: 0; }
+#wp-calendar tfoot #prev { text-align: left; }
+#wp-calendar tfoot #next { text-align: right; }
+
+#wp-calendar tfoot a {
+	display: block;
+	color: #999;
+	padding: 0.6em;
+}
+
+#wp-calendar tfoot a:hover {
+	text-decoration: none;
+	color: #1abc9c;
+	background: rgba(255, 255, 255, .05);
+}
+
+
+/* Widget tag cloud --------------------------------------- */
+
+
+.widget_tag_cloud .tagcloud a { font-size: 0.9em !important; }
+
+.tagcloud a {
+	display: block;
+	float: left;
+	padding: 8px 11px;
+	line-height: 1;
+	margin: 0 5px 5px 0;
+	background: #BBB;
+	color: #FFF;
+	border-radius: 3px;
+}
+
+.tagcloud a:hover {
+	background: #1abc9c;
+	text-decoration: none;
+	color: #FFF;
+}
+
+
+/* Widget Flickr --------------------------------------- */
+
+
+.flickr_badge_image {
+	width: 30%;
+	margin-bottom: 5%;
+	margin-left: 5%;
+	overflow: hidden;
+	float: left;
+	line-height: 0;
+}
+
+#flickr_badge_image1,
+#flickr_badge_image4,
+#flickr_badge_image7,
+#flickr_badge_image10,
+#flickr_badge_image13,
+#flickr_badge_image16,
+#flickr_badge_image19,
+#flickr_badge_image22,
+#flickr_badge_image25 {
+	margin-left: 0;
+}
+
+.flickr_badge_image img {
+	display: block;
+	padding: 5px;
+	background: #EEE;
+}
+
+.flickr_badge_image a:hover img { background: #1abc9c; }
+
+.widgetmore a {
+	display: block;
+	clear: both;
+	padding: 0.5em 0;
+}
+
+
+/* Widget Dribbble --------------------------------------- */
+
+
+.dribbble-shot {
+	display: block;
+	width: 47.5%;
+	margin-bottom: 5%;
+	margin-right: 5%;
+	overflow: hidden;
+	float: left;
+	line-height: 0;
+}
+
+.dribbble-shot:nth-child(2n) { margin-right: 0; }
+
+.dribbble-shot img {
+	display: block;
+	padding: 5px;
+	background: #EEE;
+}
+
+.dribbble-shot:hover img { background: #1abc9c; }
+
+
+/* -------------------------------------------------------------------------------- */
+/*	12. Footer
+/* -------------------------------------------------------------------------------- */
+
+
+.footer {
+	font-size: 0.9em;
+	margin-top: 7.5%;
+}
+
+.column {
+	width: 30%;
+	margin-left: 5%;
+}
+
+.column:first-child { margin-left: 0; }
+
+
+/* Footer widgets --------------------------------------- */
+
+
+.footer .widget { border-bottom-color: rgba(255,255,255,0.1) }
+
+.footer .widget-title { color: #EEE; letter-spacing: 1px; font-weight: 600; }
+
+.footer .widget-content { color: #666; }
+
+.footer .widget-content ul li { border-top-color: rgba(255,255,255,0.1); }
+
+.footer .widget-content > ul > li:first-child { border-top: none; }
+
+
+/* Widget search --------------------------------------- */
+
+
+.footer .widget_search #s:focus { 
+	outline: none; 
+	background: #FFF;
+	border-color: #DDD;
+	color: #444;
+}
+
+
+/* Widget calendar --------------------------------------- */
+
+
+#wp-calendar caption,
+#wp-calendar thead { border-bottom-color: rgba(255,255,255,0.1); }
+#wp-calendar tfoot { border-top-color: rgba(255,255,255,0.1); }
+
+
+.footer .flickr_badge_image img,
+.footer .dribbble-shot img { background: rgba(255,255,255,0.1); }
+
+.footer .flickr_badge_image a:hover img,
+.footer .dribbble-shot:hover img { background: #1abc9c; }
+
+
+/* Widget tag cloud --------------------------------------- */
+
+
+.footer .tagcloud a { background-color: rgba(255,255,255,0.1); color: #FFF; }
+.footer .tagcloud a:hover { background-color: #1abc9c; color: #FFF; }
+
+
+/* -------------------------------------------------------------------------------- */
+/*	13. Credits
+/* -------------------------------------------------------------------------------- */
+
+
+.credits.no-padding { font-size: 0.8rem; }
+
+.credits-inner { 
+	padding: 25px 0 4%;
+	border-top: 2px solid rgba(255,255,255,0.1);
+	text-transform: uppercase;
+	letter-spacing: 1px;
+}
+
+.credits,
+.credits a { color: #666; }
+
+.credits-left { float: left; }
+.credits-right { float: right; }
+
+.tothetop:hover { cursor: pointer; }
+
+img#wpstats { display: none; }
+
+
+/* -------------------------------------------------------------------------------- */
+/*	14. Responsive
+/* -------------------------------------------------------------------------------- */
+
+
+@media (max-width: 1040px) {
+
+
+	body { font-size: 16px; }
+	
+	/* Structure --------------------------------------- */
+	
+	.wrapper { 	margin-top: 7.5%; }
+
+
+}
+
+@media (max-width: 800px) {
+
+	body { font-size: 18px; } 
+
+	/* Structure --------------------------------------- */
+
+	.content,
+	.sidebar {
+		width: 100%;
+		float: none;
+	}
+	
+	.sidebar { display: none; }
+	
+	.section.large-padding,
+	.section.medium-padding { padding: 40px 0; }
+	
+	.footer { margin-top: 60px; }
+	
+	/* Navigation --------------------------------------- */
+	
+	.navigation-inner { max-width: 100%; }
+			
+	.blog-menu { display: none; }
+	
+	.toggle-container { 
+		display: block; 
+		background: #1D1D1D;
+	}
+	
+	.toggle {
+		display: inline-block;
+		position: relative;
+		height: 57px;
+		width: 32px;
+		padding: 20px 0px;
+	}
+	
+	.toggle:hover { cursor: pointer; }
+	
+	.nav-toggle { float: left; margin-left: 7%; }
+	.search-toggle { float: right; margin-right: 7%; }
+		
+	.nav-toggle:hover { cursor: pointer; }
+	
+	.nav-toggle .bar {
+		display: block;
+		width: 24px;
+		height: 3px;
+		margin-top: 4px;
+		background: #666;
+	}
+	
+	.nav-toggle .bar:first-child { margin-top: 0; }
+		
+	.nav-toggle.active .bar { background-color: #FFF; }
+	
+	.search-toggle .metal,
+	.search-toggle .glass,
+	.search-toggle .handle {
+		position: absolute;
+	}
+	
+	.search-toggle .metal {
+		width: 24px;
+		height: 24px;
+		top: 14px;
+		left: 6px;
+		border-radius: 999px;
+		background: #555;
+	}
+	
+	.search-toggle .glass {
+		width: 14px;
+		height: 14px;
+		top: 19px;
+		left: 11px;
+		border-radius: 999px;
+		background: #1D1D1D;
+	}
+	
+	.search-toggle .handle {
+		height: 5px;
+		width: 14px;
+		top: 36px;
+		left: 0px;
+		background: #555;
+		border-radius: 2px 0 0 2px;
+		-webkit-transform: rotate(-45deg);
+		-moz-transform: rotate(-45deg);
+		-ms-transform: rotate(-45deg);
+		-o-transform: rotate(-45deg);
+		transform: rotate(-45deg);
+	}
+	
+	.search-toggle.active .metal,
+	.search-toggle.active .handle { background: #FFF; }
+	
+	.blog-search,
+	.navigation { background: #282828; }
+	
+	.mobile-menu a {
+		display: block;
+		padding: 24px;
+		font-size: 12px;
+		border-bottom: 1px solid rgba(255,255,255,0.1);
+		background: #282828;
+		display: block;
+		text-transform: uppercase;
+		letter-spacing: 1px;
+		color: rgba(255,255,255,0.4);
+		font-size: 13px;
+	}
+	
+	.mobile-menu a:hover,
+	.mobile-menu .current-menu-item a { color: #FFF; }
+	
+	.mobile-menu ul a { width: 100%; }
+	
+	.mobile-menu ul a { padding-left: 40px; }
+	.mobile-menu ul ul a { padding-left: 60px; }
+	.mobile-menu ul ul ul a { padding-left: 80px; }
+	.mobile-menu ul ul ul ul a { padding-left: 100px; }
+	.mobile-menu ul ul ul ul ul a { padding-left: 120px; }
+	
+	.blog-search { padding: 8%; }
+		
+	.blog-search .searchform { 
+		position: relative; 
+		overflow: hidden; 
+	}
+	
+	.blog-search #s {
+		width: 97.5%;
+		padding: 18px 100px 18px 20px;
+		background: #FFF;
+		font-family: 'Lato', sans-serif;
+		font-size: 1em;
+		color: #444;
+		border: none;
+		border-radius: 4px 0 0 4px;
+		margin: 0;
+	}
+	
+	.blog-search #s:focus { outline: none; }
+	
+	.blog-search #searchsubmit {
+		-webkit-appearance: none;
+		position: absolute;
+		right: 0;
+		top: 0;
+		width: 85px;
+		padding: 20px 0;
+		line-height: 1;
+		border: none;
+		margin: 0;
+		background: #1abc9c;
+		border: 1px solid #1abc9c;
+		color: #FFF;
+		text-transform: uppercase;
+		letter-spacing: 1px;
+		font-size: 0.8rem;
+		font-family: 'Lato', sans-serif;
+		border-radius: 0 4px 4px 0;
+	}
+	
+	.blog-search #searchsubmit:hover { 
+		cursor: pointer;
+		background-color: #089D80;
+		border-color: #089D80;
+	}
+	
+	/* Pagination --------------------------------------- */
+	
+	.archive-nav { margin-top: 60px; }
+
+
+}
+
+@media (max-width: 700px) {
+
+	body { font-size: 16px; } 	
+	
+	/* Header --------------------------------------- */
+	
+	.header.section { padding: 60px 0; }
+	
+	.blog-info { padding: 20px; }
+	.blog-description:before { margin: 15px auto; }
+	
+	/* Main content --------------------------------------- */
+	
+	.post {
+		padding-bottom: 35px;
+		margin-bottom: 35px;
+	}
+	
+	.post:last-child { padding-bottom: 0; border-bottom: none; margin-bottom: 0; }
+	
+	.featured-media { margin-bottom: 25px; }
+	
+	.post-header { margin-bottom: 25px; }
+	
+	.post-title { margin-bottom: 12px; }
+	
+	.post-meta-bottom { margin-top: 40px; }
+	
+	/* Post content --------------------------------------- */
+	
+	.post-content h1,
+	.post-content h2,
+	.post-content h3,
+	.post-content h4,
+	.post-content h5,
+	.post-content h6 {
+		margin-top: 30px;
+		margin-bottom: 10px;
+	}
+		
+	/* Comments --------------------------------------- */
+	
+	.comments { padding-top: 30px; margin-top: 30px; }
+		
+	.comments-title, #reply-title { font-size: 1.5em; }
+	.comments-title { margin-bottom: 30px; }
+	
+	.comment-meta-content { padding-top: 9px; }
+	
+	.comment-actions { margin-top: 10px; }
+	
+	.comment-meta .comment-actions { display: none; }
+	
+	.comment-content .comment-actions {
+		display: block;
+		position: relative;
+		top: auto;
+		right: auto;
+		margin-top: 1em;
+	}
+			
+	.comment-content h1,
+	.comment-content h2,
+	.comment-content h3,
+	.comment-content h4,
+	.comment-content h5,
+	.comment-content h6 {
+		margin-top: 30px;
+		margin-bottom: 10px;
+	}
+	
+	/* Respond --------------------------------------- */
+	
+	.comment-respond { margin-top: 30px; }
+	
+	#reply-title { margin-bottom: 10px; }
+	
+	.comment-form input { max-width: 100%; }
+	
+	.comment-form p { margin-bottom: 15px; }
+	
+	p.comment-notes,
+	p.logged-in-as {
+		margin-bottom: 30px;
+	}
+	
+	.comment-form textarea { height: 180px; }
+	
+	/* Footer --------------------------------------- */
+	
+	.footer { margin-top: 60px; }
+	
+	.footer .column {
+		width: 100%;
+		margin-left: 0;
+		padding-top: 40px;
+		border-top: 4px solid rgba(255,255,255,0.1);
+		margin-top: 40px;
+	}
+	
+	.footer .column:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
+	
+	.widget {
+		margin-bottom: 40px;
+		border-bottom: 4px solid rgba(255,255,255,0.1);
+		padding-bottom: 40px;
+	}
+	
+	/* Credits --------------------------------------- */
+	
+	.credits.section { border-top: 1px solid rgba(255,255,255,0.1); }
+	
+	.credits-inner { 
+		padding: 30px 0; 
+		border-top: 0;
+		text-align: center;
+	}
+	
+	.credits p { float: none; display: inline; }
+	
+	.credits .right,
+	.credits span { display: none; }
+	
+}
+
+@media (max-width: 500px) {
+	
+	
+	body { font-size: 15px; }
+	
+	/* Header --------------------------------------- */
+	
+	.header.section { padding: 30px 0; }
+	
+	/* Post --------------------------------------- */
+	
+	.post-title { font-size: 1.75em; }
+	
+	.post-author { display: none; }
+	.post-header .date-sep:nth-of-type(2) { display: none; }
+	
+	.media-caption-container {
+		position: static;
+		top: auto;
+		left: auto;
+		width: 100%;
+		margin: -3px 0 0 0;
+	}
+	
+	.media-caption {
+		padding: 10px;
+		border-radius: 0 0 4px 4px;
+		background: #EEE;
+		color: #666;
+		width: 100%;
+	}
+	
+	.media-caption:hover { background: #EEE; color: #666; }
+	
+	/* Single post --------------------------------------- */
+		
+	.post-cat-tags p { display: block; }
+	.post-cat-tags p:last-child { margin-left: 0; margin-top: 10px; }
+	
+	.single .post-nav { padding: 0; font-size: 1em; }
+	
+	.single .post-nav a,
+	.single .post-nav .post-nav-newer { 
+		max-width: 100%;
+		float: none; 
+		text-align: left;
+		padding: 20px 0;
+	}
+	
+	.single .post-nav .post-nav-newer { border-top: 1px solid #EEE; }	
+	.single .post-nav .post-nav-newer h5 { text-align: left; }
+	
+	/* Post formats --------------------------------------- */
+	
+	.blog .format-quote .post-content,
+	.archive .format-quote .post-content,
+	.search .format-quote .post-content {
+		padding: 20px;
+	}
+	
+	.blog .format-quote .post-content blockquote,
+	.archive .format-quote .post-content blockquote,
+	.search .format-quote .post-content blockquote {
+		font-size: 1em;
+	}
+	
+	.blog .format-quote .post-content blockquote cite,
+	.archive .format-quote .post-content blockquote cite,
+	.search .format-quote .post-content blockquote cite {
+		font-size: 0.75rem;
+	}
+	
+	/* Post content --------------------------------------- */
+	
+	.post-content .alignleft,
+	.post-content .alignright { 
+		float: none; 
+		max-width: 100%;
+		margin: 0 auto 1.2em auto;
+	}
+	
+	.post-content .alignleft img,
+	.post-content .alignright img { 
+		display: block;
+		margin: 0 auto;
+	}
+	
+	/* Comments --------------------------------------- */
+	
+	.comment-meta-content { margin-left: 65px; }
+	
+	.comment-content { margin-left: 0; }
+	
+	/* Pagination --------------------------------------- */
+	
+	.archive-nav { margin-top: 40px; }
+	
+	.archive-nav a { font-size: 0.8rem; }
+	
+	.post-nav span,
+	.archive-nav span,
+	.comment-nav-below span { display: none; }
+	
+	/* Footer --------------------------------------- */
+	
+	.footer { margin-top: 40px; }
+	
+	
+}

+ 159 - 0
template-archives.php

@@ -0,0 +1,159 @@
+<?php
+/*
+Template Name: Archive template
+*/
+?>
+
+<?php get_header(); ?>
+
+<div class="wrapper section-inner">						
+
+	<div class="content left">
+			
+		<div class="posts">
+	
+			<div class="post">
+			
+				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+				
+					<?php if ( has_post_thumbnail() ) : ?>
+					
+					<div class="featured-media">
+					
+						<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
+						
+							<?php the_post_thumbnail('post-image'); ?>
+							
+							<?php if ( !empty(get_post(get_post_thumbnail_id())->post_excerpt) ) : ?>
+											
+								<div class="media-caption-container">
+								
+									<p class="media-caption"><?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?></p>
+									
+								</div>
+								
+							<?php endif; ?>
+							
+						</a>
+								
+					</div> <!-- /featured-media -->
+						
+				<?php endif; ?>
+													
+					<div class="post-header">
+												
+					    <h2 class="post-title"><?php the_title(); ?></h2>
+					    				    
+				    </div> <!-- /post-header -->
+				   				        			        		                
+					<div class="post-content">
+								                                        
+						<?php the_content(); ?>
+						
+						<div class="archive-box">
+					
+							<div class="archive-col">
+												
+								<h3><?php _e('Last 30 Posts', 'hemingway') ?></h3>
+								            
+					            <ul>
+						            <?php $archive_30 = get_posts('numberposts=30');
+						            foreach($archive_30 as $post) : ?>
+						                <li>
+						                	<a href="<?php the_permalink(); ?>">
+						                		<?php the_title();?> 
+						                		<span>(<?php the_time(get_option('date_format')); ?>)</span>
+						                	</a>
+						                </li>
+						            <?php endforeach; ?>
+					            </ul>
+					            
+					            <h3><?php _e('Archives by Categories', 'hemingway') ?></h3>
+					            
+					            <ul>
+					                <?php wp_list_categories( 'title_li=', 'hemingway' ); ?>
+					            </ul>
+					            
+					            <h3><?php _e('Archives by Tags', 'hemingway') ?></h3>
+					            
+					            <ul>
+					                <?php $tags = get_tags();
+					                
+					                if ($tags) {
+					                    foreach ($tags as $tag) {
+					                 	   echo '<li><a href="' . get_tag_link( $tag->term_id ) . '" title="' . sprintf( __( "View all posts in %s", 'hemingway' ), $tag->name ) . '" ' . '>' . $tag->name.'</a></li> ';
+					                    }
+					                }
+					                
+					                wp_reset_query();?>
+					            </ul>
+				            
+				            </div> <!-- /archive-col -->
+				            
+				            <div class="archive-col">
+				            
+				            	<h3><?php _e('Contributors', 'hemingway') ?></h3>
+				            	
+				            	<ul>
+				            		<?php wp_list_authors(); ?> 
+				            	</ul>
+				            	
+				            	<h3><?php _e('Archives by Year', 'hemingway') ?></h3>
+				            	
+				            	<ul>
+				            	    <?php wp_get_archives('type=yearly'); ?>
+				            	</ul>
+				            	
+				            	<h3><?php _e('Archives by Month', 'hemingway') ?></h3>
+				            	
+				            	<ul>
+				            	    <?php wp_get_archives('type=monthly'); ?>
+				            	</ul>
+				            
+					            <h3><?php _e('Archives by Day', 'hemingway') ?></h3>
+					            
+					            <ul>
+					                <?php wp_get_archives('type=daily'); ?>
+					            </ul>
+				            
+				            </div> <!-- /archive-col -->
+				            
+				            <div class="clear"></div>
+		            
+			            </div> <!-- /archive-box -->
+			            
+			            <?php if ( current_user_can( 'manage_options' ) ) : ?>
+																		
+							<p><?php edit_post_link( __('Edit', 'hemingway') ); ?></p>
+						
+						<?php endif; ?>
+															            			                        
+					</div> <!-- /post-content -->
+											
+					<div class="clear"></div>
+					
+					<?php if ( comments_open() ) : ?>
+			
+						<?php comments_template( '', true ); ?>
+					
+					<?php endif; ?>
+				
+				<?php endwhile; else: ?>
+		
+					<p><?php _e("We couldn't find any posts that matched your query. Please try again.", "hemingway"); ?></p>
+			
+				<?php endif; ?>
+	
+			</div> <!-- /post -->
+		
+		</div> <!-- /posts -->
+	
+	</div> <!-- /content -->
+	
+	<?php get_sidebar(); ?>
+
+	<div class="clear"></div>
+	
+</div> <!-- /wrapper section-inner -->
+								
+<?php get_footer(); ?>

+ 83 - 0
template-fullwidth.php

@@ -0,0 +1,83 @@
+<?php
+/*
+Template Name: Full width template
+*/
+?>
+
+<?php get_header(); ?>
+
+<div class="wrapper section-inner">						
+
+	<div class="content full-width">
+	
+		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+			
+		<div class="posts">
+	
+			<div class="post">
+			
+				<?php if ( has_post_thumbnail() ) : ?>
+					
+					<div class="featured-media">
+					
+						<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
+						
+							<?php the_post_thumbnail('post-image'); ?>
+							
+							<?php if ( !empty(get_post(get_post_thumbnail_id())->post_excerpt) ) : ?>
+											
+								<div class="media-caption-container">
+								
+									<p class="media-caption"><?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?></p>
+									
+								</div>
+								
+							<?php endif; ?>
+							
+						</a>
+								
+					</div> <!-- /featured-media -->
+						
+				<?php endif; ?>
+													
+				<div class="post-header">
+											
+				    <h2 class="post-title"><?php the_title(); ?></h2>
+				    				    
+			    </div> <!-- /post-header -->
+			   				        			        		                
+				<div class="post-content">
+							                                        
+					<?php the_content(); ?>
+		            
+		            <?php if ( current_user_can( 'manage_options' ) ) : ?>
+																	
+						<p><?php edit_post_link( __('Edit', 'hemingway') ); ?></p>
+					
+					<?php endif; ?>
+					
+					<div class="clear"></div>
+														            			                        
+				</div> <!-- /post-content -->
+	
+			</div> <!-- /post -->
+			
+			<?php if ( comments_open() ) : ?>
+			
+				<?php comments_template( '', true ); ?>
+			
+			<?php endif; ?>
+		
+		</div> <!-- /posts -->
+		
+		<?php endwhile; else: ?>
+
+			<p><?php _e("We couldn't find any posts that matched your query. Please try again.", "hemingway"); ?></p>
+	
+		<?php endif; ?>
+	
+	</div> <!-- /content -->
+	
+</div> <!-- /wrapper section-inner -->
+								
+<?php get_footer(); ?>

+ 83 - 0
template-nosidebar.php

@@ -0,0 +1,83 @@
+<?php
+/*
+Template Name: No sidebar template
+*/
+?>
+
+<?php get_header(); ?>
+
+<div class="wrapper section-inner">						
+
+	<div class="content center">
+	
+		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
+			
+		<div class="posts">
+	
+			<div class="post">
+			
+				<?php if ( has_post_thumbnail() ) : ?>
+					
+					<div class="featured-media">
+					
+						<a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>">
+						
+							<?php the_post_thumbnail('post-image'); ?>
+							
+							<?php if ( !empty(get_post(get_post_thumbnail_id())->post_excerpt) ) : ?>
+											
+								<div class="media-caption-container">
+								
+									<p class="media-caption"><?php echo get_post(get_post_thumbnail_id())->post_excerpt; ?></p>
+									
+								</div>
+								
+							<?php endif; ?>
+							
+						</a>
+								
+					</div> <!-- /featured-media -->
+						
+				<?php endif; ?>
+													
+				<div class="post-header">
+											
+				    <h2 class="post-title"><?php the_title(); ?></h2>
+				    				    
+			    </div> <!-- /post-header -->
+			   				        			        		                
+				<div class="post-content">
+							                                        
+					<?php the_content(); ?>
+		            
+		            <?php if ( current_user_can( 'manage_options' ) ) : ?>
+																	
+						<p><?php edit_post_link( __('Edit', 'hemingway') ); ?></p>
+					
+					<?php endif; ?>
+					
+					<div class="clear"></div>
+														            			                        
+				</div> <!-- /post-content -->
+	
+			</div> <!-- /post -->
+			
+			<?php if ( comments_open() ) : ?>
+			
+				<?php comments_template( '', true ); ?>
+			
+			<?php endif; ?>
+		
+		</div> <!-- /posts -->
+		
+		<?php endwhile; else: ?>
+
+			<p><?php _e("We couldn't find any posts that matched your query. Please try again.", "hemingway"); ?></p>
+	
+		<?php endif; ?>
+	
+	</div> <!-- /content -->
+	
+</div> <!-- /wrapper section-inner -->
+								
+<?php get_footer(); ?>

+ 99 - 0
widgets/dribbble-widget.php

@@ -0,0 +1,99 @@
+<?php 
+
+// Dribbble widget for hemingway WordPress theme
+
+include_once(ABSPATH . WPINC . '/feed.php');
+
+class hemingway_dribbble_widget extends WP_Widget {
+
+	function __construct() {
+        $widget_ops = array( 'classname' => 'hemingway_dribbble_widget', 'description' => __('Displays your latest Dribbble photos.', 'hemingway') );
+        parent::__construct( 'hemingway_dribbble_widget', __('Dribbble Widget','hemingway'), $widget_ops );
+    }
+
+	function widget($args, $instance) {
+	
+		extract($args);
+		
+		$widget_title = apply_filters('widget_title', $instance['widget_title']);
+		$dribbble_username = $instance['dribbble_username'];
+		$dribbble_number = $instance['dribbble_number'];
+		$unique_id = $args['widget_id'];
+		
+		echo $before_widget;
+		
+		if (!empty($widget_title)) {
+		
+			echo $before_title . $widget_title . $after_title;
+			
+		}
+		
+			$rss = fetch_feed("http://dribbble.com/players/$dribbble_username/shots.rss");
+			add_filter( 'wp_feed_cache_transient_lifetime', create_function( '$a', 'return 1800;' ) );
+			if (!is_wp_error( $rss ) ) : 
+				$items = $rss->get_items(0, $rss->get_item_quantity($dribbble_number)); 
+			endif;
+		
+			if (!empty($items)): ?>
+			
+				<div class="dribbble-container">
+						
+					<?php foreach ( $items as $item ):
+						$title = $item->get_title();
+						$link = $item->get_permalink();
+						$description = $item->get_description();
+						
+						preg_match("/src=\"(http.*(jpg|jpeg|gif|png))/", $description, $image_url);
+						$image = $image_url[1]; ?>
+																												
+							<a href="<?php echo $link; ?>" title="<?php echo $title;?>" class="dribbble-shot"><img src="<?php echo $image; ?>" alt="<?php echo $title;?>"/></a> 
+																																			 	
+					<?php endforeach; ?>
+					
+					<p class="widgetmore"><a href="http://www.dribbble.com/<?php echo $dribbble_user; ?>"><?php printf( __('Follow %s on Dribbble &raquo;','hemingway'), $dribbble_username); ?></a></p>
+				
+				</div>
+							
+			<?php endif;
+	
+			echo $after_widget;
+		
+		}
+	
+	
+	function update($new_instance, $old_instance) {
+	
+		//update and save the widget
+		return $new_instance;
+		
+	}
+	
+	function form($instance) {
+	
+		// Get the options into variables, escaping html characters on the way
+		$widget_title = $instance['widget_title'];
+		$dribbble_username = $instance['dribbble_username'];
+		$dribbble_number = $instance['dribbble_number'];
+		?>
+		
+		<p>
+			<label for="<?php echo $this->get_field_id('widget_title'); ?>"><?php  _e('Title', 'hemingway'); ?>:
+			<input id="<?php echo $this->get_field_id('widget_title'); ?>" name="<?php echo $this->get_field_name('widget_title'); ?>" type="text" class="widefat" value="<?php echo $widget_title; ?>" /></label>
+		</p>
+				
+		
+		<p>
+			<label for="<?php echo $this->get_field_id('dribbble_username'); ?>"><?php  _e('Dribbble username', 'hemingway'); ?>:
+			<input id="<?php echo $this->get_field_id('dribbble_username'); ?>" name="<?php echo $this->get_field_name('dribbble_username'); ?>" type="text" class="widefat" value="<?php echo $dribbble_username; ?>" /></label>
+		</p>
+		
+		
+		<p>
+			<label for="<?php echo $this->get_field_id('dribbble_number'); ?>"><?php _e('Number of images to display:', 'hemingway'); ?>
+			<input id="<?php echo $this->get_field_id('dribbble_number'); ?>" name="<?php echo $this->get_field_name('dribbble_number'); ?>" type="text" class="widefat" value="<?php echo $dribbble_number; ?>" /></label>
+		</p>
+		
+		<?php
+	}
+}
+register_widget('hemingway_dribbble_widget'); ?>

+ 74 - 0
widgets/flickr-widget.php

@@ -0,0 +1,74 @@
+<?php 
+
+// Flickr widget for hemingway WordPress theme
+
+class hemingway_flickr_widget extends WP_Widget {
+	
+	function __construct() {
+        $widget_ops = array( 'classname' => 'hemingway_flickr_widget', 'description' => __('Displays your latest Flickr photos.', 'hemingway') );
+        parent::__construct( 'hemingway_dribbble_widget', __('Flickr Widget','hemingway'), $widget_ops );
+    }
+	
+	function widget($args, $instance) {
+	
+		// Outputs the content of the widget
+		extract($args); // Make before_widget, etc available.
+		
+		$widget_title = apply_filters('widget_title', $instance['widget_title']);
+		$fli_id = $instance['id'];
+		$fli_number = $instance['number'];
+		$unique_id = $args['widget_id'];
+		
+		echo $before_widget;
+		
+		
+		if (!empty($widget_title)) {
+		
+			echo $before_title . $widget_title . $after_title;
+			
+		} ?>
+				
+			<script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count=<?php echo $fli_number; ?>&amp;display=latest&amp;size=s&amp;layout=x&amp;source=user&amp;user=<?php echo $fli_id; ?>"></script>
+					
+		<p class="widgetmore"><a href="http://www.flickr.com/photos/<?php echo "$fli_id"; ?>"><?php _e('More on Flickr &raquo;', 'hemingway'); ?></a></p>
+		
+		<?php echo $after_widget; 
+	}
+	
+	
+	function update($new_instance, $old_instance) {
+	
+		//update and save the widget
+		return $new_instance;
+		
+	}
+	
+	function form($instance) {
+	
+		// Get the options into variables, escaping html characters on the way
+		$widget_title = $instance['widget_title'];
+		$fli_id = $instance['id'];
+		$fli_number = $instance['number'];
+		?>
+		
+		<p>
+			<label for="<?php echo $this->get_field_id('widget_title'); ?>"><?php  _e('Title', 'hemingway'); ?>:
+			<input id="<?php echo $this->get_field_id('widget_title'); ?>" name="<?php echo $this->get_field_name('widget_title'); ?>" type="text" class="widefat" value="<?php echo $widget_title; ?>" /></label>
+		</p>
+				
+		
+		<p>
+			<label for="<?php echo $this->get_field_id('id'); ?>"><?php _e('Flickr ID (use <a target="_blank" href="http://www.idgettr.com">idGettr</a>):', 'hemingway'); ?>
+			<input id="<?php echo $this->get_field_id('id'); ?>" name="<?php echo $this->get_field_name('id'); ?>" type="text" class="widefat" value="<?php echo $fli_id; ?>" /></label>
+		</p>
+		
+		
+		<p>
+			<label for="<?php echo $this->get_field_id('number'); ?>"><?php _e('Number of images to display:', 'hemingway'); ?>
+			<input id="<?php echo $this->get_field_id('number'); ?>" name="<?php echo $this->get_field_name('number'); ?>" type="text" class="widefat" value="<?php echo $fli_number; ?>" /></label>
+		</p>
+		
+		<?php
+	}
+}
+register_widget('hemingway_flickr_widget'); ?>

+ 82 - 0
widgets/video-widget.php

@@ -0,0 +1,82 @@
+<?php 
+
+// Video widget for hemingway WordPress theme
+
+class hemingway_video_widget extends WP_Widget {
+
+	function hemingway_video_widget() {
+		parent::WP_Widget(false, $name = 'Video widget', array('description' => __('Displays a video of your choosing.', 'hemingway') ));	
+	}
+	
+	function __construct() {
+        $widget_ops = array( 'classname' => 'hemingway_video_widget', 'description' => __('Displays a video of your choosing.', 'hemingway') );
+        parent::__construct( 'hemingway_video_widget', __('Video Widget','hemingway'), $widget_ops );
+    }
+	
+	function widget($args, $instance) {
+	
+		// Outputs the content of the widget
+		extract($args); // Make before_widget, etc available.
+		
+		$widget_title = apply_filters('widget_title', $instance['widget_title']);
+		$video_url = $instance['video_url'];
+		
+		echo $before_widget;
+		
+		if (!empty($widget_title)) {
+		
+			echo $before_title . $widget_title . $after_title;
+			
+		} ?>
+			
+			<?php if (strpos($video_url,'.mp4') !== false) : ?>
+				
+				<video controls>
+				  <source src="<?php echo $video_url; ?>" type="video/mp4">
+				</video>
+																		
+			<?php else : ?>
+				
+				<?php 
+				
+					$embed_code = wp_oembed_get($video_url); 
+					
+					echo $embed_code;
+					
+				?>
+					
+			<?php endif; ?>
+							
+		<?php echo $after_widget; 
+	}
+	
+	
+	function update($new_instance, $old_instance) {
+	
+		//update and save the widget
+		return $new_instance;
+		
+	}
+	
+	function form($instance) {
+	
+		// Get the options into variables, escaping html characters on the way
+		$widget_title = $instance['widget_title'];
+		$video_url = $instance['video_url'];
+		?>
+		
+		<p>
+			<label for="<?php echo $this->get_field_id('widget_title'); ?>"><?php  _e('Title', 'hemingway'); ?>:
+			<input id="<?php echo $this->get_field_id('widget_title'); ?>" name="<?php echo $this->get_field_name('widget_title'); ?>" type="text" class="widefat" value="<?php echo $widget_title; ?>" /></label>
+		</p>
+		
+				
+		<p>
+			<label for="<?php echo $this->get_field_id('video_url'); ?>"><?php  _e('Video URL', 'hemingway'); ?>:
+			<input id="<?php echo $this->get_field_id('video_url'); ?>" name="<?php echo $this->get_field_name('video_url'); ?>" type="text" class="widefat" value="<?php echo $video_url; ?>" /></label>
+		</p>
+						
+		<?php
+	}
+}
+register_widget('hemingway_video_widget'); ?>