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
Style: Default
*/
#comic_navi_wrapper {
width: 100%;
display: table;
border-collapse: collapse;
text-align: center;
margin: 0 auto;
font-weight: bold;
font-size: 12px;
}
.comic_navi_left {
float: left;
}
.comic_navi_center {
}
.comic_navi_right {
float: right;
}
@ -25,44 +25,21 @@ Style: Default
padding: 2px;
}
.comic_navi a {
color: #000;
}
.comic_navi a:hover {
color: #b00;
}
.navi-comictitle {
padding: 0px 6px;
text-align: center;
display: inline-block;
}
.navi-comictitle a {
color: #000;
}
.navi-comictitle a:hover {
color: #f00;
}
.navi {
padding: 0 6px;
color: #fff;
}
.navi a {
display: block;
color: #fff;
text-decoration: none;
}
.navi a:hover {
color: #000;
background: #f00;
}
.navi-first {
float: left;
}
@ -79,7 +56,6 @@ Style: Default
float: left;
}
.navi-comments, .navi-archive, .navi-random, .navi-buyprint {
display: inline-block;
}
@ -88,7 +64,6 @@ Style: Default
height: 25px;
width: 80px;
line-height: 15px;
color: #000;
margin: 0;
padding: 0;
}
@ -102,24 +77,9 @@ Style: Default
width: 80px;
}
.navi-archive, .navi-archives {
}
.navi-random {
}
.navi-comments {
}
a.navi-comments span {
}
a.navi-comments span:hover {
}
.navi-comments-count {
.navi-comments-count {
padding-right: 4px;
}
}
.navi-next {
float: left;
@ -138,10 +98,5 @@ Style: Default
}
.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 {
margin: 0;
font-family: 'Arial', sans-serif;
font-size: 13px;
font-size: 14px;
color: #000;
}
@ -50,7 +50,7 @@ img {
}
small {
font-size: 11px;
font-size: 12px;
}
hr {
@ -141,7 +141,7 @@ h3, h3 a {
h4, h4 a {
padding: 0;
margin: 0;
font-size: 14px;
font-size: 15px;
clear: both;
}
@ -492,7 +492,7 @@ h4, h4 a {
.post-info, .post-comic-info {
padding-bottom: 5px;
font-size: 11px;
font-size: 12px;
}
.post-text, .post-comic-text {
@ -544,17 +544,12 @@ h4, h4 a {
text-align: center;
}
.comicdate {
font-size: 14px;
}
.postdate {
font-size: 11px;
}
.entry {
line-height: 18px;
font-size: 14px;
padding: 3px 0;
}
@ -566,7 +561,7 @@ h4, h4 a {
}
.post-tags, .post-comic-tags {
font-size: 11px;
font-size: 12px;
}
.post .members-only, .post-comic .members-only {
@ -830,7 +825,7 @@ ul.children {
/* Sidebar Class */
.sidebar {
font-size: 11px;
font-size: 12px;
overflow: hidden;
}
@ -1318,7 +1313,7 @@ ul.children {
}
.storyline-description {
font-size: 11px;
font-size: 12px;
}
.storyline-foot {
@ -1339,7 +1334,7 @@ ul.children {
.archive-date {
padding: 0 5px 0 0;
font-size: 11px;
font-size: 12px;
white-space: nowrap;
}

View File

@ -131,7 +131,7 @@ class GraphicalNavigationWidget extends WP_Widget {
case 'comments':
$temp_id = $id;
$id = $current->ID;
?><a href="<?php echo get_permalink($current); ?>#comments"
?><a href="<?php echo get_permalink($current); ?>#respond"
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
$id = $temp_id;