Permalink
Browse files

Better handling of content boxen.

  • Loading branch information...
1 parent 4b2c3bd commit fc7f8f0f73e9bb53064db96f32dc018e7732f6ee @mfields committed Mar 26, 2011
Showing with 13 additions and 7 deletions.
  1. +1 −1 header.php
  2. +1 −1 search.php
  3. +11 −5 style.css
View
@@ -52,4 +52,4 @@
'fallback_cb' => '_ghostbird_menu_dialog',
) ); ?>
- <div id="page" role="document">
+ <div id="page" role="document">
View
@@ -38,7 +38,7 @@
<?php
if ( have_posts() ) {
- print "\n" . '<div id="search-results">';
+ print "\n" . '<div id="search-results" class="content">';
while ( have_posts() ) {
the_post();
$permalink = get_permalink();
View
@@ -607,9 +607,9 @@ h2.entry-title {
margin-top:0;
}
.search-results h2.entry-title {
- margin:0 0 .25em;
+ margin-top: 1.5em;
font-weight:normal;
- font-size:1em;
+ font-size:1.2em;
}
.search-results h2.entry-title a {
text-decoration:underline;
@@ -649,6 +649,7 @@ h2.entry-title {
}
#author-box .author-name {
font-size:1.3em;
+ margin-top:0;
margin-bottom:.1em;
clear:none;
}
@@ -721,6 +722,13 @@ h2.entry-title {
.comment-content p:only-child {
margin-bottom:0;
}
+.depth-1 {
+ margin:1.5em 0;
+ padding:1.5em;
+ overflow:hidden;
+ border:.1em solid #e2dcd2;
+ background-color:#fff;
+}
/* Trackbacks. */
@@ -983,9 +991,7 @@ table#wp-calendar {
/* Content boxen. */
.content,
-.depth-1,
-#commentform,
-#search-results {
+#commentform {
margin:1.5em 0;
padding:0 1.5em;
overflow:hidden;

0 comments on commit fc7f8f0

Please sign in to comment.