From a15e34dbc4dd0a974172619095d74c321f0e3812 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Apr 2012 20:57:09 +0200 Subject: added footer image --- public/images/footer.png | Bin 0 -> 6566 bytes public/stylesheets/ccc.css | 10 +++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 public/images/footer.png diff --git a/public/images/footer.png b/public/images/footer.png new file mode 100644 index 0000000..dab5f8d Binary files /dev/null and b/public/images/footer.png differ diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index c58e3ae..02690e8 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -194,7 +194,7 @@ div#center_column { width: 460px; padding-left: 15px; padding-right: 15px; - padding-bottom: 40px; + padding-bottom: 0px; } div#right_column { @@ -254,4 +254,12 @@ div#search input[type=text] { padding-right: 5px; margin-right: 5px; background-position: top top; +} + +div#footer { + width: 1024px; + height: 240px; + margin-left: -304px; + background-image: url(/images/footer.png); + background-repeat: no-repeat; } \ No newline at end of file -- cgit v1.3 From e3ceffa0a53c9e85739a1fd376d30e575a35f302 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Apr 2012 21:12:20 +0200 Subject: added quote --- app/views/layouts/application.html.erb | 3 +++ public/stylesheets/ccc.css | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 3c95d75..8965922 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -43,6 +43,9 @@

<%= link_to t(:sponsors), content_path("sponsors") %>

+

+ »They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.« Benjamin Franklin +

diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index 02690e8..bd6001d 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -257,9 +257,17 @@ div#search input[type=text] { } div#footer { + position: relative; width: 1024px; height: 240px; margin-left: -304px; background-image: url(/images/footer.png); background-repeat: no-repeat; +} + +p#quote { + position: absolute; + left: 320px; + top: 90px; + width: 465px; } \ No newline at end of file -- cgit v1.3 From 2ad84e755aeafe10148df06e11a77470089c3cf7 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Apr 2012 21:17:43 +0200 Subject: make quote italic --- app/views/layouts/application.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 8965922..a7e831a 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -44,7 +44,7 @@ <%= link_to t(:sponsors), content_path("sponsors") %>

- »They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.« Benjamin Franklin + »They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.« Benjamin Franklin

-- cgit v1.3 From c6b51a960390737e8f9eaf942edabd25639ddf89 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Apr 2012 21:20:21 +0200 Subject: franklin on a sepatate line --- app/views/layouts/application.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index a7e831a..2b66dbb 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -44,7 +44,9 @@ <%= link_to t(:sponsors), content_path("sponsors") %>

- »They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.« Benjamin Franklin + »They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.« +
+ Benjamin Franklin

-- cgit v1.3 From 45a7fc4e531c5f42bcc6fd883d260242601b37fa Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Apr 2012 21:21:12 +0200 Subject: forgot css --- public/stylesheets/ccc.css | 1 - 1 file changed, 1 deletion(-) diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index bd6001d..19cb662 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -269,5 +269,4 @@ p#quote { position: absolute; left: 320px; top: 90px; - width: 465px; } \ No newline at end of file -- cgit v1.3 From 31b7d2c7e4c44ce6dfea78288495c259241bb675 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Apr 2012 21:29:41 +0200 Subject: pull footer out of wrapper --- app/views/layouts/application.html.erb | 14 +++++++------- public/stylesheets/ccc.css | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2b66dbb..627aa14 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -36,8 +36,14 @@
<%= yield :layout %> +
+
+ <%= tags %> + <%= featured_articles %> +
+ - -
- <%= tags %> - <%= featured_articles %> -
- \ No newline at end of file diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index 19cb662..fcb45d6 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -23,6 +23,7 @@ div#wrapper { width: 909px; margin-left: 90px; text-align: left; + min-height: 600px; } pre { @@ -260,7 +261,6 @@ div#footer { position: relative; width: 1024px; height: 240px; - margin-left: -304px; background-image: url(/images/footer.png); background-repeat: no-repeat; } -- cgit v1.3 From d2e472283392f8d9325c3166505b31b4b3033aca Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Apr 2012 21:31:45 +0200 Subject: increase min height --- public/stylesheets/ccc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index fcb45d6..8afc24c 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -23,7 +23,7 @@ div#wrapper { width: 909px; margin-left: 90px; text-align: left; - min-height: 600px; + min-height: 700px; } pre { -- cgit v1.3 From a4eb7aa1408b543e330b8f3a4b8f9058e76464aa Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Apr 2012 21:32:55 +0200 Subject: even more min height --- public/stylesheets/ccc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index 8afc24c..290c40c 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -23,7 +23,7 @@ div#wrapper { width: 909px; margin-left: 90px; text-align: left; - min-height: 700px; + min-height: 800px; } pre { -- cgit v1.3 From db72fe84339c87a58910ee5f6903bbc95a14d279 Mon Sep 17 00:00:00 2001 From: hukl Date: Tue, 3 Apr 2012 21:34:44 +0200 Subject: a little less --- public/stylesheets/ccc.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index 290c40c..9d9054f 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -23,7 +23,7 @@ div#wrapper { width: 909px; margin-left: 90px; text-align: left; - min-height: 800px; + min-height: 750px; } pre { -- cgit v1.3