aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2009-01-18 23:20:00 +0000
committercash <cash.costello@gmail.com>2009-01-18 23:20:00 +0000
commit28d72f61e8b2078f8fb299341f808bd3fc47bcc7 (patch)
tree8643857e7453fdbfbc4acf533cac8d00bf19bee2
parent41d0c1678c9b140d1c2d6e11b004e12f8215df27 (diff)
downloadelgg-28d72f61e8b2078f8fb299341f808bd3fc47bcc7.tar.gz
elgg-28d72f61e8b2078f8fb299341f808bd3fc47bcc7.tar.bz2
initial css
-rw-r--r--start.php2
-rw-r--r--views/default/feed_reader/css.php23
-rw-r--r--views/default/widgets/feed_reader/view.php2
3 files changed, 26 insertions, 1 deletions
diff --git a/start.php b/start.php
index dd58a6ac5..5f138ff4d 100644
--- a/start.php
+++ b/start.php
@@ -9,6 +9,8 @@
function simplepie_init()
{
add_widget_type('feed_reader', elgg_echo('simplepie:widget'), elgg_echo('simplepie:description'));
+
+ extend_view('css','feed_reader/css');
}
register_elgg_event_handler('plugins_boot', 'system', 'simplepie_init');
diff --git a/views/default/feed_reader/css.php b/views/default/feed_reader/css.php
new file mode 100644
index 000000000..9dbadd0d1
--- /dev/null
+++ b/views/default/feed_reader/css.php
@@ -0,0 +1,23 @@
+/*-------------------------------
+SIMPLEPIE FEED WIDGET
+-------------------------------*/
+.simplepie_blog_title {
+ text-align: center;
+ margin-bottom: 15px;
+}
+
+.simplepie_item {
+ margin-bottom: 12px;
+}
+
+.simplepie_title {
+ margin-bottom: 4px;
+}
+
+.simplepie_excerpt {
+ margin-bottom: 4px;
+}
+
+.simplepie_date {
+ font-size: 70%;
+}
diff --git a/views/default/widgets/feed_reader/view.php b/views/default/widgets/feed_reader/view.php
index 96636ba4d..4f51fb77c 100644
--- a/views/default/widgets/feed_reader/view.php
+++ b/views/default/widgets/feed_reader/view.php
@@ -34,7 +34,7 @@
<?php if ($post_date)
{
?>
- <div class="simplepie_date"><small>Posted on <?php echo $item->get_date('j F Y | g:i a'); ?></small></div>
+ <div class="simplepie_date">Posted on <?php echo $item->get_date('j F Y | g:i a'); ?></div>
<?php } ?>
</div>