Browse Source

Applied homepage fixes from Helmers

Ask Solem 14 years ago
parent
commit
0d970a9f8a
3 changed files with 25 additions and 33 deletions
  1. BIN
      docs/homepage/bg.png
  2. 10 19
      docs/homepage/index.html
  3. 15 14
      docs/homepage/main0000.css

BIN
docs/homepage/bg.png


+ 10 - 19
docs/homepage/index.html

@@ -5,12 +5,12 @@
 <meta name="keywords" content="task queue, job queue, asynchronous, rabbitmq, amqp,
 redis, django, python, webhooks, queue, distributed">
 <meta name="description" content="open source distributed task queue" >
-<link rel="icon" type="image/png" href="favicon0.png">
-<meta name="viewport" content="width=320, user-scalable=no">
+<link rel="icon" type="image/png" href="Celery%20-%20The%20Distributed%20Task%20Queue_files/favicon0.png">
+<meta name="viewport" content="width=500, user-scalable=no">
 <link rel="apple-touch-icon" href="favicon_64.png"/>
 <title>Celery - The Distributed Task Queue</title>
-<link rel="stylesheet" href="main0000.css"/>
-<link rel="stylesheet" href="trac0000.css"/>
+<link rel="stylesheet" href="Celery%20-%20The%20Distributed%20Task%20Queue_files/main0000.css"/>
+<link rel="stylesheet" href="Celery%20-%20The%20Distributed%20Task%20Queue_files/trac0000.css"/>
 <script type="text/javascript">
 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
@@ -25,16 +25,6 @@ pageTracker._trackPageview();
 
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
 
-<!--[if IE 8]>
-<style>
-  .column{
-    display:inline;
-    zoom: 1;
-    width: 500px;
-  }
-</style>
-<![endif]-->
-
 </head>
 
 <body>
@@ -51,7 +41,7 @@ pageTracker._trackPageview();
 <div class="iStretch">
 
   <div id="topcontainer">
-    <ul>
+  <ul>
     <li>Background Processing
     <li>Distributed
     <li>Asynchronous/Synchronous
@@ -65,8 +55,8 @@ pageTracker._trackPageview();
 
     <div class="column">
         <h2>Distributed Task Queue</h2>
-        <p> Celery is an open source asynchronous task queue/job queue based on distributed message
-        passing.  It is focused on real-time operation, but supports scheduling as well.</p>
+        <p> Celery is an asynchronous task queue/job queue based on distributed message passing.
+        It is focused on real-time operation, but supports scheduling as well.</p>
 
         <p>The execution units, called tasks, are executed concurrently on a single or
         more worker servers. Tasks can execute asynchronously (in the background) or synchronously
@@ -84,7 +74,7 @@ pageTracker._trackPageview();
         is also available.</p>
 
         <p>You may also be pleased to know that full
-        <a href="http://pypi.python.org/pypi/django-celery">Django integration</a> exists,
+        <a href="http://pypi.python.org/pypi/django-celery">Django integration</a>exists,
         delivered by the django-celery package.</p>
 
         <h3>Example</h3>
@@ -144,7 +134,7 @@ pageTracker._trackPageview();
     </div>
     </div>
 
-    <div class="column">
+    <div class="column side">
 
       <span class="newsitem">
       <h2>Celery 2.0 released!</h2>
@@ -236,6 +226,7 @@ pageTracker._trackPageview();
       </span>
 
     </div>
+    <div style="clear:both"></div>
 
   </div>
 

+ 15 - 14
docs/homepage/main0000.css

@@ -1,8 +1,10 @@
 body {
-  background: #e1edc1 url(bg000000.png) 50% 0 repeat;
+  background: #9aa090 url(bg.png) 50% 0 repeat;
   color: #230;
   font: 15px/1.75em Georgia, serif;
   margin: 0;
+  overflow-x: hidden;
+  overflow-y: scroll;
 }
 
 a {
@@ -31,11 +33,10 @@ a:hover {
 }
 
 #navbar {
-  font-size: 0.8em;
+  font-size: 0.85em;
   line-height: 1.7em;
   position: fixed;
-  background: transparent url(bg_top00.png) 0 100% repeat-x;
-  height: 30px;
+  height: 23px;
   top: 0;
   left: 0;
   right: 0;
@@ -43,7 +44,7 @@ a:hover {
 }
 
 #navbar .iStretch {
- height: 22px;
+ height: 23px;
  overflow: hidden;
 }
 
@@ -51,7 +52,6 @@ a:hover {
   float: right;
   padding: 1px 10px;
   margin: 0;
-  xheight: 22px;
   text-align: center;
   -webkit-transition: 0.2s;
 }
@@ -74,13 +74,13 @@ a:hover {
 #topcontainer {
   padding: 65px 0 25px 0;
   text-align: right;
-  margin-top: 10px;
   background: transparent url(logo0000.png) 0% 50% no-repeat;
 }
 
 #topcontainer ul{
   display: inline-block;
   width: 420px;
+  height: 100px;
   padding: 0;
   margin: 0;
   list-style: none;
@@ -96,8 +96,9 @@ a:hover {
   text-shadow: 0 2px 5px rgba(0,0,0,0.5);
 }
 
-#contentcontainer {
+#contentcontainer, #navbar {
   background: transparent url(white_50.png);
+  outline: 1px solid #797e6c;
   box-shadow: 0 0 5px #4e543f;
   -webkit-box-shadow: 0 0 5px #4e543f;
   -moz-box-shadow: 0 0 5px #4e543f;
@@ -111,11 +112,12 @@ a:hover {
   vertical-align: top;
   padding-bottom: 30px;
   display: block;
-  display: inline-block;
+  float: left;
 }
 
-.column:last-child {
+.column.side {
   width: 250px;
+  float: right;
   padding: 40px 36px 0 30px;
   background: transparent url(black_10.png);
 }
@@ -127,7 +129,6 @@ a:hover {
 }
 
 #credits ul li {
-  xdisplay: inline-block;
   font-size: 0.85em;
   float: left;
   vertical-align: top;
@@ -188,9 +189,9 @@ hr {
     width: 90%;
   }
 
-  .column, .column:last-child {
-    width: 90%;
-    padding: 6%;
+  .column, .column.side {
+    width: 88%;
+    padding: 7%;
     overflow: hidden;
   }