From 583b84ef65871737a1fec8d69d7acc6ccfa860c7 Mon Sep 17 00:00:00 2001 From: Sergey Karayev Date: Fri, 11 Jul 2014 13:27:38 -0700 Subject: [PATCH] [docs] cosmetic --- docs/_layouts/default.html | 29 ++++++---------- docs/index.md | 2 ++ docs/javascripts/scale.fix.js | 20 ----------- docs/stylesheets/styles.css | 65 +++++------------------------------ 4 files changed, 21 insertions(+), 95 deletions(-) delete mode 100644 docs/javascripts/scale.fix.js diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index f5d9000414a..756e8ebae1d 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -7,10 +7,10 @@ Caffe {% if page contains 'title' %}| {{ page.title }}{% endif %} - - - - + + + + - +

Caffe

+

+ Deep learning framework developed by Yangqing Jia / BVLC +

-

Maintained by
BVLC

-

Created by
Yangqing Jia

-
{{ content }}
- - diff --git a/docs/index.md b/docs/index.md index 5d5b35ffede..64ffe8b29e6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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 index 08716c00605..00000000000 --- a/docs/javascripts/scale.fix.js +++ /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 diff --git a/docs/stylesheets/styles.css b/docs/stylesheets/styles.css index 5862c6c202f..2dbedb8a507 100644 --- a/docs/stylesheets/styles.css +++ b/docs/stylesheets/styles.css @@ -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 {