diff options
| author | hukl <contact@smyck.org> | 2009-09-11 22:07:41 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-11 22:07:41 +0200 |
| commit | 7b34b515a6a24579d8c84c9b8b84f818289b898f (patch) | |
| tree | a083b46cbb04b95fe5fdb93e6fd7fe9ac17db089 | |
| parent | 24265260b216e2be8d29d913c4d0396408981612 (diff) | |
fixed the widget ids
| -rw-r--r-- | app/views/content/_featured_articles.html.erb | 2 | ||||
| -rw-r--r-- | app/views/content/_tags.html.erb | 2 | ||||
| -rw-r--r-- | public/stylesheets/ccc.css | 12 |
3 files changed, 9 insertions, 7 deletions
diff --git a/app/views/content/_featured_articles.html.erb b/app/views/content/_featured_articles.html.erb index 08f7624..d502cdf 100644 --- a/app/views/content/_featured_articles.html.erb +++ b/app/views/content/_featured_articles.html.erb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | <div id="frontpage_calendar"> | 1 | <div id="featured_articles"> |
| 2 | <h2>Featured</h2> | 2 | <h2>Featured</h2> |
| 3 | <ul> | 3 | <ul> |
| 4 | <% @featured_articles.each do |item| %> | 4 | <% @featured_articles.each do |item| %> |
diff --git a/app/views/content/_tags.html.erb b/app/views/content/_tags.html.erb index 8012796..d33bc10 100644 --- a/app/views/content/_tags.html.erb +++ b/app/views/content/_tags.html.erb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | <div id="frontpage_calendar"> | 1 | <div id="tags"> |
| 2 | <h2>Tags</h2> | 2 | <h2>Tags</h2> |
| 3 | <ul class="teasertext"> | 3 | <ul class="teasertext"> |
| 4 | <% @page.tags.each do |tag| %> | 4 | <% @page.tags.each do |tag| %> |
diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index e5ca569..c1ab85f 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css | |||
| @@ -59,7 +59,7 @@ div#main_navigation a.active { | |||
| 59 | div#frontpage_calendar { | 59 | div#frontpage_calendar { |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | div#frontpage_calendar h2 { | 62 | div#frontpage_calendar h2, div#tags h2, div#featured_articles h2 { |
| 63 | border-top: 2px solid #000000; | 63 | border-top: 2px solid #000000; |
| 64 | border-bottom: 2px dashed #000000; | 64 | border-bottom: 2px dashed #000000; |
| 65 | font-size: 16px; | 65 | font-size: 16px; |
| @@ -67,21 +67,23 @@ div#frontpage_calendar h2 { | |||
| 67 | padding-bottom: 2px; | 67 | padding-bottom: 2px; |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | div#frontpage_calendar ul { | 70 | div#frontpage_calendar ul, div#tags ul, div#featured_articles ul { |
| 71 | padding: 0px; | 71 | padding: 0px; |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | div#frontpage_calendar li { | 74 | div#frontpage_calendar li, div#tags li, div#featured_articles li { |
| 75 | list-style-type: none; | 75 | list-style-type: none; |
| 76 | margin-bottom: 20px; | 76 | margin-bottom: 20px; |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | div#frontpage_calendar li a { | 79 | div#frontpage_calendar li a, div#tags li a, div#featured_articles li a { |
| 80 | text-decoration: none; | 80 | text-decoration: none; |
| 81 | color: #535353; | 81 | color: #535353; |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | div#frontpage_calendar li a:hover { | 84 | div#frontpage_calendar li a:hover, |
| 85 | div#tags li a:hover, | ||
| 86 | div#featured_articles li a:hover { | ||
| 85 | text-decoration: none; | 87 | text-decoration: none; |
| 86 | color: #ff9600; | 88 | color: #ff9600; |
| 87 | } | 89 | } |
