]> khamidou — GitHub mirrors - kite.git/commitdiff
better header
authorkarim hamidou <khamidou@gmail.com>
Thu, 2 Jan 2014 19:08:36 +0000 (20:08 +0100)
committerkarim hamidou <khamidou@gmail.com>
Thu, 2 Jan 2014 19:08:36 +0000 (20:08 +0100)
css/bootstrap-theme.css
index.html

index 5d21a2a2249ef127926e56e2c144fd3fd7abd8d9..a67946383a87dece3ed91fd84598720eaff91cf8 100644 (file)
@@ -1,7 +1,9 @@
 @import url(bootstrap.css);
+@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,900);
 
 body {
     padding-bottom: 40px;
+    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
 }
 
 body a {
@@ -10,14 +12,32 @@ body a {
 
 header {
     width: 100%; 
-    height: 150px;
-    background-color: blue
+    background-color: #074A90;
+    color: #fff;
+    text-shadow: #333 0px -1px, #333 0px 1px; 
 }
 
 header h1 {
-    font-size: 3.2em;
+    font-size: 3.8em;
+    padding-top: 0.7em;
+    margin-top: 0px;
 }
 
+header h3 {
+    font-size: 1.5em;
+}
+
+header a {
+    color: #fff;
+    text-decoration: underline;
+}
+
+header a:hover {
+    color: #fff;
+}
+.heavy {
+    font-weight: 900;
+}
 /* Custom container */
 .container-narrow {
     margin: 0 auto;
@@ -66,26 +86,22 @@ header h1 {
     text-decoration: none;
 }
 /* duplicated from the app code */ 
-button.btn {
-    border-radius: 3px;
+a.btn {
+    border-radius: 2px;
+    background-color: #ff4133;
+    background-image: none;
+    font-weight: 900;
+    text-shadow: 1px 1px #777;
+    text-decoration: none;
+    font-size: 18px;
+    color: #fff;
+    border: none;
+    padding: 10px 10px 10px 10px;
 }
 
-a.btn.btn-primary  {
-    background-image: linear-gradient(to bottom, #889ED3, #4162AF);
-    background-image: -webkit-linear-gradient(top, #889ED3, #4162AF);
+a.btn:hover {
+    color: #fff;
+    background-color: #ff5044;
 }
 
-a.btn.btn-primary:hover  {
-    background-position: 0 0;
-    background-image: -webkit-linear-gradient(top, #6A86C8, #4264B3);
-    background-image: -moz-linear-gradient(top, #6A86C8, #4264B3);
-    background-image: -o-linear-gradient(top, #6A86C8, #4264B3);
-    background-image: linear-gradient(top, #6A86C8, #4264B3);
-    transition: none;
-}
 
-#cta:hover, #cta:focus {
-    background-color: none;
-    background-position: none;
-    transition: none;
-}
index dc003c9ea23fa05925a8b67e0f864c958d8df50b..484e28abd848ce79090af5934baad1cf3e5f0394 100644 (file)
         <header>
             <div class="container-narrow">
                 <h1>Kite</h1>
+                <h3>An opensource gmail replacement.</h3>
+                <div style="margin-top: 10px; padding-bottom: 10px;">
+                        <a href="/demo" class="btn">Try the demo !</a>
+                        <span class="heavy">OR</span>
+                        <a href="#screenshots">View the screenshots</a>
+                </div>
             </div>
         </header>
         <div class="container-narrow">
-            <div class="topDecoration"></div>
-            <div class="masthead">
-                <ul class="nav nav-pills pull-right">
-                </ul>
-                <h3 class="muted">Kite (alpha)</h3>
-            </div>
-
-            <hr style="margin-bottom: 0;">
-
-            <div class="parent">
-                <div class="jumbotron">
-                    <h1>Kite is an opensource replacement to gmail</h1>
-                    <p class="lead">Host your own webmail, on a server of your own, in almost one click !</p>
-                </div>
-                <div class="row-fluid">
-                    <div class="span6 offset6">
-                        <a class="btn btn-large btn-primary" id="cta" href="app">Try a demo !</a>
-                        Or <a href="#screenshots">
-                            <h4 style="display: inline;">view the screenshots</h4>
-                        </a>
-                    </div>
+            <div class="row-fluid marketing">
+                <div class="span12">
+                    <h3>What is it?</h3>
+                    <p>Kite is a very easy to install gmail clone.</p>
+                    <p>It's alpha software, but I hope to flesh it out in the next few months.</p>
                 </div>
             </div>
 
-            <hr>
-
+            
             <div class="row-fluid marketing">
                 <div class="span12">
                     <h3>What is it?</h3>
             <hr>
 
             <div class="footer">
-                <p>&copy; 2013 <a href="http://khamidou.com">Karim Hamidou</a>.</p>
+                <p>&copy; 2014 <a href="http://khamidou.com">Karim Hamidou</a>.</p>
             </div>
 
         </div> <!-- /container -->