From 191eb515543f7a408a4fb3e3d585d2cd031fb880 Mon Sep 17 00:00:00 2001 From: hukl Date: Mon, 19 Oct 2009 19:34:49 +0200 Subject: first set of css updates --- .../public/standard_template.html.erb | 4 +- app/views/custom/partials/_article.html.erb | 3 +- public/stylesheets/ccc.css | 44 ++++++++++++++++++++-- 3 files changed, 43 insertions(+), 8 deletions(-) diff --git a/app/views/custom/page_templates/public/standard_template.html.erb b/app/views/custom/page_templates/public/standard_template.html.erb index d4c80aa..8cd88a6 100644 --- a/app/views/custom/page_templates/public/standard_template.html.erb +++ b/app/views/custom/page_templates/public/standard_template.html.erb @@ -2,9 +2,9 @@

<%= @page.title %>

<%= date_for_page @page %>, <%= @page.user.try(:login) %>


-

<%= sanitize( @page.abstract )%>

+

<%= sanitize( @page.abstract )%>

<%= headline_image %>
- <%= aggregate?(@page.body) %> +
<%= aggregate?(@page.body) %>
<%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file diff --git a/app/views/custom/partials/_article.html.erb b/app/views/custom/partials/_article.html.erb index dfad62a..4f772ae 100644 --- a/app/views/custom/partials/_article.html.erb +++ b/app/views/custom/partials/_article.html.erb @@ -1,8 +1,7 @@
-

<%= link_to_path page.title, page.node.unique_name %>

+

<%= link_to_path page.title, page.node.unique_name %>

<%= date_for_page page %>, <%= author_for_page page %>

<%= page.abstract %>

-
\ No newline at end of file diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index 9c6688e..a77a68d 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -3,7 +3,15 @@ body { padding: 0; text-align: center; font-family: Verdana, sans-serif; - font-size: 9pt; + font-size: 11px; + line-height: 16px; + color: #535353; +} + +h2 { + font-size: 16px; + line-height: 22px; + font-family: Helvetica; } a { @@ -54,14 +62,21 @@ div#main_navigation a:hover { div#main_navigation a.active { color: #535353; + text-transform: uppercase; +} + +div#main_navigation a.inactive { + color: #535353; + text-transform: lowercase; + font-size: 14px; } div#frontpage_calendar { } div#frontpage_calendar h2, div#tags h2, div#featured_articles h2 { - border-top: 2px solid #000000; - border-bottom: 2px dashed #000000; + border-top: 2px solid #CCCCCC; + border-bottom: 2px solid #CCCCCC; font-size: 16px; padding-top: 2px; padding-bottom: 2px; @@ -69,11 +84,15 @@ div#frontpage_calendar h2, div#tags h2, div#featured_articles h2 { div#frontpage_calendar ul, div#tags ul, div#featured_articles ul { padding: 0px; + font-size: 11px; +} + +div#frontpage_calendar li { + margin-bottom: 20px; } div#frontpage_calendar li, div#tags li, div#featured_articles li { list-style-type: none; - margin-bottom: 20px; } div#frontpage_calendar li a, div#tags li a, div#featured_articles li a { @@ -91,6 +110,8 @@ div#featured_articles li a:hover { div.author_and_date { font-style: italic; + padding-left: 15px; + font-family: Georgia; } div#left_column { @@ -118,6 +139,11 @@ div#center_column { div#center_column h2 a { font-size: 12pt; + color: #535353; +} + +div#center_column h2.headline { + border-bottom: 2px solid #cccccc; } div#right_column { @@ -136,6 +162,10 @@ div.teaser_ruler { margin-top: 30px; } +div.article_partial { + margin-bottom: 30px; +} + div.article_partial h2 a { text-decoration: none; } @@ -144,6 +174,12 @@ div.article_partial p.excerpt { color: #404040; } +div#center_column div.body, +div#center_column div.abstract { + font-size: 11px; + line-height: 16px; +} + div#search { position: absolute; top: 145px; -- cgit v1.3