-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
- get_col("SELECT DISTINCT YEAR(post_date) FROM $wpdb->posts WHERE post_status = 'publish' ORDER BY post_date ASC");
- foreach ( $years as $year ) {
- if ($year != (0) ) { ?>
-
|
-
-
-
-
- query('showposts=10000&cat=-'.exclude_comic_categories().'&year='.$archive_year);
- while ($comicArchive->have_posts()) : $comicArchive->the_post() ?>
- | |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/images/cal/default.png b/images/cal/default.png
index ecfeec9..384b7d1 100644
Binary files a/images/cal/default.png and b/images/cal/default.png differ
diff --git a/sidebar-left.php b/sidebar-left.php
index fc84b4b..34d01e2 100644
--- a/sidebar-left.php
+++ b/sidebar-left.php
@@ -7,7 +7,8 @@ if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
-
-
+
+ $default_image)) ?>
diff --git a/sidebar-right.php b/sidebar-right.php
index cf09ebf..0b645a5 100644
--- a/sidebar-right.php
+++ b/sidebar-right.php
@@ -10,7 +10,8 @@ if ($disable_lrsidebars_frontpage == 'yes' && is_home()) {
-
-
+
+ $default_image)) ?>
diff --git a/style.css b/style.css
index da5ba62..7313e8b 100644
--- a/style.css
+++ b/style.css
@@ -314,7 +314,7 @@ h3, h3 a {
/* Main menu highlighted background color */
}
-/* For submenu dropdowns - this order must be maintained */
+ /* For submenu dropdowns - this order must be maintained */
#menu ul {
padding: 0;
@@ -379,9 +379,9 @@ h3, h3 a {
z-index: 100;
}
-#comic img {
- margin: 5px;
-}
+ #comic img {
+ margin: 5px;
+ }
#comic-foot {
padding-bottom: 5px;
@@ -409,25 +409,25 @@ a.navi-comments:hover span {
padding: 8px 5px 5px 5px;
}
-.nav-first {
- padding: 0 5px 0 0;
- float: left;
-}
+ .nav-first {
+ padding: 0 5px 0 0;
+ float: left;
+ }
-.nav-previous {
- padding: 0 5px;
- float: left;
-}
+ .nav-previous {
+ padding: 0 5px;
+ float: left;
+ }
-.nav-next {
- padding: 0 5px;
- float: left;
-}
+ .nav-next {
+ padding: 0 5px;
+ float: left;
+ }
-.nav-last {
- padding: 0 0 0 5px;
- float: left;
-}
+ .nav-last {
+ padding: 0 0 0 5px;
+ float: left;
+ }
.pagenav, .commentnav {
height: 25px;
@@ -440,34 +440,26 @@ a.navi-comments:hover span {
clear: both;
}
+ .pagenav-left, .commentnav-left {
+ float: left;
+ }
-.pagenav-left, .commentnav-left {
- float: left;
-}
-
-
-.pagenav-right, .commentnav-right {
- float: right;
-}
-
-
-.nav a, .pagenav a, .nav-blog a {
- display: block;
- float: left;
- color: #000;
-}
-
-
-.nav a:hover, .pagenav a:hover, .nav-blog a:hover {
- color: #800;
-}
-
+ .pagenav-right, .commentnav-right {
+ float: right;
+ }
+ .nav a, .pagenav a, .nav-blog a {
+ display: block;
+ float: left;
+ color: #000;
+ }
+ .nav a:hover, .pagenav a:hover, .nav-blog a:hover {
+ color: #800;
+ }
/* POSTS - PAGES */
-
#pagewrap-right {
width: 770px;
float: left;
@@ -482,7 +474,6 @@ a.navi-comments:hover span {
padding: 0;
}
-
#content {
float: left;
overflow: hidden;
@@ -576,7 +567,6 @@ a.navi-comments:hover span {
font-size: 14px;
}
-
.postdate {
font-size: 11px;
}
@@ -727,7 +717,6 @@ a.navi-comments:hover span {
background: #efefef;
}
-
.comment-author {
display: inline;
}
@@ -743,7 +732,6 @@ a.navi-comments:hover span {
display: none;
}
-
.commentsrsslink {
float: right;
font-size: 11px;
@@ -844,7 +832,6 @@ ul.children {
/* Sidebar Class */
-
.sidebar {
font-size: 11px;
margin: 0 5px 0 5px;
@@ -852,39 +839,37 @@ ul.children {
padding: 0 0 5px 0;
}
+ .sidebar h2, .sidebar h2 a {
+ font-family:arial;
+ font-size: 16px;
+ }
-.sidebar h2, .sidebar h2 a {
- font-family:arial;
- font-size: 16px;
-}
+ .sidebar .widget {
+ margin-bottom: 10px;
+ }
-.sidebar .widget {
- margin-bottom: 10px;
-}
+ .sidebar ul {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ }
-.sidebar ul {
- margin: 0;
- padding: 0;
- list-style: none;
-}
+ .sidebar ul li {
+ margin: 0;
+ padding: 0;
+ text-align: left;
+ list-style: none;
+ }
-.sidebar ul li {
- margin: 0;
- padding: 0;
- text-align: left;
- list-style: none;
-}
+ .sidebar ul li ul li {
+ margin: 0 0 0 13px;
+ padding: 0;
+ text-align: left;
+ }
-
-.sidebar ul li ul li {
- margin: 0 0 0 13px;
- padding: 0;
- text-align: left;
-}
-
-.sidebar li h2 {
- margin-top: 15px;
-}
+ .sidebar li h2 {
+ margin-top: 15px;
+ }
/* WIDGETS */
@@ -893,12 +878,12 @@ ul.children {
margin: 0 auto;
}
-.widget_comicpress_comictitle {
- font-size: 36px;
- font-family: georgia;
- letter-spacing: -2px;
- text-align: center;
-}
+ .widget_comicpress_comictitle {
+ font-size: 36px;
+ font-family: georgia;
+ letter-spacing: -2px;
+ text-align: center;
+ }
.random-comic-icon {
padding: 0 5px;
@@ -916,9 +901,9 @@ ul.children {
background: url('images/browse-search.png') no-repeat;
}
-.archive-dropdown-wrap:hover {
- background-position: 0 -23px;
-}
+ .archive-dropdown-wrap:hover {
+ background-position: 0 -23px;
+ }
.archive-dropdown {
margin: 0;
@@ -949,79 +934,73 @@ ul.children {
margin: 0 auto;
}
-.wp-calendar-thumb {
- width: 178px;
- height: 130px;
- margin: 0 auto;
-}
-
-
-#wp-calendar th {
- font-size: 10px;
- font-weight: normal;
- text-align: center;
-}
-
-
-#wp-calendar caption {
- font-family: 'Georgia' , sans-serif;
- font-size: 18px;
- letter-spacing: -1px;
- font-variant: small-caps;
-}
-
-
-#wp-calendar td {
- min-width: 20px;
- padding: 0;
- text-align: center;
- border: 1px solid #000;
-}
-
-
-#wp-calendar a {
- display: block;
- text-decoration: none;
- font-weight: bold;
-}
-
-
-#wp-calendar a:hover {
- color: #fff;
- background: #000;
-}
-
-table#wp-calendar {
- border:none;
- background: transparent;
-}
-
-table#wp-calendar td {
- border-color: #999;
-}
-
-.wp-calendar-download {
- width: 166px;
- margin: 0 auto;
- overflow: hidden;
- font-size: 10px;
- text-align: right;
- color: #777;
- background: #222;
-}
-
- .wp-calendar-download a {
- padding: 0 3px;
- font-weight: bold;
- color: #fff;
- background: #000;
- border-left: 1px solid #777;
+ .wp-calendar-thumb {
+ width: 178px;
+ height: 130px;
+ margin: 0 auto;
}
- .wp-calendar-download a:hover {
- background: #800;
+ #wp-calendar th {
+ font-size: 10px;
+ font-weight: normal;
+ text-align: center;
+ }
+
+ #wp-calendar caption {
+ font-family: 'Georgia' , sans-serif;
+ font-size: 18px;
+ letter-spacing: -1px;
+ font-variant: small-caps;
+ }
+
+ #wp-calendar td {
+ min-width: 20px;
+ padding: 0;
+ text-align: center;
+ border: 1px solid #000;
+ }
+
+ #wp-calendar a {
+ display: block;
+ text-decoration: none;
+ font-weight: bold;
+ }
+
+ #wp-calendar a:hover {
+ color: #fff;
+ background: #000;
+ }
+
+ table#wp-calendar {
+ border:none;
+ background: transparent;
+ }
+
+ table#wp-calendar td {
+ border-color: #999;
+ }
+
+ .wp-calendar-download {
+ width: 166px;
+ margin: 0 auto;
+ overflow: hidden;
+ font-size: 10px;
+ text-align: right;
+ color: #777;
+ background: #222;
+ }
+
+ .wp-calendar-download a {
+ padding: 0 3px;
+ font-weight: bold;
+ color: #fff;
+ background: #000;
+ border-left: 1px solid #777;
}
+ .wp-calendar-download a:hover {
+ background: #800;
+ }
/* SEARCH */
@@ -1037,41 +1016,39 @@ table#wp-calendar td {
background: url('images/browse-search.png') 0 -46px no-repeat;
}
-#s-search:hover, #s-search:focus, #s-transcript:hover, #s-transcript:focus {
- color: #550000;
- background-position: 0 -69px;
-}
+ #s-search:hover, #s-search:focus, #s-transcript:hover, #s-transcript:focus {
+ color: #550000;
+ background-position: 0 -69px;
+ }
-#searchform button, #searchform-transcript button {
- padding: 0;
- margin: 0;
- border: none;
- height: 23px;
- width: 23px;
- line-height: 0;
- font-size: 0;
- cursor: pointer;
- text-indent: -9999px;
- background: url('images/browse-search.png') -143px -46px no-repeat;
-}
+ #searchform button, #searchform-transcript button {
+ padding: 0;
+ margin: 0;
+ border: none;
+ height: 23px;
+ width: 23px;
+ line-height: 0;
+ font-size: 0;
+ cursor: pointer;
+ text-indent: -9999px;
+ background: url('images/browse-search.png') -143px -46px no-repeat;
+ }
-#searchform button:hover, #searchform-transcript button:hover {
- background-position: -143px -69px;
-}
+ #searchform button:hover, #searchform-transcript button:hover {
+ background-position: -143px -69px;
+ }
-#searchform button:hover, #searchform-transcript button:-moz-focus-inner {
- border: 0;
-}
-
-.searchresults {
- float: right;
- padding: 5px;
-}
+ #searchform button:hover, #searchform-transcript button:-moz-focus-inner {
+ border: 0;
+ }
+ .searchresults {
+ float: right;
+ padding: 5px;
+ }
/* GALLERY */
-
.gallery-image {
width: 518px;
border: 1px solid #000;
@@ -1080,26 +1057,23 @@ table#wp-calendar td {
text-align: center;
}
-
.gallery-caption {
font-size: 11px;
}
-.gallery-caption p {
- width: 510px;
- padding: 5px;
- margin: 0;
- text-align: center;
- color: #fff;
- background: #000;
-}
-
+ .gallery-caption p {
+ width: 510px;
+ padding: 5px;
+ margin: 0;
+ text-align: center;
+ color: #fff;
+ background: #000;
+ }
.imagenav-wrap {
margin: 5px 0 0 0;
}
-
.imagenav {
width: 77px;
height: 77px;
@@ -1107,7 +1081,6 @@ table#wp-calendar td {
overflow: hidden;
}
-
.imagenav-center {
width: 344px;
height: 65px;
@@ -1120,13 +1093,11 @@ table#wp-calendar td {
overflow: hidden;
}
-
.imagetitle {
color: #000;
font-size: 18px;
}
-
.imagenav-bg {
width: 75px;
height: 75px;
@@ -1137,13 +1108,11 @@ table#wp-calendar td {
overflow: hidden;
}
-
.imagenav-bg img {
width: 75px;
height: 75px;
}
-
.imagenav-arrow {
width: 75px;
height: 75px;
@@ -1158,7 +1127,6 @@ table#wp-calendar td {
float: left;
}
-
.imagenav-link {
width: 75px;
height: 75px;
@@ -1169,45 +1137,35 @@ table#wp-calendar td {
overflow: hidden;
}
-
.imagenav-link img {
width: 75px;
- height: 75px; /* opacity: 0.50; filter: alpha(opacity=50); */
+ height: 75px;
+/* opacity: 0.50; filter: alpha(opacity=50); */
}
-
.imagenav-link img:hover {
- /* opacity: 0.00; filter: alpha(opacity=0); */
+/* opacity: 0.00; filter: alpha(opacity=0); */
}
-
-
-
-
-
/* POSTED IMAGES */
-
.wp-caption p {
margin: 5px 0;
line-height: 11px;
font-size: 11px;
}
-
.aligncenter {
margin: 0 auto;
display: block;
}
-
.alignright {
margin: 10px 0 10px 10px;
display: inline;
float: right;
}
-
.alignleft {
margin: 10px 10px 10px 0;
display: inline;
@@ -1223,28 +1181,28 @@ table#wp-calendar td {
border-right: 4px dotted #333;
}
-.transcript-border {
- padding: 0 5px;
- margin: 15px 0;
- border: 1px solid #555;
- background: #fff;
- clear: both;
-}
+ .transcript-border {
+ padding: 0 5px;
+ margin: 15px 0;
+ border: 1px solid #555;
+ background: #fff;
+ clear: both;
+ }
-a.transcript-title {
- padding: 0 0 5px 0;
- margin: 0 0 5px 0;
- display: block;
- font-family: 'Georgia' , serif;
- font-style: italic;
- font-size: 12px;
- font-style: normal;
- font-weight: normal;
- text-transform: uppercase;
- letter-spacing: 1px;
- line-height: 2em;
- border-bottom: 1px dashed #777;
-}
+ a.transcript-title {
+ padding: 0 0 5px 0;
+ margin: 0 0 5px 0;
+ display: block;
+ font-family: 'Georgia' , serif;
+ font-style: italic;
+ font-size: 12px;
+ font-style: normal;
+ font-weight: normal;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ line-height: 2em;
+ border-bottom: 1px dashed #777;
+ }
#transcript-content {
font-family: 'Courier New' , monospace;
@@ -1265,18 +1223,16 @@ li.pingback div p, li.trackback div p {
list-style: none;
}
-.storyline-cats li {
- display: inline;
-}
-
-li.storyline-root {
- display: none;
-}
+ .storyline-cats li {
+ display: inline;
+ }
+ li.storyline-root {
+ display: none;
+ }
/* CLEAR FLOATS */
-
.clear {
clear: both;
}
@@ -1284,7 +1240,6 @@ li.storyline-root {
/* CLEAR MARGINS */
/* Used with BR for clearing paragraph margins for Safari, Chrome - avoid background gaps */
-
.clear-margins {
clear: both;
height: 0;
@@ -1294,12 +1249,10 @@ li.storyline-root {
/** BUY THIS **/
-
.buythis {
padding: 0 5px 0 5px;
}
-
.buythisbutton {
height: 27px;
width: 240px;
@@ -1307,10 +1260,8 @@ li.storyline-root {
background: url('images/buythis.png') no-repeat;
}
-
/** Project Wonderful CSS Embedded areas **/
-
.blogpwad {
text-align: center;
width: 100%;
@@ -1459,7 +1410,6 @@ li.storyline-root {
/* Archive Year Template */
-
.archive-date {
padding: 0 5px 0 0;
font-size: 11px;
@@ -1477,12 +1427,10 @@ li.storyline-root {
margin: 0 0 20px 0;
}
-
#linkspage, #linkspage ul, #linkspage li {
list-style: none;
}
-
#linkspage h2 {
margin-top: 20px;
}
@@ -1559,93 +1507,88 @@ li.storyline-root {
text-decoration: none;
margin-bottom: -110px;
}
-a.tt span {
- display: none;
-}
-a.tt:hover span.tooltip {
- position: absolute;
- display: block;
- width: 200px;
- color: #000;
- margin: 0 auto;
- text-align: center;
- height: 164px;
- background: url('images/comicpress-rascal.png') no-repeat;
- z-index: 1000;
-}
-a.tt:hover span.top {
- display: block;
- width: 200px;
- height: 35px;
- padding-top: 10px 10px 0 10px;
- margin-top: 59px;
- margin-left: 25px;
- background: url('images/bubble.png') 0 0 no-repeat;
- z-index: 1000;
-}
-a.tt:hover span.middle {
- /* different middle bg for stretch */
- display: block;
- width: 180px;
- margin-left: 25px;
- padding: 0 10px;
- background: url('images/bubble.png') -200px 0 repeat-y;
- z-index: 1000;
-}
-a.tt:hover span.bottom {
- display: block;
- width: 200px;
- height: 15px;
- background-position: -100px;
- color: #548912;
- margin-left: 25px;
- background: url('images/bubble.png') 0 -35px no-repeat;
- z-index: 1000;
-}
+ a.tt span {
+ display: none;
+ }
+
+ a.tt:hover span.tooltip {
+ position: absolute;
+ display: block;
+ width: 200px;
+ color: #000;
+ margin: 0 auto;
+ text-align: center;
+ height: 164px;
+ background: url('images/comicpress-rascal.png') no-repeat;
+ z-index: 1000;
+ }
+ a.tt:hover span.top {
+ display: block;
+ width: 200px;
+ height: 35px;
+ padding-top: 10px 10px 0 10px;
+ margin-top: 59px;
+ margin-left: 25px;
+ background: url('images/bubble.png') 0 0 no-repeat;
+ z-index: 1000;
+ }
+ a.tt:hover span.middle {
+ /* different middle bg for stretch */
+ display: block;
+ width: 180px;
+ margin-left: 25px;
+ padding: 0 10px;
+ background: url('images/bubble.png') -200px 0 repeat-y;
+ z-index: 1000;
+ }
+ a.tt:hover span.bottom {
+ display: block;
+ width: 200px;
+ height: 15px;
+ background-position: -100px;
+ color: #548912;
+ margin-left: 25px;
+ background: url('images/bubble.png') 0 -35px no-repeat;
+ z-index: 1000;
+ }
/* User Pages */
-
#userpage {
width: 100%;
padding: 5px;
}
+ .userpage-avatar {
+ float: left;
+ width: 64px;
+ height: 64px;
+ }
-.userpage-avatar {
- float: left;
- width: 64px;
- height: 64px;
-}
+ .userpage-info {
+ margin-left: 10px;
+ float: left;
+ }
+ .userpage-desc {
+ width: 400px;
+ padding: 5px;
+ margin-top: 30px;
+ border: 1px dotted #efefef;
+ }
-.userpage-info {
- margin-left: 10px;
- float: left;
-}
+ .userpage-posts {
+ margin-top: 20px;
+ }
+ .userpage-posts ol {
+ margin: 10px 0 0 30px;
+ padding: 0;
+ }
-.userpage-desc {
- width: 400px;
- padding: 5px;
- margin-top: 30px;
- border: 1px dotted #efefef;
-}
-
-
-.userpage-posts {
- margin-top: 20px;
-}
-
-
-.userpage-posts ol {
- margin: 10px 0 0 30px;
- padding: 0;
-}
-
-.userpage-posts li {
- list-style: none;
- margin: 0;
- padding: 0;
-}
+ .userpage-posts li {
+ list-style: none;
+ margin: 0;
+ padding: 0;
+ }
diff --git a/widgets/calendar.php b/widgets/calendar.php
index c011fc9..e00796f 100644
--- a/widgets/calendar.php
+++ b/widgets/calendar.php
@@ -22,7 +22,7 @@ function comicpress_calendar($instance = null) {
-
+
DOWNLOAD
SML
@@ -62,7 +62,8 @@ class widget_comicpress_calendar extends WP_Widget {
}
function form($instance) {
- $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'thumbnail' => '', 'small' => '', 'medium' => '', 'large' => '') );
+ $default_image = get_bloginfo('stylesheet_directory').'/images/cal/default.png';
+ $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'thumbnail' => $default_image, 'small' => '', 'medium' => '', 'large' => '') );
$title = strip_tags($instance['title']);
$thumbnail = strip_tags($instance['thumbnail']);
$small = strip_tags($instance['small']);
@@ -70,7 +71,6 @@ class widget_comicpress_calendar extends WP_Widget {
$large = strip_tags($instance['large']);
?>
-