Adjusting/simplifying default graphic nav styling. Fixed #comments (doesn't exist) with #respond in graph nav comment button. A few font adjustments, .entry can now fall back on a default 14px body font cross site.

This commit is contained in:
mindfaucet 2009-12-21 15:40:16 -07:00
parent c07936c363
commit f8b50256c6
3 changed files with 17 additions and 67 deletions

View File

@ -2,21 +2,21 @@
Author: Tyler Martin Author: Tyler Martin
Style: Default Style: Default
*/ */
#comic_navi_wrapper { #comic_navi_wrapper {
width: 100%; width: 100%;
display: table; display: table;
border-collapse: collapse; border-collapse: collapse;
text-align: center; text-align: center;
margin: 0 auto; margin: 0 auto;
font-weight: bold;
font-size: 12px;
} }
.comic_navi_left { .comic_navi_left {
float: left; float: left;
} }
.comic_navi_center {
}
.comic_navi_right { .comic_navi_right {
float: right; float: right;
} }
@ -25,44 +25,21 @@ Style: Default
padding: 2px; padding: 2px;
} }
.comic_navi a {
color: #000;
}
.comic_navi a:hover {
color: #b00;
}
.navi-comictitle { .navi-comictitle {
padding: 0px 6px; padding: 0px 6px;
text-align: center; text-align: center;
display: inline-block; display: inline-block;
} }
.navi-comictitle a {
color: #000;
}
.navi-comictitle a:hover {
color: #f00;
}
.navi { .navi {
padding: 0 6px; padding: 0 6px;
color: #fff;
} }
.navi a { .navi a {
display: block; display: block;
color: #fff;
text-decoration: none; text-decoration: none;
} }
.navi a:hover {
color: #000;
background: #f00;
}
.navi-first { .navi-first {
float: left; float: left;
} }
@ -79,7 +56,6 @@ Style: Default
float: left; float: left;
} }
.navi-comments, .navi-archive, .navi-random, .navi-buyprint { .navi-comments, .navi-archive, .navi-random, .navi-buyprint {
display: inline-block; display: inline-block;
} }
@ -88,7 +64,6 @@ Style: Default
height: 25px; height: 25px;
width: 80px; width: 80px;
line-height: 15px; line-height: 15px;
color: #000;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@ -100,26 +75,11 @@ Style: Default
.navi-buyprint-form { .navi-buyprint-form {
display: inline-block; display: inline-block;
width: 80px; width: 80px;
}
.navi-archive, .navi-archives {
}
.navi-random {
}
.navi-comments {
}
a.navi-comments span {
} }
a.navi-comments span:hover { .navi-comments-count {
} padding-right: 4px;
}
.navi-comments-count {
padding-right: 4px;
}
.navi-next { .navi-next {
float: left; float: left;
@ -138,10 +98,5 @@ Style: Default
} }
.navi-void, .navi-void:hover { .navi-void, .navi-void:hover {
color: #555; font-weight: normal;
} }
.comic-left .navi-prev, .comic-right .navi-prev, .comic-left .navi-next, .comic-right .navi-next {
/* margin: 0 5px; */
}

View File

@ -18,7 +18,7 @@ html { overflow-y: scroll; }
body { body {
margin: 0; margin: 0;
font-family: 'Arial', sans-serif; font-family: 'Arial', sans-serif;
font-size: 13px; font-size: 14px;
color: #000; color: #000;
} }
@ -50,7 +50,7 @@ img {
} }
small { small {
font-size: 11px; font-size: 12px;
} }
hr { hr {
@ -141,7 +141,7 @@ h3, h3 a {
h4, h4 a { h4, h4 a {
padding: 0; padding: 0;
margin: 0; margin: 0;
font-size: 14px; font-size: 15px;
clear: both; clear: both;
} }
@ -492,7 +492,7 @@ h4, h4 a {
.post-info, .post-comic-info { .post-info, .post-comic-info {
padding-bottom: 5px; padding-bottom: 5px;
font-size: 11px; font-size: 12px;
} }
.post-text, .post-comic-text { .post-text, .post-comic-text {
@ -544,17 +544,12 @@ h4, h4 a {
text-align: center; text-align: center;
} }
.comicdate {
font-size: 14px;
}
.postdate { .postdate {
font-size: 11px; font-size: 11px;
} }
.entry { .entry {
line-height: 18px; line-height: 18px;
font-size: 14px;
padding: 3px 0; padding: 3px 0;
} }
@ -566,7 +561,7 @@ h4, h4 a {
} }
.post-tags, .post-comic-tags { .post-tags, .post-comic-tags {
font-size: 11px; font-size: 12px;
} }
.post .members-only, .post-comic .members-only { .post .members-only, .post-comic .members-only {
@ -830,7 +825,7 @@ ul.children {
/* Sidebar Class */ /* Sidebar Class */
.sidebar { .sidebar {
font-size: 11px; font-size: 12px;
overflow: hidden; overflow: hidden;
} }
@ -1318,7 +1313,7 @@ ul.children {
} }
.storyline-description { .storyline-description {
font-size: 11px; font-size: 12px;
} }
.storyline-foot { .storyline-foot {
@ -1339,7 +1334,7 @@ ul.children {
.archive-date { .archive-date {
padding: 0 5px 0 0; padding: 0 5px 0 0;
font-size: 11px; font-size: 12px;
white-space: nowrap; white-space: nowrap;
} }

View File

@ -131,7 +131,7 @@ class GraphicalNavigationWidget extends WP_Widget {
case 'comments': case 'comments':
$temp_id = $id; $temp_id = $id;
$id = $current->ID; $id = $current->ID;
?><a href="<?php echo get_permalink($current); ?>#comments" ?><a href="<?php echo get_permalink($current); ?>#respond"
class="navi navi-comments" class="navi navi-comments"
title="<?php echo $instance['comments_title']; ?>"><span class="navi-comments-count"><?php comments_number('0', '1', '%'); ?></span><?php echo $instance['comments_title']; ?></a><?php title="<?php echo $instance['comments_title']; ?>"><span class="navi-comments-count"><?php comments_number('0', '1', '%'); ?></span><?php echo $instance['comments_title']; ?></a><?php
$id = $temp_id; $id = $temp_id;