Author: nick
Date: 2008-05-04 16:39:42 -0400 (Sun, 04 May 2008)
New Revision: 16508
Modified:
streetsblog/trunk/wp-content/themes/woonerf/style.css
streetsblog/trunk/wp-content/widgets/sblog-contribute.php
Log:
formatting of featured contributions widget, masthead widget, generic widget
footer
Modified: streetsblog/trunk/wp-content/themes/woonerf/style.css
===================================================================
--- streetsblog/trunk/wp-content/themes/woonerf/style.css 2008-05-04
20:16:13 UTC (rev 16507)
+++ streetsblog/trunk/wp-content/themes/woonerf/style.css 2008-05-04
20:39:42 UTC (rev 16508)
@@ -466,13 +466,28 @@
}
#sidebar .widget-footer {
-background: #fbfeff;
+/* background: #fbfeff;
padding: 0.55em;
border-bottom: 1px dotted #edeedc;
-font-size:0.9em;
+font-size:0.9em; */
+
+color: #213941;
+background: #efefee;
+padding: 0.55em;
+border-top: 1px dotted #d3d5d6;
+border-bottom: 1px dotted #d3d5d6;
+font-size: 0.9em;
}
+#sidebar .widget-footer h3 {
+margin-bottom: 0.5em;
+}
+#sidebar .widget-footer li {
+margin-bottom: 0.25em;
+}
+
+
#sidebar h2 {
font-family: verdana, geneva, sans-serif;
font-size: 0.8em;
@@ -609,13 +624,18 @@
dl.masthead {
margin:0;
+font-size: 0.9em;
}
.masthead dt {
-margin:1em 0 0;
+margin: 0.5em 0 0.25em;
font-weight:bold;
}
+.masthead dd {
+margin: 0 0 0.25em 0.5em;
+}
+
#sidebar .masthead li {
margin:0;
padding:0;
@@ -687,7 +707,6 @@
}
/*-*/
-
#sidebar-events h2 {
color: #737373;
background: #f2f5f6 url(img/tabs-bg.png) bottom left repeat-x;
@@ -856,6 +875,34 @@
font-size: 0.9em;
}
+/*-*/
+#sidebar-contribute dl {
+margin: 0;
+}
+
+#sidebar-contribute dd,
+#sidebar-contribute dt {
+margin-bottom: 0.5em;
+line-height: 1.2em;
+}
+
+#sidebar-contribute dd.title {
+font-weight: bold;
+}
+
+#sidebar-contribute dd.content,
+#sidebar-contribute dt.content {
+text-align: center;
+}
+
+#sidebar-contribute dd.description {
+
+}
+
+#sidebar-contribute dd.credit {
+font-size: 0.9em;
+}
+
/*-----------------------
Footer
-----------------------*/
Modified: streetsblog/trunk/wp-content/widgets/sblog-contribute.php
===================================================================
--- streetsblog/trunk/wp-content/widgets/sblog-contribute.php 2008-05-04
20:16:13 UTC (rev 16507)
+++ streetsblog/trunk/wp-content/widgets/sblog-contribute.php 2008-05-04
20:39:42 UTC (rev 16508)
@@ -18,6 +18,8 @@
$options = get_option('sblogcontribute');
$featuredContribution = get_option('featuredContribution');
$title = $options['title'];
+ $before_widget = '<li id="sidebar-contribute" class="widget">';
+
# since this widget has a footer, we override the default
# $after_title and $after_widget value set in functions.php
@@ -27,13 +29,15 @@
echo $before_widget . $before_title . $title . $after_title;
?>
- <div class="widget-content unbordered">
+ <div class="widget-content">
+ <dl>
<?php
if ($featuredContribution)
{
call_user_func($featuredContribution["display_function"],$featuredContribution["item"]);
}
?>
+ </dl>
</div>
<div class="widget-footer">
<h3><a href="/contribute">Contribute to <?php bloginfo('name');
?></a></h3>
--
Archive:
http://www.openplans.org/projects/opencore/lists/openplans-svn/archive/2008/05/1209933590936
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.