From f8b50256c6a4b35696687fe00746ffff1954fd8b Mon Sep 17 00:00:00 2001 From: mindfaucet Date: Mon, 21 Dec 2009 15:40:16 -0700 Subject: [PATCH] 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. --- images/nav/default/navstyle.css | 61 ++++----------------------- style.css | 21 ++++----- widgets/GraphicalNavigationWidget.inc | 2 +- 3 files changed, 17 insertions(+), 67 deletions(-) diff --git a/images/nav/default/navstyle.css b/images/nav/default/navstyle.css index 7640ef2..92a66c0 100644 --- a/images/nav/default/navstyle.css +++ b/images/nav/default/navstyle.css @@ -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; } @@ -100,26 +75,11 @@ Style: Default .navi-buyprint-form { display: inline-block; 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 { 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; */ - } - diff --git a/style.css b/style.css index b9dbb24..19c26d5 100644 --- a/style.css +++ b/style.css @@ -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; } diff --git a/widgets/GraphicalNavigationWidget.inc b/widgets/GraphicalNavigationWidget.inc index 82f18f4..d76292e 100644 --- a/widgets/GraphicalNavigationWidget.inc +++ b/widgets/GraphicalNavigationWidget.inc @@ -131,7 +131,7 @@ class GraphicalNavigationWidget extends WP_Widget { case 'comments': $temp_id = $id; $id = $current->ID; - ?>