Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

version 3.1 updates

  • Loading branch information...
commit 0aaa5e6ee6dd1865f151f89479d75b2a0cad082f 1 parent a83d7aa
@nathanstaines authored
Showing with 32 additions and 101 deletions.
  1. +31 −80 css/reset.css
  2. +1 −21 onecolumn-page.php
View
111 css/reset.css
@@ -2,102 +2,53 @@
/* ----------------------------------------- */
/**
- * html5doctor.com Reset Stylesheet
+ * Eric Meyer's Reset Stylesheet
*
- * v1.4.1
- * 2010-03-01
- * Author: Richard Clark - http://richclarkdesign.com
+ * v2.0
+ * 2011-01-26
+ * Author: Eric Meyer - http://meyerweb.com/eric/tools/css/reset/
*/
-html, body, div, span, object, iframe,
+html, body, div, span, applet, 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,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
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,
+article, aside, canvas, details, embed,
+figure, figcaption, footer, header, hgroup,
+menu, nav, output, ruby, section, summary,
time, mark, audio, video {
- margin:0;
- padding:0;
- border:0;
- outline:0;
- font-size:100%;
- vertical-align:baseline;
- background:transparent;
+ margin: 0;
+ padding: 0;
+ border: 0;
+ font-size: 100%;
+ font: inherit;
+ vertical-align: baseline;
+}
+/* HTML5 display-role reset for older browsers */
+article, aside, details, figcaption, figure,
+footer, header, hgroup, menu, nav, section {
+ display: block;
}
-
body {
- line-height:1;
-}
-
-article,aside,canvas,details,figcaption,figure,
-footer,header,hgroup,menu,nav,section,summary {
- display:block;
+ line-height: 1;
}
-
-nav ul {
- list-style:none;
+ol, ul {
+ list-style: none;
}
-
blockquote, q {
- quotes:none;
+ quotes: none;
}
-
blockquote:before, blockquote:after,
q:before, q:after {
- content:'';
- content:none;
+ content: '';
+ content: none;
}
-
-a {
- margin:0;
- padding:0;
- border:0;
- font-size:100%;
- vertical-align:baseline;
- background:transparent;
-}
-
-ins {
- background-color:#ff9;
- color:#000;
- text-decoration:none;
-}
-
-mark {
- background-color:#ff9;
- color:#000;
- font-style:italic;
- font-weight:bold;
-}
-
-del {
- text-decoration: line-through;
-}
-
-abbr[title], dfn[title] {
- border-bottom:1px dotted #000;
- cursor:help;
-}
-
table {
- border-collapse:collapse;
- border-spacing:0;
-}
-
-hr {
- display:block;
- height:1px;
- border:0;
- border-top:1px solid #cccccc;
- margin:1em 0;
- padding:0;
-}
-
-input, select {
- vertical-align:middle;
+ border-collapse: collapse;
+ border-spacing: 0;
}
View
22 onecolumn-page.php
@@ -9,26 +9,6 @@
get_header(); ?>
-<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
-
- <article <?php post_class() ?> id="post-<?php the_ID(); ?>">
-
- <header>
- <h1><?php the_title(); ?></h1>
- </header>
-
- <?php the_content(); ?>
-
- <?php wp_link_pages( array( 'before' => '<nav>' . __( 'Pages:', 'starkers' ), 'after' => '</nav>' ) ); ?>
-
- <footer>
- <?php edit_post_link( __( 'Edit', 'starkers' ), '', '' ); ?>
- </footer>
-
- <?php comments_template( '', true ); ?>
-
- </article>
-
-<?php endwhile; ?>
+ <?php get_template_part( 'loop', 'page' ); ?>
<?php get_footer(); ?>
Please sign in to comment.
Something went wrong with that request. Please try again.