JSFiddle - React, Tailwind, and code Playground
HTML
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div id="entry-content"> <?php the_content(); ?>
<?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries ?>
</div><!-- #entry-author-info -->
<?php endif; ?>
<div class="clear"></div>
</td>
</tr>
</table><!-- #post-## -->
<?php comments_template( '', true ); ?>
<?php endwhile; ?>
<?php $imbalance2_theme_options = get_option('imbalance2_theme_options');
if ( $imbalance2_theme_options['related'] != 0 ) :
?>
<div class="recent clear">
<div id="related">
<?php while ( have_posts() ) : the_post(); ?>
<div class="box">
<div class="rel">
<?php if ($imbalance2_theme_options['images_only'] == 0): ?>
<div class="categories"><?php imbalance2_posted_in(); ?></div>
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt() ?>
<div class="posted"><?php imbalance2_posted_on() ?> <span class="main_separator">/</span>
<?php echo comments_popup_link( __( 'No comments', 'imbalance2' ), __( 'One Comment', 'imbalance2' ), __( '% Comments', 'imbalance2' ) ); ?>
</div>
<?php endif ?>
<div class="texts">
<?php if ($imbalance2_theme_options['images_only'] == 1): ?>
<a class="transparent" href="<?php the_permalink(); ?>"><?php the_post_thumbnail('homepage-thumb', array('alt' => '', 'title' => '')) ?></a>
<?php endif ?>
<div class="abs">
<?php if ($imbalance2_theme_options['images_only'] == 0): ?>
<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail('homepage-thumb', array('alt' => '', 'title' => '')) ?></a>
<?php endif ?>
<div class="categories"><?php imbalance2_posted_in(); ?></div>
<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<?php the_excerpt() ?>
<div class="posted"><?php imbalance2_posted_on() ?> <span...
CSS
html, body, form, ul, li, table, td {
margin: 0;
padding: 0;
}
body {
position: relative;
min-height: 100%;
color: #333;
border-top: 2px solid #e62b1e;
}
#site-description {
margin: 0px 0 4px;
width: 400px;
text-align: right;
}
body, input, textarea {
font-size: 13px;
font-family: "Helvetica Neue Custom","Helvetica Neue",Helvetica,Arial,sans-serif;
}
a {
text-decoration: none;
}
a img {
border: 0;
}
td {
vertical-align: top;
}
ul {
list-style-position: inside;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 18px;
}
h3 {
font-size: 24px;
font-weight: 300;
line-height: 0;
}
h5 {
color: #222;
line-height: 1.2;
font-weight: 300;
margin: 0;
}
}
blockquote {
border-left-width: 3px;
border-left-style: solid;
margin-left: 7px;
padding-left: 20px;
font-size: 16px;
color: #636363;
}
.clear {
clear: both;
}
#container {
margin: auto;
max-width: 1200px;
}
.main_separator {
color: #dedfe0;
}
.wrapper {
margin: auto;
padding-top: 31px;
min-height: 100%;
position: relative;
}
#header {
padding-bottom: 50px;
max-width: 100%;
}
.header-wrapper {
margin: auto;
padding-top: 31px;
}
.wrap {
position:relative;
margin:0 auto;
width: 100%;
background: #ccc;
}
.songs {
font-weight: bolder;
}
.alt {
font-weight: 300;
}
#site-title {
width: 83px;
height: 30px;
margin: -17px 0 0 29px;
background: url("http://static.tumblr.com/bw1wxme/LDZnqf5wk/lap.png");
text-indent: -9999px;
display: block;
}
#site-title a {
color: #333;
font-weight: bold;
text-decoration: none;
}
#header-left {
float: left;
font-size: 13px;
height: 60px;
margin: -2px 5px 0;
padding: 0;
}
#header-center {
float: left;
width: 210px;
padding-right: 30px;
}
#header-title {
color: #333;
font-size: 52px;
padding-bottom: 29px;
padding-top: 3px;
text-align: center;
width: 100%;
}
#search...