From 74d7ae1f8f899fb7562bf5cb1a957cec484f72e6 Mon Sep 17 00:00:00 2001
From: spf13
Date: Fri, 10 Jan 2014 12:48:55 -0500
Subject: [PATCH] A bunch of style updates. Switching to bootstrap carousel.
---
docs/layouts/chrome/includes.html | 1 +
docs/layouts/index.html | 86 +++++++++++++++------------
docs/static/static/css/HPstyles.css | 85 ++++++++++++++++++--------
docs/static/static/css/styles.css | 43 ++++++++++++--
docs/static/static/js/unslider.min.js | 1 -
5 files changed, 147 insertions(+), 69 deletions(-)
delete mode 100644 docs/static/static/js/unslider.min.js
diff --git a/docs/layouts/chrome/includes.html b/docs/layouts/chrome/includes.html
index 7adf0255c..0bfb4f415 100644
--- a/docs/layouts/chrome/includes.html
+++ b/docs/layouts/chrome/includes.html
@@ -1,3 +1,4 @@
+
diff --git a/docs/layouts/index.html b/docs/layouts/index.html
index a16278d64..f3d2b7814 100755
--- a/docs/layouts/index.html
+++ b/docs/layouts/index.html
@@ -11,6 +11,7 @@
+
@@ -24,9 +25,9 @@
Hugo
The Fast and Flexible Static Site Generator
- LEARN MORE
- DOWNLOAD
- DOCUMENTATION
+ learn more
+ download
+ documentation
@@ -62,10 +63,10 @@
Run Anywhere
- Hugo is written in pure go. It is packaged as a single binary for easy installation.
- Hugo doesn't depend on administrative privileges, databases, runtimes, interpreters
- or packages . Hugo is quite possibly the easiest to install software you've ever used.
- Simply download and run.
+ Hugo is written in pure go. It is packaged as a single binary for easy installation.
+ Hugo doesn't depend on administrative privileges, databases, runtimes, interpreters
+ or packages . Hugo is quite possibly the easiest to install software you've ever used.
+ Simply download and run.
@@ -84,8 +85,8 @@
Hugo is written for speed and performance. Great care has been
taken to ensure that Hugo build time is as short as possible.
- While many factors contribute (cpu, disk speed, # of indexes)
- the vast majority of websites render in less than a second.
+ While many factors contribute (cpu, disk speed, # of indexes)
+ the vast majority of websites render in less than a second.
@@ -102,11 +103,11 @@
Flexible
- Hugo is designed to work how you do. Declare your own content
- types. Define your own meta data in YAML, TOML or JSON.
+ Hugo is designed to work how you do. Declare your own content
+ types. Define your own meta data in YAML, TOML or JSON.
Organize your content however you want with any URL structure.
- Use indexes to group your content however you want. Best of all
- this is all done with virtually no configuration, Hugo
+ Use indexes to group your content however you want. Best of all
+ this is all done with virtually no configuration, Hugo
just works.
@@ -120,22 +121,40 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
I had a play with Hugo and it was good, uses Markdown files for content
— David Caunt (@dcaunt) November 29, 2013
+
Even as a long-time Octopress fan, I’ve gotta admit that this project Hugo looks very very cool
— Douglas Stephen (@DougStephenJr) August 5, 2013
+
A static site generator without the long build times? Yes, please!
— Josh Matz (@joshmatz) August 5, 2013
+
Finally someone builds me my own static site generator
— Hugo Rodger-Brown (@hugorodgerbrown) August 5, 2013
+
I'm loving the static site generator renaissance we are currently enjoying. Hugo is new, looks great, written in Go
— Jim Biancolo (@jimbiancolo) December 5, 2013
+
Good work on Hugo, I'm impressed with the speed!
— Ludovic Chabant (@ludovicchabant) December 6, 2013
+
Checking out Hugo; Loving it so far. Like Jekyll but not so blog-oriented and written in golang
— Jose Gonzalvo (@jgonzalvo) December 4, 2013
+
+
@@ -205,7 +224,7 @@
-
Copyright © Steve Francia 2013
+
Copyright © Steve Francia 2013
@@ -215,7 +234,6 @@
-
{{ template "chrome/analytics.html" . }}
diff --git a/docs/static/static/css/HPstyles.css b/docs/static/static/css/HPstyles.css
index 07b91b2a4..474a9610f 100644
--- a/docs/static/static/css/HPstyles.css
+++ b/docs/static/static/css/HPstyles.css
@@ -7,6 +7,16 @@ body {
letter-spacing: 0.5px;
}
+h1, h2, h3, h4, h5, h6 {
+ font-family: 'Cabin', "Helvetica Neue", "Helvitica", "Serif";
+}
+
+body {
+
+ font-family: 'Arbutus Slab', "Helvetica Neue", "Helvitica", "Serif" !important;
+ line-height: 1.6;
+}
+
.vert-text {
display: table-cell;
vertical-align: middle;
@@ -107,11 +117,11 @@ and (orientation : landscape) {
.counterpoint {
padding: 50px 0;
- background-color: white;
+ background-color: rgb(255, 252, 244);
}
.point {
- background: rgb(22, 203, 230);
+ background: rgb(96,210,211);
padding: 50px 0;
color: #ffffff;
}
@@ -120,6 +130,11 @@ and (orientation : landscape) {
margin-bottom: 15px;
}
+.point h2, .counterpoint h2 {
+ font-size: 32pt;
+ line-height: 1.7;
+}
+
i.callout-icon, i.point-icon, i.lead-icon {
border-radius: 50%;
display: inline-block;
@@ -174,32 +189,13 @@ i.service-icon:hover {
display: table;
height: 420px;
width: 100%;
- background-color: rgb(47, 197, 47);
+ background-color: rgb(118,156,172);
padding: 50px 0;
color: #ffffff;
}
-.banner { position: relative; overflow: auto; }
-.banner li { list-style: none; font-size:28px; padding: 1.7em 3em 0 3em; font-weight:200; }
-.banner ul li { float: left; }
-
-.banner blockquote {
- border-left: 0;
- font-size: 20px;
- font-weight:100;
-}
-
-.banner blockquote p {
- font-size: 34px;
- text-shadow: rgba(0,0,0,0.5) 2px 2px 5px;
-}
-
-.banner blockquote > a {
- display: block;
-}
-
i.callout-icon:hover {
- color: rgb(47, 197, 47);
+ color: rgb(249, 176, 190);
border: 3px solid #fff;
background: #fff;
}
@@ -272,15 +268,15 @@ footer a:hover {
text-decoration: none;
}
-div.point a {
- color: #0a5175;
+.point a, .counterpoint a {
+ color: rgb(7,162,166);
}
/* Bootstrap Addons */
.btn-clear {
- color: #444;
+ color:#888;
background-color: rgba(255, 255, 255, 0.5);
border-color: #FFF;
}
@@ -300,3 +296,40 @@ div.point a {
.open .dropdown-toggle.btn-clear {
background-image: none;
}
+
+
+div#carousel-quotes {
+ width:100%;
+}
+
+.carousel-inner > .item {
+ height: 16em;
+ font-size: 140%;
+}
+
+@media all and (max-width: 685px) {
+ .carousel-inner > .item {
+ height: 22em;
+ }
+}
+
+@media all and (max-width: 1200px) and (min-width: 686px) {
+ .carousel-inner > .item {
+ height: 18em;
+ }
+}
+
+.slide blockquote {
+ border-left: 0;
+}
+
+.slide blockquote p {
+ font-size: 200%;
+ text-shadow: rgba(0,0,0,0.5) 2px 2px 5px;
+}
+
+.slide blockquote > a {
+ display: block;
+ color: rgb(249, 176, 190);
+}
+
diff --git a/docs/static/static/css/styles.css b/docs/static/static/css/styles.css
index 4424e7885..cf382bbfe 100755
--- a/docs/static/static/css/styles.css
+++ b/docs/static/static/css/styles.css
@@ -2,19 +2,52 @@ body {
background-color: rgb(253, 253, 251);
padding-top: 70px;
letter-spacing: 0.3px;
+ font-family: 'Arbutus Slab', "Helvetica Neue", "Helvitica", "Serif";
+}
+
+#main.container {
+ font-size: 21px;
+ line-height: 175%;
}
h1, h2, h3 {
+ padding-bottom: .3em;
+ padding-top: 1.4em;
+ margin-bottom: .7em;
+}
+
+h1, h2, h3, h4, h5, h6 {
color: rgb(25,71,86);
+ font-family: 'Cabin', "Helvetica Neue", "Helvitica", "Serif";
+}
+
+h1 {
+ font-size: 46px;
+ padding-top: .3em;
+}
+
+h1, h2 {
+ border-bottom: 1px solid #CCC;
+}
+
+pre {
+ background-color: #022b34;
+ color: #e6e6e6;
+ font-family: 'Source Code Pro', sans-serif;
+ font-size: 17px;
+ line-height: 1.2;
+ -webkit-border-radius: 12px;
+ -moz-border-radius: 12px;
+ border-radius: 12px;
}
a {
- color: rgb(0,140,158);
+ color: rgb(96,210,211);
}
a:hover {
- color: rgb(21,201,239);
+ color: rgb(15, 166, 188);
}
#footer {
@@ -22,7 +55,7 @@ a:hover {
}
nav.navbar {
- background: none repeat scroll 0% 0% rgb(22, 203, 230);
+ background: none repeat scroll 0% 0% rgb(96,210,211);
border-top: 4px solid rgb(15, 166, 188);
border-bottom: 1px solid rgb(15, 166, 188);
opacity: .97;
@@ -76,7 +109,9 @@ nav.navbar {
}
-
+.highlight {
+ background-color: #fdfdfb !important;
+}
#main table{width:100%;margin-bottom:20px;}#main table thead>tr>th,#main table tbody>tr>th,#main table tfoot>tr>th,#main table thead>tr>td,#main table tbody>tr>td,#main table tfoot>tr>td{padding:8px;line-height:1.428571429;vertical-align:top;border-top:1px solid #dddddd;}
#main table thead>tr>th{vertical-align:bottom;border-bottom:2px solid #dddddd;}
diff --git a/docs/static/static/js/unslider.min.js b/docs/static/static/js/unslider.min.js
deleted file mode 100644
index 42987011c..000000000
--- a/docs/static/static/js/unslider.min.js
+++ /dev/null
@@ -1 +0,0 @@
-(function(e,t){if(!e)return t;var n=function(){this.el=t;this.items=t;this.sizes=[];this.max=[0,0];this.current=0;this.interval=t;this.opts={speed:500,delay:3e3,complete:t,keys:!t,dots:t,fluid:t};var n=this;this.init=function(t,n){this.el=t;this.ul=t.children("ul");this.max=[t.outerWidth(),t.outerHeight()];this.items=this.ul.children("li").each(this.calculate);this.opts=e.extend(this.opts,n);this.setup();return this};this.calculate=function(t){var r=e(this),i=r.outerWidth(),s=r.outerHeight();n.sizes[t]=[i,s];if(i>n.max[0])n.max[0]=i;if(s>n.max[1])n.max[1]=s};this.setup=function(){this.el.css({overflow:"hidden",width:n.max[0],height:this.items.first().outerHeight()});this.ul.css({width:this.items.length*100+"%",position:"relative"});this.items.css("width",100/this.items.length+"%");if(this.opts.delay!==t){this.start();this.el.hover(this.stop,this.start)}this.opts.keys&&e(document).keydown(this.keys);this.opts.dots&&this.dots();if(this.opts.fluid){var r=function(){n.el.css("width",Math.min(Math.round(n.el.outerWidth()/n.el.parent().outerWidth()*100),100)+"%")};r();e(window).resize(r)}if(this.opts.arrows){this.el.parent().append('← →
').find(".arrows span").click(function(){e.isFunction(n[this.className])&&n[this.className]()})}if(e.event.swipe){this.el.on("swipeleft",n.prev).on("swiperight",n.next)}};this.move=function(t,r){if(!this.items.eq(t).length)t=0;if(t<0)t=this.items.length-1;var i=this.items.eq(t);var s={height:i.outerHeight()};var o=r?5:this.opts.speed;if(!this.ul.is(":animated")){n.el.find(".dot:eq("+t+")").addClass("active").siblings().removeClass("active");this.el.animate(s,o)&&this.ul.animate(e.extend({left:"-"+t+"00%"},s),o,function(i){n.current=t;e.isFunction(n.opts.complete)&&!r&&n.opts.complete(n.el)})}};this.start=function(){n.interval=setInterval(function(){n.move(n.current+1)},n.opts.delay)};this.stop=function(){n.interval=clearInterval(n.interval);return n};this.keys=function(t){var r=t.which;var i={37:n.prev,39:n.next,27:n.stop};if(e.isFunction(i[r])){i[r]()}};this.next=function(){return n.stop().move(n.current+1)};this.prev=function(){return n.stop().move(n.current-1)};this.dots=function(){var t='';e.each(this.items,function(e){t+=''+(e+1)+" "});t+=" ";this.el.addClass("has-dots").append(t).find(".dot").click(function(){n.move(e(this).index())})}};e.fn.unslider=function(t){var r=this.length;return this.each(function(i){var s=e(this);var u=(new n).init(s,t);s.data("unslider"+(r>1?"-"+(i+1):""),u)})}})(window.jQuery,false)
\ No newline at end of file