Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Major optimization pass

  • Loading branch information...
commit 5685749b3792cd7b6ccfa5fc7426a9f7bfa173ac 1 parent fd859c5
P.J. Onori authored
Showing with 1,342 additions and 652 deletions.
  1. +1 −1  frank/404.php
  2. +258 −0 frank/admin/frank-theme-options.php
  3. +4 −3 frank/archive.php
  4. +69 −66 frank/build/.sass-cache/aee0bd767f7d018c2b35d465253b56a781716e0a/global.scssc
  5. +4 −0 frank/build/clean.command
  6. +3 −1 frank/build/makecss.command
  7. +13 −5 frank/functions.php
  8. +5 −5 frank/search.php
  9. +1 −1  frank/searchform.php
  10. +3 −2 frank/single.php
  11. +4 −2 frank/style.css
  12. +6 −0 frank/stylesheets/css/global.css
  13. +2 −2 frank/stylesheets/scss/global.scss
  14. +3 −2 frank/templates/default_loop.php
  15. +1 −1  frank/templates/four_up.php
  16. +1 −1  frank/templates/one_up_lg.php
  17. +1 −1  frank/templates/one_up_reg.php
  18. +2 −1  frank/templates/right_aside.php
  19. +1 −1  frank/templates/three_up.php
  20. +1 −1  frank/templates/two_up.php
  21. BIN  somerandomdude/build/.sass-cache/8d41289356c13e3b1091b3ed15fa3351297ec064/colorbox.scssc
  22. BIN  somerandomdude/build/.sass-cache/8d41289356c13e3b1091b3ed15fa3351297ec064/pages.scssc
  23. +3 −2 somerandomdude/build/build.command
  24. +4 −0 somerandomdude/build/clean.command
  25. +4 −4 somerandomdude/footer.php
  26. +1 −1  somerandomdude/header.php
  27. +200 −0 somerandomdude/js/frank.slideshow.coffee
  28. +2 −224 somerandomdude/js/frank.slideshow.js
  29. +224 −0 somerandomdude/js/frank.slideshow.js.bak
  30. +62 −0 somerandomdude/js/main.coffee
  31. +2 −83 somerandomdude/js/main.js
  32. +83 −0 somerandomdude/js/main.js.bak
  33. +98 −0 somerandomdude/js/simplebox.coffee
  34. +2 −154 somerandomdude/js/simplebox.js
  35. +154 −0 somerandomdude/js/simplebox.js.bak
  36. +25 −0 somerandomdude/js/somerandomdude copy.js
  37. +17 −25 somerandomdude/js/somerandomdude.js
  38. +4 −3 somerandomdude/style.css
  39. +11 −8 somerandomdude/stylesheets/css/colorbox.css
  40. +3 −0  somerandomdude/stylesheets/css/pages.css
  41. +56 −52 somerandomdude/stylesheets/scss/colorbox.scss
  42. +4 −0 somerandomdude/stylesheets/scss/pages.scss
