[docs] cosmetic
authorSergey Karayev <sergeykarayev@gmail.com>
Fri, 11 Jul 2014 20:27:38 +0000 (13:27 -0700)
committerSergey Karayev <sergeykarayev@gmail.com>
Fri, 11 Jul 2014 20:29:06 +0000 (13:29 -0700)
docs/_layouts/default.html
docs/index.md
docs/javascripts/scale.fix.js [deleted file]
docs/stylesheets/styles.css

index f5d9000..756e8eb 100644 (file)
@@ -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>
   </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>
index 5d5b35f..64ffe8b 100644 (file)
@@ -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.
diff --git a/docs/javascripts/scale.fix.js b/docs/javascripts/scale.fix.js
deleted file mode 100644 (file)
index 08716c0..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-fixScale = function(doc) {
-
-       var addEvent = 'addEventListener',
-           type = 'gesturestart',
-           qsa = 'querySelectorAll',
-           scales = [1, 1],
-           meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [];
-
-       function fix() {
-               meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1];
-               doc.removeEventListener(type, fix, true);
-       }
-
-       if ((meta = meta[meta.length - 1]) && addEvent in doc) {
-               fix();
-               scales = [.25, 1.6];
-               doc[addEvent](type, fix, true);
-       }
-
-};
\ No newline at end of file
index 5862c6c..2dbedb8 100644 (file)
@@ -42,7 +42,7 @@ h3 {
 }
 
 h4, h5, h6 {
-  font-family: Times, serif;
+  font-family: 'PT Serif', serif;
   font-weight: 700;
 }
 
@@ -68,12 +68,11 @@ strong {
 }
 
 ul {
-  list-style: inside;
   padding-left: 25px;
 }
 
 ol {
-  list-style: decimal inside;
+  list-style: decimal;
   padding-left: 20px;
 }
 
@@ -129,7 +128,6 @@ p img {
 }
 
 /* Code blocks */
-
 code, pre {
   font-family: monospace;
   color:#000;
@@ -149,7 +147,6 @@ pre {
 
 
 /* Tables */
-
 table {
   width:100%;
 }
@@ -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;
@@ -184,21 +181,11 @@ 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 {
@@ -206,23 +193,12 @@ p.header {
 }
 
 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;
 }
@@ -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;
 }
@@ -280,12 +237,6 @@ a.github {
   background-size: 15%;
 }
 
-a.buttons:hover {
-  color: #fff;
-  text-decoration: none;
-}
-
-
 /* Section - for main page content */
 
 section {