feed-browser: move section list to end of page source, fixed 2 column layout CSS
authorMarcin Juszkiewicz <hrw@openembedded.org>
Fri, 25 Aug 2006 06:46:12 +0000 (06:46 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Fri, 25 Aug 2006 06:46:12 +0000 (06:46 +0000)
contrib/feed-browser/css/feed.css
contrib/feed-browser/index.php

index b1252c4..f2927f7 100644 (file)
@@ -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;
 }
index 9b612f9..d04281a 100644 (file)
@@ -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