forked from mirror/_s
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:
parent
e8ebbf25fa
commit
752d08afd7
8
404.php
8
404.php
|
@ -8,8 +8,8 @@
|
|||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
<div id="primary" class="content-area">
|
||||
<div id="content" class="site-content" role="main">
|
||||
|
||||
<article id="post-0" class="post error404 not-found">
|
||||
<header class="entry-header">
|
||||
|
@ -41,7 +41,7 @@ get_header(); ?>
|
|||
</div><!-- .entry-content -->
|
||||
</article><!-- #post-0 .post .error404 .not-found -->
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary .site-content -->
|
||||
</div><!-- #content .site-content -->
|
||||
</div><!-- #primary .content-area -->
|
||||
|
||||
<?php get_footer(); ?>
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
<section id="primary" class="content-area">
|
||||
<div id="content" class="site-content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
|
@ -90,8 +90,8 @@ get_header(); ?>
|
|||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary .site-content -->
|
||||
</div><!-- #content .site-content -->
|
||||
</section><!-- #primary .content-area -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
|
@ -9,7 +9,7 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
</div><!-- #main -->
|
||||
</div><!-- #main .site-main -->
|
||||
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<div class="site-info">
|
||||
|
|
|
@ -59,4 +59,4 @@
|
|||
</nav><!-- .site-navigation .main-navigation -->
|
||||
</header><!-- #masthead .site-header -->
|
||||
|
||||
<div id="main">
|
||||
<div id="main" class="site-main">
|
|
@ -9,8 +9,8 @@
|
|||
get_header();
|
||||
?>
|
||||
|
||||
<div id="primary" class="site-content image-attachment">
|
||||
<div id="content" role="main">
|
||||
<div id="primary" class="content-area image-attachment">
|
||||
<div id="content" class="site-content" role="main">
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
|
@ -105,7 +105,7 @@ get_header();
|
|||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary .site-content .image-attachment -->
|
||||
</div><!-- #content .site-content -->
|
||||
</div><!-- #primary .content-area .image-attachment -->
|
||||
|
||||
<?php get_footer(); ?>
|
|
@ -14,8 +14,8 @@
|
|||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
<div id="primary" class="content-area">
|
||||
<div id="content" class="site-content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
|
@ -42,8 +42,8 @@ get_header(); ?>
|
|||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary .site-content -->
|
||||
</div><!-- #content .site-content -->
|
||||
</div><!-- #primary .content-area -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
8
page.php
8
page.php
|
@ -13,8 +13,8 @@
|
|||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
<div id="primary" class="content-area">
|
||||
<div id="content" class="site-content" role="main">
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
|
@ -24,8 +24,8 @@ get_header(); ?>
|
|||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary .site-content -->
|
||||
</div><!-- #content .site-content -->
|
||||
</div><!-- #primary .content-area -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
|
@ -8,8 +8,8 @@
|
|||
|
||||
get_header(); ?>
|
||||
|
||||
<section id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
<section id="primary" class="content-area">
|
||||
<div id="content" class="site-content" role="main">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
|
@ -34,8 +34,8 @@ get_header(); ?>
|
|||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</section><!-- #primary .site-content -->
|
||||
</div><!-- #content .site-content -->
|
||||
</section><!-- #primary .content-area -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
|
@ -8,8 +8,8 @@
|
|||
|
||||
get_header(); ?>
|
||||
|
||||
<div id="primary" class="site-content">
|
||||
<div id="content" role="main">
|
||||
<div id="primary" class="content-area">
|
||||
<div id="content" class="site-content" role="main">
|
||||
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
|
@ -27,8 +27,8 @@ get_header(); ?>
|
|||
|
||||
<?php endwhile; // end of the loop. ?>
|
||||
|
||||
</div><!-- #content -->
|
||||
</div><!-- #primary .site-content -->
|
||||
</div><!-- #content .site-content -->
|
||||
</div><!-- #primary .content-area -->
|
||||
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
Reference in New Issue