summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-08-25 06:46:12 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-08-25 06:46:12 +0000
commit96f4faeac4885f385fa1edb86b19c70a9ef52b3b (patch)
tree265cc54f2e766b1dea3dd6e3e8115eb31d521fb6 /contrib
parent6f40e4320839375d7cc85456de95e180d06a7774 (diff)
feed-browser: move section list to end of page source, fixed 2 column layout CSS
Diffstat (limited to 'contrib')
-rw-r--r--contrib/feed-browser/css/feed.css49
-rw-r--r--contrib/feed-browser/index.php7
2 files changed, 36 insertions, 20 deletions
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)
<style type="text/css" media="all">@import "css/feed.css";</style>
</head>
<body >
- <div id="page">
- <div id="left"><?php echo sectionslist(); ?></div>
<div id="right"><?php echo searchletter(); echo $ipkgoutput; ?></div>
- </div>
+ <div id="left">
+ <h1>Sections list</h1>
+ <?php echo sectionslist(); ?>
+ </div>
</body>
</html>
<?php