From ebaab1af609a66c460ae9c3a84aaaceca5cc06af Mon Sep 17 00:00:00 2001 From: Neil Smith Date: Wed, 8 Jan 2014 18:36:05 +0000 Subject: [PATCH] Tweaked the feed stylesheet. --- app/assets/stylesheets/feed.css.scss | 22 ++++++++++++++++++++++ app/views/feed/show.html.erb | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/feed.css.scss b/app/assets/stylesheets/feed.css.scss index 075c754..533a1f5 100644 --- a/app/assets/stylesheets/feed.css.scss +++ b/app/assets/stylesheets/feed.css.scss @@ -1,3 +1,25 @@ // Place all the styles related to the feed controller here. // They will automatically be included in application.css. // You can use Sass (SCSS) here: http://sass-lang.com/ + +body { + font-family: Verdana, sans-serif; +} + +li { + padding: 0.2em 0; +} + +dd { + padding: 0 0 0.3em; +} + +/* START:notice */ +#notice { + border: 2px solid red; + padding: 1em; + margin-bottom: 2em; + background-color: #f0f0f0; + font: bold smaller sans-serif; +} +/* END:notice */ diff --git a/app/views/feed/show.html.erb b/app/views/feed/show.html.erb index 789debd..90045f7 100644 --- a/app/views/feed/show.html.erb +++ b/app/views/feed/show.html.erb @@ -1,4 +1,4 @@ -

Contents of feed <%= h params[:feed_name] %>

+

Contents of <%= h params[:feed_name] %>

<%= link_to("List of all feeds", index_path) %>

<%= form_tag update_path do %> -- 2.34.1