Skip to content

Commit

Permalink
importing code from mm-base project
Browse files Browse the repository at this point in the history
  • Loading branch information
menslow committed Oct 6, 2011
1 parent bfe3dea commit b7a99c5
Show file tree
Hide file tree
Showing 25 changed files with 2,177 additions and 0 deletions.
19 changes: 19 additions & 0 deletions 404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php
/**
* @package WordPress
* @subpackage
*/

get_header();
?>

<div id="content">

<h2>Oops!</h2>
<p>We couldn't find the page you were looking for.</p>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
Empty file modified README
100644 → 100755
Empty file.
74 changes: 74 additions & 0 deletions archive.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?php
/**
* @package WordPress
* @subpackage
*/

get_header();
?>

<div id="content">

<?php if (have_posts()) : ?>

<?php /* If this is a category archive */ if (is_category()) { ?>
<h2>Archive for the &#8216;<?php single_cat_title(); ?>&#8217; Category</h2>
<?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
<h2>Posts Tagged &#8216;<?php single_tag_title(); ?>&#8217;</h2>
<?php /* If this is a daily archive */ } elseif (is_day()) { ?>
<h2>Archive for <?php the_time('F jS, Y'); ?></h2>
<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<h2>Archive for <?php the_time('F, Y'); ?></h2>
<?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<h2>Archive for <?php the_time('Y'); ?></h2>
<?php /* If this is an author archive */ } elseif (is_author()) { ?>
<h2>Author Archive</h2>
<?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<h2>Blog Archives</h2>
<?php } ?>


<div class="navigation">
<div><?php next_posts_link('&laquo; Older Entries') ?></div>
<div><?php previous_posts_link('Newer Entries &raquo;') ?></div>
</div>

<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?>>
<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
<small><?php the_time('l, F jS, Y') ?></small>

<div class="entry">
<?php the_content() ?>
</div>

<p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>

</div>

<?php endwhile; ?>

<div class="navigation">
<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
</div>

<?php else : // No Posts
if ( is_category() ) { // If this is a category archive
printf("<h2>Sorry, but there aren't any posts in the %s category yet.</h2>", single_cat_title('',false));
} else if ( is_date() ) { // If this is a date archive
echo("<h2>Sorry, but there aren't any posts with this date.</h2>");
} else if ( is_author() ) { // If this is a category archive
$userdata = get_userdatabylogin(get_query_var('author_name'));
printf("<h2>Sorry, but there aren't any posts by %s yet.</h2>", $userdata->display_name);
} else {
echo("<h2>No posts found.</h2>");
}
get_search_form();
endif;?>

</div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>
186 changes: 186 additions & 0 deletions assets/css/1200.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
/*
1200 Grid System
*/

body {
min-width: 1200px;
}

/* Containers */

.container_12 {
margin-left: auto;
margin-right: auto;
width: 1200px;
}

/* Grid Global */

.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
display: inline;
float: left;
margin-left: 10px;
margin-right: 10px;
}

/* Grid Children (Alpha ~ First, Omega ~ Last) */

.alpha {
margin-left: 0;
}

.omega {
margin-right: 0;
}

/* Grid 12 Columns */

.container_12 .grid_1 {
width: 80px;
}

.container_12 .grid_2 {
width: 180px;
}

.container_12 .grid_3 {
width: 280px;
}

.container_12 .grid_4 {
width: 380px;
}

.container_12 .grid_5 {
width: 480px;
}

.container_12 .grid_6 {
width: 580px;
}

.container_12 .grid_7 {
width: 680px;
}

.container_12 .grid_8 {
width: 780px;
}

.container_12 .grid_9 {
width: 880px;
}

.container_12 .grid_10 {
width: 980px;
}

.container_12 .grid_11 {
width: 1080px;
}

.container_12 .grid_12 {
width: 1180px;
}

/* `Prefix Extra Space >> 12 Columns*/

.container_12 .prefix_1 {
padding-left: 100px;
}

.container_12 .prefix_2 {
padding-left: 200px;
}

.container_12 .prefix_3 {
padding-left: 300px;
}

.container_12 .prefix_4 {
padding-left: 400px;
}

.container_12 .prefix_5 {
padding-left: 500px;
}

.container_12 .prefix_6 {
padding-left: 600px;
}

.container_12 .prefix_7 {
padding-left: 700px;
}

.container_12 .prefix_8 {
padding-left: 800px;
}

.container_12 .prefix_9 {
padding-left: 900px;
}

.container_12 .prefix_10 {
padding-left: 1000px;
}

.container_12 .prefix_11 {
padding-left: 1100px;
}


/* Clear Floated Elements */

/* http://sonspring.com/journal/clearing-floats */

.clear {
clear: both;
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}

/* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */

.clearfix:before,
.clearfix:after,
.container_12:before,
.container_12:after {
content: '.';
display: block;
overflow: hidden;
visibility: hidden;
font-size: 0;
line-height: 0;
width: 0;
height: 0;
}

.clearfix:after,
.container_12:after {
clear: both;
}

/*
The following zoom:1 rule is specifically for IE6 + IE7.
Move to separate stylesheet if invalid CSS is a problem.
*/

.clearfix,
.container_12 {
zoom: 1;
}
Loading

0 comments on commit b7a99c5

Please sign in to comment.