Skip to content

Commit

Permalink
[docs] cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyk committed Jul 11, 2014
1 parent 7bd30fe commit 583b84e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 95 deletions.
29 changes: 11 additions & 18 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
Caffe {% if page contains 'title' %}| {{ page.title }}{% endif %}
</title>

<link rel="stylesheet" href="stylesheets/reset.css">
<link rel="stylesheet" href="stylesheets/styles.css">
<link rel="stylesheet" href="stylesheets/pygment_trac.css">
<script src="javascripts/scale.fix.js"></script>
<link rel="stylesheet" href="/stylesheets/reset.css">
<link rel="stylesheet" href="/stylesheets/styles.css">
<link rel="stylesheet" href="/stylesheets/pygment_trac.css">

<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
Expand All @@ -28,28 +28,21 @@
</script>
<div class="wrapper">
<header>
<h1 class="header"><a href="index.html">Caffe</a></h1>
<!-- <p class="header">Convolutional Architecture for Fast Feature Embedding</p> -->

<h1 class="header"><a href="/">Caffe</a></h1>
<p class="header">
Deep learning framework developed by <a class="header name" href="http://daggerfs.com/">Yangqing Jia</a> / <a class="header name" href="http://bvlc.eecs.berkeley.edu/">BVLC</a>
</p>
<ul>
<!--<li class="download"><a class="buttons" href="https://github.com/BVLC/caffe/zipball/master">Download ZIP</a></li>
<li class="download"><a class="buttons" href="https://github.com/BVLC/caffe/tarball/master">Download TAR</a></li>-->
<li><a class="buttons github" href="https://github.com/BVLC/caffe">View On GitHub</a></li>
<li>
<a class="buttons github" href="https://github.com/BVLC/caffe">View On GitHub</a>
</li>
</ul>
<p class="header">Maintained by<br><a class="header name" href="http://bvlc.eecs.berkeley.edu/">BVLC</a></p>
<p class="header">Created by<br><a class="header name" href="http://daggerfs.com/">Yangqing Jia</a></p>

</header>
<section>

{{ content }}

</section>
<!-- <footer>
<p><small>Hosted on <a href="http://pages.github.com">GitHub Pages</a>.</small></p>
</footer>
-->
</div>
<!--[if !IE]><script>fixScale(document);</script><![endif]-->
</body>
</html>
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Caffe is a deep learning framework developed with cleanliness, readability, and
It was created by [Yangqing Jia](http://daggerfs.com), and is in active development by the Berkeley Vision and Learning Center ([BVLC](http://bvlc.eecs.berkeley.edu)) and by community contributors.
Caffe is released under the [BSD 2-Clause license](https://github.com/BVLC/caffe/blob/master/LICENSE).

Check out our web image classification [demo](http://demo.caffe.berkeleyvision.org)!

## Why

**Clean architecture** enables rapid deployment.
Expand Down
20 changes: 0 additions & 20 deletions docs/javascripts/scale.fix.js

This file was deleted.

65 changes: 8 additions & 57 deletions docs/stylesheets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ h3 {
}

h4, h5, h6 {
font-family: Times, serif;
font-family: 'PT Serif', serif;
font-weight: 700;
}

Expand All @@ -68,12 +68,11 @@ strong {
}

ul {
list-style: inside;
padding-left: 25px;
}

ol {
list-style: decimal inside;
list-style: decimal;
padding-left: 20px;
}

Expand Down Expand Up @@ -129,7 +128,6 @@ p img {
}

/* Code blocks */

code, pre {
font-family: monospace;
color:#000;
Expand All @@ -149,7 +147,6 @@ pre {


/* Tables */

table {
width:100%;
}
Expand All @@ -161,7 +158,7 @@ table {
}

th {
font-family: 'Arvo', Helvetica, Arial, sans-serif;
font-family: 'Open Sans', sans-serif;
font-size: 18px;
font-weight: normal;
padding: 10px;
Expand All @@ -184,45 +181,24 @@ td {
/* Header */

header {
background-color: #171717;
color: #FDFDFB;
width:170px;
float:left;
position:fixed;
border: 1px solid #000;
-webkit-border-top-right-radius: 4px;
-webkit-border-bottom-right-radius: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
padding: 12px 25px 22px 50px;
margin: 24px 25px 0 0;
-webkit-font-smoothing: antialiased;
}

p.header {
font-size: 14px;
}

h1.header {
/*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
font-size: 30px;
font-weight: 300;
line-height: 1.3em;
border-bottom: none;
margin-top: 0;
}


h1.header, a.header, a.name, header a{
color: #fff;
}

a.header {
text-decoration: underline;
}

a.name {
white-space: nowrap;
}
Expand All @@ -239,38 +215,19 @@ header li {
margin-bottom: 12px;
line-height: 1em;
padding: 6px 6px 6px 7px;

background: #AF0011;
background: -moz-linear-gradient(top, #AF0011 0%, #820011 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
background: -webkit-linear-gradient(top, #AF0011 0%,#820011 100%);
background: -o-linear-gradient(top, #AF0011 0%,#820011 100%);
background: -ms-linear-gradient(top, #AF0011 0%,#820011 100%);
background: linear-gradient(top, #AF0011 0%,#820011 100%);

background: #c30000;
border-radius:4px;
border:1px solid #0D0D0D;

-webkit-box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1);
box-shadow: inset 0px 1px 1px 0 rgba(233,2,38, 1);

border:1px solid #555;
}

header li:hover {
background: #C3001D;
background: -moz-linear-gradient(top, #C3001D 0%, #950119 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
background: -webkit-linear-gradient(top, #C3001D 0%,#950119 100%);
background: -o-linear-gradient(top, #C3001D 0%,#950119 100%);
background: -ms-linear-gradient(top, #C3001D 0%,#950119 100%);
background: linear-gradient(top, #C3001D 0%,#950119 100%);
background: #dd0000;
}

a.buttons {
-webkit-font-smoothing: antialiased;
background: url(../images/arrow-down.png) no-repeat;
color: #fff;
text-decoration: none;
font-weight: normal;
text-shadow: rgba(0, 0, 0, 0.4) 0 -1px 0;
padding: 2px 2px 2px 22px;
height: 30px;
}
Expand All @@ -280,12 +237,6 @@ a.github {
background-size: 15%;
}

a.buttons:hover {
color: #fff;
text-decoration: none;
}


/* Section - for main page content */

section {
Expand Down

0 comments on commit 583b84e

Please sign in to comment.