2  frank/404.php
View
@@ -13,7 +13,7 @@
<div class='container'>
<div class='main clear'>
<div class="span-6">
- <p class='default-message large'>Unfortunately, the page you are looking for no longer exists or never existed in the first place. If you reached this page in error, you can go <a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('name'); ?>">home</a> and start over.</p>
+ <p class='default-message large'>Unfortunately, the page you are looking for no longer exists or never existed in the first place. If you reached this page in error, you can go <a href="<?php echo home_url(); ?>" title="<?php bloginfo('name'); ?>">home</a> and start over.</p>
</div>
<div class="span-6 search last">
<p class='large'>If you believe this page exists, please try searching for the page in the search input below.</p>
258 frank/admin/frank-theme-options.php
View
@@ -0,0 +1,258 @@
+<?php
+
+ // default data for first run
+ $frank_defaults = array(
+ 'title' => 'Section Title',
+ 'caption' => 'Section Caption',
+ 'num_posts' => 10
+ );
+
+?>
+
+<div class="wrap">
+
+ <div id="icon-options-general" class="icon32"><br /></div>
+ <h2><?php _e('Frank - General Options', 'frank'); ?></h2>
+
+
+ <?php
+ $frank_general_updated = false;
+
+ if ( !empty( $_POST ) && wp_verify_nonce( $_POST['frank_general_key'], 'frank_update_general' ) )
+ {
+
+ $frank_general['header']=$_POST['frank-general-header'];
+ $frank_general['footer']=$_POST['frank-general-footer'];
+ $frank_general['devmode']=$_POST['frank-general-devmode'];
+
+ update_option( '_frank_general', $frank_general );
+
+ $frank_general_updated = true;
+
+ }
+
+
+ // we need to pull our existing sections, if present
+ $frank_general = get_option( '_frank_general' );
+
+ // if there's nothing, we'll set our defaults
+ if( empty( $frank_general ) )
+ {
+ $frank_general[] = array(
+ 'header' => '',
+ 'footer' => '',
+ 'devmode' => ''
+ );
+ }
+
+ ?>
+
+ <?php if( $frank_general_updated) : ?>
+ <div class="message updated">
+ <p><strong>Franklin Street</strong> general settings updated.</p>
+ </div>
+ <!-- /message -->
+ <?php endif ?>
+
+ <h3><?php _e('General Settings', 'frank'); ?></h3>
+
+ <form action="" method="post">
+
+ <?php wp_nonce_field( 'frank_update_general', 'frank_general_key' ); ?>
+
+ <div id="frank-general">
+ <div>
+ <label for="frank-general-header"><?php _e('Custom Header Code', 'frank'); ?></label>
+ <textarea name="frank-general-header"><?php echo stripslashes($frank_general['header']); ?></textarea>
+ </div>
+ <div>
+ <label for="frank-general-footer"><?php _e('Custom Footer Code', 'frank'); ?></label>
+ <textarea name="frank-general-footer"><?php echo stripslashes($frank_general['footer']); ?></textarea>
+ </div>
+ <div>
+ <input type="checkbox" name="frank-general-devmode" value="devmode" <?php if($frank_general['devmode']): ?> checked="checked" <?php endif; ?> /> <label for="frank-general-devmode"><?php _e('Developer Mode', 'frank'); ?></label>
+ </div>
+ </div>
+
+ <div id="frank-save">
+ <p class="submit">
+ <input type="submit" class="button-primary" value="<?php _e('Save', 'frank'); ?>" />
+ </p>
+ </div>
+
+ </form>
+
+
+ <div id="icon-themes" class="icon32"><br /></div>
+ <h2><?php _e('Frank - Home Page Options', 'frank'); ?></h2>
+
+
+ <?php
+ $frank_updated = false;
+
+ if ( !empty( $_POST ) && wp_verify_nonce( $_POST['frank_key'], 'frank_update_home_sections' ) )
+ {
+ $frank_content_sections = array();
+ foreach( $_POST as $key => $value )
+ {
+ $keyflag = 'frank-display-type-';
+ if( substr( $key, 0, strlen( $keyflag ) ) == $keyflag )
+ {
+ // find our ID flag
+ $frank_section_flag = substr( $key, strlen( $keyflag ), strlen( $key ) );
+
+ // since we're piggybacking some WP core functionality, the
+ // post categories have a slightly different ID depending on what was first
+
+ if( $frank_section_flag == 'default' )
+ {
+ $frank_post_category_flag = '';
+ }
+ else
+ {
+ $frank_post_category_flag = '-' . $frank_section_flag;
+ }
+
+ // add our data
+ $frank_content_sections[] = array(
+ 'display_type' => $_POST['frank-display-type-' . $frank_section_flag],
+ 'title' => $_POST['frank-section-title-' . $frank_section_flag],
+ 'caption' => $_POST['frank-section-caption-' . $frank_section_flag],
+ 'num_posts' => intval( $_POST['frank-section-num-posts-' . $frank_section_flag] ),
+ 'categories' => $_POST['post_category' . $frank_post_category_flag]
+ );
+ }
+ }
+
+ update_option( '_frank_street_home_sections', $frank_content_sections );
+
+ $frank_updated = true;
+
+ }
+
+
+ // we need to pull our existing sections, if present
+ $frank_sections = get_option( '_frank_street_home_sections' );
+
+ // if there's nothing, we'll set our defaults
+ if( empty( $frank_sections ) )
+ {
+ $frank_sections[] = array(
+ 'display_type' => 'default_loop',
+ 'title' => '',
+ 'caption' => '',
+ 'num_posts' => '',
+ 'categories' => array(),
+ 'default' => true
+ );
+ }
+
+ ?>
+
+ <?php if( $frank_updated ) : ?>
+ <div class="message updated">
+ <p><strong>Frank</strong> home page sections updated.</p>
+ </div>
+ <!-- /message -->
+ <?php endif ?>
+
+ <h3><?php _e('Content Sections', 'frank'); ?></h3>
+
+ <form action="" method="post">
+
+ <?php wp_nonce_field( 'frank_update_home_sections', 'frank_key' ); ?>
+
+ <div id="frank-content-sections">
+
+ <?php foreach( $frank_sections as $frank_section_id => $frank_section ) : ?>
+ <div class="frank-content-section frank-group<?php if( isset( $frank_section['default'] ) ) : ?> frank-content-section-default<?php endif ?>" id="frank-street-section-<?php echo $frank_section_id; ?>">
+
+ <span class="frank-handle"></span>
+ <a class="frank-content-section-delete" href="#">X</a>
+
+ <div class="frank-display-type">
+ <label for="frank-display-type-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>"><?php _e('Display Type:', 'frank'); ?></label>
+ <select name="frank-display-type-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>" id="frank-display-type-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>">
+ <option<?php if( $frank_section['display_type'] == 'default_loop' ) : ?> selected="selected"<?php endif ?> value="default_loop"><?php _e('Default Loop', 'frank'); ?></option>
+ <option<?php if( $frank_section['display_type'] == 'one_up_reg' ) : ?> selected="selected"<?php endif ?> value="one_up_reg"><?php _e('One Up (Regular)', 'frank'); ?></option>
+ <option<?php if( $frank_section['display_type'] == 'one_up_lg' ) : ?> selected="selected"<?php endif ?> value="one_up_lg"><?php _e('One Up (Large)', 'frank'); ?></option>
+ <option<?php if( $frank_section['display_type'] == 'two_up' ) : ?> selected="selected"<?php endif ?> value="two_up"><?php _e('Two Up', 'frank'); ?></option>
+ <option<?php if( $frank_section['display_type'] == 'three_up' ) : ?> selected="selected"<?php endif ?> value="three_up"><?php _e('Three Up', 'frank'); ?></option>
+ <option<?php if( $frank_section['display_type'] == 'four_up' ) : ?> selected="selected"<?php endif ?> value="four_up"><?php _e('Four Up', 'frank'); ?></option>
+ <option<?php if( $frank_section['display_type'] == 'srd_loop' ) : ?> selected="selected"<?php endif ?> value="srd_loop"><?php _e('Some Random Dude Loop', 'frank'); ?></option>
+ </select>
+ </div>
+ <!-- /frank-display-type -->
+
+ <div class="frank-meta frank-group">
+
+ <div class="frank-meta frank-fields">
+ <ul>
+ <li class="frank-section-title">
+ <label for="frank-section-title-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>"><?php _e('Section Title', 'frank'); ?></label>
+ <input type="text" name="frank-section-title-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>" id="frank-section-title-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>" value="<?php echo !isset( $frank_section['default'] ) ? stripslashes( $frank_section['title'] ) : $frank_defaults['title']; ?>" />
+ </li>
+ <li class="frank-section-caption">
+ <label for="frank-section-caption-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>"><?php _e('Section Caption', 'frank'); ?></label>
+ <textarea name="frank-section-caption-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>" id="frank-section-caption-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>"><?php echo !isset( $frank_section['default'] ) ? stripslashes( $frank_section['caption'] ) : $frank_defaults['caption']; ?></textarea>
+ </li>
+ <li class="frank-section-num-posts">
+ <label for="frank-section-num-posts-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>"><?php _e('Number of Posts', 'frank'); ?></label>
+ <input type="text" name="frank-section-num-posts-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>" id="frank-section-num-posts-<?php echo ( isset( $frank_section['default'] ) ? 'default' : $frank_section_id ); ?>" value="<?php echo !isset( $frank_section['default'] ) ? stripslashes( $frank_section['num_posts'] ) : $frank_defaults['num_posts']; ?>" />
+ </li>
+ </ul>
+ </div>
+ <!-- /frank-meta- frank-fields -->
+
+ <div class="frank-meta frank-categories categorydiv">
+ <p><?php _e('Categories to Display', 'frank'); ?></p>
+ <div class="tabs-panel">
+ <ul class="categorychecklist">
+ <?php wp_terms_checklist( ) ?>
+ </ul>
+ </div>
+ <!-- /tabs-panel -->
+
+ <!-- in order to keep things WP standard, we're going to auto-check via jQuery -->
+ <script type="text/javascript">
+ jQuery(document).ready(function(){
+ <?php foreach( $frank_section['categories'] as $category ) : ?>
+ jQuery('#frank-street-section-<?php echo $frank_section_id; ?> ul.categorychecklist input').each(function(){
+ if(jQuery(this).val()==<?php echo $category; ?>){
+ jQuery(this).attr('checked', true);
+ }
+ })
+ <?php endforeach; ?>
+ });
+ </script>
+
+ <ul class="frank-group">
+ <li><a class="button frank-select" href="#"><?php _e('Select All', 'frank'); ?></a></li>
+ <li><a class="button frank-deselect" href="#"><?php _e('Deselect All', 'frank'); ?></a></li>
+ </ul>
+ </div>
+ <!-- /frank-meta- frank-categories -->
+ </div>
+ <!-- /frank-meta frank-group -->
+
+ </div>
+ <!-- /frank-content-section -->
+ <?php endforeach; ?>
+
+ </div>
+ <!-- /frank-content-sections -->
+
+ <div id="frank-add-content-section">
+ <a href="#"><?php _e('Add New Section', 'frank'); ?></a>
+ </div>
+ <!-- /frank-add-content-section -->
+
+ <div id="frank-save">
+ <p class="submit">
+ <input type="submit" class="button-primary" value="<?php _e('Save', 'frank'); ?>" />
+ </p>
+ </div>
+
+ </form>
+
+</div>
7 frank/archive.php
View
@@ -42,9 +42,10 @@
</section>
<div class='three columns pull-nine post-info'>
<ul class='metadata vertical'>
- <li class="date"><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time('F j, Y'); ?></time></li>
+ <li class="date"><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time(get_option('date_format')); ?></time></li>
<li class="author">By <?php the_author_link(); ?></li>
<li class="categories"><?php the_category(', '); ?></li>
+ <li class="tags"><?php the_tags('', ', '); ?></li>
<li class='comments'><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
</ul>
</div>
@@ -71,8 +72,8 @@
<div class="post">
<header><h1>Page Not Found</h1></header>
<section>
- <p>Looks like the page you're looking for isn't here anymore. Try browsing the <a href="">categories</a>, <a href="">archives</a>, or using the search box below.</p>
- <?php include(TEMPLATEPATH.'/searchform.php'); ?>
+ <p>Looks like the page you're looking for isn't here anymore. Try using the search box below.</p>
+ <?php get_search_form(true); ?>
</section>
</div>
<?php endif; ?>
135 frank/build/.sass-cache/aee0bd767f7d018c2b35d465253b56a781716e0a/global.scssc
View
@@ -1,7 +1,7 @@
3.1.13 (Brainy Betty)
-ed85983f7bc01d7a587a2ada956a75c552f7f11d
+7a0da7863dbe9defdbc40de29d3df8b6e498c512
o:Sass::Tree::RootNode
-:@has_childrenT:@template"t"@import "variables";
+:@has_childrenT:@template""@import "variables";
body {
@include reset-dimensions();
@@ -237,11 +237,11 @@ header {
}
.gallery-caption {
-
+ text-rendering: optimizelegibility;
}
.sticky {
-
+ text-rendering: optimizelegibility;
}
.bypostauthor {
@@ -548,64 +548,65 @@ float;@; [;i;o;.;/;0;@;"right !important; i
block; i�o; ;;;["margin-left;@; [;i;o;.;/;0;@;" auto; i�o; ;;;["margin-right;@; [;i;o;.;/;0;@;" auto; i�;i; i�o; ;T;[".wp-caption;o;;[o;;[o;;[o;4;["wp-caption;"; i�;@P; i�;@P; i�;@; [o; ;;;["text-align;@; [;i;o;.;/;0;@;" center; i�o; ;;;["margin-top;@; [;i;o; ;@;!;";[ o;% ;&" 10px;@;'[;(["px;i; i�o;% ;&"0;@;'@.;([;i; i�o;, ;"row-height;@;-"row_height; i�o;% ;&"0;@;'@.;([;i; i�; i�; i�o; ;T;["img;o;;[o;;[o;;[o; ;["img;0;"; i�;@x; i�;@x; i�;@; [o; ;;;[" margin;@; [;i;o;.;/;0;@;"0; i�o; ;;;[" padding;@; [;i;o;.;/;0;@;"0; i�o; ;;;[" border;@; [;i;o;.;/;0;@;" 0 none; i�;i; i�;i; i�o; ;T;[".wp-caption-text;o;;[o;;[o;;[o;4;["wp-caption-text;"; i�;@�; i�;@�; i�;@; [o; ;;;["font-size;@; [;i;o; ;@;!;";[o;, ;"
small;@;-"
small; i�o;. ;/;0;@;"!important; i�; i�; i�o; ;;;["
-color;@; [;i;o;, ;"color-midtone;@;-"color_midtone; i�; i�o; ;;;["margin-top;@; [;i;o;.;/;0;@;" 10px; i�;i; i�o; ;T;[".gallery-caption;o;;[o;;[o;;[o;4;["gallery-caption;"; i�;@�; i�;@�; i�;@; [;i; i�o; ;T;[" .sticky;o;;[o;;[o;;[o;4;[" sticky;"; i�;@�; i�;@�; i�;@; [;i; i�o; ;T;[".bypostauthor;o;;[o;;[o;;[o;4;["bypostauthor;"; i�;@�; i�;@�; i�;@; [ o; ;;;[" border;@; [;i;o; ;@;!;";[o;% ;&"2px;@;'[;(["px;i; i�o;. ;/;0;@;"
-solid; i�o;, ;"color-midtone;@;-"color_midtone; i�; i�; i�o; ;;;[" padding;@; [;i;o; ;@;!;";[o;, ;"row-height;@;-"row_height; i�o;% ;&"0;@;'@.;([;i; i�; i�; i�o; ;;;["border-left;@; [;i;o;.;/;0;@;"0; i�o; ;;;["border-right;@; [;i;o;.;/;0;@;"0; i�;i; i�o;1 ;@;20; [;30;["/*Pagination links*/; i�o; ;T;[".pagination;o;;[o;;[o;;[o;4;["pagination;"; i�;@ ; i�;@ ; i�;@; [o; ;{;"font-size-small;@; [; i�;[o; ;T;["a;o;;[o;;[o;;[o; ;["a;0;"; i�;@' ; i�;@' ; i�;@; [o; ;;;["margin-right;@; [;i;o;, ;"gutter-width;@;-"gutter_width; i; io; ;{;" columns;@; [; i;[o;% ;&"2;@;'@.;([;i; io;% ;&"-20;@;'@.;([;i�; i;i; i�;i; i�o; ;T;[".pagination.small;o;;[o;;[o;;[o;4;["pagination;"; io;4;["
-small;@G ; i;@G ; i;@G ; i;@; [o; ;;;[" font;@; [;i;o; ;@;!;";[o;, ;"font-small;@;-"font_small; io;, ;"sans-serif;@;-"sans_serif; i; i; io; ;T;[" .title;o;;[o;;[o;;[o;4;["
-title;"; i;@d ; i;@d ; i;@; [o; ;;;["font-weight;@; [;i;o;, ;" bold;@;-" bold; i; io; ;;;["margin-right;@; [;i;o;.;/;0;@;" 15px; i ;i; io; ;T;["a;o;;[o;;[o;;[o; ;["a;0;"; i ;@ ; i ;@ ; i ;@; [
+color;@; [;i;o;, ;"color-midtone;@;-"color_midtone; i�; i�o; ;;;["margin-top;@; [;i;o;.;/;0;@;" 10px; i�;i; i�o; ;T;[".gallery-caption;o;;[o;;[o;;[o;4;["gallery-caption;"; i�;@�; i�;@�; i�;@; [o; ;;;["text-rendering;@; [;i;o;.;/;0;@;"optimizelegibility; i�;i; i�o; ;T;[" .sticky;o;;[o;;[o;;[o;4;[" sticky;"; i�;@�; i�;@�; i�;@; [o; ;;;["text-rendering;@; [;i;o;.;/;0;@;"optimizelegibility; i�;i; i�o; ;T;[".bypostauthor;o;;[o;;[o;;[o;4;["bypostauthor;"; i�;@�; i�;@�; i�;@; [ o; ;;;[" border;@; [;i;o; ;@;!;";[o;% ;&"2px;@;'[;(["px;i; i�o;. ;/;0;@;"
+solid; i�o;, ;"color-midtone;@;-"color_midtone; i�; i�; i�o; ;;;[" padding;@; [;i;o; ;@;!;";[o;, ;"row-height;@;-"row_height; i�o;% ;&"0;@;'@.;([;i; i�; i�; i�o; ;;;["border-left;@; [;i;o;.;/;0;@;"0; i�o; ;;;["border-right;@; [;i;o;.;/;0;@;"0; i�;i; i�o;1 ;@;20; [;30;["/*Pagination links*/; i�o; ;T;[".pagination;o;;[o;;[o;;[o;4;["pagination;"; i�;@ ; i�;@ ; i�;@; [o; ;{;"font-size-small;@; [; i�;[o; ;T;["a;o;;[o;;[o;;[o; ;["a;0;"; i�;@3 ; i�;@3 ; i�;@; [o; ;;;["margin-right;@; [;i;o;, ;"gutter-width;@;-"gutter_width; i; io; ;{;" columns;@; [; i;[o;% ;&"2;@;'@.;([;i; io;% ;&"-20;@;'@.;([;i�; i;i; i�;i; i�o; ;T;[".pagination.small;o;;[o;;[o;;[o;4;["pagination;"; io;4;["
+small;@S ; i;@S ; i;@S ; i;@; [o; ;;;[" font;@; [;i;o; ;@;!;";[o;, ;"font-small;@;-"font_small; io;, ;"sans-serif;@;-"sans_serif; i; i; io; ;T;[" .title;o;;[o;;[o;;[o;4;["
+title;"; i;@p ; i;@p ; i;@; [o; ;;;["font-weight;@; [;i;o;, ;" bold;@;-" bold; i; io; ;;;["margin-right;@; [;i;o;.;/;0;@;" 15px; i ;i; io; ;T;["a;o;;[o;;[o;;[o; ;["a;0;"; i ;@ ; i ;@ ; i ;@; [
o; ;;;[" margin;@; [;i;o;.;/;0;@;" 0 10px; i o; ;;;[" border;@; [;i;o; ;@;!;";[o;% ;&"1px;@;'[;(["px;i; i o;, ;"color-light;@;-"color_light; i o;. ;/;0;@;"
solid; i ; i ; i o; ;;;["
-color;@; [;i;o;, ;"color-midtone;@;-"color_midtone; i; io; ;;;[" padding;@; [;i;o;.;/;0;@;" 4px 6px; io; ;;;["border-radius;@; [;i;o;.;/;0;@;"2px; i;i; i ;i; io;1 ;@;20; [;30;["/*Metadata content*/; io; ;T;[".metadata;o;;[o;;[o;;[o;4;[" metadata;"; i;@� ; i;@� ; i;@; [o; ;T;["a;o;;[o;;[o;;[o; ;["a;0;"; i;@� ; i;@� ; i;@; [o; ;;;["
+color;@; [;i;o;, ;"color-midtone;@;-"color_midtone; i; io; ;;;[" padding;@; [;i;o;.;/;0;@;" 4px 6px; io; ;;;["border-radius;@; [;i;o;.;/;0;@;"2px; i;i; i ;i; io;1 ;@;20; [;30;["/*Metadata content*/; io; ;T;[".metadata;o;;[o;;[o;;[o;4;[" metadata;"; i;@� ; i;@� ; i;@; [o; ;T;["a;o;;[o;;[o;;[o; ;["a;0;"; i;@� ; i;@� ; i;@; [o; ;;;["
color;@; [;i;o;, ;"color_midtone;@;-"color_midtone; i; i;i; io; ;T;[" a:hover;o;;[o;;[o;;[o; ;["a;0;"; io;5
;["
-hover;/;6;@� ; i;70;@� ; i;@� ; i;@; [o; ;;;["
-color;@; [;i;o;, ;"color_off_black;@;-"color_off_black; i; i;i; i;i; io; ;T;["ul.metadata;o;;[o;;[o;;[o; ;["ul;0;"; io;4;[" metadata;@� ; i;@� ; i;@� ; i;@; [ o:Sass::Tree::ExtendNode :@selector["."reset-dimensions;@; [; io; ;;;["list-style;@; [;i;o;.;/;0;@;" none; io; ;T;["li;o;;[o;;[o;;[o; ;["li;0;"; i;@
-; i;@
+hover;/;6;@� ; i;70;@� ; i;@� ; i;@; [o; ;;;["
+color;@; [;i;o;, ;"color_off_black;@;-"color_off_black; i; i;i; i;i; io; ;T;["ul.metadata;o;;[o;;[o;;[o; ;["ul;0;"; io;4;[" metadata;@
+; i;@
+; i;@
+; i;@; [ o:Sass::Tree::ExtendNode :@selector["."reset-dimensions;@; [; io; ;;;["list-style;@; [;i;o;.;/;0;@;" none; io; ;T;["li;o;;[o;;[o;;[o; ;["li;0;"; i;@
+; i;@
; i;@; [
o;= ;>["."reset-dimensions;@; [; io; ;;;["font-family;@; [;i;o;, ;"
serif;@;-"
-serif; i; io; ;{;"font-size-x-small;@; [; i ;[o; ;;;["font-style;@; [;i;o;.;/;0;@;" italic; i!o; ;;;["margin-left;@; [;i;o;.;/;0;@;"0; i";i; io; ;T;[" li.date;o;;[o;;[o;;[o; ;["li;0;"; i$o;4;[" date;@<
-; i$;@<
-; i$;@<
-; i$;@; [o; ;;;["font-style;@; [;i;o;.;/;0;@;" normal; i%o; ;;;["font-weight;@; [;i;o;, ;" bold;@;-" bold; i&; i&o; ;;;["font-family;@; [;i;o;, ;"sans-serif;@;-"sans_serif; i'; i';i; i$;i; io; ;T;["ul.metadata.horizontal;o;;[o;;[o;;[o; ;["ul;0;"; i*o;4;[" metadata;@a
-; i*o;4;["horizontal;@a
-; i*;@a
-; i*;@a
+serif; i; io; ;{;"font-size-x-small;@; [; i ;[o; ;;;["font-style;@; [;i;o;.;/;0;@;" italic; i!o; ;;;["margin-left;@; [;i;o;.;/;0;@;"0; i";i; io; ;T;[" li.date;o;;[o;;[o;;[o; ;["li;0;"; i$o;4;[" date;@H
+; i$;@H
+; i$;@H
+; i$;@; [o; ;;;["font-style;@; [;i;o;.;/;0;@;" normal; i%o; ;;;["font-weight;@; [;i;o;, ;" bold;@;-" bold; i&; i&o; ;;;["font-family;@; [;i;o;, ;"sans-serif;@;-"sans_serif; i'; i';i; i$;i; io; ;T;["ul.metadata.horizontal;o;;[o;;[o;;[o; ;["ul;0;"; i*o;4;[" metadata;@m
+; i*o;4;["horizontal;@m
+; i*;@m
+; i*;@m
; i*;@; [
-o; ;;;["margin-top;@; [;i;o;, ;"row-height;@;-"row_height; i+; i+o; ;;;[" display;@; [;i;o;.;/;0;@;"inline-block; i,o; ;T;["li;o;;[o;;[o;;[o; ;["li;0;"; i-;@�
-; i-;@�
+o; ;;;["margin-top;@; [;i;o;, ;"row-height;@;-"row_height; i+; i+o; ;;;[" display;@; [;i;o;.;/;0;@;"inline-block; i,o; ;T;["li;o;;[o;;[o;;[o; ;["li;0;"; i-;@�
+; i-;@�
; i-;@; [o; ;;;["
-float;@; [;i;o;.;/;0;@;" left; i.o; ;;;["background;@; [;i;o;.;/;0;@;" none; i/o; ;;;["margin-right;@; [;i;o;.;/;0;@;" 15px; i0;i; i-o; ;T;["li.last, li:last-child;o;;[o;;[o;;[o; ;["li;0;"; i2o;4;[" last;@�
-; i2;@�
-; i2o;;[o;;[o; ;["li;0;@�
+float;@; [;i;o;.;/;0;@;" left; i.o; ;;;["background;@; [;i;o;.;/;0;@;" none; i/o; ;;;["margin-right;@; [;i;o;.;/;0;@;" 15px; i0;i; i-o; ;T;["li.last, li:last-child;o;;[o;;[o;;[o; ;["li;0;"; i2o;4;[" last;@�
+; i2;@�
+; i2o;;[o;;[o; ;["li;0;@�
; i2o;5
-;["last-child;/;6;@�
-; i2;70;@�
-; i2;@�
+;["last-child;/;6;@�
+; i2;70;@�
+; i2;@�
; i2;@; [o; ;;;["margin-right;@; [;i;o;.;/;0;@;"0; i3;i; i2o; ;T;["li:first-child;o;;[o;;[o;;[o; ;["li;0;"; i5o;5
-;["first-child;/;6;@�
-; i5;70;@�
-; i5;@�
-; i5;@; [o; ;;;["margin-left;@; [;i;o;.;/;0;@;"0; i6;i; i5;i; i*o; ;T;["ul.metadata.vertical;o;;[o;;[o;;[o; ;["ul;0;"; i9o;4;[" metadata;@�
-; i9o;4;[" vertical;@�
-; i9;@�
-; i9;@�
-; i9;@; [o; ;;;["margin-top;@; [;i;o;.;/;0;@;"5px; i:o; ;T;["li;o;;[o;;[o;;[o; ;["li;0;"; i;;@�
-; i;;@�
-; i;;@; [o; ;;;["text-align;@; [;i;o;.;/;0;@;"
+;["first-child;/;6;@�
+; i5;70;@�
+; i5;@�
+; i5;@; [o; ;;;["margin-left;@; [;i;o;.;/;0;@;"0; i6;i; i5;i; i*o; ;T;["ul.metadata.vertical;o;;[o;;[o;;[o; ;["ul;0;"; i9o;4;[" metadata;@�
+; i9o;4;[" vertical;@�
+; i9;@�
+; i9;@�
+; i9;@; [o; ;;;["margin-top;@; [;i;o;.;/;0;@;"5px; i:o; ;T;["li;o;;[o;;[o;;[o; ;["li;0;"; i;;@ ; i;;@ ; i;;@; [o; ;;;["text-align;@; [;i;o;.;/;0;@;"
right; i<o; ;;;["
-float;@; [;i;o;.;/;0;@;" none; i=o; ;;;["margin-bottom;@; [;i;o;.;/;0;@;"5px; i>;i; i;o; ;T;[" li.date;o;;[o;;[o;;[o; ;["li;0;"; i@o;4;[" date;@ ; i@;@ ; i@;@ ; i@;@; [o; ;;;["margin-bottom;@; [;i;o;.;/;0;@;" 10px; iA;i; i@;i; i9o; ;T;["dl.metadata;o;;[o;;[o;;[o; ;["dl;0;"; iDo;4;[" metadata;@+ ; iD;@+ ; iD;@+ ; iD;@; [ o; ;;;[" display;@; [;i;o;.;/;0;@;" none; iEo;= ;>["."reset-dimensions;@; [; iFo; ;;;["text-align;@; [;i;o;.;/;0;@;"
+float;@; [;i;o;.;/;0;@;" none; i=o; ;;;["margin-bottom;@; [;i;o;.;/;0;@;"5px; i>;i; i;o; ;T;[" li.date;o;;[o;;[o;;[o; ;["li;0;"; i@o;4;[" date;@ ; i@;@ ; i@;@ ; i@;@; [o; ;;;["margin-bottom;@; [;i;o;.;/;0;@;" 10px; iA;i; i@;i; i9o; ;T;["dl.metadata;o;;[o;;[o;;[o; ;["dl;0;"; iDo;4;[" metadata;@7 ; iD;@7 ; iD;@7 ; iD;@; [ o; ;;;[" display;@; [;i;o;.;/;0;@;" none; iEo;= ;>["."reset-dimensions;@; [; iFo; ;;;["text-align;@; [;i;o;.;/;0;@;"
right; iGo; ;;;["margin-bottom;@; [;i;o;, ;"row-height;@;-"row_height; iH; iH;i; iDo; ;T;["
-.post;o;;[o;;[o;;[o;4;[" post;"; iK;@T ; iK;@T ; iK;@; [o; ;T;[" header;o;;[o;;[o;;[o; ;[" header;0;"; iL;@b ; iL;@b ; iL;@; [o; ;;;["margin-bottom;@; [;i;o;, ;"row-height;@;-"row_height; iL; iL;i; iLo; ;T;["p .callout;o;;[o;;[o;;[o; ;["p;0;"; iM;@w ; iMo;;[o;4;[" callout;@w ; iM;@w ; iM;@w ; iM;@; [o; ;;;["padding-top;@; [;i;o;.;/;0;@;"0; iM;i; iM;i; iKo; ;T;[" #content;o;;[o;;[o;;[o;<;[" content;"; iP;@� ; iP;@� ; iP;@; [o; ;;;[" margin;@; [;i;o; ;@;!;";[ o;% ;&"0;@;'@.;([;i; iQo;% ;&"0;@;'@.;([;i; iQo;#
-;$o;, ;"row-height;@;-"row_height; iQ;@;);8;+o;% ;&"4;@;'@.;([;i ; iQ; iQo;% ;&"0;@;'@.;([;i; iQ; iQ; iQo; ;;;[" position;@; [;i;o;.;/;0;@;" relative; iR;i; iPo; ;T;["D#content.home, #content.single, #content.page, #content.archive;o;;[ o;;[o;;[o;<;[" content;"; iUo;4;[" home;@� ; iU;@� ; iUo;;[o;;[o;<;[" content;@� ; iUo;4;[" single;@� ; iU;@� ; iUo;;[o;;[o;<;[" content;@� ; iUo;4;[" page;@� ; iU;@� ; iUo;;[o;;[o;<;[" content;@� ; iUo;4;[" archive;@� ; iU;@� ; iU;@� ; iU;@; [o; ;T;[" article;o;;[o;;[o;;[o; ;[" article;0;"; iV;@� ; iV;@� ; iV;@; [o; ;T;[" section;o;;[o;;[o;;[o; ;[" section;0;"; iW;@� ; iW;@� ; iW;@; [
+.post;o;;[o;;[o;;[o;4;[" post;"; iK;@` ; iK;@` ; iK;@; [o; ;T;[" header;o;;[o;;[o;;[o; ;[" header;0;"; iL;@n ; iL;@n ; iL;@; [o; ;;;["margin-bottom;@; [;i;o;, ;"row-height;@;-"row_height; iL; iL;i; iLo; ;T;["p .callout;o;;[o;;[o;;[o; ;["p;0;"; iM;@� ; iMo;;[o;4;[" callout;@� ; iM;@� ; iM;@� ; iM;@; [o; ;;;["padding-top;@; [;i;o;.;/;0;@;"0; iM;i; iM;i; iKo; ;T;[" #content;o;;[o;;[o;;[o;<;[" content;"; iP;@� ; iP;@� ; iP;@; [o; ;;;[" margin;@; [;i;o; ;@;!;";[ o;% ;&"0;@;'@.;([;i; iQo;% ;&"0;@;'@.;([;i; iQo;#
+;$o;, ;"row-height;@;-"row_height; iQ;@;);8;+o;% ;&"4;@;'@.;([;i ; iQ; iQo;% ;&"0;@;'@.;([;i; iQ; iQ; iQo; ;;;[" position;@; [;i;o;.;/;0;@;" relative; iR;i; iPo; ;T;["D#content.home, #content.single, #content.page, #content.archive;o;;[ o;;[o;;[o;<;[" content;"; iUo;4;[" home;@� ; iU;@� ; iUo;;[o;;[o;<;[" content;@� ; iUo;4;[" single;@� ; iU;@� ; iUo;;[o;;[o;<;[" content;@� ; iUo;4;[" page;@� ; iU;@� ; iUo;;[o;;[o;<;[" content;@� ; iUo;4;[" archive;@� ; iU;@� ; iU;@� ; iU;@; [o; ;T;[" article;o;;[o;;[o;;[o; ;[" article;0;"; iV;@� ; iV;@� ; iV;@; [o; ;T;[" section;o;;[o;;[o;;[o; ;[" section;0;"; iW;@ ; iW;@ ; iW;@; [
o; ;;;["font-family;@; [;i;o;, ;"
serif;@;-"
-serif; iX; iXo; ;{;"font-size-medium;@; [; iY;[o; ;T;["(p, ul li, ol li, dt, dd, blockquote;o;;[ o;;[o;;[o; ;["p;0;"; iZ;@ ; iZo;;[o;;[o; ;["ul;0;@ ; iZ;@ ; iZo;;[o; ;["li;0;@ ; iZ;@ ; iZo;;[o;;[o; ;["ol;0;@ ; iZ;@ ; iZo;;[o; ;["li;0;@ ; iZ;@ ; iZo;;[o;;[o; ;["dt;0;@ ; iZ;@ ; iZo;;[o;;[o; ;["dd;0;@ ; iZ;@ ; iZo;;[o;;[o; ;["blockquote;0;@ ; iZ;@ ; iZ;@ ; iZ;@; [o; ;{;"font-size-medium;@; [; iZ;[;i; iZo; ;T;["code, small;o;;[o;;[o;;[o; ;[" code;0;"; i[;@Q ; i[o;;[o;;[o; ;["
-small;0;@Q ; i[;@Q ; i[;@Q ; i[;@; [o; ;{;"font-size-small;@; [; i[;[;i; i[o; ;T;["img;o;;[o;;[o;;[o; ;["img;0;"; i\;@k ; i\;@k ; i\;@; [o; ;;;["max-width;@; [;i;o;.;/;0;@;" 100%; i]o; ;{;"default-shadow;@; [; i^;[;i; i\;i; iW;i; iV;i; iUo; ;T;["&#content.page article section img;o;;[o;;[ o;;[o;<;[" content;"; ico;4;[" page;@� ; ic;@� ; ico;;[o; ;[" article;0;@� ; ic;@� ; ico;;[o; ;[" section;0;@� ; ic;@� ; ico;;[o; ;["img;0;@� ; ic;@� ; ic;@� ; ic;@; [o; ;;;["box-shadow;@; [;i;o;.;/;0;@;"none !important; ic;i; ico; ;T;["$#content.home, #content.archive;o;;[o;;[o;;[o;<;[" content;"; ieo;4;[" home;@� ; ie;@� ; ieo;;[o;;[o;<;[" content;@� ; ieo;4;[" archive;@� ; ie;@� ; ie;@� ; ie;@; [o; ;T;[" article;o;;[o;;[o;;[o; ;[" article;0;"; if;@� ; if;@� ; if;@; [o; ;;;["margin-top;@; [;i;o;#
+serif; iX; iXo; ;{;"font-size-medium;@; [; iY;[o; ;T;["(p, ul li, ol li, dt, dd, blockquote;o;;[ o;;[o;;[o; ;["p;0;"; iZ;@ ; iZo;;[o;;[o; ;["ul;0;@ ; iZ;@ ; iZo;;[o; ;["li;0;@ ; iZ;@ ; iZo;;[o;;[o; ;["ol;0;@ ; iZ;@ ; iZo;;[o; ;["li;0;@ ; iZ;@ ; iZo;;[o;;[o; ;["dt;0;@ ; iZ;@ ; iZo;;[o;;[o; ;["dd;0;@ ; iZ;@ ; iZo;;[o;;[o; ;["blockquote;0;@ ; iZ;@ ; iZ;@ ; iZ;@; [o; ;{;"font-size-medium;@; [; iZ;[;i; iZo; ;T;["code, small;o;;[o;;[o;;[o; ;[" code;0;"; i[;@] ; i[o;;[o;;[o; ;["
+small;0;@] ; i[;@] ; i[;@] ; i[;@; [o; ;{;"font-size-small;@; [; i[;[;i; i[o; ;T;["img;o;;[o;;[o;;[o; ;["img;0;"; i\;@w ; i\;@w ; i\;@; [o; ;;;["max-width;@; [;i;o;.;/;0;@;" 100%; i]o; ;{;"default-shadow;@; [; i^;[;i; i\;i; iW;i; iV;i; iUo; ;T;["&#content.page article section img;o;;[o;;[ o;;[o;<;[" content;"; ico;4;[" page;@� ; ic;@� ; ico;;[o; ;[" article;0;@� ; ic;@� ; ico;;[o; ;[" section;0;@� ; ic;@� ; ico;;[o; ;["img;0;@� ; ic;@� ; ic;@� ; ic;@; [o; ;;;["box-shadow;@; [;i;o;.;/;0;@;"none !important; ic;i; ico; ;T;["$#content.home, #content.archive;o;;[o;;[o;;[o;<;[" content;"; ieo;4;[" home;@� ; ie;@� ; ieo;;[o;;[o;<;[" content;@� ; ieo;4;[" archive;@� ; ie;@� ; ie;@� ; ie;@; [o; ;T;[" article;o;;[o;;[o;;[o; ;[" article;0;"; if;@� ; if;@� ; if;@; [o; ;;;["margin-top;@; [;i;o;#
;$o;, ;"row-height;@;-"row_height; if;@;);8;+o;% ;&"4;@;'@.;([;i ; if; if; ifo; ;;;["margin-bottom;@; [;i;o;#
;$o;, ;"row-height;@;-"row_height; if;@;);8;+o;% ;&"4;@;'@.;([;i ; if; if; if;i; ifo; ;T;["article:first-child;o;;[o;;[o;;[o; ;[" article;0;"; igo;5
-;["first-child;/;6;@� ; ig;70;@� ; ig;@� ; ig;@; [o; ;;;["margin-top;@; [;i;o;.;/;0;@;"0; ig;i; igo; ;T;["article:last-child;o;;[o;;[o;;[o; ;[" article;0;"; iho;5
-;["last-child;/;6;@ ; ih;70;@ ; ih;@ ; ih;@; [o; ;;;["margin-bottom;@; [;i;o;.;/;0;@;"0; ih;i; ih;i; ieo;1 ;@;20; [;30;["/*Buttons*/; ilo; ;T;["2button, .button, input[type=submit], a.button;o;;[ o;;[o;;[o; ;[" button;0;"; im;@ ; imo;;[o;;[o;4;[" button;@ ; im;@ ; imo;;[o;;[o; ;["
-input;0;@ ; imo;9 ;[" type;0;@ ;)"=;[" submit; im;@ ; imo;;[o;;[o; ;["a;0;@ ; imo;4;[" button;@ ; im;@ ; im;@ ; im;@; [o; ;;;[" display;@; [;i;o;.;/;0;@;"inline-block; ino; ;;;["background;@; [;i;o;, ;"color_light;@;-"color_light; io; ioo; ;;;["
+;["first-child;/;6;@� ; ig;70;@� ; ig;@� ; ig;@; [o; ;;;["margin-top;@; [;i;o;.;/;0;@;"0; ig;i; igo; ;T;["article:last-child;o;;[o;;[o;;[o; ;[" article;0;"; iho;5
+;["last-child;/;6;@ ; ih;70;@ ; ih;@ ; ih;@; [o; ;;;["margin-bottom;@; [;i;o;.;/;0;@;"0; ih;i; ih;i; ieo;1 ;@;20; [;30;["/*Buttons*/; ilo; ;T;["2button, .button, input[type=submit], a.button;o;;[ o;;[o;;[o; ;[" button;0;"; im;@' ; imo;;[o;;[o;4;[" button;@' ; im;@' ; imo;;[o;;[o; ;["
+input;0;@' ; imo;9 ;[" type;0;@' ;)"=;[" submit; im;@' ; imo;;[o;;[o; ;["a;0;@' ; imo;4;[" button;@' ; im;@' ; im;@' ; im;@; [o; ;;;[" display;@; [;i;o;.;/;0;@;"inline-block; ino; ;;;["background;@; [;i;o;, ;"color_light;@;-"color_light; io; ioo; ;;;["
color;@; [;i;o;, ;"color_midtone;@;-"color_midtone; ip; ipo; ;;;[" padding;@; [;i;o;.;/;0;@;" 8px 10px; iqo; ;;;["border-radius;@; [;i;o;.;/;0;@;"3px; iro; ;;;["font-weight;@; [;i;o;, ;" bold;@;-" bold; is; iso; ;{;"font-size-small;@; [; it;[o; ;;;["font-family;@; [;i;o;, ;"sans-serif;@;-"sans_serif; iu; iuo; ;;;["text-align;@; [;i;o;.;/;0;@;" center; ivo; ;;;["text-shadow;@; [;i;o; ;@;!;";[ o;% ;&"0px;@;'[;(["px;i; iwo;% ;&"1px;@;'[;(["px;i; iwo;% ;&"0px;@;'[;(["px;i; iwo;;
;{;" rgba;@; iw;[ o;% ;&"255;@;'@.;([;i�; iwo;% ;&"254;@;'@.;([;i�; iwo;% ;&"254;@;'@.;([;i�; iwo;% ;&"0.3;@;'@.;([;f0.2999999999999999933; iw; iw; iwo; ;;;[" border;@; [;i;o; ;@;!;";[o;% ;&"1px;@;'[;(["px;i; ixo;. ;/;0;@;"
solid; ixo;;
@@ -618,12 +619,12 @@ o;. ;/;0;@;"
inset; iyo;% ;&"0px;@;'[;(["px;i; iyo;% ;&"1px;@;'[;(["px;i; iyo;% ;&"1px;@;'[;(["px;i; iyo;;
;{;" rgba;@; iy;[ o;% ;&"255;@;'@.;([;i�; iyo;% ;&"253;@;'@.;([;i�; iyo;% ;&"253;@;'@.;([;i�; iyo;% ;&"0.4;@;'@.;([;f0.40000000000000002��; iy; iy; iy; iy;i; imo; ;T;[":button:hover, .button:hover, input[type=submit]:hover;o;;[o;;[o;;[o; ;[" button;0;"; i{o;5
;["
-hover;/;6;@; i{;70;@; i{o;;[o;;[o;4;[" button;@; i{o;5
+hover;/;6;@; i{;70;@; i{o;;[o;;[o;4;[" button;@; i{o;5
;["
-hover;/;6;@; i{;70;@; i{o;;[o;;[o; ;["
-input;0;@; i{o;9 ;[" type;0;@;)"=;[" submit; i{o;5
+hover;/;6;@; i{;70;@; i{o;;[o;;[o; ;["
+input;0;@; i{o;9 ;[" type;0;@;)"=;[" submit; i{o;5
;["
-hover;/;6;@; i{;70;@; i{;@; i{;@; [
+hover;/;6;@; i{;70;@; i{;@; i{;@; [
o; ;;;["background;@; [;i;o;, ;"color_midtone_light;@;-"color_midtone_light; i|; i|o; ;;;["
color;@; [;i;o;, ;"color_highlight;@;-"color_highlight; i}; i}o; ;;;[" border;@; [;i;o; ;@;!;";[o;% ;&"1px;@;'[;(["px;i; i~o;. ;/;0;@;"
solid; i~o;;
@@ -635,29 +636,31 @@ inset; i
;{;" rgba;@; i�;[ o;% ;&"18;@;'@.;([;i; i�o;% ;&"7;@;'@.;([;i ; i�o;% ;&"6;@;'@.;([;i ; i�o;% ;&"0.1;@;'@.;([;f0.10000000000000001��; i�; i�o; ;@;!;";[
o;. ;/;0;@;"
inset; i�o;% ;&"0px;@;'[;(["px;i; i�o;% ;&"1px;@;'[;(["px;i; i�o;% ;&"1px;@;'[;(["px;i; i�o;;
-;{;" rgba;@; i�;[ o;% ;&"255;@;'@.;([;i�; i�o;% ;&"253;@;'@.;([;i�; i�o;% ;&"253;@;'@.;([;i�; i�o;% ;&"0.2;@;'@.;([;f0.20000000000000001��; i�; i�; i�; i�;i; i{o; ;T;["4button.alt, .button.alt, input[type=submit].alt;o;;[o;;[o;;[o; ;[" button;0;"; i�o;4;["alt;@�; i�;@�; i�o;;[o;;[o;4;[" button;@�; i�o;4;["alt;@�; i�;@�; i�o;;[o;;[o; ;["
-input;0;@�; i�o;9 ;[" type;0;@�;)"=;[" submit; i�o;4;["alt;@�; i�;@�; i�;@�; i�;@; [o; ;;;["background;@; [;i;o;, ;"color_accent;@;-"color_accent; i�; i�o; ;;;["
+;{;" rgba;@; i�;[ o;% ;&"255;@;'@.;([;i�; i�o;% ;&"253;@;'@.;([;i�; i�o;% ;&"253;@;'@.;([;i�; i�o;% ;&"0.2;@;'@.;([;f0.20000000000000001��; i�; i�; i�; i�;i; i{o; ;T;["4button.alt, .button.alt, input[type=submit].alt;o;;[o;;[o;;[o; ;[" button;0;"; i�o;4;["alt;@�; i�;@�; i�o;;[o;;[o;4;[" button;@�; i�o;4;["alt;@�; i�;@�; i�o;;[o;;[o; ;["
+input;0;@�; i�o;9 ;[" type;0;@�;)"=;[" submit; i�o;4;["alt;@�; i�;@�; i�;@�; i�;@; [o; ;;;["background;@; [;i;o;, ;"color_accent;@;-"color_accent; i�; i�o; ;;;["
color;@; [;i;o;, ;"color_highlight;@;-"color_highlight; i�; i�o; ;;;["text-shadow;@; [;i;o; ;@;!;";[ o;% ;&"0px;@;'[;(["px;i; i�o;% ;&" -1px;@;'[;(["px;i�; i�o;% ;&"0px;@;'[;(["px;i; i�o;;
;{;" rgba;@; i�;[ o;% ;&"5;@;'@.;([;i
-; i�o;% ;&"0;@;'@.;([;i; i�o;% ;&"0;@;'@.;([;i; i�o;% ;&"0.3;@;'@.;([;f0.2999999999999999933; i�; i�; i�;i; i�o; ;T;["Fbutton.alt:hover, .button.alt:hover, input[type=submit].alt:hover;o;;[o;;[o;;[o; ;[" button;0;"; i�o;4;["alt;@<; i�o;5
+; i�o;% ;&"0;@;'@.;([;i; i�o;% ;&"0;@;'@.;([;i; i�o;% ;&"0.3;@;'@.;([;f0.2999999999999999933; i�; i�; i�;i; i�o; ;T;["Fbutton.alt:hover, .button.alt:hover, input[type=submit].alt:hover;o;;[o;;[o;;[o; ;[" button;0;"; i�o;4;["alt;@H; i�o;5
;["
-hover;/;6;@<; i�;70;@<; i�o;;[o;;[o;4;[" button;@<; i�o;4;["alt;@<; i�o;5
+hover;/;6;@H; i�;70;@H; i�o;;[o;;[o;4;[" button;@H; i�o;4;["alt;@H; i�o;5
;["
-hover;/;6;@<; i�;70;@<; i�o;;[o;;[ o; ;["
-input;0;@<; i�o;9 ;[" type;0;@<;)"=;[" submit; i�o;4;["alt;@<; i�o;5
+hover;/;6;@H; i�;70;@H; i�o;;[o;;[ o; ;["
+input;0;@H; i�o;9 ;[" type;0;@H;)"=;[" submit; i�o;4;["alt;@H; i�o;5
;["
-hover;/;6;@<; i�;70;@<; i�;@<; i�;@; [o; ;;;["background;@; [;i;o;, ;"color_accent_alt;@;-"color_accent_alt; i�; i�o; ;;;["
+hover;/;6;@H; i�;70;@H; i�;@H; i�;@; [o; ;;;["background;@; [;i;o;, ;"color_accent_alt;@;-"color_accent_alt; i�; i�o; ;;;["
color;@; [;i;o;, ;"color_highlight;@;-"color_highlight; i�; i�o; ;;;[" border;@; [;i;o; ;@;!;";[o;% ;&"1px;@;'[;(["px;i; i�o;. ;/;0;@;"
solid; i�o;;
-;{;" rgba;@; i�;[ o;% ;&"18;@;'@.;([;i; i�o;% ;&"7;@;'@.;([;i ; i�o;% ;&"6;@;'@.;([;i ; i�o;% ;&"0.5;@;'@.;([;f0.5; i�; i�; i�;i; i�o;1 ;@;20; [;30;["!/*Search - not implemented*/; i�o; ;T;["#searchform input;o;;[o;;[o;;[o;<;["searchform;"; i�;@�; i�o;;[o; ;["
-input;0;@�; i�;@�; i�;@�; i�;@; [o; ;;;["
-width;@; [;i;o;.;/;0;@;" 100%; i�o; ;;;["box-sizing;@; [;i;o;.;/;0;@;"border-box; i�o; ;;;["-moz-box-sizing;@; [;i;o;.;/;0;@;"border-box; i�;i; i�o;1 ;@;20; [;30;[" /*404*/; i�o; ;T;["#content.fourohfour .main;o;;[o;;[o;;[o;<;[" content;"; i�o;4;["fourohfour;@�; i�;@�; i�o;;[o;4;[" main;@�; i�;@�; i�;@�; i�;@; [o; ;;;["margin-bottom;@; [;i;o;#
-;$o;, ;"row-height;@;-"row_height; i�;@;);8;+o;% ;&"2;@;'@.;([;i; i�; i�; i�;i; i�o; ;T;[" #search;o;;[o;;[o;;[o;<;[" search;"; i�;@�; i�;@�; i�;@; [o; ;;;["
+;{;" rgba;@; i�;[ o;% ;&"18;@;'@.;([;i; i�o;% ;&"7;@;'@.;([;i ; i�o;% ;&"6;@;'@.;([;i ; i�o;% ;&"0.5;@;'@.;([;f0.5; i�; i�; i�;i; i�o;1 ;@;20; [;30;["!/*Search - not implemented*/; i�o; ;T;["#searchform input;o;;[o;;[o;;[o;<;["searchform;"; i�;@�; i�o;;[o; ;["
+input;0;@�; i�;@�; i�;@�; i�;@; [o; ;;;["
+width;@; [;i;o;.;/;0;@;" 100%; i�o; ;;;["box-sizing;@; [;i;o;.;/;0;@;"border-box; i�o; ;;;["-moz-box-sizing;@; [;i;o;.;/;0;@;"border-box; i�;i; i�o;1 ;@;20; [;30;[" /*404*/; i�o; ;T;["#content.fourohfour .main;o;;[o;;[o;;[o;<;[" content;"; i�o;4;["fourohfour;@�; i�;@�; i�o;;[o;4;[" main;@�; i�;@�; i�;@�; i�;@; [o; ;;;["margin-bottom;@; [;i;o;#
+;$o;, ;"row-height;@;-"row_height; i�;@;);8;+o;% ;&"2;@;'@.;([;i; i�; i�; i�;i; i�o; ;T;[" #search;o;;[o;;[o;;[o;<;[" search;"; i�;@�; i�;@�; i�;@; [o; ;;;["
float;@; [;i;o;.;/;0;@;"
-right; i�o; ;T;["#search_button;o;;[o;;[o;;[o;<;["search_button;"; i�;@�; i�;@�; i�;@; [o; ;;;[" display;@; [;i;o;.;/;0;@;" none; i�;i; i�o; ;T;["#search_form input;o;;[o;;[o;;[o;<;["search_form;"; i�;@; i�o;;[o; ;["
-input;0;@; i�;@; i�;@; i�;@; [o; ;;;["font-size;@; [;i;o;, ;" x-small;@;-" x_small; i�; i�;i; i�;i; i�o;1 ;@;20; [;30;["/*MOBILE*/; i�o:Sass::Tree::MediaNode ;T: @query["(only screen and (max-width: 767px);@; [o;1 ;@;20; [;30;["/*Typography*/; i�o; ;T;["h1;o;;[o;;[o;;[o; ;["h1;0;"; i�;@8; i�;@8; i�;@; [o; ;{;"font-size-x-large;@; [; i�;[;i; i�o; ;T;["h2;o;;[o;;[o;;[o; ;["h2;0;"; i�;@K; i�;@K; i�;@; [o; ;{;"font-size-large;@; [; i�;[;i; i�o; ;T;["h3;o;;[o;;[o;;[o; ;["h3;0;"; i�;@^; i�;@^; i�;@; [o; ;{;"font-size-medium;@; [; i�;[;i; i�o; ;T;["h4;o;;[o;;[o;;[o; ;["h4;0;"; i�;@q; i�;@q; i�;@; [o; ;{;"font-size-small;@; [; i�;[;i; i�o; ;T;["h5;o;;[o;;[o;;[o; ;["h5;0;"; i�;@�; i�;@�; i�;@; [o; ;{;"font-size-x-small;@; [; i�;[;i; i�o; ;T;["h6;o;;[o;;[o;;[o; ;["h6;0;"; i�;@�; i�;@�; i�;@; [o; ;{;"font-size-xx-small;@; [; i�;[;i; i�o;1 ;@;20; [;30;["/*Metadata content*/; i�o; ;T;["ul.metadata.vertical;o;;[o;;[o;;[o; ;["ul;0;"; i�o;4;[" metadata;@�; i�o;4;[" vertical;@�; i�;@�; i�;@�; i�;@; [
+right; i�o; ;T;["#search_button;o;;[o;;[o;;[o;<;["search_button;"; i�;@
+; i�;@
+; i�;@; [o; ;;;[" display;@; [;i;o;.;/;0;@;" none; i�;i; i�o; ;T;["#search_form input;o;;[o;;[o;;[o;<;["search_form;"; i�;@; i�o;;[o; ;["
+input;0;@; i�;@; i�;@; i�;@; [o; ;;;["font-size;@; [;i;o;, ;" x-small;@;-" x_small; i�; i�;i; i�;i; i�o;1 ;@;20; [;30;["/*MOBILE*/; i�o:Sass::Tree::MediaNode ;T: @query["(only screen and (max-width: 767px);@; [o;1 ;@;20; [;30;["/*Typography*/; i�o; ;T;["h1;o;;[o;;[o;;[o; ;["h1;0;"; i�;@D; i�;@D; i�;@; [o; ;{;"font-size-x-large;@; [; i�;[;i; i�o; ;T;["h2;o;;[o;;[o;;[o; ;["h2;0;"; i�;@W; i�;@W; i�;@; [o; ;{;"font-size-large;@; [; i�;[;i; i�o; ;T;["h3;o;;[o;;[o;;[o; ;["h3;0;"; i�;@j; i�;@j; i�;@; [o; ;{;"font-size-medium;@; [; i�;[;i; i�o; ;T;["h4;o;;[o;;[o;;[o; ;["h4;0;"; i�;@}; i�;@}; i�;@; [o; ;{;"font-size-small;@; [; i�;[;i; i�o; ;T;["h5;o;;[o;;[o;;[o; ;["h5;0;"; i�;@�; i�;@�; i�;@; [o; ;{;"font-size-x-small;@; [; i�;[;i; i�o; ;T;["h6;o;;[o;;[o;;[o; ;["h6;0;"; i�;@�; i�;@�; i�;@; [o; ;{;"font-size-xx-small;@; [; i�;[;i; i�o;1 ;@;20; [;30;["/*Metadata content*/; i�o; ;T;["ul.metadata.vertical;o;;[o;;[o;;[o; ;["ul;0;"; i�o;4;[" metadata;@�; i�o;4;[" vertical;@�; i�;@�; i�;@�; i�;@; [
o; ;;;["margin-top;@; [;i;o;#
-;$o;, ;"row-height;@;-"row_height; i�;@;);8;+o;% ;&"2;@;'@.;([;i; i�; i�; i�o; ;;;[" display;@; [;i;o;.;/;0;@;"inline-block; i�o; ;T;["li;o;;[o;;[o;;[o; ;["li;0;"; i�;@�; i�;@�; i�;@; [ o; ;;;["
-float;@; [;i;o;.;/;0;@;" left; i�o; ;;;["background;@; [;i;o;.;/;0;@;" none; i�o; ;;;["margin-right;@; [;i;o;.;/;0;@;" 15px; i�o; ;;;["text-align;@; [;i;o;.;/;0;@;" left; i�;i; i�o; ;T;["li.last, li:last-child;o;;[o;;[o;;[o; ;["li;0;"; i�o;4;[" last;@�; i�;@�; i�o;;[o;;[o; ;["li;0;@�; i�o;5
-;["last-child;/;6;@�; i�;70;@�; i�;@�; i�;@; [o; ;;;["margin-right;@; [;i;o;.;/;0;@;"0; i�;i; i�o; ;T;["li:first-child;o;;[o;;[o;;[o; ;["li;0;"; i�o;5
-;["first-child;/;6;@; i�;70;@; i�;@; i�;@; [o; ;;;["margin-left;@; [;i;o;.;/;0;@;"0; i�;i; i�;i; i�o; ;T;["$#content.single article section;o;;[o;;[o;;[o;<;[" content;"; i�o;4;[" single;@1; i�;@1; i�o;;[o; ;[" article;0;@1; i�;@1; i�o;;[o; ;[" section;0;@1; i�;@1; i�;@1; i�;@; [o; ;T;[".flush-left;o;;[o;;[o;;[o;4;["flush-left;"; i�;@L; i�;@L; i�;@; [o; ;;;["margin-left;@; [;i;o;.;/;0;@;"0% !important; i�;i; i�o; ;T;["img.flush-left;o;;[o;;[o;;[o; ;["img;0;"; i�o;4;["flush-left;@`; i�;@`; i�;@`; i�;@; [o; ;;;["max-width;@; [;i;o;.;/;0;@;"100% !important; i�;i; i�;i; i�;i;"; i�; i
+;$o;, ;"row-height;@;-"row_height; i�;@;);8;+o;% ;&"2;@;'@.;([;i; i�; i�; i�o; ;;;[" display;@; [;i;o;.;/;0;@;"inline-block; i�o; ;T;["li;o;;[o;;[o;;[o; ;["li;0;"; i�;@�; i�;@�; i�;@; [ o; ;;;["
+float;@; [;i;o;.;/;0;@;" left; i�o; ;;;["background;@; [;i;o;.;/;0;@;" none; i�o; ;;;["margin-right;@; [;i;o;.;/;0;@;" 15px; i�o; ;;;["text-align;@; [;i;o;.;/;0;@;" left; i�;i; i�o; ;T;["li.last, li:last-child;o;;[o;;[o;;[o; ;["li;0;"; i�o;4;[" last;@; i�;@; i�o;;[o;;[o; ;["li;0;@; i�o;5
+;["last-child;/;6;@; i�;70;@; i�;@; i�;@; [o; ;;;["margin-right;@; [;i;o;.;/;0;@;"0; i�;i; i�o; ;T;["li:first-child;o;;[o;;[o;;[o; ;["li;0;"; i�o;5
+;["first-child;/;6;@&; i�;70;@&; i�;@&; i�;@; [o; ;;;["margin-left;@; [;i;o;.;/;0;@;"0; i�;i; i�;i; i�o; ;T;["$#content.single article section;o;;[o;;[o;;[o;<;[" content;"; i�o;4;[" single;@=; i�;@=; i�o;;[o; ;[" article;0;@=; i�;@=; i�o;;[o; ;[" section;0;@=; i�;@=; i�;@=; i�;@; [o; ;T;[".flush-left;o;;[o;;[o;;[o;4;["flush-left;"; i�;@X; i�;@X; i�;@; [o; ;;;["margin-left;@; [;i;o;.;/;0;@;"0% !important; i�;i; i�o; ;T;["img.flush-left;o;;[o;;[o;;[o; ;["img;0;"; i�o;4;["flush-left;@l; i�;@l; i�;@l; i�;@; [o; ;;;["max-width;@; [;i;o;.;/;0;@;"100% !important; i�;i; i�;i; i�;i;"; i�; i
4 frank/build/clean.command
View
@@ -0,0 +1,4 @@
+cd `dirname $0`
+find ./../ -name ".git" | xargs rm -Rf
+find ./../ -name ".DS_Store" | xargs rm -Rf
+find ./../ -name ".sass-cache" | xargs rm -Rf
4 frank/build/makecss.command
View
@@ -25,11 +25,13 @@ sass --update ../stylesheets/scss/ie7_custom.scss:../stylesheets/css/ie7_custom.
juicer merge ../stylesheets/css/main.css --force -o ../style.css -c none
echo "/*
Theme Name: Frank
-Theme URI: http://somerandomdude.com/frank
+Theme URI: http://somerandomdude.com/work/frank
Description: The next step of the Franklin Street theme.
Author: P.J. Onori
Author URI: http://somerandomdude.com/hello/
Version: 0.1.0
License: Creative Commons Share Alike 3.0
License URI: http://creativecommons.org/licenses/by-sa/3.0/us/
+Tags: brown, red, white, two-columns, fixed-width, sticky-post, custom-menu
+
*/"|cat - ../style.css > /tmp/out && mv /tmp/out ../style.css
18 frank/functions.php
View
@@ -31,8 +31,13 @@ function my_init_method() {
if ( function_exists( 'add_theme_support' ) ) {
add_theme_support( 'automatic-feed-links' );
+
+/*
+//I have yet to have a good reason to support post formats. Disabling for now...
+
add_theme_support( 'post-formats', array( 'aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat' ) );
add_post_type_support( 'page', 'post-formats' );
+*/
add_theme_support( 'post-thumbnails' );
add_image_size( 'post-image', 535, 9999 ); //550 pixels wide (and unlimited height)
@@ -187,13 +192,16 @@ function frank_general()
include 'admin/admin-options-general.php';
}
+function frank_theme_options()
+{
+ include 'admin/frank-theme-options.php';
+}
+
// add our menus
function frank_admin_menu()
{
- add_menu_page( 'Frank', 'Frank', 'manage_options', 'frank', 'frank_general' );
- add_submenu_page( 'frank', 'Frank', 'General', 'manage_options', 'frank', 'frank_general');
- add_submenu_page( 'frank', 'Frank', 'Home Page Sections', 'manage_options', 'frank-home', 'frank_home');
+ add_theme_page( 'Frank', 'Frank Theme Options', 'manage_options', 'frank', 'frank_theme_options' );
}
add_action( 'admin_menu', 'frank_admin_menu' );
@@ -203,8 +211,8 @@ function frank_admin_assets()
if( is_admin() )
{
wp_enqueue_script( 'jquery-ui-sortable' );
- wp_enqueue_style( 'frank-admin', get_bloginfo( 'template_directory' ) . '/admin/css/frank-options.css', NULL, NULL, NULL );
- wp_enqueue_script( 'frank-admin', get_bloginfo( 'template_directory' ) . '/admin/js/frank-utils.js', 'jquery', NULL, true );
+ wp_enqueue_style( 'frank-admin', get_template_directory_uri() . '/admin/css/frank-options.css', NULL, NULL, NULL );
+ wp_enqueue_script( 'frank-admin', get_template_directory_uri() . '/admin/js/frank-utils.js', 'jquery', NULL, true );
}
}
10 frank/search.php
View
@@ -22,16 +22,16 @@
<h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
</header>
<div class="row">
-
<section class='nine columns push-three'>
<?php the_content('Read On&hellip;'); ?>
</section>
<div class='three columns pull-nine post-info'>
<ul class='metadata vertical'>
- <li class="date"><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time('F j, Y'); ?></time></li>
+ <li class="date"><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time(get_option('date_format')); ?></time></li>
<li class="author">By <?php the_author_link(); ?></li>
<li class="categories"><?php the_category(', '); ?></li>
- <li class='comments'><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
+ <li class="tags"><?php the_tags('', ', '); ?></li>
+ <li class="comments"><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
</ul>
</div>
</div>
@@ -56,9 +56,9 @@
<h2>Page Not Found</h2>
- <p>Looks like the page you're looking for isn't here anymore. Try browsing the <a href="">categories</a>, <a href="">archives</a>, or using the search box below.</p>
+ <p>Looks like the page you're looking for isn't here anymore. Try using the search box below.</p>
- <?php include(TEMPLATEPATH.'/searchform.php'); ?>
+ <?php get_search_form(true); ?>
</div>
<?php endif; ?>
</div>
2  frank/searchform.php
View
@@ -4,6 +4,6 @@
* @subpackage Frank
*/
?>
-<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
+<form method="get" id="searchform" action="<?php echo home_url(); ?>/">
<input type="text" placeholder="Type your query, hit enter" class='textinput' name="s" id="s" />
</form>
5 frank/single.php
View
@@ -22,13 +22,14 @@
</section>
<div class='three columns pull-nine post-info'>
<ul class='metadata vertical'>
- <li class="date"><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time('F j, Y'); ?></time></li>
+ <li class="date"><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time(get_option('date_format')); ?></time></li>
<li class="author">By <?php the_author_link(); ?></li>
<li class="categories"><?php the_category(', '); ?></li>
+ <li class="tags"><?php the_tags('', ', '); ?></li>
<li class='comments'><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
</ul>
<div class='previous'>
- <?php previous_post('%','<nav><span class="arrow">Previous Post</span></nav>', 'yes'); ?>
+ <?php previous_post_link('%link', '<nav><span class="arrow">%title</span></nav><p>%title</p>'); ?>
</div>
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Post Left Aside') ) : ?>
<?php endif; ?>
6 frank/style.css
View
@@ -1,11 +1,13 @@
/*
Theme Name: Frank
-Theme URI: http://somerandomdude.com/frank
+Theme URI: http://somerandomdude.com/work/frank
Description: The next step of the Franklin Street theme.
Author: P.J. Onori
Author URI: http://somerandomdude.com/hello/
Version: 0.1.0
License: Creative Commons Share Alike 3.0
License URI: http://creativecommons.org/licenses/by-sa/3.0/us/
+Tags: brown, red, white, two-columns, fixed-width, sticky-post, custom-menu
+
*/
-html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}ins{background-color:#f0eceb;color:#050000;text-decoration:none}mark{background-color:#f0eceb;color:#050000;font-style:italic;font-weight:700}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #5d504f;margin:15px 0;padding:0}input,select{vertical-align:middle}.container{padding:0 20px}.row{width:100%;max-width:980px;min-width:727px;margin:0 auto}.row .row{min-width:0}.column,.columns{margin-left:4.4%;float:left;min-height:1px;position:relative}.column:first-child,.columns:first-child{margin-left:0}[class*="column"]+[class*="column"]:last-child{float:right}.row .one{width:4.3%}.row .two{width:13%}.row .three{width:21.679%}.row .four{width:30.37%}.row .five{width:39.1%}.row .six{width:47.8%}.row .seven{width:56.5%}.row .eight{width:65.2%}.row .nine{width:73.9%}.row .ten{width:82.6%}.row .eleven{width:91.3%}.row .twelve{width:100%}.row .offset-by-one{margin-left:13.1%}.row .offset-by-two{margin-left:21.8%}.row .offset-by-three{margin-left:30.5%}.row .offset-by-four{margin-left:39.2%}.row .offset-by-five{margin-left:47.9%}.row .offset-by-six{margin-left:56.6%}.row .offset-by-seven{margin-left:65.3%}.row .offset-by-eight{margin-left:74.0%}.row .offset-by-nine{margin-left:82.7%}.row .offset-by-ten{margin-left:91.4%}.row .centered{float:none;margin:0 auto}.row .offset-by-one:first-child{margin-left:8.7%}.row .offset-by-two:first-child{margin-left:17.4%}.row .offset-by-three:first-child{margin-left:26.1%}.row .offset-by-four:first-child{margin-left:34.8%}.row .offset-by-five:first-child{margin-left:43.5%}.row .offset-by-six:first-child{margin-left:52.2%}.row .offset-by-seven:first-child{margin-left:60.9%}.row .offset-by-eight:first-child{margin-left:69.6%}.row .offset-by-nine:first-child{margin-left:78.3%}.row .offset-by-ten:first-child{margin-left:87%}.row .offset-by-eleven:first-child{margin-left:95.7%}.push-two{left:17.4%}.push-three{left:26.1%}.push-four{left:34.8%}.push-five{left:43.5%}.push-six{left:52.2%}.push-seven{left:60.9%}.push-eight{left:69.6%}.push-nine{left:78.3%}.push-ten{left:87%}.pull-two{right:17.4%}.pull-three{right:26.1%}.pull-four{right:34.8%}.pull-five{right:43.5%}.pull-six{right:52.2%}.pull-seven{right:60.9%}.pull-eight{right:69.6%}.pull-nine{right:78.3%}.pull-ten{right:87%}img,object,embed{max-width:100%;height:auto}img{-ms-interpolation-mode:bicubic}#map_canvas img,.map_canvas img{max-width:none!important}.row:before,.row:after,.clearfix:before,.clearfix:after{content:"";display:table}.row:after,.clearfix:after{clear:both}.row,.clearfix{zoom:1}.block-grid{display:block;overflow:hidden}.block-grid>li{display:block;height:auto;float:left}.block-grid.two-up{margin-left:-4%}.block-grid.two-up>li{margin-left:4%;width:46%}.block-grid.three-up{margin-left:-2%}.block-grid.three-up>li{margin-left:2%;width:31.3%}.block-grid.four-up{margin-left:-2%}.block-grid.four-up>li{margin-left:2%;width:23%}.block-grid.five-up{margin-left:-1.5%}.block-grid.five-up>li{margin-left:1.5%;width:18.5%}body{margin:0;padding:0;font:62.5%/1.55 Georgia,"Times New Roman",Times,serif;background:#fffefe;color:#050000;height:100%;text-rendering:optimizelegibility}img.noshadow{box-shadow:none!important}a{color:#ea0000;text-decoration:none}a img{border:0}a:hover{color:#ff1e00}h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;line-height:1.3;padding-top:0;margin-bottom:15px}h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child{margin-top:0}h1{font-size:24px}h2{font-size:20px}h3{font-size:17px}h4{font-size:13px}h5{font-size:11px}h6{font-size:10px}p{margin:15px 0;font-size:13px}p.xx-large{font-size:28px}p.x-large{font-size:24px}p.large{font-size:20px}p.medium{font-size:17px}p.small{font-size:13px}p.x-small{font-size:11px}p.xx-small{font-size:10px}p:first-child{margin-top:0}p:last-child{margin-bottom:0}blockquote,q{quotes:"„" "“"}blockquote{color:#3d302f;border:2px #050000 solid;border-left:0;border-right:0;margin:30px 0 30px 40px;padding:15px 0}blockquote p{font-size:inherit;line-height:inherit;margin:0}blockquote p:first-child:before{content:"“"}blockquote p:last-child:after{content:"”"}cite,blockquote[cite]:after,cite{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px}blockquote[cite]:after{content:"—" attr(cite);display:block;color:#050000;margin-top:15px}cite{margin-left:40px;margin-top:-1em;margin-bottom:2em}cite:before{content:"—"}pre,code{white-space:pre;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-o-pre-wrap;font-family:"andale mono","lucida console",monospace}pre{border:2px #050000 solid;border-left:0;border-right:0;margin:30px 0 30px 40px;padding:15px 0}table{border-collapse:separate;border-spacing:0;font-size:13px;margin:15px 0}table,td,th{vertical-align:middle}th,td{text-align:left;font-weight:400;padding:0 5px}th{border-bottom:1px solid;font-weight:700}ul,ol{margin-top:15px}ul li,ol li{margin-left:20px;font-size:13px}ul{list-style:square}ol{list-style:decimal}dl{margin:15px 0;padding-top:5px;font-family:Georgia,"Times New Roman",Times,serif}dl dt,dl dd{font-size:11px}dl dt{font-weight:700;margin-top:15px}dl dt:first-child{margin:0}small{font-size:13px}strong{font-weight:700}em{font-style:italic}hr{border-color:#f0eceb}header{margin-bottom:15px}header h1{margin-bottom:0;font-size:20px}header h2{font-family:Georgia,"Times New Roman",Times,serif;font-style:italic;font-size:13px;color:#5d504f;margin:5px 0 0 0}header a{color:#050000}header a:hover{color:#5d504f}#content.single article section .flush-left{margin-left:-26.1%}#content.single article section blockquote.large p{font-size:20px}#content.single article section img.flush-left{max-width:126.1%}.more-link{font-style:italic}.hidden{display:none}.crop{overflow:hidden}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis}.alignleft,.alignright,.aligncenter{margin:10px 0 15px 0}.alignleft{float:left!important;margin-right:15px}.alignright{float:right!important;margin-left:15px}.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{text-align:center;margin-top:10px 0 15px 0}.wp-caption img{margin:0;padding:0;border:0 none}.wp-caption-text{font-size:13px!important;color:#5d504f;margin-top:10px}.bypostauthor{border:2px solid #5d504f;padding:15px 0;border-left:0;border-right:0}.pagination{font-size:13px}.pagination a{margin-right:40px;width:110px}.pagination.small{font:13px "Helvetica Neue",Helvetica,Arial,sans-serif}.pagination.small .title{font-weight:700;margin-right:15px}.pagination.small a{margin:0 10px;border:1px #f0eceb solid;color:#5d504f;padding:4px 6px;border-radius:2px}.metadata a{color:#5d504f}.metadata a:hover{color:#050000}ul.metadata{list-style:none}ul.metadata li{font-family:Georgia,"Times New Roman",Times,serif;font-size:11px;font-style:italic;margin-left:0}ul.metadata li.date{font-style:normal;font-weight:700;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}ul.metadata.horizontal{margin-top:15px;display:inline-block}ul.metadata.horizontal li{float:left;background:0;margin-right:15px}ul.metadata.horizontal li.last,ul.metadata.horizontal li:last-child{margin-right:0}ul.metadata.horizontal li:first-child{margin-left:0}ul.metadata.vertical{margin-top:5px}ul.metadata.vertical li{text-align:right;float:none;margin-bottom:5px}ul.metadata.vertical li.date{margin-bottom:10px}dl.metadata{display:none;text-align:right;margin-bottom:15px}.post header{margin-bottom:15px}.post p .callout{padding-top:0}#content{margin:0 0 60px 0;position:relative}#content.home article section,#content.single article section,#content.page article section,#content.archive article section{font-family:Georgia,"Times New Roman",Times,serif;font-size:17px}#content.home article section p,#content.home article section ul li,#content.home article section ol li,#content.home article section dt,#content.home article section dd,#content.home article section blockquote,#content.single article section p,#content.single article section ul li,#content.single article section ol li,#content.single article section dt,#content.single article section dd,#content.single article section blockquote,#content.page article section p,#content.page article section ul li,#content.page article section ol li,#content.page article section dt,#content.page article section dd,#content.page article section blockquote,#content.archive article section p,#content.archive article section ul li,#content.archive article section ol li,#content.archive article section dt,#content.archive article section dd,#content.archive article section blockquote{font-size:17px}#content.home article section code,#content.home article section small,#content.single article section code,#content.single article section small,#content.page article section code,#content.page article section small,#content.archive article section code,#content.archive article section small{font-size:13px}#content.home article section img,#content.single article section img,#content.page article section img,#content.archive article section img{max-width:100%;box-shadow:0 0 8px rgba(18,7,6,0.3)}#content.page article section img{box-shadow:none!important}#content.home article,#content.archive article{margin-top:60px;margin-bottom:60px}#content.home article:first-child,#content.archive article:first-child{margin-top:0}#content.home article:last-child,#content.archive article:last-child{margin-bottom:0}button,.button,input[type=submit],a.button{display:inline-block;background:#f0eceb;color:#5d504f;padding:8px 10px;border-radius:3px;font-weight:700;font-size:13px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;text-align:center;text-shadow:0 1px 0 rgba(255,254,254,0.3);border:1px solid rgba(18,7,6,0.2);box-shadow:inset 0 -1px 1px rgba(18,7,6,0.1),inset 0 1px 1px rgba(255,253,253,0.4)}button:hover,.button:hover,input[type=submit]:hover{background:#998482;color:#fffefe;border:1px solid rgba(18,7,6,0.5);text-shadow:0 -1px 0 rgba(5,0,0,0.3);box-shadow:inset 0 -1px 1px rgba(18,7,6,0.1),inset 0 1px 1px rgba(255,253,253,0.2)}button.alt,.button.alt,input[type=submit].alt{background:#ea0000;color:#fffefe;text-shadow:0 -1px 0 rgba(5,0,0,0.3)}button.alt:hover,.button.alt:hover,input[type=submit].alt:hover{background:#ff1e00;color:#fffefe;border:1px solid rgba(18,7,6,0.5)}#searchform input{width:100%;box-sizing:border-box;-moz-box-sizing:border-box}#content.fourohfour .main{margin-bottom:30px}#search{float:right}#search #search_button{display:none}#search #search_form input{font-size:11px}@media only screen and (max-width:767px){h1{font-size:24px}h2{font-size:20px}h3{font-size:17px}h4{font-size:13px}h5{font-size:11px}h6{font-size:10px}ul.metadata.vertical{margin-top:30px;display:inline-block}ul.metadata.vertical li{float:left;background:0;margin-right:15px;text-align:left}ul.metadata.vertical li.last,ul.metadata.vertical li:last-child{margin-right:0}ul.metadata.vertical li:first-child{margin-left:0}#content.single article section .flush-left{margin-left:0!important}#content.single article section img.flush-left{max-width:100%!important}}@media screen,projection{label{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:700}input[type=text],textarea{font-size:13px;border:1px solid #5d504f;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#5d504f;padding:3px 4px;font-size:13px;box-shadow:inset 0 0 5px rgba(18,7,6,0.2);border-radius:2px}input[type=text]:focus,textarea:focus{border:1px solid #050000;box-shadow:inset 0 0 5px rgba(18,7,6,0.1)}}.widget{margin-bottom:15px}.widget h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis}.widget.six.columns,.widget.three.columns,.widget.four.columns{float:left!important}.widget.six.columns:nth-child(2n+1),.widget.three.columns:nth-child(4n+1),.widget.four.columns:nth-child(3n+1){margin-left:0;clear:left}.widget.six.columns:nth-child(2n),.widget.three.columns:nth-child(4n),.widget.four.columns:nth-child(3n){margin-right:0;float:right}.sprite{display:block}#comment_form_comment textarea{-webkit-transition:height .5s cubic-bezier(0.02,0,0.18,1);-moz-transition:height .5s cubic-bezier(0.02,0,0.18,1)}button,.button,input[type=submit]{-webkit-transition:background-color .5s cubic-bezier(0.02,0,0.18,1);-moz-transition:background-color .5s cubic-bezier(0.02,0,0.18,1)}#content.single .previous .arrow,#content.single .previous a{-webkit-transition:all .75s cubic-bezier(0.02,0,0.18,1);-moz-transition:all .75s cubic-bezier(0.02,0,0.18,1)}#page_header{position:relative;border-bottom:2px solid #f0eceb;padding-bottom:15px;margin:15px 0 30px 0}#page_header h1{font-size:24px}#page_header h2{margin-top:0}#page_header nav .menu ul{list-style:none}#page_header nav .menu ul ul{display:none}#page_header nav .menu li{float:left}#page_header nav .menu li a{display:block;height:15px;color:#050000;font-style:700;font-size:11px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}#page_header nav .menu li a:hover{color:#5d504f}#page_header nav .menu li:first-child{margin-left:0}#page_header nav .menu li.last{margin-right:0}#sub_header{border-bottom:2px solid #f0eceb;padding-bottom:15px;margin-bottom:30px}#sub_header p{font-size:11px;color:#5d504f;margin-top:0}#content.home .content{margin-bottom:60px}#content.home .content-header{margin-bottom:30px;padding-bottom:5px;border-bottom:1px #f0eceb solid;font-size:13px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}#content.home .content-header .caption{font-style:italic;color:#5d504f;margin-left:10px}#content.home .content-header .more{font-family:Georgia,"Times New Roman",Times,serif}#content.home .content.oneup .post .read-more,#content.home .content.twoup .post .read-more,#content.home .content.threeup .post .read-more,#content.home .content.fourup .post .read-more{margin-top:15px}#content.home .content.oneup .post .read-more .more,#content.home .content.twoup .post .read-more .more,#content.home .content.threeup .post .read-more .more,#content.home .content.fourup .post .read-more .more{font-size:11px}#content.home .content.oneup.large article header h1{font-size:20px}#content.home .content.oneup.large article section{margin:0 0 15px 0}#content.home .content.oneup.large article section p{font-style:italic;font-size:38px}#content.home .content.twoup .post,#content.home .content.threeup .post,#content.home .content.fourup .post{margin-top:15px}#content.home .content.twoup .post header h1,#content.home .content.threeup .post header h1,#content.home .content.fourup .post header h1{font-size:13px;font-weight:700}#content.home .content.twoup .post header h1 a,#content.home .content.threeup .post header h1 a,#content.home .content.fourup .post header h1 a{text-decoration:none}#content.home .content.twoup .post section p,#content.home .content.threeup .post section p,#content.home .content.fourup .post section p{font-size:13px}#content.home .content.twoup .metadata li,#content.home .content.threeup .metadata li,#content.home .content.fourup .metadata li{font-size:11px}#content.home .content.twoup .post{float:left!important}#content.home .content.twoup .post:nth-child(2n+1){margin-left:0;clear:left}#content.home .content.twoup .post:nth-child(2n){margin-right:0;float:right}#content.home .content.twoup .post:nth-child(n+3){margin-bottom:0;margin-top:45px}#content.home .content.fourup .post{float:left!important}#content.home .content.fourup .post:nth-child(4n+1){margin-left:0;clear:left}#content.home .content.fourup .post:nth-child(4n){margin-right:0;float:right}#content.home .content.fourup .post:nth-child(n+5){margin-bottom:0;margin-top:45px}#content.home .content.threeup .post{float:left!important}#content.home .content.threeup .post:nth-child(3n+1){margin-left:0;clear:left}#content.home .content.threeup .post:nth-child(3n){margin-right:0;float:right}#content.home .content.threeup .post:nth-child(n+4){margin-bottom:0;margin-top:45px}@media only screen and (max-width:767px){#content.home .content.oneup.large article section p{font-size:24px}}#content.single{position:relative}#content.single .post-info .previous{margin-top:60px;font-style:italic;font-family:Georgia,"Times New Roman",Times,serif}#content.single .post-info .previous a{font-size:13px;display:block;text-align:center}#content.single .post-info .previous nav{padding-bottom:15px;border-bottom:1px solid #f0eceb;margin:15px 0}#content.single .post-info .previous .arrow{display:block;box-shadow:0 0 8px rgba(18,7,6,0.3);width:45px;height:45px;border-radius:22.5px;text-indent:100%;white-space:nowrap;overflow:hidden;background:#5d504f url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAQCAYAAADESFVDAAAAWElEQVR42qXSzQkAIAgF4EZolEZqhDZqpEZwBM8dovSUYD9YwuNdPgIlt5tWa6AA9wkgpXPfACeagaeAAGkFigDZACbKAoAC+5f+od7Oesh/iC+/QC/DPQAIxvkuqJQtLgAAAABJRU5ErkJggg==") no-repeat 16px 15px}#content.single .post-info .previous a:hover{color:#ff1e00}#content.single .post-info .previous a:hover .arrow{background-color:#3d302f}#content.single article header h1{font-size:24px;color:#3d302f}#content.single article section h1,#content.single article section h2{margin:15px 0;padding:0}#content.single article section h1{font-size:20px;margin-top:30px}#content.single article section h2{font-size:17px;font-weight:700}#content.single article dl dd{margin-left:40px}#content.single #content_primary #excerpt{padding-bottom:30px;color:#5d504f}#content.single #content_primary #excerpt p{padding-top:0;font-size:28px;font-family:Georgia,"Times New Roman",Times,serif;font-style:italic}#content.single #content_primary section{margin-bottom:45px}#content.single #content_primary .pagination{margin-top:30px}#content.single #content_primary footer{border-bottom:2px solid #f0eceb;padding-bottom:15px;margin-bottom:30px}#content.single #content_primary footer .widget:nth-child(4n){margin-right:40px}#content.single #content_primary footer .widget:nth-child(4n+1){clear:none}#content.single #content_primary footer .widget:nth-child(3n){margin-right:0}#content.single #content_primary footer .widget:nth-child(3n+1){clear:left}#content.single #content_primary #content_main{margin:30px 0;border-bottom:2px solid #f0eceb;padding-bottom:15px}@media only screen and (max-width:767px){.post-info .previous a:before{content:"Previous Post: "}.post-info .previous nav{display:none!important}}#content.archive header{margin-bottom:30px}#content.fourohfour h2{margin-top:0}#sidebar{margin-top:10px}#sidebar .widget{margin-right:0}#sidebar h3{font-weight:700;font-size:13px;margin-bottom:5px}#sidebar h3:first-child{margin-top:0!important}#comments_container{margin-top:60px}#comments_container .no_comments,#comments_container .comments_closed{margin-top:30px;font-style:italic;font-size:28px;font-family:Georgia,"Times New Roman",Times,serif;color:#5d504f}#comments_container #comments{list-style:none}#comments_container #comments li.comment{margin:60px 0;background:0}#comments_container #comments li.comment.bypostauthor{margin:45px 0}#comments_container #comments li:first-child{margin-top:0}#comments_container #comments .content{font-family:Georgia,"Times New Roman",Times,serif}#comments_container #comments .content p{font-size:17px;color:#3d302f}#comments_container #comments .content blockquote,#comments_container #comments .content blockquote p{font-size:13px}#comments_container #comments .comment-edit-link{font-weight:700;color:#ea0000}#comments_container #no_comments{font-family:Georgia,"Times New Roman",Times,serif;font-size:28px;margin:30px 0;color:#5d504f}#comments_container #respond input[type=text],#comments_container #respond textarea{-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}#comments_container #respond label{display:none}#comments_container #respond #comment_form_info input[type=text]{margin-bottom:15px;text-align:right}#comments_container #respond textarea{margin:0;height:118px}#comments_container #respond textarea:focus{height:375px}#comments_container #comment_form header h1{font-size:20px}#comments_container #comment_form header .loggedin{font-style:italic}#comments_container #submit{margin-top:15px;margin-left:26.1%}@media only screen and (max-width:767px){#comments_container #commentform #comment_form_info input[type=text]{text-align:left}}#page_bottom{background:#5d504f}#page_footer{padding-top:30px;padding-bottom:30px;margin-top:30px;color:#f0eceb}#page_footer a{color:#fffefe}#page_footer h3{font-size:17px;color:#f0eceb}.clear:before,.clear:after{content:"";display:table}.clear:after{clear:both}.clear{zoom:1}@media only screen and (max-width:767px){body{-webkit-text-size-adjust:none;-ms-text-size-adjust:none;width:100%;min-width:0;margin-left:0;margin-right:0;padding-left:0;padding-right:0}.container{min-width:0;margin-left:0;margin-right:0}.row{width:100%;min-width:0;margin-left:0;margin-right:0}.row .row .column,.row .row .columns{padding:0}.column,.columns{width:auto!important;float:none;margin-left:0;margin-right:0}.column:last-child,.columns:last-child{margin-right:0;float:none}[class*="column"]+[class*="column"]:last-child{float:none}[class*="column"]:before,[class*="column"]:after{content:"";display:table}[class*="column"]:after{clear:both}.offset-by-one,.offset-by-two,.offset-by-three,.offset-by-four,.offset-by-five,.offset-by-six,.offset-by-seven,.offset-by-eight,.offset-by-nine,.offset-by-ten,.offset-by-eleven,.centered{margin-left:0!important}.push-two,.push-three,.push-four,.push-five,.push-six,.push-seven,.push-eight,.push-nine,.push-ten{left:auto}.pull-two,.pull-three,.pull-four,.pull-five,.pull-six,.pull-seven,.pull-eight,.pull-nine,.pull-ten{right:auto}.row .phone-one:first-child,.row .phone-two:first-child,.row .phone-three:first-child,.row .phone-four:first-child{margin-left:0}.row .phone-one:last-child,.row .phone-two:last-child,.row .phone-three:last-child,.row .phone-four:last-child{float:right}.row .phone-one,.row .phone-two,.row .phone-three,.row .phone-four{margin-left:4.4%;float:left;min-height:1px;position:relative;padding:0}.row .phone-one{width:21.68%!important}.row .phone-two{width:47.8%!important}.row .phone-three{width:73.9%!important}.row .phone-four{width:100%!important}.row .push-one-phone{left:26.08%}.row .push-two-phone{left:52.2%}.row .push-three-phone{left:78.3%}.row .pull-one-phone{right:26.08%}.row .pull-two-phone{right:52.2%}.row .pull-three-phone{right:78.3%}}@media only screen and (max-width:767px){.block-grid.mobile{margin-left:0}.block-grid.mobile>li{float:none;width:100%;margin-left:0}}@media only screen and (max-device-width:800px),only screen and (device-width:1024px) and (device-height:600px),only screen and (width:1280px) and (orientation:landscape),only screen and (device-width:800px),only screen and (max-width:767px){.flex-video{padding-top:0}}@media print{body{font-size:10pt}a{color:#999}}
+html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}ins{background-color:#f0eceb;color:#050000;text-decoration:none}mark{background-color:#f0eceb;color:#050000;font-style:italic;font-weight:700}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #5d504f;margin:15px 0;padding:0}input,select{vertical-align:middle}.container{padding:0 20px}.row{width:100%;max-width:980px;min-width:727px;margin:0 auto}.row .row{min-width:0}.column,.columns{margin-left:4.4%;float:left;min-height:1px;position:relative}.column:first-child,.columns:first-child{margin-left:0}[class*="column"]+[class*="column"]:last-child{float:right}.row .one{width:4.3%}.row .two{width:13%}.row .three{width:21.679%}.row .four{width:30.37%}.row .five{width:39.1%}.row .six{width:47.8%}.row .seven{width:56.5%}.row .eight{width:65.2%}.row .nine{width:73.9%}.row .ten{width:82.6%}.row .eleven{width:91.3%}.row .twelve{width:100%}.row .offset-by-one{margin-left:13.1%}.row .offset-by-two{margin-left:21.8%}.row .offset-by-three{margin-left:30.5%}.row .offset-by-four{margin-left:39.2%}.row .offset-by-five{margin-left:47.9%}.row .offset-by-six{margin-left:56.6%}.row .offset-by-seven{margin-left:65.3%}.row .offset-by-eight{margin-left:74.0%}.row .offset-by-nine{margin-left:82.7%}.row .offset-by-ten{margin-left:91.4%}.row .centered{float:none;margin:0 auto}.row .offset-by-one:first-child{margin-left:8.7%}.row .offset-by-two:first-child{margin-left:17.4%}.row .offset-by-three:first-child{margin-left:26.1%}.row .offset-by-four:first-child{margin-left:34.8%}.row .offset-by-five:first-child{margin-left:43.5%}.row .offset-by-six:first-child{margin-left:52.2%}.row .offset-by-seven:first-child{margin-left:60.9%}.row .offset-by-eight:first-child{margin-left:69.6%}.row .offset-by-nine:first-child{margin-left:78.3%}.row .offset-by-ten:first-child{margin-left:87%}.row .offset-by-eleven:first-child{margin-left:95.7%}.push-two{left:17.4%}.push-three{left:26.1%}.push-four{left:34.8%}.push-five{left:43.5%}.push-six{left:52.2%}.push-seven{left:60.9%}.push-eight{left:69.6%}.push-nine{left:78.3%}.push-ten{left:87%}.pull-two{right:17.4%}.pull-three{right:26.1%}.pull-four{right:34.8%}.pull-five{right:43.5%}.pull-six{right:52.2%}.pull-seven{right:60.9%}.pull-eight{right:69.6%}.pull-nine{right:78.3%}.pull-ten{right:87%}img,object,embed{max-width:100%;height:auto}img{-ms-interpolation-mode:bicubic}#map_canvas img,.map_canvas img{max-width:none!important}.row:before,.row:after,.clearfix:before,.clearfix:after{content:"";display:table}.row:after,.clearfix:after{clear:both}.row,.clearfix{zoom:1}.block-grid{display:block;overflow:hidden}.block-grid>li{display:block;height:auto;float:left}.block-grid.two-up{margin-left:-4%}.block-grid.two-up>li{margin-left:4%;width:46%}.block-grid.three-up{margin-left:-2%}.block-grid.three-up>li{margin-left:2%;width:31.3%}.block-grid.four-up{margin-left:-2%}.block-grid.four-up>li{margin-left:2%;width:23%}.block-grid.five-up{margin-left:-1.5%}.block-grid.five-up>li{margin-left:1.5%;width:18.5%}body{margin:0;padding:0;font:62.5%/1.55 Georgia,"Times New Roman",Times,serif;background:#fffefe;color:#050000;height:100%;text-rendering:optimizelegibility}img.noshadow{box-shadow:none!important}a{color:#ea0000;text-decoration:none}a img{border:0}a:hover{color:#ff1e00}h1,h2,h3,h4,h5,h6{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;line-height:1.3;padding-top:0;margin-bottom:15px}h1:first-child,h2:first-child,h3:first-child,h4:first-child,h5:first-child,h6:first-child{margin-top:0}h1{font-size:24px}h2{font-size:20px}h3{font-size:17px}h4{font-size:13px}h5{font-size:11px}h6{font-size:10px}p{margin:15px 0;font-size:13px}p.xx-large{font-size:28px}p.x-large{font-size:24px}p.large{font-size:20px}p.medium{font-size:17px}p.small{font-size:13px}p.x-small{font-size:11px}p.xx-small{font-size:10px}p:first-child{margin-top:0}p:last-child{margin-bottom:0}blockquote,q{quotes:"„" "“"}blockquote{color:#3d302f;border:2px #050000 solid;border-left:0;border-right:0;margin:30px 0 30px 40px;padding:15px 0}blockquote p{font-size:inherit;line-height:inherit;margin:0}blockquote p:first-child:before{content:"“"}blockquote p:last-child:after{content:"”"}cite,blockquote[cite]:after,cite{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px}blockquote[cite]:after{content:"—" attr(cite);display:block;color:#050000;margin-top:15px}cite{margin-left:40px;margin-top:-1em;margin-bottom:2em}cite:before{content:"—"}pre,code{white-space:pre;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-o-pre-wrap;font-family:"andale mono","lucida console",monospace}pre{border:2px #050000 solid;border-left:0;border-right:0;margin:30px 0 30px 40px;padding:15px 0}table{border-collapse:separate;border-spacing:0;font-size:13px;margin:15px 0}table,td,th{vertical-align:middle}th,td{text-align:left;font-weight:400;padding:0 5px}th{border-bottom:1px solid;font-weight:700}ul,ol{margin-top:15px}ul li,ol li{margin-left:20px;font-size:13px}ul{list-style:square}ol{list-style:decimal}dl{margin:15px 0;padding-top:5px;font-family:Georgia,"Times New Roman",Times,serif}dl dt,dl dd{font-size:11px}dl dt{font-weight:700;margin-top:15px}dl dt:first-child{margin:0}small{font-size:13px}strong{font-weight:700}em{font-style:italic}hr{border-color:#f0eceb}header{margin-bottom:15px}header h1{margin-bottom:0;font-size:20px}header h2{font-family:Georgia,"Times New Roman",Times,serif;font-style:italic;font-size:13px;color:#5d504f;margin:5px 0 0 0}header a{color:#050000}header a:hover{color:#5d504f}#content.single article section .flush-left{margin-left:-26.1%}#content.single article section blockquote.large p{font-size:20px}#content.single article section img.flush-left{max-width:126.1%}.more-link{font-style:italic}.hidden{display:none}.crop{overflow:hidden}.truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis}.alignleft,.alignright,.aligncenter{margin:10px 0 15px 0}.alignleft{float:left!important;margin-right:15px}.alignright{float:right!important;margin-left:15px}.aligncenter{display:block;margin-left:auto;margin-right:auto}.wp-caption{text-align:center;margin-top:10px 0 15px 0}.wp-caption img{margin:0;padding:0;border:0 none}.wp-caption-text{font-size:13px!important;color:#5d504f;margin-top:10px}.gallery-caption{text-rendering:optimizelegibility}.sticky{text-rendering:optimizelegibility}.bypostauthor{border:2px solid #5d504f;padding:15px 0;border-left:0;border-right:0}.pagination{font-size:13px}.pagination a{margin-right:40px;width:110px}.pagination.small{font:13px "Helvetica Neue",Helvetica,Arial,sans-serif}.pagination.small .title{font-weight:700;margin-right:15px}.pagination.small a{margin:0 10px;border:1px #f0eceb solid;color:#5d504f;padding:4px 6px;border-radius:2px}.metadata a{color:#5d504f}.metadata a:hover{color:#050000}ul.metadata{list-style:none}ul.metadata li{font-family:Georgia,"Times New Roman",Times,serif;font-size:11px;font-style:italic;margin-left:0}ul.metadata li.date{font-style:normal;font-weight:700;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}ul.metadata.horizontal{margin-top:15px;display:inline-block}ul.metadata.horizontal li{float:left;background:0;margin-right:15px}ul.metadata.horizontal li.last,ul.metadata.horizontal li:last-child{margin-right:0}ul.metadata.horizontal li:first-child{margin-left:0}ul.metadata.vertical{margin-top:5px}ul.metadata.vertical li{text-align:right;float:none;margin-bottom:5px}ul.metadata.vertical li.date{margin-bottom:10px}dl.metadata{display:none;text-align:right;margin-bottom:15px}.post header{margin-bottom:15px}.post p .callout{padding-top:0}#content{margin:0 0 60px 0;position:relative}#content.home article section,#content.single article section,#content.page article section,#content.archive article section{font-family:Georgia,"Times New Roman",Times,serif;font-size:17px}#content.home article section p,#content.home article section ul li,#content.home article section ol li,#content.home article section dt,#content.home article section dd,#content.home article section blockquote,#content.single article section p,#content.single article section ul li,#content.single article section ol li,#content.single article section dt,#content.single article section dd,#content.single article section blockquote,#content.page article section p,#content.page article section ul li,#content.page article section ol li,#content.page article section dt,#content.page article section dd,#content.page article section blockquote,#content.archive article section p,#content.archive article section ul li,#content.archive article section ol li,#content.archive article section dt,#content.archive article section dd,#content.archive article section blockquote{font-size:17px}#content.home article section code,#content.home article section small,#content.single article section code,#content.single article section small,#content.page article section code,#content.page article section small,#content.archive article section code,#content.archive article section small{font-size:13px}#content.home article section img,#content.single article section img,#content.page article section img,#content.archive article section img{max-width:100%;box-shadow:0 0 8px rgba(18,7,6,0.3)}#content.page article section img{box-shadow:none!important}#content.home article,#content.archive article{margin-top:60px;margin-bottom:60px}#content.home article:first-child,#content.archive article:first-child{margin-top:0}#content.home article:last-child,#content.archive article:last-child{margin-bottom:0}button,.button,input[type=submit],a.button{display:inline-block;background:#f0eceb;color:#5d504f;padding:8px 10px;border-radius:3px;font-weight:700;font-size:13px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;text-align:center;text-shadow:0 1px 0 rgba(255,254,254,0.3);border:1px solid rgba(18,7,6,0.2);box-shadow:inset 0 -1px 1px rgba(18,7,6,0.1),inset 0 1px 1px rgba(255,253,253,0.4)}button:hover,.button:hover,input[type=submit]:hover{background:#998482;color:#fffefe;border:1px solid rgba(18,7,6,0.5);text-shadow:0 -1px 0 rgba(5,0,0,0.3);box-shadow:inset 0 -1px 1px rgba(18,7,6,0.1),inset 0 1px 1px rgba(255,253,253,0.2)}button.alt,.button.alt,input[type=submit].alt{background:#ea0000;color:#fffefe;text-shadow:0 -1px 0 rgba(5,0,0,0.3)}button.alt:hover,.button.alt:hover,input[type=submit].alt:hover{background:#ff1e00;color:#fffefe;border:1px solid rgba(18,7,6,0.5)}#searchform input{width:100%;box-sizing:border-box;-moz-box-sizing:border-box}#content.fourohfour .main{margin-bottom:30px}#search{float:right}#search #search_button{display:none}#search #search_form input{font-size:11px}@media only screen and (max-width:767px){h1{font-size:24px}h2{font-size:20px}h3{font-size:17px}h4{font-size:13px}h5{font-size:11px}h6{font-size:10px}ul.metadata.vertical{margin-top:30px;display:inline-block}ul.metadata.vertical li{float:left;background:0;margin-right:15px;text-align:left}ul.metadata.vertical li.last,ul.metadata.vertical li:last-child{margin-right:0}ul.metadata.vertical li:first-child{margin-left:0}#content.single article section .flush-left{margin-left:0!important}#content.single article section img.flush-left{max-width:100%!important}}@media screen,projection{label{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:700}input[type=text],textarea{font-size:13px;border:1px solid #5d504f;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#5d504f;padding:3px 4px;font-size:13px;box-shadow:inset 0 0 5px rgba(18,7,6,0.2);border-radius:2px}input[type=text]:focus,textarea:focus{border:1px solid #050000;box-shadow:inset 0 0 5px rgba(18,7,6,0.1)}}.widget{margin-bottom:15px}.widget h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis}.widget.six.columns,.widget.three.columns,.widget.four.columns{float:left!important}.widget.six.columns:nth-child(2n+1),.widget.three.columns:nth-child(4n+1),.widget.four.columns:nth-child(3n+1){margin-left:0;clear:left}.widget.six.columns:nth-child(2n),.widget.three.columns:nth-child(4n),.widget.four.columns:nth-child(3n){margin-right:0;float:right}.sprite{display:block}#comment_form_comment textarea{-webkit-transition:height .5s cubic-bezier(0.02,0,0.18,1);-moz-transition:height .5s cubic-bezier(0.02,0,0.18,1)}button,.button,input[type=submit]{-webkit-transition:background-color .5s cubic-bezier(0.02,0,0.18,1);-moz-transition:background-color .5s cubic-bezier(0.02,0,0.18,1)}#content.single .previous .arrow,#content.single .previous a{-webkit-transition:all .75s cubic-bezier(0.02,0,0.18,1);-moz-transition:all .75s cubic-bezier(0.02,0,0.18,1)}#page_header{position:relative;border-bottom:2px solid #f0eceb;padding-bottom:15px;margin:15px 0 30px 0}#page_header h1{font-size:24px}#page_header h2{margin-top:0}#page_header nav .menu ul{list-style:none}#page_header nav .menu ul ul{display:none}#page_header nav .menu li{float:left}#page_header nav .menu li a{display:block;height:15px;color:#050000;font-style:700;font-size:11px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}#page_header nav .menu li a:hover{color:#5d504f}#page_header nav .menu li:first-child{margin-left:0}#page_header nav .menu li.last{margin-right:0}#sub_header{border-bottom:2px solid #f0eceb;padding-bottom:15px;margin-bottom:30px}#sub_header p{font-size:11px;color:#5d504f;margin-top:0}#content.home .content{margin-bottom:60px}#content.home .content-header{margin-bottom:30px;padding-bottom:5px;border-bottom:1px #f0eceb solid;font-size:13px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif}#content.home .content-header .caption{font-style:italic;color:#5d504f;margin-left:10px}#content.home .content-header .more{font-family:Georgia,"Times New Roman",Times,serif}#content.home .content.oneup .post .read-more,#content.home .content.twoup .post .read-more,#content.home .content.threeup .post .read-more,#content.home .content.fourup .post .read-more{margin-top:15px}#content.home .content.oneup .post .read-more .more,#content.home .content.twoup .post .read-more .more,#content.home .content.threeup .post .read-more .more,#content.home .content.fourup .post .read-more .more{font-size:11px}#content.home .content.oneup.large article header h1{font-size:20px}#content.home .content.oneup.large article section{margin:0 0 15px 0}#content.home .content.oneup.large article section p{font-style:italic;font-size:38px}#content.home .content.twoup .post,#content.home .content.threeup .post,#content.home .content.fourup .post{margin-top:15px}#content.home .content.twoup .post header h1,#content.home .content.threeup .post header h1,#content.home .content.fourup .post header h1{font-size:13px;font-weight:700}#content.home .content.twoup .post header h1 a,#content.home .content.threeup .post header h1 a,#content.home .content.fourup .post header h1 a{text-decoration:none}#content.home .content.twoup .post section p,#content.home .content.threeup .post section p,#content.home .content.fourup .post section p{font-size:13px}#content.home .content.twoup .metadata li,#content.home .content.threeup .metadata li,#content.home .content.fourup .metadata li{font-size:11px}#content.home .content.twoup .post{float:left!important}#content.home .content.twoup .post:nth-child(2n+1){margin-left:0;clear:left}#content.home .content.twoup .post:nth-child(2n){margin-right:0;float:right}#content.home .content.twoup .post:nth-child(n+3){margin-bottom:0;margin-top:45px}#content.home .content.fourup .post{float:left!important}#content.home .content.fourup .post:nth-child(4n+1){margin-left:0;clear:left}#content.home .content.fourup .post:nth-child(4n){margin-right:0;float:right}#content.home .content.fourup .post:nth-child(n+5){margin-bottom:0;margin-top:45px}#content.home .content.threeup .post{float:left!important}#content.home .content.threeup .post:nth-child(3n+1){margin-left:0;clear:left}#content.home .content.threeup .post:nth-child(3n){margin-right:0;float:right}#content.home .content.threeup .post:nth-child(n+4){margin-bottom:0;margin-top:45px}@media only screen and (max-width:767px){#content.home .content.oneup.large article section p{font-size:24px}}#content.single{position:relative}#content.single .post-info .previous{margin-top:60px;font-style:italic;font-family:Georgia,"Times New Roman",Times,serif}#content.single .post-info .previous a{font-size:13px;display:block;text-align:center}#content.single .post-info .previous nav{padding-bottom:15px;border-bottom:1px solid #f0eceb;margin:15px 0}#content.single .post-info .previous .arrow{display:block;box-shadow:0 0 8px rgba(18,7,6,0.3);width:45px;height:45px;border-radius:22.5px;text-indent:100%;white-space:nowrap;overflow:hidden;background:#5d504f url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAQCAYAAADESFVDAAAAWElEQVR42qXSzQkAIAgF4EZolEZqhDZqpEZwBM8dovSUYD9YwuNdPgIlt5tWa6AA9wkgpXPfACeagaeAAGkFigDZACbKAoAC+5f+od7Oesh/iC+/QC/DPQAIxvkuqJQtLgAAAABJRU5ErkJggg==") no-repeat 16px 15px}#content.single .post-info .previous a:hover{color:#ff1e00}#content.single .post-info .previous a:hover .arrow{background-color:#3d302f}#content.single article header h1{font-size:24px;color:#3d302f}#content.single article section h1,#content.single article section h2{margin:15px 0;padding:0}#content.single article section h1{font-size:20px;margin-top:30px}#content.single article section h2{font-size:17px;font-weight:700}#content.single article dl dd{margin-left:40px}#content.single #content_primary #excerpt{padding-bottom:30px;color:#5d504f}#content.single #content_primary #excerpt p{padding-top:0;font-size:28px;font-family:Georgia,"Times New Roman",Times,serif;font-style:italic}#content.single #content_primary section{margin-bottom:45px}#content.single #content_primary .pagination{margin-top:30px}#content.single #content_primary footer{border-bottom:2px solid #f0eceb;padding-bottom:15px;margin-bottom:30px}#content.single #content_primary footer .widget:nth-child(4n){margin-right:40px}#content.single #content_primary footer .widget:nth-child(4n+1){clear:none}#content.single #content_primary footer .widget:nth-child(3n){margin-right:0}#content.single #content_primary footer .widget:nth-child(3n+1){clear:left}#content.single #content_primary #content_main{margin:30px 0;border-bottom:2px solid #f0eceb;padding-bottom:15px}@media only screen and (max-width:767px){.post-info .previous a:before{content:"Previous Post: "}.post-info .previous nav{display:none!important}}#content.archive header{margin-bottom:30px}#content.fourohfour h2{margin-top:0}#sidebar{margin-top:10px}#sidebar .widget{margin-right:0}#sidebar h3{font-weight:700;font-size:13px;margin-bottom:5px}#sidebar h3:first-child{margin-top:0!important}#comments_container{margin-top:60px}#comments_container .no_comments,#comments_container .comments_closed{margin-top:30px;font-style:italic;font-size:28px;font-family:Georgia,"Times New Roman",Times,serif;color:#5d504f}#comments_container #comments{list-style:none}#comments_container #comments li.comment{margin:60px 0;background:0}#comments_container #comments li.comment.bypostauthor{margin:45px 0}#comments_container #comments li:first-child{margin-top:0}#comments_container #comments .content{font-family:Georgia,"Times New Roman",Times,serif}#comments_container #comments .content p{font-size:17px;color:#3d302f}#comments_container #comments .content blockquote,#comments_container #comments .content blockquote p{font-size:13px}#comments_container #comments .comment-edit-link{font-weight:700;color:#ea0000}#comments_container #no_comments{font-family:Georgia,"Times New Roman",Times,serif;font-size:28px;margin:30px 0;color:#5d504f}#comments_container #respond input[type=text],#comments_container #respond textarea{-moz-box-sizing:border-box;-ms-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}#comments_container #respond label{display:none}#comments_container #respond #comment_form_info input[type=text]{margin-bottom:15px;text-align:right}#comments_container #respond textarea{margin:0;height:118px}#comments_container #respond textarea:focus{height:375px}#comments_container #comment_form header h1{font-size:20px}#comments_container #comment_form header .loggedin{font-style:italic}#comments_container #submit{margin-top:15px;margin-left:26.1%}@media only screen and (max-width:767px){#comments_container #commentform #comment_form_info input[type=text]{text-align:left}}#page_bottom{background:#5d504f}#page_footer{padding-top:30px;padding-bottom:30px;margin-top:30px;color:#f0eceb}#page_footer a{color:#fffefe}#page_footer h3{font-size:17px;color:#f0eceb}.clear:before,.clear:after{content:"";display:table}.clear:after{clear:both}.clear{zoom:1}@media only screen and (max-width:767px){body{-webkit-text-size-adjust:none;-ms-text-size-adjust:none;width:100%;min-width:0;margin-left:0;margin-right:0;padding-left:0;padding-right:0}.container{min-width:0;margin-left:0;margin-right:0}.row{width:100%;min-width:0;margin-left:0;margin-right:0}.row .row .column,.row .row .columns{padding:0}.column,.columns{width:auto!important;float:none;margin-left:0;margin-right:0}.column:last-child,.columns:last-child{margin-right:0;float:none}[class*="column"]+[class*="column"]:last-child{float:none}[class*="column"]:before,[class*="column"]:after{content:"";display:table}[class*="column"]:after{clear:both}.offset-by-one,.offset-by-two,.offset-by-three,.offset-by-four,.offset-by-five,.offset-by-six,.offset-by-seven,.offset-by-eight,.offset-by-nine,.offset-by-ten,.offset-by-eleven,.centered{margin-left:0!important}.push-two,.push-three,.push-four,.push-five,.push-six,.push-seven,.push-eight,.push-nine,.push-ten{left:auto}.pull-two,.pull-three,.pull-four,.pull-five,.pull-six,.pull-seven,.pull-eight,.pull-nine,.pull-ten{right:auto}.row .phone-one:first-child,.row .phone-two:first-child,.row .phone-three:first-child,.row .phone-four:first-child{margin-left:0}.row .phone-one:last-child,.row .phone-two:last-child,.row .phone-three:last-child,.row .phone-four:last-child{float:right}.row .phone-one,.row .phone-two,.row .phone-three,.row .phone-four{margin-left:4.4%;float:left;min-height:1px;position:relative;padding:0}.row .phone-one{width:21.68%!important}.row .phone-two{width:47.8%!important}.row .phone-three{width:73.9%!important}.row .phone-four{width:100%!important}.row .push-one-phone{left:26.08%}.row .push-two-phone{left:52.2%}.row .push-three-phone{left:78.3%}.row .pull-one-phone{right:26.08%}.row .pull-two-phone{right:52.2%}.row .pull-three-phone{right:78.3%}}@media only screen and (max-width:767px){.block-grid.mobile{margin-left:0}.block-grid.mobile>li{float:none;width:100%;margin-left:0}}@media only screen and (max-device-width:800px),only screen and (device-width:1024px) and (device-height:600px),only screen and (width:1280px) and (orientation:landscape),only screen and (device-width:800px),only screen and (max-width:767px){.flex-video{padding-top:0}}@media print{body{font-size:10pt}a{color:#999}}
6 frank/stylesheets/css/global.css
View
@@ -264,6 +264,12 @@ header {
color: #5d504f;
margin-top: 10px; }
+.gallery-caption {
+ text-rendering: optimizelegibility; }
+
+.sticky {
+ text-rendering: optimizelegibility; }
+
.bypostauthor {
border: 2px solid #5d504f;
padding: 15px 0;
4 frank/stylesheets/scss/global.scss
View
@@ -234,11 +234,11 @@ header {
}
.gallery-caption {
-
+ text-rendering: optimizelegibility;
}
.sticky {
-
+ text-rendering: optimizelegibility;
}
.bypostauthor {
5 frank/templates/default_loop.php
View
@@ -7,7 +7,7 @@
<div class='nine columns contents'>
<?php
if (have_posts()) : while (have_posts()) : the_post(); ?>
- <article itemscope itemtype="http://schema.org/BlogPosting">
+ <article itemscope itemtype="http://schema.org/BlogPosting" id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header><h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1></header>
<div class='row'>
<section class='nine columns push-three'>
@@ -16,9 +16,10 @@
</section>
<footer class='three columns pull-nine post-info'>
<ul class='metadata vertical'>
- <li class="date"><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time('F j, Y'); ?></time></li>
+ <li class="date"><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time(get_option('date_format')); ?></time></li>
<li class="author">By <?php the_author_link(); ?></li>
<li class="categories"><?php the_category(', '); ?></li>
+ <li class="tags"><?php the_tags('', ', '); ?></li>
<li class='comments'><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
</ul>
</footer>
2  frank/templates/four_up.php
View
@@ -21,7 +21,7 @@
</section>
<footer>
<ul class='metadata horizontal clear'>
- <li class='time'><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time('F j, Y'); ?></time></li>
+ <li class='time'><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time(get_option('date_format')); ?></time></li>
<li class='comments'><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
</ul>
</footer>
2  frank/templates/one_up_lg.php
View
@@ -21,7 +21,7 @@
</section>
<footer>
<ul class='metadata horizontal clearfix'>
- <li class='date'><time itemprop="datePublished" datetime="<?php the_time('Y-m-d'); ?>"><?php the_time('F j, Y'); ?></time></li>
+ <li class='date'><time itemprop="datePublished" datetime="<?php the_time('Y-m-d'); ?>"><?php the_time(get_option('date_format')); ?></time></li>
<li class='author'>By <?php the_author_link(); ?></li>
<li>Filed Under <?php the_category(', '); ?></li>
<li class='comments'><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
2  frank/templates/one_up_reg.php
View
@@ -25,7 +25,7 @@
</section>
<footer>
<ul class='metadata horizontal clearfix'>
- <li class='date'><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time('F j, Y'); ?></time></li>
+ <li class='date'><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time(get_option('date_format')); ?></time></li>
<li class='author'>By <?php the_author_link(); ?></li>
<li>Filed Under <?php the_category(', '); ?></li>
<li class='comments'><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
3  frank/templates/right_aside.php
View
@@ -19,9 +19,10 @@
<div class='clear'>
<div class='post-info span-2'>
<ul class='metadata vertical'>
- <li class="date"><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time('F j, Y'); ?></time></li>
+ <li class="date"><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time(get_option('date_format')); ?></time></li>
<li class="author">By <?php the_author_link(); ?></li>
<li class="categories"><?php the_category(', '); ?></li>
+ <li class="tags"><?php the_tags('', ', '); ?></li>
<li class='comments'><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
</ul>
</div>
2  frank/templates/three_up.php
View
@@ -21,7 +21,7 @@
</section>
<footer>
<ul class='metadata horizontal clear'>
- <li class='time'><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time('F j, Y'); ?></time></li>
+ <li class='time'><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time(get_option('date_format')); ?></time></li>
<li class='comments'><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
</ul>
</footer>
2  frank/templates/two_up.php
View
@@ -20,7 +20,7 @@
</section>
<footer>
<ul class='metadata horizontal clear'>
- <li class='time'><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time('F j, Y'); ?></time></li>
+ <li class='time'><time datetime="<?php the_time('Y-m-d'); ?>" itemprop="datePublished"><?php the_time(get_option('date_format')); ?></time></li>
<li class='author'>By <?php the_author_link(); ?></li>
<li class='comments'><?php comments_popup_link('No comments', '1 comment', '% comments'); ?></li>
</ul>
BIN  somerandomdude/build/.sass-cache/8d41289356c13e3b1091b3ed15fa3351297ec064/colorbox.scssc
View
Binary file not shown
BIN  somerandomdude/build/.sass-cache/8d41289356c13e3b1091b3ed15fa3351297ec064/pages.scssc
View
Binary file not shown
5 somerandomdude/build/build.command
View
@@ -26,14 +26,15 @@ juicer merge ../stylesheets/css/main.css --force -o ../style.css -c none --embed
juicer merge -i ../js/frank.slideshow.js ../js/simplebox.js ../js/main.js --force -o ../js/somerandomdude.js -c none -m closure_compiler
echo "/*
Theme Name: Frank for Some Random Dude
-Theme URI: http://somerandomdude.com/frank
+Theme URI: http://somerandomdude.com/work/frank
Description: Child theme for the Frank theme
Author: P.J. Onori
Author URI: http://somerandomdude.com/hello/
Template: frank
Version: 0.1.0
License: Creative Commons Share Alike 3.0
-License URI: http://creativecommons.org/licenses/by-sa/3.0/us/
+License URI: http://creativecommons.org/licenses/by-sa/3.0/us/
+Tags: brown, red, white, two-columns, fixed-width, sticky-post, custom-menu
*/"|cat - ../style.css > /tmp/out && mv /tmp/out ../style.css
4 somerandomdude/build/clean.command
View
@@ -0,0 +1,4 @@
+cd `dirname $0`
+find ./../ -name ".git" | xargs rm -Rf
+find ./../ -name ".DS_Store" | xargs rm -Rf
+find ./../ -name ".sass-cache" | xargs rm -Rf
8 somerandomdude/footer.php
View
@@ -20,11 +20,11 @@
</div>
<?php wp_footer(); ?>
<?php if(frank_devmode()) : ?>
- <script src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/frank.slideshow.js"></script>
- <script src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/simplebox.js"></script>
- <script src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/main.js"></script>
+ <script src="<?php echo get_stylesheet_directory_uri(); ?>/js/frank.slideshow.js"></script>
+ <script src="<?php echo get_stylesheet_directory_uri(); ?>/js/simplebox.js"></script>
+ <script src="<?php echo get_stylesheet_directory_uri(); ?>/js/main.js"></script>
<?php else : ?>
- <script async src="<?php bloginfo( 'stylesheet_directory' ); ?>/js/somerandomdude.js"></script>
+ <script async src="<?php echo get_stylesheet_directory_uri(); ?>/js/somerandomdude.js"></script>
<?php endif; ?>
</body>
2  somerandomdude/header.php
View
@@ -17,7 +17,7 @@
<title><?php if (function_exists('is_tag') && is_tag()) { echo 'Tag Archive for &quot;'.$tag.'&quot;&mdash;'; } elseif (is_archive()) { wp_title(''); echo ' Archive&mdash;'; } elseif (is_search()) { echo 'Search for &quot;'.wp_specialchars($s).'&quot;&mdash;'; } elseif (!(is_404()) && (is_single()) || (is_page())) { wp_title(''); echo '&mdash;'; } elseif (is_404()) { echo 'Not Found&mdash;'; } bloginfo('name'); ?></title>
<?php if(!frank_devmode()) : ?>
- <link rel="stylesheet" media="all" href="/wp-content/themes/somerandomdude/style.css" />
+ <link rel="stylesheet" media="all" href="<?php echo get_stylesheet_directory_uri(); ?>/style.css" />
<?php else : ?>
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/stylesheets/css/reset.css" media="all" />
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/stylesheets/css/grid.css" media="all" />
200 somerandomdude/js/frank.slideshow.coffee
View
@@ -0,0 +1,200 @@
+#
+# var s Selector
+# var o Options object
+#
+
+#Slideshow class
+class FSS
+
+ @element=null
+ @options=null
+ @target=null
+ @container=null
+ @slides=[]
+ @navigation=null
+ @slideA=null
+ @slideB=null
+ @caption=null
+ @currentIndex=-1
+ @interval=null
+ @autoplay=true
+
+ constructor: (el, o) ->
+ @element=el
+ if Object.prototype.toString.call(o) is '[object Object]'
+ @options=o
+ else
+ @options=new Object()
+
+ @init()
+ @gotoslide(0)
+ @play() if @autoplay
+
+ # Public Methods
+
+ pause: ->
+ clearTimeout(@interval)
+ return
+
+ play: ->
+ clearTimeout(@interval)
+ @interval = setTimeout(autoNext, @duration, @)
+ return
+
+ next: ->
+ index = if @currentIndex < @slides.length-1 then @currentIndex+1 else 0
+ @gotoslide(index)
+ return
+
+ gotoslide: (index) ->
+ return if @currentIndex is index
+
+ a = @element.parentNode.querySelector(".visible");
+
+ if a and a is @slideA
+ @slideB.style.backgroundPosition='0px '+String(@options.height*(index)*-1)+'px';
+ @slideA.className=@slideA.className.replace(new RegExp('(\\s|^)'+'visible'+'(\\s|$)'),'');
+ @slideB.className+=' visible';
+ else
+ @slideA.style.backgroundPosition='0px '+String(@options.height*(index)*-1)+'px';
+ @slideB.className=@slideB.className.replace(new RegExp('(\\s|^)'+'visible'+'(\\s|$)'),'');
+ @slideA.className+=' visible';
+
+ a = @navigation.querySelector('.active')
+ a.removeAttribute('class') if a
+
+ a = document.createAttribute('class');
+ a.nodeValue='active';
+ @navigation.childNodes.item(index).setAttributeNode(a);
+
+ m = if @currentIndex is -1 then 0 else @currentIndex
+
+ @slides[m]['el'].className=@slides[m]['el'].className.replace(new RegExp('(\\s|^)'+'active'+'(\\s|$)'),'');
+ @slides[index]['el'].className+=' active';
+
+ @currentIndex=index
+
+ return
+
+ # Private Methods
+
+ init: ->
+
+ context = @
+ @options.width=@element.offsetWidth if not @options.width
+ @options.height=@element.offsetHeight if not @options.height
+
+ #TEMP
+ @autoplay=true
+ @duration=5000
+ @currentIndex=-1
+
+ # inject FSS class name
+ @element.className += ' '+'fss' if not @element.className.match(new RegExp('(\\s|^)'+'fss'+'(\\s|$)'))
+
+
+ # find captions
+ @caption = @element.querySelector('.captions')
+ return if not @caption
+ cap = @caption.firstChild
+ n=0
+ @slides=new Array()
+ while cap
+ @slides.push({ndx:n++, el:cap}) if cap and cap.nodeType != 3
+ cap=cap.nextSibling
+
+ # create slide container
+ @container = createElement('div', 'slide-container')
+
+ # create slide A
+ @slideA = createElement('div', 'slide-a visible')
+
+ # create slide B
+ @slideB = createElement('div', 'slide-b')
+
+ # insert elements
+ @element.insertBefore(@container, @caption)
+ @container.appendChild(@slideA)
+ @container.appendChild(@slideB)
+
+ # set dimensions of slides
+ @slideA.style.width=@slideB.style.width=@options.width+'px';
+ @slideA.style.height=@slideB.style.height=@options.height+'px';
+
+ # create navigation
+ @navigation = createElement('ul', 'fss-nav')
+ for slide, i in @slides
+ l = createElement('li')
+ l.appendChild(document.createTextNode(String(i+1)))
+ @navigation.appendChild(l)
+ l.onclick = (e) -> navClickHandler(e, context)
+
+ @container.appendChild(@navigation)
+
+ @container.onmouseover = (e) -> mouseOverHandler(e, context)
+ @container.onmouseout = (e) -> mouseOutHandler(e, context)
+
+ return
+
+ createElement = (tagName, className) ->
+ element = document.createElement(tagName)
+ return element if not className
+
+ attribute = document.createAttribute("class")
+ attribute.nodeValue=className
+ element.setAttributeNode(attribute)
+
+ return element
+
+ isChild = (child, parent) ->
+ return false if child is parent
+
+ while child and child != parent
+ child=child.parentNode
+
+ return child is parent
+
+ autoNext = (closure) ->
+ return if not closure
+ closure.next();
+ closure.play();
+ return
+
+ # Event Handlers
+
+ navClickHandler = (e, closure) ->
+ closure.pause()
+ i=0
+ while closure.navigation.childNodes.item(i)
+ if closure.navigation.childNodes.item(i) is e.target
+ closure.gotoslide(i)
+ return
+ i++
+
+ return
+
+ mouseOverHandler = (e, closure) ->
+ return if not e
+
+ if not isChild(e.target, closure.container)
+ e.cancelBubble=true
+ e.stopPropagation()
+ return false
+
+ closure.pause()
+ closure.navigation.className+=' active' if not closure.navigation.className.match(new RegExp('(\\s|^)'+'active'+'(\\s|$)'))
+
+ return
+
+ mouseOutHandler = (e, closure) ->
+
+ if isChild(e.relatedTarget, closure.container)
+ e.cancelBubble=true
+ e.stopPropagation()
+ return false
+
+ closure.play()
+ if closure.navigation.className.match(new RegExp('(\\s|^)'+'active'+'(\\s|$)'))
+ closure.navigation.className=closure.navigation.className.replace(new RegExp('(\\s|^)'+'active'+'(\\s|$)'),'');
+
+ return
226 somerandomdude/js/frank.slideshow.js
View
@@ -1,224 +1,2 @@
-function frank_slideshow(s,o) {
- if(!document.querySelectorAll) return;
-
- var e = document.querySelectorAll(s);
- if(!e) return;
- for(var i=0; i<e.length; i++) new FSS(e[i], o);
-}
-
-function FSS(e,o) {
- if( Object.prototype.toString.call(o) === '[object Object]' ) this.opt=o;
-
- //slideshow target
- this.trgt=e;
-
- //slideshow container
- this.con;
-
- //slides
- this.slds=[];
-
- //options
-
- //navigation element
- this.nv;
-
- //slide a
- this.sa;
-
- //slide b
- this.sb;
-
- //caption
- this.cpt
-
- //current index
- this.ci=-1;
-
- //dimensions
- if(!this.opt.width) this.opt.width=this.trgt.offsetWidth;
- if(!this.opt.height) this.opt.height=this.trgt.offsetHeight;
-
- //interval
- this.to;
-
- //autoplay
- this.autoplay=true;
-
- //duration
- this.dur=5000;
-
- this.init(e)
- this.gotoslide(0);
- if(this.autoplay) this.play();
-
-}
-
-FSS.prototype.init = function(e) {
- var ref=this;
- var a;
-
- if(!this.trgt.className.match(new RegExp('(\\s|^)'+'fss'+'(\\s|$)'))) this.trgt.className += " "+'fss';
-
- //slides
-
- //caption
- this.cpt = this.trgt.querySelector('.captions');
-
- if(!this.cpt) return;
- c=this.cpt.firstChild;
- var n=0;
- while(c) {
- if(c&&c.nodeType!=3) this.slds.push({ndx:n++, el:c})
- c=c.nextSibling;
- }
-
- //slide container
- this.con = document.createElement("div");
- a = document.createAttribute("class");
- a.nodeValue="slide-container";
- this.con.setAttributeNode(a);
-
-
-
- //dual slides
- this.sa = document.createElement("div");
- a = document.createAttribute("class");
- a.nodeValue="slide-a visible";
- this.sa.setAttributeNode(a);
-
- this.sb = document.createElement("div");
- a = document.createAttribute("class");
- a.nodeValue="slide-b";
- this.sb.setAttributeNode(a);
-
- this.trgt.insertBefore(this.con, this.cpt)
- this.con.appendChild(this.sa);
- this.con.appendChild(this.sb);
-
-
- this.sa.style.width=this.opt.width+'px';
- this.sa.style.height=this.opt.height+'px';
- this.sb.style.width=this.opt.width+'px';
- this.sb.style.height=this.opt.height+'px';
-
- //navigation
- this.nv = document.createElement("ul");
- a = document.createAttribute("class");
- a.nodeValue="fss-nav";
- this.nv.setAttributeNode(a);
- for(var i=0; i<this.slds.length; i++) {
- var l = document.createElement("li");
- l.appendChild(document.createTextNode(String(i+1)));
- l.onclick = function() { ref.navclick(this); }
- this.nv.appendChild(l);
- }
-
- this.con.appendChild(this.nv)
-
- var g = this.con
-
- //events
- this.con.onmouseover = function(e) {
- if(!e) return;
- if(!ref.ischild(e.target, ref.con)) {
- e.cancelBubble=true;
- e.stopPropagation();
- return false;
- }
-
- ref.pause();
- if(!ref.nv.className.match(new RegExp('(\\s|^)'+'active'+'(\\s|$)'))) ref.nv.className += " "+'active';
- }
- this.con.onmouseout = function(e) {
- if(!e) return;
-
- if(ref.ischild(e.relatedTarget, ref.con)) {
- e.cancelBubble=true;
- e.stopPropagation();
- return false;
- }
-
- ref.play();
- if(ref.nv.className.match(new RegExp('(\\s|^)'+'active'+'(\\s|$)'))) ref.nv.className=ref.nv.className.replace(new RegExp('(\\s|^)'+'active'+'(\\s|$)'),'');
- }
-}
-
-FSS.prototype.ischild = function(c,p) {
- if (p===c) { return false; }
- while (c&&c!==p)
- { c=c.parentNode; }
-
- return c===p;
-}
-
-FSS.prototype.autoNext = function(c) {
- if(!c) return;
- c.next();
- c.play();
-}
-
-FSS.prototype.next = function() {
- this.gotoslide(((this.ci<this.slds.length-1)?this.ci+1:0))
-}
-
-FSS.prototype.navclick = function(e) {
- this.pause();
- var i=0;
- while(this.nv.childNodes.item(i)) {
- if(this.nv.childNodes.item(i)==e) {
- this.gotoslide(i);
- return;
- }
- i++;
- }
-}
-
-FSS.prototype.gotoslide = function(n) {
- if(this.ci==n) return;
- var a;
-
- //switch-a-roo
- var a = this.trgt.parentNode.querySelector(".visible")
- if(a&&a==this.sa) {
- this.sb.style.backgroundPosition="0px "+String(this.opt.height*(n)*-1)+"px";
- this.sa.className=this.sa.className.replace(new RegExp('(\\s|^)'+'visible'+'(\\s|$)'),'');
- this.sb.className += " "+'visible';
- } else {
- this.sa.style.backgroundPosition="0px "+String(this.opt.height*(n)*-1)+"px";
- this.sb.className=this.sb.className.replace(new RegExp('(\\s|^)'+'visible'+'(\\s|$)'),'');
- this.sa.className += " "+'visible';
- }
-
- //--update navigation--
-
- //remove 'active' class if exists
- a = this.nv.querySelector(".active");
- if(a) a.removeAttribute("class");
-
- //add new 'active' class
- a = document.createAttribute("class");
- a.nodeValue="active";
- this.nv.childNodes.item(n).setAttributeNode(a);
-
- //--update caption--
-
- //remove caption if exists
-
- var m = (this.ci==-1)?0:this.ci;
-
- this.slds[m]['el'].className=this.slds[m]['el'].className.replace(new RegExp('(\\s|^)'+'active'+'(\\s|$)'),'');
- this.slds[n]['el'].className += " "+'active';
-
- this.ci=n;
-
-}
-
-FSS.prototype.pause = function() {
- clearTimeout(this.to);
-}
-
-FSS.prototype.play = function() {
- clearTimeout(this.to);
- this.to = setTimeout(this.autoNext, this.dur, this);
-}
+// Generated by CoffeeScript 1.3.1
+var FSS;FSS=function(){function g(a,b){this.element=a;Object.prototype.toString.call(b)==="[object Object]"?this.options=b:this.options=new Object;this.init();this.gotoslide(0);this.autoplay&&this.play()}var a,b,c,d,e,f;g.element=null;g.options=null;g.target=null;g.container=null;g.slides=[];g.navigation=null;g.slideA=null;g.slideB=null;g.caption=null;g.currentIndex=-1;g.interval=null;g.autoplay=!0;g.prototype.pause=function(){clearTimeout(this.interval)};g.prototype.play=function(){clearTimeout(this.interval);this.interval=setTimeout(a,this.duration,this)};g.prototype.next=function(){var a;a=this.currentIndex<this.slides.length-1?this.currentIndex+1:0;this.gotoslide(a)};g.prototype.gotoslide=function(a){var b,c;if(this.currentIndex===a)return;b=this.element.parentNode.querySelector(".visible");if(b&&b===this.slideA){this.slideB.style.backgroundPosition="0px "+String(this.options.height*a*-1)+"px";this.slideA.className=this.slideA.className.replace(new RegExp("(\\s|^)visible(\\s|$)"),"");this.slideB.className+=" visible"}else{this.slideA.style.backgroundPosition="0px "+String(this.options.height*a*-1)+"px";this.slideB.className=this.slideB.className.replace(new RegExp("(\\s|^)visible(\\s|$)"),"");this.slideA.className+=" visible"}b=this.navigation.querySelector(".active");b&&b.removeAttribute("class");b=document.createAttribute("class");b.nodeValue="active";this.navigation.childNodes.item(a).setAttributeNode(b);c=this.currentIndex===-1?0:this.currentIndex;this.slides[c].el.className=this.slides[c].el.className.replace(new RegExp("(\\s|^)active(\\s|$)"),"");this.slides[a].el.className+=" active";this.currentIndex=a};g.prototype.init=function(){var a,c,g,h,i,j,k,l,m;c=this;this.options.width||(this.options.width=this.element.offsetWidth);this.options.height||(this.options.height=this.element.offsetHeight);this.autoplay=!0;this.duration=5e3;this.currentIndex=-1;this.element.className.match(new RegExp("(\\s|^)fss(\\s|$)"))||(this.element.className+=" fss");this.caption=this.element.querySelector(".captions");if(!this.caption)return;a=this.caption.firstChild;i=0;this.slides=new Array;while(a){a&&a.nodeType!==3&&this.slides.push({ndx:i++,el:a});a=a.nextSibling}this.container=b("div","slide-container");this.slideA=b("div","slide-a visible");this.slideB=b("div","slide-b");this.element.insertBefore(this.container,this.caption);this.container.appendChild(this.slideA);this.container.appendChild(this.slideB);this.slideA.style.width=this.slideB.style.width=this.options.width+"px";this.slideA.style.height=this.slideB.style.height=this.options.height+"px";this.navigation=b("ul","fss-nav");m=this.slides;for(g=k=0,l=m.length;k<l;g=++k){j=m[g];h=b("li");h.appendChild(document.createTextNode(String(g+1)));this.navigation.appendChild(h);h.onclick=function(a){return f(a,c)}}this.container.appendChild(this.navigation);this.container.onmouseover=function(a){return e(a,c)};this.container.onmouseout=function(a){return d(a,c)}};b=function(a,b){var c,d;d=document.createElement(a);if(!b)return d;c=document.createAttribute("class");c.nodeValue=b;d.setAttributeNode(c);return d};c=function(a,b){if(a===b)return!1;while(a&&a!==b)a=a.parentNode;return a===b};a=function(a){if(!a)return;a.next();a.play()};f=function(a,b){var c;b.pause();c=0;while(b.navigation.childNodes.item(c)){if(b.navigation.childNodes.item(c)===a.target){b.gotoslide(c);return}c++}};e=function(a,b){if(!a)return;if(!c(a.target,b.container)){a.cancelBubble=!0;a.stopPropagation();return!1}b.pause();b.navigation.className.match(new RegExp("(\\s|^)active(\\s|$)"))||(b.navigation.className+=" active")};d=function(a,b){if(c(a.relatedTarget,b.container)){a.cancelBubble=!0;a.stopPropagation();return!1}b.play();b.navigation.className.match(new RegExp("(\\s|^)active(\\s|$)"))&&(b.navigation.className=b.navigation.className.replace(new RegExp("(\\s|^)active(\\s|$)"),""))};return g}();
224 somerandomdude/js/frank.slideshow.js.bak
View
@@ -0,0 +1,224 @@
+function frank_slideshow(s,o) {
+ if(!document.querySelectorAll) return;
+
+ var e = document.querySelectorAll(s);
+ if(!e) return;
+ for(var i=0; i<e.length; i++) new FSS(e[i], o);
+}
+
+function FSS(e,o) {
+ if( Object.prototype.toString.call(o) === '[object Object]' ) this.opt=o;
+
+ //slideshow target
+ this.trgt=e;
+
+ //slideshow container
+ this.con;
+
+ //slides
+ this.slds=[];
+
+ //options
+
+ //navigation element
+ this.nv;
+
+ //slide a
+ this.sa;
+
+ //slide b
+ this.sb;
+
+ //caption
+ this.cpt
+
+ //current index
+ this.ci=-1;
+
+ //dimensions
+ if(!this.opt.width) this.opt.width=this.trgt.offsetWidth;
+ if(!this.opt.height) this.opt.height=this.trgt.offsetHeight;
+
+ //interval
+ this.to;
+
+ //autoplay
+ this.autoplay=true;
+
+ //duration
+ this.dur=5000;
+
+ this.init(e)
+ this.gotoslide(0);
+ if(this.autoplay) this.play();
+
+}
+
+FSS.prototype.init = function(e) {
+ var ref=this;
+ var a;
+
+ if(!this.trgt.className.match(new RegExp('(\\s|^)'+'fss'+'(\\s|$)'))) this.trgt.className += " "+'fss';
+
+ //slides
+
+ //caption
+ this.cpt = this.trgt.querySelector('.captions');
+
+ if(!this.cpt) return;
+ c=this.cpt.firstChild;
+ var n=0;
+ while(c) {
+ if(c&&c.nodeType!=3) this.slds.push({ndx:n++, el:c})
+ c=c.nextSibling;
+ }
+
+ //slide container
+ this.con = document.createElement("div");
+ a = document.createAttribute("class");
+ a.nodeValue="slide-container";
+ this.con.setAttributeNode(a);
+
+
+
+ //dual slides
+ this.sa = document.createElement("div");
+ a = document.createAttribute("class");
+ a.nodeValue="slide-a visible";
+ this.sa.setAttributeNode(a);
+
+ this.sb = document.createElement("div");
+ a = document.createAttribute("class");
+ a.nodeValue="slide-b";
+ this.sb.setAttributeNode(a);
+
+ this.trgt.insertBefore(this.con, this.cpt)
+ this.con.appendChild(this.sa);
+ this.con.appendChild(this.sb);
+
+
+ this.sa.style.width=this.opt.width+'px';
+ this.sa.style.height=this.opt.height+'px';
+ this.sb.style.width=this.opt.width+'px';
+ this.sb.style.height=this.opt.height+'px';
+
+ //navigation
+ this.nv = document.createElement("ul");
+ a = document.createAttribute("class");
+ a.nodeValue="fss-nav";
+ this.nv.setAttributeNode(a);
+ for(var i=0; i<this.slds.length; i++) {
+ var l = document.createElement("li");
+ l.appendChild(document.createTextNode(String(i+1)));
+ l.onclick = function() { ref.navclick(this); }
+ this.nv.appendChild(l);
+ }
+
+ this.con.appendChild(this.nv)
+
+ var g = this.con
+
+ //events
+ this.con.onmouseover = function(e) {
+ if(!e) return;
+ if(!ref.ischild(e.target, ref.con)) {
+ e.cancelBubble=true;
+ e.stopPropagation();
+ return false;
+ }
+
+ ref.pause();
+ if(!ref.nv.className.match(new RegExp('(\\s|^)'+'active'+'(\\s|$)'))) ref.nv.className += " "+'active';
+ }
+ this.con.onmouseout = function(e) {
+ if(!e) return;
+
+ if(ref.ischild(e.relatedTarget, ref.con)) {
+ e.cancelBubble=true;
+ e.stopPropagation();
+ return false;
+ }
+
+ ref.play();
+ if(ref.nv.className.match(new RegExp('(\\s|^)'+'active'+'(\\s|$)'))) ref.nv.className=ref.nv.className.replace(new RegExp('(\\s|^)'+'active'+'(\\s|$)'),'');
+ }
+}
+
+FSS.prototype.ischild = function(c,p) {
+ if (p===c) { return false; }
+ while (c&&c!==p)
+ { c=c.parentNode; }
+
+ return c===p;
+}
+
+FSS.prototype.autoNext = function(c) {
+ if(!c) return;
+ c.next();
+ c.play();
+}
+
+FSS.prototype.next = function() {
+ this.gotoslide(((this.ci<this.slds.length-1)?this.ci+1:0))
+}
+
+FSS.prototype.navclick = function(e) {
+ this.pause();
+ var i=0;
+ while(this.nv.childNodes.item(i)) {
+ if(this.nv.childNodes.item(i)==e) {
+ this.gotoslide(i);
+ return;
+ }
+ i++;
+ }
+}
+
+FSS.prototype.gotoslide = function(n) {
+ if(this.ci==n) return;
+ var a;
+
+ //switch-a-roo
+ var a = this.trgt.parentNode.querySelector(".visible")
+ if(a&&a==this.sa) {
+ this.sb.style.backgroundPosition="0px "+String(this.opt.height*(n)*-1)+"px";
+ this.sa.className=this.sa.className.replace(new RegExp('(\\s|^)'+'visible'+'(\\s|$)'),'');
+ this.sb.className += " "+'visible';
+ } else {
+ this.sa.style.backgroundPosition="0px "+String(this.opt.height*(n)*-1)+"px";
+ this.sb.className=this.sb.className.replace(new RegExp('(\\s|^)'+'visible'+'(\\s|$)'),'');
+ this.sa.className += " "+'visible';
+ }
+
+ //--update navigation--
+
+ //remove 'active' class if exists
+ a = this.nv.querySelector(".active");
+ if(a) a.removeAttribute("class");
+
+ //add new 'active' class
+ a = document.createAttribute("class");
+ a.nodeValue="active";
+ this.nv.childNodes.item(n).setAttributeNode(a);
+
+ //--update caption--
+
+ //remove caption if exists
+
+ var m = (this.ci==-1)?0:this.ci;
+
+ this.slds[m]['el'].className=this.slds[m]['el'].className.replace(new RegExp('(\\s|^)'+'active'+'(\\s|$)'),'');
+ this.slds[n]['el'].className += " "+'active';
+
+ this.ci=n;
+
+}
+
+FSS.prototype.pause = function() {
+ clearTimeout(this.to);
+}
+
+FSS.prototype.play = function() {
+ clearTimeout(this.to);
+ this.to = setTimeout(this.autoNext, this.dur, this);
+}
62 somerandomdude/js/main.coffee
View
@@ -0,0 +1,62 @@
+#this will be where all JS specific to SRD.com shows up
+
+window.onload = ->
+ return if not document.querySelector
+
+ slideshows = document.querySelectorAll('#hero_slideshow .slideshow')
+ if slideshows.length
+ for slideshow in slideshows
+ new FSS(slideshow, {width: 725, height: 210})
+
+ lightboxes = document.querySelectorAll('a[rel=simplebox]')
+ if lightboxes.length
+ for lightbox in lightboxes
+ new FLB(lightbox, {});
+
+ if document.querySelector('#p72')
+ navItems = document.querySelectorAll('#projects_navigation dd');
+ for navItem in navItems
+ navItem.onclick = (e) ->
+ a = @.getAttribute('rel')
+ @.className+=' active';
+ for item in navItems
+ if item.className.match(new RegExp('(\\s|^)' + 'active' + '(\\s|$)'))
+ item.className = item.className.replace(new RegExp('(\\s|^)' + 'active' + '(\\s|$)'), '')
+
+ projectItems = document.querySelectorAll('#projects_list li');
+ for projectItem in projectItems
+ projectItem.className = projectItem.className.replace(new RegExp('(\\s|^)' + 'deselected' + '(\\s|$)'), '') if projectItem.className.match(new RegExp('(\\s|^)' + 'deselected' + '(\\s|$)'))
+ if a != 'all' and !projectItem.className.match(new RegExp('(\\s|^)' + a + '(\\s|$)'))
+ if !projectItem.className.match(new RegExp('(\\s|^)' + 'deselected' + '(\\s|$)'))
+ projectItem.className += ' '+ 'deselected'
+ return
+
+ # Google Analytics event tracking
+
+
+ trackElems = (elems, cat, action, label) ->
+ return if not elems
+ for elem in elems
+ elem.onclick = ->
+ gaTrack(cat, if action then @.querySelector(action).firstChild.nodeValue else @.firstChild.nodeValue)
+ setTimeout('document.location = "' + @.href + '"', 100);
+ return false
+ return false
+
+ trackElems(document.querySelectorAll('#menu-primary li a'), 'Top Nav', null, document.title);
+ trackElems(document.querySelectorAll('#bio_pic'), 'Bio Pic', null, document.title);
+ trackElems(document.querySelectorAll('#content.single .post-info .previous a'), 'Previous Post', '.arrow', document.title);
+ trackElems(document.querySelectorAll('#download_follow a.twitter, #download_follow a.rss'), 'Projects Follow', null, document.title);
+ trackElems(document.querySelectorAll('#other_projects #projects_list li a'), 'Other Projects', 'small', document.title);
+ trackElems(document.querySelectorAll('#footer_main_promo'), 'Footer Promo', '.header', document.title);
+ trackElems(document.querySelectorAll('#text-12 .recommended a'), 'Recommended', null, document.title);
+ trackElems(document.querySelectorAll('#page_footer #twitter_follow a.button'), 'Footer Twitter', null, document.title);
+
+ gaTrack = (cat, action, label, val) ->
+ try
+ _gaq.push(['_trackEvent', cat, action, label, val])
+ catch error
+ print error
+ return
+
+ return
85 somerandomdude/js/main.js
View
@@ -1,83 +1,2 @@
-/*this will be where all JS specific to SRD.com shows up*/
-window.onload = function() {
- if (!document.querySelector) return;
-
- var style = document.createElement('style');
- var a = document.createAttribute('type');
- a.nodeValue = 'text/css';
- style.setAttributeNode(a);
-
- var t = document.createTextNode('a{ -webkit-transition-property: background-color, color; -webkit-transition-duration: .3s; -webkit-transition-timing-function: cubic-bezier(0.02, 0, 0.18, 1.0); -moz-transition-property: background, color; -moz-transition-duration: .3s; -moz-transition-timing-function: cubic-bezier(0.02, 0, 0.18, 1.0); -o-transition-property: background, color; -o-transition-duration: .3s; -o-transition-timing-function: cubic-bezier(0.02, 0, 0.18, 1.0); }');
- document.getElementsByTagName('head').item(0).appendChild(style);
- try {style.appendChild(t); }
- catch (err) {}
-
- frank_slideshow('#hero_slideshow .slideshow', {width: 725, height: 210});
- simpleBox();
-
- if (document.querySelector('#p72')) {
- var items, a, ref, i, k, j, itms, b;
- items = document.querySelectorAll('#projects_navigation dd');
- for (i = 0; i < items.length; i++) {
- ref = items[i];
-
- ref.onclick = function() {
- items = document.querySelectorAll('#projects_navigation dd');
- a = this.getAttribute('rel');
-
- for (k = 0; k < items.length; k++) {
- b = items[k].getAttribute('rel');
-
- if (b != a) {
- if (items[k].className.match(new RegExp('(\\s|^)' + 'active' + '(\\s|$)'))) items[k].className = items[k].className.replace(new RegExp('(\\s|^)' + 'active' + '(\\s|$)'), '');
- }
- else {
- if (!items[k].className.match(new RegExp('(\\s|^)' + 'active' + '(\\s|$)'))) items[k].className += ' '+ 'active';
- }
-
- }
-
- itms = document.querySelectorAll('#projects_list li');
- for (j = 0; j < itms.length; j++) {
- if (itms[j].className.match(new RegExp('(\\s|^)' + 'deselected' + '(\\s|$)'))) itms[j].className = itms[j].className.replace(new RegExp('(\\s|^)' + 'deselected' + '(\\s|$)'), '');
- if (a != 'all' && !itms[j].className.match(new RegExp('(\\s|^)' + a + '(\\s|$)'))) if (!itms[j].className.match(new RegExp('(\\s|^)' + 'deselected' + '(\\s|$)'))) itms[j].className += ' '+ 'deselected';
- }
- }
- }
- }
-
- /*custom tracking events*/
- trackElems(document.querySelectorAll('#menu-primary li a'), 'Top Nav', null, document.title);
- trackElem(document.querySelector('#bio_pic'), 'Bio Pic', null, document.title);
-
- trackElem(document.querySelector('#content.single .post-info .previous a'), 'Previous Post', '.arrow', document.title);
-
- trackElems(document.querySelectorAll('#download_follow a.twitter, #download_follow a.rss'), 'Projects Follow', null, document.title);
- trackElems(document.querySelectorAll('#other_projects #projects_list li a'), 'Other Projects', 'small', document.title);
-
- trackElem(document.querySelector('#footer_main_promo'), 'Footer Promo', '.header', document.title);
- trackElems(document.querySelectorAll('#text-12 .recommended a'), 'Recommended', null, document.title);
- trackElem(document.querySelector('#page_footer #twitter_follow a.button'), 'Footer Twitter', null, document.title);
-
-
- function trackElem(elem, cat, action, label) {
- if(!elem) return;
- elem.onclick = function() { gaTrack(cat, (action) ? this.querySelector(action).firstChild.nodeValue : this.firstChild.nodeValue, document.title);
- setTimeout('document.location = "' + this.href + '"', 100);
- return false; }
- }
-
- function trackElems(elems, cat, action, label) {
- if(!elems) return;
- for (i = 0; i < elems.length; i++) {
- elems[i].onclick = function() { gaTrack(cat, (action) ? this.querySelector(action).firstChild.nodeValue : this.firstChild.nodeValue, label);
- setTimeout('document.location = "' + this.href + '"', 100);
- return false; }
- }
- }
-
- function gaTrack(cat, action, label, val) {
- try { _gaq.push(['_trackEvent', cat, action, label, val]); } catch (err) {}
- }
-
-};
+// Generated by CoffeeScript 1.3.1
+window.onload=function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n;if(!document.querySelector)return;g=document.querySelectorAll("#hero_slideshow .slideshow");if(g.length)for(i=0,l=g.length;i<l;i++){f=g[i];new FSS(f,{width:725,height:210})}c=document.querySelectorAll("a[rel=simplebox]");if(c.length)for(j=0,m=c.length;j<m;j++){b=c[j];new FLB(b,{})}if(document.querySelector("#p72")){e=document.querySelectorAll("#projects_navigation dd");for(k=0,n=e.length;k<n;k++){d=e[k];d.onclick=function(a){var b,c,d,f,g,h,i,j;b=this.getAttribute("rel");this.className+=" active";for(g=0,h=e.length;g<h;g++){c=e[g];c.className.match(new RegExp("(\\s|^)active(\\s|$)"))&&(c.className=c.className.replace(new RegExp("(\\s|^)active(\\s|$)"),""))}f=document.querySelectorAll("#projects_list li");for(j=0,i=f.length;j<i;j++){d=f[j];d.className.match(new RegExp("(\\s|^)deselected(\\s|$)"))&&(d.className=d.className.replace(new RegExp("(\\s|^)deselected(\\s|$)"),""));b!=="all"&&!d.className.match(new RegExp("(\\s|^)"+b+"(\\s|$)"))&&(d.className.match(new RegExp("(\\s|^)deselected(\\s|$)"))||(d.className+=" deselected"))}}}}h=function(b,c,d,e){var f,g,h;if(!b)return;for(g=0,h=b.length;g<h;g++){f=b[g];f.onclick=function(){a(c,d?this.querySelector(d).firstChild.nodeValue:this.firstChild.nodeValue);setTimeout('document.location = "'+this.href+'"',100);return!1}}return!1};h(document.querySelectorAll("#menu-primary li a"),"Top Nav",null,document.title);h(document.querySelectorAll("#bio_pic"),"Bio Pic",null,document.title);h(document.querySelectorAll("#content.single .post-info .previous a"),"Previous Post",".arrow",document.title);h(document.querySelectorAll("#download_follow a.twitter, #download_follow a.rss"),"Projects Follow",null,document.title);h(document.querySelectorAll("#other_projects #projects_list li a"),"Other Projects","small",document.title);h(document.querySelectorAll("#footer_main_promo"),"Footer Promo",".header",document.title);h(document.querySelectorAll("#text-12 .recommended a"),"Recommended",null,document.title);h(document.querySelectorAll("#page_footer #twitter_follow a.button"),"Footer Twitter",null,document.title);a=function(a,b,c,d){try{_gaq.push(["_trackEvent",a,b,c,d])}catch(e){print(e)}}};
83 somerandomdude/js/main.js.bak
View
@@ -0,0 +1,83 @@
+/*this will be where all JS specific to SRD.com shows up*/
+window.onload = function() {
+ if (!document.querySelector) return;
+
+ var style = document.createElement('style');
+ var a = document.createAttribute('type');
+ a.nodeValue = 'text/css';
+ style.setAttributeNode(a);
+
+ var t = document.createTextNode('a{ -webkit-transition-property: background-color, color; -webkit-transition-duration: .3s; -webkit-transition-timing-function: cubic-bezier(0.02, 0, 0.18, 1.0); -moz-transition-property: background, color; -moz-transition-duration: .3s; -moz-transition-timing-function: cubic-bezier(0.02, 0, 0.18, 1.0); -o-transition-property: background, color; -o-transition-duration: .3s; -o-transition-timing-function: cubic-bezier(0.02, 0, 0.18, 1.0); }');
+ document.getElementsByTagName('head').item(0).appendChild(style);
+ try {style.appendChild(t); }
+ catch (err) {}
+
+ frank_slideshow('#hero_slideshow .slideshow', {width: 725, height: 210});
+ simpleBox();
+
+ if (document.querySelector('#p72')) {
+ var items, a, ref, i, k, j, itms, b;
+ items = document.querySelectorAll('#projects_navigation dd');
+ for (i = 0; i < items.length; i++) {
+ ref = items[i];
+
+ ref.onclick = function() {
+ items = document.querySelectorAll('#projects_navigation dd');
+ a = this.getAttribute('rel');
+
+ for (k = 0; k < items.length; k++) {
+ b = items[k].getAttribute('rel');
+
+ if (b != a) {
+ if (items[k].className.match(new RegExp('(\\s|^)' + 'active' + '(\\s|$)'))) items[k].className = items[k].className.replace(new RegExp('(\\s|^)' + 'active' + '(\\s|$)'), '');
+ }
+ else {
+ if (!items[k].className.match(new RegExp('(\\s|^)' + 'active' + '(\\s|$)'))) items[k].className += ' '+ 'active';
+ }
+
+ }
+
+ itms = document.querySelectorAll('#projects_list li');
+ for (j = 0; j < itms.length; j++) {
+ if (itms[j].className.match(new RegExp('(\\s|^)' + 'deselected' + '(\\s|$)'))) itms[j].className = itms[j].className.replace(new RegExp('(\\s|^)' + 'deselected' + '(\\s|$)'), '');
+ if (a != 'all' && !itms[j].className.match(new RegExp('(\\s|^)' + a + '(\\s|$)'))) if (!itms[j].className.match(new RegExp('(\\s|^)' + 'deselected' + '(\\s|$)'))) itms[j].className += ' '+ 'deselected';
+ }
+ }
+ }
+ }
+
+ /*custom tracking events*/
+ trackElems(document.querySelectorAll('#menu-primary li a'), 'Top Nav', null, document.title);
+ trackElem(document.querySelector('#bio_pic'), 'Bio Pic', null, document.title);
+
+ trackElem(document.querySelector('#content.single .post-info .previous a'), 'Previous Post', '.arrow', document.title);
+
+ trackElems(document.querySelectorAll('#download_follow a.twitter, #download_follow a.rss'), 'Projects Follow', null, document.title);
+ trackElems(document.querySelectorAll('#other_projects #projects_list li a'), 'Other Projects', 'small', document.title);
+
+ trackElem(document.querySelector('#footer_main_promo'), 'Footer Promo', '.header', document.title);
+ trackElems(document.querySelectorAll('#text-12 .recommended a'), 'Recommended', null, document.title);
+ trackElem(document.querySelector('#page_footer #twitter_follow a.button'), 'Footer Twitter', null, document.title);
+
+
+ function trackElem(elem, cat, action, label) {
+ if(!elem) return;
+ elem.onclick = function() { gaTrack(cat, (action) ? this.querySelector(action).firstChild.nodeValue : this.firstChild.nodeValue, document.title);
+ setTimeout('document.location = "' + this.href + '"', 100);
+ return false; }
+ }
+
+ function trackElems(elems, cat, action, label) {
+ if(!elems) return;
+ for (i = 0; i < elems.length; i++) {
+ elems[i].onclick = function() { gaTrack(cat, (action) ? this.querySelector(action).firstChild.nodeValue : this.firstChild.nodeValue, label);
+ setTimeout('document.location = "' + this.href + '"', 100);
+ return false; }
+ }
+ }
+
+ function gaTrack(cat, action, label, val) {
+ try { _gaq.push(['_trackEvent', cat, action, label, val]); } catch (err) {}
+ }
+
+};
98 somerandomdude/js/simplebox.coffee
View
@@ -0,0 +1,98 @@
+class FLB
+
+ @sbLoaderSide
+ @resizeImage
+ @imgDisplayDelay
+ @sbOverlayId
+ @element
+ @options
+ @image
+ @container
+ @overlay
+ @imgContainer
+
+ constructor: (el, o) ->
+ @element=el
+ if Object.prototype.toString.call(o) is '[object Object]'
+ @options=o
+ else
+ @options=new Object()
+
+ @options.resizeImage=false
+
+ @init()
+
+ init: ->
+ context = @
+ @element.onclick = (e) -> clickHandler(e, context)
+ return
+
+ createOverlay: (imageURL) ->
+ context=@
+ @overlay = document.createElement('div');
+ @overlay.setAttribute('id', 'flb-overlay')
+ @overlay.innerHTML = '<div id="flb-container"><a href="#" title="Close" class="closingElement">&nbsp;</a></div><div id="flb-content"><a id="flb-image" class="closingElement" href="#" title="Close"></a><a id="flb-close" class="closingElement" href="#" title="Close">&nbsp;</a></div>';
+
+ document.getElementsByTagName("body")[0].appendChild(@overlay);
+
+ # container div
+ @container = document.getElementById('flb-content')
+ @container.style.width = '100px'
+ @container.style.height = '100px'
+ @container.style.margin = '-50px 0 0 -50px'
+ @container.onclick = @overlay.onclick = (e) -> closeClickHandler(e, context)
+
+
+ # define the popup image
+ @imgContainer = document.getElementById('flb-image');
+ @imgContainer.style.background = 'url('+imageURL+') no-repeat 50% 50%';
+
+ # create the image object
+ @image = new Image();
+ @image.onload = (e) -> imageLoadHandler(e, context)
+ @image.src = imageURL
+
+ return
+
+ # Event Handlers
+ imageLoadHandler = (e, closure) ->
+ # Grab image dimensions and do some resizing
+ if not closure.options.resizeImage
+ imgHeight = closure.image.height;
+ imgWidth = closure.image.width;
+ else
+ resizeHeight = document.documentElement.clientHeight-40;
+ if closure.image.height<resizeHeight
+ imgHeight = closure.image.height;
+ imgWidth = closure.image.width;
+ else
+ imgHeight = resizeHeight;
+ imgWidth = Math.round(resizeHeight*closure.image.width/closure.image.height);
+ closure.image.height = imgHeight;
+ closure.image.width = imgWidth;
+
+ # Hide the loading icon
+
+ # provide new dimensions for the container
+ delay = -> sizeContainer(closure.container, imgWidth, imgHeight)
+ setTimeout(delay, 600)
+
+ return
+
+ sizeContainer = (container, width, height) ->
+ container.style.width = width+'px';
+ container.style.height = height+'px';
+ container.style.margin = '-'+((height+28)/2)+'px 0 0 -'+(width/2)+'px';
+ container.setAttribute('class', 'active')
+ return
+
+ clickHandler = (e, closure) ->
+ closure.createOverlay(e.target.getAttribute('href'))
+ e.cancelBubble=true
+ e.stopPropagation()
+ return false
+
+ closeClickHandler = (e, closure) ->
+ closure.container.setAttribute('class', '')
+ document.getElementsByTagName("body")[0].removeChild(closure.overlay);
+ return
156 somerandomdude/js/simplebox.js
View
@@ -1,154 +1,2 @@
-/**
- * @version 1.0
- * @package SimpleBox
- * @author Fotis Evangelou - http://nuevvo.com/labs/simplebox
- * @copyright Copyright (c) 2008-2011 Fotis Evangelou / Nuevvo Webware Ltd. All rights reserved.
- * @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
- */
-
-
-// Parameters
-var sbLoaderSide = 100;
-var resizeImage = 1;
-var imgDisplayDelay = 600;
-var sbOverlayId = "jwSBoverlay";
-var sbContainerId = "jwSBcontainer";
-var sbContentId = "jwSBcontent";
-var sbImageId = "jwSBimage";
-var sbImageAlt = "Preview...";
-var sbCaptionId = "sbcaption";
-var sbButtonCloseId = "jwSBclose";
-var sbCloseTitle = "Click anywhere on the screen to close the image...";
-
-// Do not change below this line
-//var sbRelTag = "simplebox";
-var isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;
-
-// Main simpleBox function
-function simpleBox() {
- if(!document.getElementsByTagName) return false;
- if(!document.getElementById) return false;
- var a = document.getElementsByTagName("a");
- for(var i=0; i<a.length; i++){
-
- if(/simplebox/.test(a[i].getAttribute("rel"))){
- a[i].onclick = function(){
- var imgSource = this.getAttribute("href");
- var imgTitle = this.getAttribute("title");
- if(!imgTitle) imgTitle = 'Images from the article '+document.title;
- buildImgPopup(imgSource,imgTitle);
- return false;
- }
- }
- }
-}
-
-