diff options
author | cash <cash.costello@gmail.com> | 2009-01-18 23:20:00 +0000 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2009-01-18 23:20:00 +0000 |
commit | 28d72f61e8b2078f8fb299341f808bd3fc47bcc7 (patch) | |
tree | 8643857e7453fdbfbc4acf533cac8d00bf19bee2 | |
parent | 41d0c1678c9b140d1c2d6e11b004e12f8215df27 (diff) | |
download | elgg-28d72f61e8b2078f8fb299341f808bd3fc47bcc7.tar.gz elgg-28d72f61e8b2078f8fb299341f808bd3fc47bcc7.tar.bz2 |
initial css
-rw-r--r-- | start.php | 2 | ||||
-rw-r--r-- | views/default/feed_reader/css.php | 23 | ||||
-rw-r--r-- | views/default/widgets/feed_reader/view.php | 2 |
3 files changed, 26 insertions, 1 deletions
@@ -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> |