mirror of
https://github.com/kennethreitz/wordpress-theme-skeleton.git
synced 2026-06-05 23:20:18 +00:00
initial development
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
/* Reset */
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-weight: inherit;
|
||||
font-style: inherit;
|
||||
font-size: 100%;
|
||||
font-family: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
body { line-height: 1; }
|
||||
table {
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
/* Standard Attributes*/
|
||||
.block { display: block; }
|
||||
.inline { display: inline; }
|
||||
.clearfix { display:inline-block; }
|
||||
.hide { display: none; }
|
||||
.fleft { float: left; }
|
||||
.fright { float: right; }
|
||||
.fclear { clear: both; }
|
||||
.hi { background-color: rgb(255, 255, 204); }
|
||||
.sub { vertical-align: sub; }
|
||||
.super { vertical-align: super; }
|
||||
.middle { vertical-align: middle; }
|
||||
.center { margin-left: auto; margin-right: auto; text-align: center; }
|
||||
.seo { text-indent: -9000px; }
|
||||
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
|
||||
|
||||
<head profile="http://gmpg.org/xfn/11">
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
|
||||
|
||||
<title><?php wp_title( '—', true, 'right' ); echo wp_specialchars( get_bloginfo('name'), 1 ); ?></title>
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
|
||||
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
|
||||
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> Comments RSS" href="<?php bloginfo('comments_rss2_url'); ?>" />
|
||||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
||||
<?php wp_get_archives('type=monthly&format=link'); ?>
|
||||
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="<?php bloginfo('stylesheet_url'); ?>" />
|
||||
|
||||
<?php if ( is_singular() ) { wp_enqueue_script( 'comment-reply' ); } ?>
|
||||
|
||||
<?php wp_head(); ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<strong id="blog-title"><a rel="home" href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></strong>
|
||||
<p id="tagline"><?php bloginfo('description'); ?></p>
|
||||
<ul id="nav">
|
||||
<?php wp_list_pages('title_li='); ?>
|
||||
<?php wp_register(); ?>
|
||||
<li><?php wp_loginout(); ?></li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
.container { width: 960px; }
|
||||
Reference in New Issue
Block a user