add favicon.ico& logo, adjust color

This commit is contained in:
holys 2014-07-23 20:24:47 +08:00
parent 0096948c4b
commit 67758f9364
5 changed files with 62 additions and 32 deletions

View File

@ -33,12 +33,9 @@
<li role="presentation"><a href="/">Home</a></li> <li role="presentation"><a href="/">Home</a></li>
<li role="presentation"><a href="/contact.html">Contact</a></li> <li role="presentation"><a href="/contact.html">Contact</a></li>
</ul> </ul>
<h3 class="text-muted">LedisDB</h3> <a class="logo" href="/"><img src="/img/logo.png" alt="LedisDB"></a>
</div> </div>
<!-- /contact--> <!-- /contact-->
<div class="row contact" id="contact"> <div class="row contact" id="contact">
<h2>Contact</h2> <h2>Contact</h2>
@ -64,8 +61,6 @@
</div> </div>
<div id="footer-wrapper" class="gradient"> <div id="footer-wrapper" class="gradient">
<div id="footer" class="row"> <div id="footer" class="row">
<div class="large-4 columns col-sm-4"> <div class="large-4 columns col-sm-4">

View File

@ -2,16 +2,39 @@
body { body {
padding-top: 20px; padding-top: 20px;
padding-bottom: 20px; padding-bottom: 20px;
color: #7f8c8d;
} }
a { a {
color: #7f8c8d ; color: #7f8c8d;
} }
a:hover,a:focus { a:hover,a:focus {
color: #45a797;
}
h2 {
color: #45a797;
}
.gradient h2 {
color: #7f8c8d ;
}
.features h3 {
color: #3d4c4e;
font-size: 22px;
}
p {
color: #7f8c8d;
}
.jumbotron h1 {
color: #131d1f;
}
.jumbotron p {
color: #7f8c8d; color: #7f8c8d;
text-decoration: underline
} }
.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus { .nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
@ -33,11 +56,13 @@ a:hover,a:focus {
} }
/* Custom page header */ /* Custom page header */
.header { /*.header{
border-bottom: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5;
} margin-top: 10px;
}*/
/* Make the masthead heading the same height as the navigation */ /* Make the masthead heading the same height as the navigation */
.header h3 { .logo {
padding-bottom: 19px; padding-bottom: 19px;
margin-top: 0; margin-top: 0;
margin-bottom: 0; margin-bottom: 0;
@ -96,8 +121,6 @@ a:hover,a:focus {
width: 49.333333%; width: 49.333333%;
} }
.about { .about {
margin-right: 20px; margin-right: 20px;
padding-left: 150px; padding-left: 150px;
@ -122,3 +145,21 @@ a:hover,a:focus {
.hide { .hide {
display: none; display: none;
} }
.btn-ledis {
color: #fff;
background-color: #45a797;
/* border-color: #45a797;*/
}
.btn-ledis:hover {
color: #fff;
background-color: #5abdad;
/*border-color: #5abdad;*/
}
.benchmark a {
text-decoration: underline;
}

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -33,13 +33,13 @@
<li role="presentation"><a href="/">Home</a></li> <li role="presentation"><a href="/">Home</a></li>
<li role="presentation"><a href="/contact.html">Contact</a></li> <li role="presentation"><a href="/contact.html">Contact</a></li>
</ul> </ul>
<h3 class="text-muted">LedisDB</h3> <a class="logo" href="/"><img src="/img/logo.png" alt="LedisDB"></a>
</div> </div>
<div class="jumbotron"> <div class="jumbotron">
<h1>LedisDB</h1> <h1>LedisDB</h1>
<p class="lead">A high performance NoSQL like Redis based on LevelDB implemented by Golang.</p> <p class="lead">A high performance NoSQL like Redis based on LevelDB implemented by Golang.</p>
<p><a class="btn btn-lg btn-default" target="_blank" href="https://github.com/siddontang/ledisdb" role="button"> <p><a class="btn btn-lg btn-ledis" target="_blank" href="https://github.com/siddontang/ledisdb" role="button">
<i class="glyphicon glyphicon-eye-open"></i> <i class="glyphicon glyphicon-eye-open"></i>
View on GitHub</a></p> View on GitHub</a></p>
</div> </div>
@ -113,9 +113,9 @@ db.Get(key)
<thead> <thead>
<tr> <tr>
<th></th> <th></th>
<th>redis</th> <th>Redis</th>
<th>ssdb</th> <th>SSDB</th>
<th>ledis</th> <th>LedisDB</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -188,19 +188,9 @@ db.Get(key)
</tbody> </tbody>
</table> </table>
<br> <br>
<p>For more information, please take a look at <a href="https://github.com/siddontang/ledisdb/blob/master/benchmark.md"><em>benchmark.md.</em></a></p> <p>For more information, please take a look at <a href="https://github.com/siddontang/ledisdb/blob/master/benchmark.md"><em>benchmark.md</em></a>.</p>
</div> </div>
<!-- /footer-->
<!-- <div class="footer">
<p>CopyRight@LedisDB // <a target="_blank"href="https://github.com/siddontang/ledisdb/blob/master/LICENSE">MIT License</a> // maintained by <a target="_blank" href="https://github.com/siddontang">SiddonTang</a></p>
</div>
-->
<div id="footer-wrapper" class="gradient"> <div id="footer-wrapper" class="gradient">
<div id="footer" class="row"> <div id="footer" class="row">
<div class="large-4 columns col-sm-4"> <div class="large-4 columns col-sm-4">
@ -241,6 +231,9 @@ db.Get(key)
<script src="http://code.highcharts.com/modules/exporting.js"></script> <script src="http://code.highcharts.com/modules/exporting.js"></script>
<script> <script>
$(function () { $(function () {
Highcharts.setOptions({
colors: ['#df4810', '#3d4c4e', '#45a797']
});
$('#container').highcharts({ $('#container').highcharts({
data: { data: {
table: document.getElementById('datatable') table: document.getElementById('datatable')
@ -264,6 +257,7 @@ db.Get(key)
} }
} }
}); });
}); });
</script> </script>