From: Neil Smith Date: Wed, 8 Jan 2014 18:36:05 +0000 (+0000) Subject: Tweaked the feed stylesheet. X-Git-Url: https://git.njae.me.uk/?p=feedcatcher.git;a=commitdiff_plain;h=ebaab1af609a66c460ae9c3a84aaaceca5cc06af Tweaked the feed stylesheet. --- 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 %>