diff --git a/app/assets/stylesheets/scaffolds.css.scss b/app/assets/stylesheets/scaffolds.css.scss index 23dc6a7..9a15929 100644 --- a/app/assets/stylesheets/scaffolds.css.scss +++ b/app/assets/stylesheets/scaffolds.css.scss @@ -104,7 +104,6 @@ background-color: white; background-color: beige; padding: 5px 10px; border-radius: 20px; - margin: 0 0 20px 0; } .feed_title a { @@ -115,6 +114,11 @@ background-color: white; table { margin: 40px 0; border-collapse: collapse; + +} + +table#feed { +margin: 70px 0 0 0; } td { @@ -122,10 +126,15 @@ td { /* background-color: #bbb; */ } -td a { +#feed td { font-size: 1.5rem; line-height: 1.5rem; +/* background-color: aqua; */ +padding: 0 70px 30px 0; +} +#feed td:last-child { + padding-right: 0; } td:last-child { @@ -147,10 +156,14 @@ h1 { font-size: 3.0rem; font-weight: normal; line-height: 3.5rem; - margin: 0 0 80px 0; +/* margin: 0 0 80px 0; */ text-align: left; } +h1, a { +margin: 0 0 60px 0; +} + h2 { font-size: 2.0rem; font-weight: normal; diff --git a/app/views/feeds/show.html.haml b/app/views/feeds/show.html.haml index c5a71ab..c3305ef 100644 --- a/app/views/feeds/show.html.haml +++ b/app/views/feeds/show.html.haml @@ -9,9 +9,7 @@ Validate %p - = pluralize(@feed.posts.count, "post") - -%p + = pluralize(@feed.posts.count, "post") = link_to @feed.feed_url, @feed.feed_url %p @@ -22,7 +20,7 @@ = time_ago_in_words @feed.last_fetched ago -%table +%table#feed - @feed.posts.each do |p| %tr %td= link_to p.title, p.url