Update the HTML "class" system

Improving on the naming convention of our classes with consistency
adjustments. Also creates a better hierarchy (matched pairs) for them.
This commit is contained in:
Matias 2012-08-25 13:57:24 -03:00
parent e8ebbf25fa
commit 752d08afd7
9 changed files with 30 additions and 30 deletions

View File

@ -8,8 +8,8 @@
get_header(); ?> get_header(); ?>
<div id="primary" class="site-content"> <div id="primary" class="content-area">
<div id="content" role="main"> <div id="content" class="site-content" role="main">
<article id="post-0" class="post error404 not-found"> <article id="post-0" class="post error404 not-found">
<header class="entry-header"> <header class="entry-header">
@ -41,7 +41,7 @@ get_header(); ?>
</div><!-- .entry-content --> </div><!-- .entry-content -->
</article><!-- #post-0 .post .error404 .not-found --> </article><!-- #post-0 .post .error404 .not-found -->
</div><!-- #content --> </div><!-- #content .site-content -->
</div><!-- #primary .site-content --> </div><!-- #primary .content-area -->
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -10,8 +10,8 @@
get_header(); ?> get_header(); ?>
<section id="primary" class="site-content"> <section id="primary" class="content-area">
<div id="content" role="main"> <div id="content" class="site-content" role="main">
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
@ -90,8 +90,8 @@ get_header(); ?>
<?php endif; ?> <?php endif; ?>
</div><!-- #content --> </div><!-- #content .site-content -->
</section><!-- #primary .site-content --> </section><!-- #primary .content-area -->
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -9,7 +9,7 @@
*/ */
?> ?>
</div><!-- #main --> </div><!-- #main .site-main -->
<footer id="colophon" class="site-footer" role="contentinfo"> <footer id="colophon" class="site-footer" role="contentinfo">
<div class="site-info"> <div class="site-info">

View File

@ -59,4 +59,4 @@
</nav><!-- .site-navigation .main-navigation --> </nav><!-- .site-navigation .main-navigation -->
</header><!-- #masthead .site-header --> </header><!-- #masthead .site-header -->
<div id="main"> <div id="main" class="site-main">

View File

@ -9,8 +9,8 @@
get_header(); get_header();
?> ?>
<div id="primary" class="site-content image-attachment"> <div id="primary" class="content-area image-attachment">
<div id="content" role="main"> <div id="content" class="site-content" role="main">
<?php while ( have_posts() ) : the_post(); ?> <?php while ( have_posts() ) : the_post(); ?>
@ -105,7 +105,7 @@ get_header();
<?php endwhile; // end of the loop. ?> <?php endwhile; // end of the loop. ?>
</div><!-- #content --> </div><!-- #content .site-content -->
</div><!-- #primary .site-content .image-attachment --> </div><!-- #primary .content-area .image-attachment -->
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -14,8 +14,8 @@
get_header(); ?> get_header(); ?>
<div id="primary" class="site-content"> <div id="primary" class="content-area">
<div id="content" role="main"> <div id="content" class="site-content" role="main">
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
@ -42,8 +42,8 @@ get_header(); ?>
<?php endif; ?> <?php endif; ?>
</div><!-- #content --> </div><!-- #content .site-content -->
</div><!-- #primary .site-content --> </div><!-- #primary .content-area -->
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -13,8 +13,8 @@
get_header(); ?> get_header(); ?>
<div id="primary" class="site-content"> <div id="primary" class="content-area">
<div id="content" role="main"> <div id="content" class="site-content" role="main">
<?php while ( have_posts() ) : the_post(); ?> <?php while ( have_posts() ) : the_post(); ?>
@ -24,8 +24,8 @@ get_header(); ?>
<?php endwhile; // end of the loop. ?> <?php endwhile; // end of the loop. ?>
</div><!-- #content --> </div><!-- #content .site-content -->
</div><!-- #primary .site-content --> </div><!-- #primary .content-area -->
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -8,8 +8,8 @@
get_header(); ?> get_header(); ?>
<section id="primary" class="site-content"> <section id="primary" class="content-area">
<div id="content" role="main"> <div id="content" class="site-content" role="main">
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
@ -34,8 +34,8 @@ get_header(); ?>
<?php endif; ?> <?php endif; ?>
</div><!-- #content --> </div><!-- #content .site-content -->
</section><!-- #primary .site-content --> </section><!-- #primary .content-area -->
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
<?php get_footer(); ?> <?php get_footer(); ?>

View File

@ -8,8 +8,8 @@
get_header(); ?> get_header(); ?>
<div id="primary" class="site-content"> <div id="primary" class="content-area">
<div id="content" role="main"> <div id="content" class="site-content" role="main">
<?php while ( have_posts() ) : the_post(); ?> <?php while ( have_posts() ) : the_post(); ?>
@ -27,8 +27,8 @@ get_header(); ?>
<?php endwhile; // end of the loop. ?> <?php endwhile; // end of the loop. ?>
</div><!-- #content --> </div><!-- #content .site-content -->
</div><!-- #primary .site-content --> </div><!-- #primary .content-area -->
<?php get_sidebar(); ?> <?php get_sidebar(); ?>
<?php get_footer(); ?> <?php get_footer(); ?>