Permalink
Browse files

Update archives layout; add books and about pages

  • Loading branch information...
1 parent 3102617 commit f08c618ae236c1b7378b8407a749d3def4adfaac @morninj committed Jun 3, 2012
Showing with 27 additions and 15 deletions.
  1. +14 −9 archives.php
  2. +5 −5 header.php
  3. +7 −0 style.css
  4. +1 −1 styles/header.css
View
23 archives.php
@@ -9,15 +9,20 @@
<?php get_search_form(); ?>
-<h2>Archives by Month:</h2>
-<ul>
- <?php wp_get_archives('type=monthly'); ?>
-</ul>
-
-<h2>Archives by Subject:</h2>
-<ul>
- <?php wp_list_categories(); ?>
-</ul>
+<div class="row">
+ <div class="span4">
+ <h2>By Month:</h2>
+ <ul>
+ <?php wp_get_archives('type=monthly&show_post_count=1'); ?>
+ </ul>
+ </div><!--/.span4-->
+ <div class="span4">
+ <h2>By Topic:</h2>
+ <ul>
+ <?php wp_list_categories('orderby=name&show_count=1&title_li='); ?>
+ </ul>
+ </div><!--/.span4-->
+</div><!--/.row-->
<?php get_footer(); ?>
View
10 header.php
@@ -78,12 +78,12 @@
<div class="container">
<!-- Beta message -->
- <div class="row" style="margin-top: 20px;">
+ <div class="row">
<div class="span8" style="font-family: 'Helvetica Neue', Helvetica, sans-serif;">
- <div class="alert alert-block alert-error" style="font-size: 16px;">
+ <div class="alert alert-block alert-error" style="font-size: 16px; margin-top: 20px;">
<a class="close" data-dismiss="alert" href="#">&times;</a>
<h4 class="alert-heading" style="font-size: 22px; margin-bottom: 10px;">Watch your step</h4>
- This is a dev site. It's not yet fit for human consumption.
+ This is a dev site. Some things might be broken or missing.
</div>
</div>
</div>
@@ -105,10 +105,10 @@
<div class="span8">
<ul>
<li><a href="<?php site_url(); ?>/blog/">Blog</a></li>
- <li><a href="javascript:void(0);">Books</a></li>
+ <li><a href="<?php site_url(); ?>/books/">Books</a></li>
<li><a href="<?php site_url(); ?>/topics/news/">News</a></li>
<li><a href="http://wiki.lessig.org/">Wiki</a></li>
- <li><a href="javascript:void(0);">About</a></li>
+ <li><a href="<?php site_url(); ?>/about/">About</a></li>
</ul>
</div><!--/.span8-->
</div><!--/.row-->
View
7 style.css
@@ -28,6 +28,7 @@ License URI: https://creativecommons.org/licenses/by/3.0/us/
@import url('styles/comments.css');
body {
+ background-color: #efefef;
font-weight: 300;
}/* TODO: add documentation about typekit:
@@ -36,5 +37,11 @@ body {
3. LESS variables to adjust if not using typekit
*/
+div.container {
+ background-color: #fff;
+ border-radius: 3px;
+ margin: 20px auto;
+ padding: 30px 50px;
+}
div.clear-both { clear: both; }
View
2 styles/header.css
@@ -1,4 +1,4 @@
-header{ margin: 30px 0; }
+header{ margin: 4px 0 30px 0; }
header div#header-logo-container {}

0 comments on commit f08c618

Please sign in to comment.