From 96f4faeac4885f385fa1edb86b19c70a9ef52b3b Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 25 Aug 2006 06:46:12 +0000 Subject: feed-browser: move section list to end of page source, fixed 2 column layout CSS --- contrib/feed-browser/css/feed.css | 49 +++++++++++++++++++++++++-------------- contrib/feed-browser/index.php | 7 +++--- 2 files changed, 36 insertions(+), 20 deletions(-) (limited to 'contrib/feed-browser') diff --git a/contrib/feed-browser/css/feed.css b/contrib/feed-browser/css/feed.css index b1252c4f7e..f2927f71f8 100644 --- a/contrib/feed-browser/css/feed.css +++ b/contrib/feed-browser/css/feed.css @@ -3,10 +3,34 @@ body color: #000; background-color: #fff; font-family: Sans; - padding: 0; + padding: 10px; margin: 0; } +#left +{ + position: absolute; + left:10px; + top:10px; + width:200px; + background:#fff; +} + +#right +{ + background:#fff; + margin-left: 199px; + margin-right: 0; + voice-family: "\"}\""; + voice-family: inherit; + margin-left: 201px; + margin-right:0; +} +html>body #right { + margin-left: 201px; + margin-right:0; +} + a { text-decoration: none; @@ -37,6 +61,7 @@ td h1 { + padding-top: 1em; font-size: 125%; } @@ -45,12 +70,6 @@ h2 font-size: 105%; } -#menu, #menu li -{ - display: inline; - list-style: none; -} - dt { padding-top: 0.5em; @@ -58,6 +77,7 @@ dt #sections { + padding-top: 1em; list-style: none; font-size: 0.8em; } @@ -67,18 +87,13 @@ dt list-style: none; margin-left: -1em; } - -#page -{ -} - -#left +.download:before { - float: left; - width: 20%; + content: url("http://ewi546.ewi.utwente.nl/tmp/hrw/fb/img/package-x-generic.png"); + padding: 0 2px; } -#right +#download { - width: 79%; + list-style: none; } diff --git a/contrib/feed-browser/index.php b/contrib/feed-browser/index.php index 9b612f9fd1..d04281ac0f 100644 --- a/contrib/feed-browser/index.php +++ b/contrib/feed-browser/index.php @@ -80,10 +80,11 @@ switch($action) -
-
-
+
+

Sections list

+ +