) */
+.content-head {
+ font-weight: 400;
text-transform: uppercase;
- margin: 0;
- border-bottom: 2px solid #eee;
- display: inline-block;
+ letter-spacing: 0.1em;
+ margin: 2em 0 1em;
}
-.content .content-ribbon {
- margin: 3em;
- border-bottom: 1px solid #eee;
+/* This is a modifier class used when the content-head is inside a ribbon */
+.content-head-ribbon {
+ color: white;
}
-.ribbon {
- background: #eee;
- text-align: center;
- padding: 2em;
- color: #999;
+/* This is the class used for the content sub-headers (
) */
+.content-subhead {
+ color: #1f8dd6;
}
- .ribbon h2 {
- display: inline;
- font-weight: normal;
+ .content-subhead i {
+ margin-right: 7px;
}
+/* This is the class used for the dark-background areas. */
+.ribbon {
+ background: #2d3e50;
+ color: #aaa;
+}
+
+/* This is the class used for the footer */
.footer {
background: #111;
- color: #666;
- text-align: center;
- padding: 1em;
- font-size: 80%;
+}
+
+/*
+ * -- TABLET (AND UP) MEDIA QUERIES --
+ * On tablets and other medium-sized devices, we want to customize some
+ * of the mobile styles.
+ */
+@media (min-width: 48em) {
+
+ /* We increase the body font size */
+ body {
+ font-size: 16px;
+ }
+ /* We want to give the content area some more padding */
+ .content {
+ padding: 1em;
+ }
+
+ /* We can align the menu header to the left, but float the
+ menu items to the right. */
+ .home-menu {
+ text-align: left;
+ }
+ .home-menu ul {
+ float: right;
+ }
+
+ /* We increase the height of the splash-container */
+/* .splash-container {
+ height: 500px;
+ }*/
+
+ /* We decrease the width of the .splash, since we have more width
+ to work with */
+ .splash {
+ width: 50%;
+ height: 50%;
+ }
+
+ .splash-head {
+ font-size: 250%;
+ }
+
+
+ /* We remove the border-separator assigned to .l-box-lrg */
+ .l-box-lrg {
+ border: none;
+ }
+
+}
+
+/*
+ * -- DESKTOP (AND UP) MEDIA QUERIES --
+ * On desktops and other large devices, we want to over-ride some
+ * of the mobile and tablet styles.
+ */
+@media (min-width: 78em) {
+ /* We increase the header font size even more */
+ .splash-head {
+ font-size: 300%;
+ }
}
diff --git a/public/css/layouts/pricing.css b/public/css/layouts/pricing.css
index 5a0bfe5f..54cfdc24 100644
--- a/public/css/layouts/pricing.css
+++ b/public/css/layouts/pricing.css
@@ -43,11 +43,14 @@ p {
* of `display: table;` and `display: table-cell;`, we can
* vertically center the text.
*/
+
.banner {
background: transparent url('http://24.media.tumblr.com/ccb268832580ac12951828a1c179de69/tumblr_mo2xbk8JUK1st5lhmo1_1280.jpg') 0 0 no-repeat fixed;
text-align: center;
background-size: cover;
- height: 350px;
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://24.media.tumblr.com/ccb268832580ac12951828a1c179de69/tumblr_mo2xbk8JUK1st5lhmo1_1280.jpg', sizingMethod='scale');
+
+ height: 200px;
width: 100%;
margin-bottom: 3em;
display: table;
@@ -57,7 +60,7 @@ p {
display: table-cell;
vertical-align: middle;
margin-bottom: 0;
- font-size: 4em;
+ font-size: 2em;
color: white;
font-weight: 500;
text-shadow: 0 1px 1px black;
@@ -85,7 +88,7 @@ p {
*/
.pricing-table {
border: 1px solid #ddd;
- margin: 0 0.5em;
+ margin: 0 0.5em 2em;
padding: 0 0 3em;
}
@@ -183,7 +186,7 @@ p {
}
.footer {
- background: black;
+ background: #111;
color: #888;
text-align: center;
}
@@ -198,13 +201,13 @@ p {
* On tablets, we want to slightly adjust the size of the banner
* text and add some vertical space between the various pricing tables
*/
-@media(max-width: 767px) {
+@media(min-width: 767px) {
.banner-head {
- font-size: 3em;
+ font-size: 4em;
}
.pricing-table {
- margin-bottom: 2em;
+ margin-bottom: 0;
}
}
@@ -213,11 +216,11 @@ p {
* -- PHONE MEDIA QUERIES --
* On phones, we want to reduce the height and font-size of the banner further
*/
-@media (max-width: 480px) {
+@media (min-width: 480px) {
.banner {
- height: 200px;
+ height: 400px;
}
.banner-head {
- font-size: 2em;
+ font-size: 3em;
}
}
diff --git a/public/css/layouts/side-menu.css b/public/css/layouts/side-menu.css
index f2d20ae1..8fe1b159 100644
--- a/public/css/layouts/side-menu.css
+++ b/public/css/layouts/side-menu.css
@@ -2,6 +2,11 @@ body {
color: #777;
}
+.pure-img-responsive {
+ max-width: 100%;
+ height: auto;
+}
+
/*
Add transition to containers so they can push in and out.
*/
@@ -19,10 +24,21 @@ Add transition to containers so they can push in and out.
This is the parent `
` that contains the menu and the content area.
*/
#layout {
- padding-left: 150px; /* left col width "#menu" */
- left: 0;
+ position: relative;
+ padding-left: 0;
}
+ #layout.active {
+ position: relative;
+ left: 150px;
+ }
+ #layout.active #menu {
+ left: 150px;
+ width: 150px;
+ }
+ #layout.active .menu-link {
+ left: 150px;
+ }
/*
The content `
` is where all your content goes.
*/
@@ -59,24 +75,24 @@ The content `
` is where all your content goes.
color: #888;
}
+
+
/*
The `#menu` `
` is the parent `
` that contains the `.pure-menu` that
appears on the left side of the page.
-
-By using the combination of `position: fixed; top: 0; bottom:0;`, we can make
-the menu have 100% height and be fixed on the page as the rest of it scrolls.
*/
+
#menu {
- margin-left: -150px; /* this should be "#menu" width */
+ margin-left: -150px; /* "#menu" width */
width: 150px;
position: fixed;
top: 0;
- left: 150px; /* this should be "#menu" width */
+ left: 0;
bottom: 0;
- z-index: 1; /* so the menu or its navicon stays above all content */
+ z-index: 1000; /* so the menu or its navicon stays above all content */
background: #191818;
overflow-y: auto;
- -webkit-overflow-scroll: touch; /* for smooth scrolling on mobile */
+ -webkit-overflow-scrolling: touch;
}
/*
All anchors inside the menu should be styled like this.
@@ -146,15 +162,17 @@ how it works:
small screens.
*/
.menu-link {
- display: none; /* show this only on small screens */
+ position: fixed;
+ display: block; /* show this only on small screens */
top: 0;
- left: 150px; /* `#menu`'s width */
+ left: 0; /* "#menu width" */
background: #000;
+ background: rgba(0,0,0,0.7);
font-size: 10px; /* change this value to increase/decrease button size */
z-index: 10;
width: 2em;
height: auto;
- padding: 2.2em 1.6em;
+ padding: 2.1em 1.6em;
}
.menu-link:hover,
@@ -190,38 +208,28 @@ small screens.
/* -- Responsive Styles (Media Queries) ------------------------------------- */
/*
-Hides the menu at `767px`, but modify this based on your app's needs.
+Hides the menu at `48em`, but modify this based on your app's needs.
*/
-@media (max-width: 767px) {
+@media (min-width: 48em) {
- .header {
- text-align: left;
+ .header,
+ .content {
+ padding-left: 2em;
+ padding-right: 2em;
}
- /*
- Navigation Push styles.
- */
#layout {
- position: relative;
- padding-left: 0;
+ padding-left: 150px; /* left col width "#menu" */
+ left: 0;
}
- #layout.active {
- position: relative;
- left: 150px;
- }
- #layout.active #menu {
- left: 150px;
- width: 150px;
- }
-
#menu {
- left: 0;
+ left: 150px;
}
.menu-link {
position: fixed;
- left: 0;
- display: block; /* show the button on small screens */
+ left: 150px;
+ display: none;
}
#layout.active .menu-link {
diff --git a/public/css/main.css b/public/css/main.css
index 0411174c..9ea7f994 100644
--- a/public/css/main.css
+++ b/public/css/main.css
@@ -1,32 +1,26 @@
+* {
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
body {
+ min-width: 320px;
color: #777;
+ line-height: 1.6;
}
body,
-.pure-g [class *= "pure-u"],
-.pure-g-r [class *= "pure-u"] {
+.pure-g [class *= "pure-u"] {
font-family: "proxima-nova", sans-serif;
}
-/* Add transition to containers so they can push in and out */
-#layout,
-#menu,
-.menu-link {
- -webkit-transition: all 0.2s ease-out;
- -moz-transition: all 0.2s ease-out;
- -ms-transition: all 0.2s ease-out;
- -o-transition: all 0.2s ease-out;
- transition: all 0.2s ease-out;
-}
-
-
/* --------------------------
* Element Styles
* --------------------------
*/
-
h1, h2, h3, h4, h5, h6 {
font-weight: bold;
color: rgb(75, 75, 75);
@@ -54,32 +48,48 @@ dd {
margin: 0 0 10px 0;
}
+aside {
+ background: #1f8dd6; /* same color as selected state on site menu */
+ padding: 0.3em 1em;
+ border-radius: 3px;
+ color: #fff;
+}
+ aside a, aside a:visited {
+ color: rgb(169, 226, 255);
+ }
+
+
/* --------------------------
* Layout Styles
* --------------------------
*/
+/* Navigation Push Styles */
#layout {
- padding-left: 150px; /* left col width "#menu" */
- left: 0;
+ position: relative;
+ padding-left: 0;
}
-
+ #layout.active {
+ position: relative;
+ left: 160px;
+ }
+ #layout.active #menu {
+ left: 160px;
+ width: 160px;
+ }
/* Apply the .box class on the immediate parent of any grid element (pure-u-*) to apply some padding. */
.l-box {
- padding: 1.3em;
+ padding: 1em;
}
-.l-vbox {
- padding: 1.3em 0;
+.l-wrap {
+ margin-left: auto;
+ margin-right: auto;
}
-
-.l-hbox {
- padding: 0 1.3em;
-}
-
-.l-centered {
- text-align: center;
+.content .l-wrap {
+ margin-left: -1em;
+ margin-right: -1em;
}
@@ -87,35 +97,27 @@ dd {
* Header Module Styles
* --------------------------
*/
+
.header {
- min-height: 80px;
- margin: 0;
- color: #333;
- padding: 1em 2em;
+ font-family: "omnes-pro", sans-serif;
+ max-width: 768px;
+ margin: 0 auto;
+ padding: 1em;
text-align: center;
border-bottom: 1px solid #eee;
background: #fff;
}
.header h1 {
- font-family: "omnes-pro", sans-serif;
- margin: 0.2em 0;
- font-size: 3em;
- font-weight: 300;
+ font-size: 300%;
+ font-weight: 100;
+ margin: 0;
}
.header h2 {
- font-weight: 300;
+ font-size: 125%;
+ font-weight: 100;
+ line-height: 1.5;
margin: 0;
- color: #ccc;
- }
-
-aside {
- background: #1f8dd6; /* same color as selected state on site menu */
- padding: 0.3em 1em;
- border-radius: 3px;
- color: #fff;
-}
- aside a, aside a:visited {
- color: rgb(169, 226, 255);
+ color: #666;
}
@@ -126,38 +128,29 @@ aside {
/* The content div is placed as a wrapper around all the docs */
.content {
- margin: 0 auto;
- padding: 0 2em;
- max-width: 800px;
- margin-bottom: 50px;
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: 1em;
+ padding-right: 1em;
+ max-width: 768px;
}
- .content p {
- line-height: 1.6em;
- font-size: 1.125em;
- }
.content .content-subhead {
- margin: 50px 0 20px 0;
+ margin: 2em 0 1em 0;
font-weight: 300;
color: #888;
position: relative;
}
.content .content-spaced {
- line-height: 1.8em;
- }
-
- /* A code snippet that has been syntax highlighted */
- .content .snippet {
- margin: 1.3em 0 1em;
- padding: 1.3em;
+ line-height: 1.8;
}
.content .content-quote {
font-family: "Georgia", serif;
color: #666;
font-style: italic;
- line-height: 1.8em;
+ line-height: 1.8;
border-left: 5px solid #ddd;
padding-left: 1.5em;
}
@@ -179,56 +172,120 @@ aside {
}
}
+
+/* --------------------------
+ * Code Styles
+ * --------------------------
+*/
+
+pre,
+code {
+ font-family: Consolas, 'Liberation Mono', Courier, monospace;
+ color: #333;
+ background: rgb(250, 250, 250);
+}
+
+code {
+ padding: 0.2em 0.4em;
+ white-space: nowrap;
+}
+.content p code {
+ font-size: 90%;
+}
+
+.code {
+ margin-left: -1em;
+ margin-right: -1em;
+ padding: 1em;
+ border: 1px solid #eee;
+ border-left-width: 0;
+ border-right-width: 0;
+ overflow-x: auto;
+ -webkit-overflow-scrolling: touch;
+}
+.code code {
+ font-size: 95%;
+ white-space: pre;
+ word-wrap: normal;
+ padding: 0;
+ background: none;
+}
+.code-wrap code {
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+
+
/* --------------------------
* Footer Module Styles
* --------------------------
*/
-.legal {
+
+.footer {
font-size: 87.5%;
border-top: 1px solid #eee;
- padding: 0.5em 1.1429em;
+ margin-top: 3.4286em;
+ padding: 1.1429em;
background: rgb(250, 250, 250);
- line-height: 1.6em;
+}
+
+.legal {
+ line-height: 1.6;
+ text-align: center;
+ margin: 0 auto;
}
.legal-license {
- margin: 0;
- }
- .legal-copyright,
- .legal-links {
- text-align: right;
- margin: 0;
+ margin-top: 0;
}
.legal-links {
list-style: none;
padding: 0;
+ margin-bottom: 0;
}
- .legal-logo {
- text-align: center;
+ .legal-copyright {
+ margin-top: 0;
+ margin-bottom: 0;
}
+
/* --------------------------
* Main Navigation Bar Styles
* --------------------------
*/
+/* Add transition to containers so they can push in and out */
+#layout,
+#menu,
+.menu-link {
+ -webkit-transition: all 0.2s ease-out;
+ -moz-transition: all 0.2s ease-out;
+ -ms-transition: all 0.2s ease-out;
+ -o-transition: all 0.2s ease-out;
+ transition: all 0.2s ease-out;
+}
+
+#layout.active .menu-link {
+ left: 160px;
+}
+
#menu {
- margin-left: -150px; /* "#menu" width */
- width: 150px;
+ margin-left: -160px; /* "#menu" width */
+ width: 160px;
position: fixed;
top: 0;
- left: 150px;
+ left: 0;
bottom: 0;
z-index: 1000; /* so the menu or its navicon stays above all content */
background: #191818;
overflow-y: auto;
- -webkit-overflow-scroll: touch;
+ -webkit-overflow-scrolling: touch;
}
#menu a {
color: #999;
border: none;
white-space: normal;
- padding: 0.6em 0 0.6em 0.6em;
+ padding: 0.625em 1em;
}
#menu .pure-menu-open {
@@ -252,16 +309,17 @@ aside {
}
.menu-link {
- display: none; /* show this only on small screens */
+ position: fixed;
+ display: block; /* show this only on small screens */
top: 0;
- left: 150px; /* "#menu width" */
+ left: 0; /* "#menu width" */
background: #000;
background: rgba(0,0,0,0.7);
- font-size: 10px; /* change this value to increase/decrease button size */
+ font-size: 11px; /* change this value to increase/decrease button size */
z-index: 10;
- width: 2em;
- height: auto;
- padding: 2.1em 1.6em;
+ width: 4em;
+ height: 4em;
+ padding: 1em;
}
.menu-link:hover,
@@ -272,6 +330,7 @@ aside {
.menu-link span {
position: relative;
display: block;
+ margin-top: 0.9em;
}
.menu-link span,
@@ -290,12 +349,12 @@ aside {
.menu-link span:before,
.menu-link span:after {
position: absolute;
- margin-top: -.6em;
+ top: -.55em;
content: " ";
}
.menu-link span:after {
- margin-top: .6em;
+ top: .55em;
}
.menu-link.active span {
@@ -311,16 +370,20 @@ aside {
}
.menu-link.active span:after {
- -webkit-transform: rotate(-45deg) translate(.45em, -.35em);
- -moz-transform: rotate(-45deg) translate(.45em, -.35em);
- -ms-transform: rotate(-45deg) translate(.45em, -.35em);
- -o-transform: rotate(-45deg) translate(.45em, -.35em);
- transform: rotate(-45deg) translate(.45em, -.35em);
+ -webkit-transform: rotate(-45deg) translate(.4em, -.3em);
+ -moz-transform: rotate(-45deg) translate(.4em, -.3em);
+ -ms-transform: rotate(-45deg) translate(.4em, -.3em);
+ -o-transform: rotate(-45deg) translate(.4em, -.3em);
+ transform: rotate(-45deg) translate(.4em, -.3em);
}
#menu .pure-menu-heading {
- font-size: 110%;
+ font-size: 125%;
+ font-weight: 300;
+ letter-spacing: 0.1em;
color: #fff;
+ margin-top: 0;
+ padding: 0.5em 0.8em;
}
#menu .pure-menu-heading:hover,
#menu .pure-menu-heading:focus {
@@ -347,16 +410,15 @@ aside {
* ---------------------
*/
-/* example code blocks */
-.example-snippet {
- margin: 2em 0;
- font-size: 85%;
+.pure-img-responsive {
+ max-width: 100%;
+ height: auto;
}
-/* green call to action button class */
-.notice {
- background-color: #61B842;
- color: white;
+.pure-paginator .pure-button {
+ -webkit-box-sizing: content-box;
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
}
.pure-button {
@@ -366,69 +428,91 @@ a.pure-button-primary {
color: white;
}
+/* green call to action button class */
+.notice {
+ background-color: #61B842;
+ color: white;
+}
+
.muted {
color: #ccc;
}
+
/* --------------------------
* Responsive Styles
* --------------------------
*/
-@media (max-width: 870px) {
-
- /* Navigation Push Styles */
- #layout {
- position: relative;
- padding-left: 0;
- }
- #layout.active {
- position: relative;
- left: 150px;
- }
- #layout.active #menu {
- left: 150px;
- width: 150px;
- }
+@media screen and (min-width: 35.5em) {
- #menu {
- left: 0;
+ .legal-license {
+ text-align: left;
+ margin: 0;
}
-
- .menu-link {
- position: fixed;
- left: 0;
- display: block;
+ .legal-copyright,
+ .legal-links,
+ .legal-links li {
+ text-align: right;
+ margin: 0;
}
- #layout.active .menu-link {
- left: 150px;
- }
}
-@media (max-width: 767px) {
+@media screen and (min-width: 48em) {
+
+ .l-wrap,
+ .l-wrap .content {
+ padding-left: 1em;
+ padding-right: 1em;
+ }
+ .content .l-wrap {
+ margin-left: -2em;
+ margin-right: -2em;
+ }
.header,
.content {
- font-size: 87.5%;
+ padding-left: 2em;
+ padding-right: 2em;
}
- .header,
- .content,
- .legal {
- padding-left: 1.1429em;
- padding-right: 1.1429em;
+ .header h1 {
+ font-size: 350%;
+ }
+ .header h2 {
+ font-size: 150%;
}
- .legal-license,
- .legal-copyright,
- .legal-links,
- .legal-links li {
- text-align: center;
+ .content p {
+ font-size: 1.125em;
}
- /* normalize paddings on small screens*/
- .l-hbox {
- padding: 1.3em;
+ .code {
+ margin-left: auto;
+ margin-right: auto;
+ border-left-width: 1px;
+ border-right-width: 1px;
+ }
+
+}
+
+@media (min-width: 58em) {
+
+ #layout {
+ padding-left: 160px; /* left col width "#menu" */
+ left: 0;
+ }
+ #menu {
+ left: 160px;
+ }
+ .menu-link {
+ position: fixed;
+ left: 160px;
+ display: none;
}
+ #layout.active .menu-link {
+ left: 160px;
+ }
+
}
diff --git a/public/css/rainbow/baby-blue.css b/public/css/rainbow/baby-blue.css
index 1d4cc3e1..76c4f173 100644
--- a/public/css/rainbow/baby-blue.css
+++ b/public/css/rainbow/baby-blue.css
@@ -4,63 +4,50 @@
* @author tilomitra
*/
-pre {
- word-wrap: break-word;
- padding: 6px 10;
- line-height: 1.3em;
- margin-bottom: 20;
- border: 1px solid #eee;
-}
-
-code {
- border: none;
- margin: 0 2px;
- font-size: 0.8em;
- padding: 0.4em 0.6em;
- white-space: nowrap;
-}
-
-pre code {
- padding: 0;
- margin: 0;
- font-size: 0.95em;
- white-space: pre-wrap;
-}
-
-pre, code {
- font-family: Consolas, 'Liberation Mono', Courier, monospace;
- color: #333;
- background: rgb(250, 250, 250);
-}
-
-
pre .comment {
color: #999;
}
-
-pre .tag, pre .tag-name, pre .support.tag-name {
+pre .tag,
+pre .tag-name,
+pre .support.tag-name {
color: rgb(85, 85, 85);
}
-pre .keyword, pre .css-property, pre .vendor-prefix, pre .sass, pre .class, pre .id, pre .css-value, pre .entity.function, pre .storage.function {
+pre .keyword,
+pre .css-property,
+pre .vendor-prefix,
+pre .sass,
+pre .class,
+pre .id,
+pre .css-value,
+pre .entity.function,
+pre .storage.function {
font-weight: bold;
}
-pre .css-property, pre .css-value, pre .vendor-prefix, pre .support.namespace {
+pre .css-property,
+pre .css-value,
+pre .vendor-prefix,
+pre .support.namespace {
color: #333;
}
-pre .constant.numeric, pre .keyword.unit, pre .hex-color {
+pre .constant.numeric,
+pre .keyword.unit,
+pre .hex-color {
font-weight: normal;
color: #099;
}
-pre .attribute, pre .variable, pre .support {
+pre .attribute,
+pre .variable,
+pre .support {
color: #757575; /* skinbuilder block-page-text-normal with #1f8dd6 as primary */
}
-pre .string, pre .support.value {
+pre .string,
+pre .support.value {
font-weight: normal;
color: #3b8bba; /* skinbuilder block-mine-text-low with #1f8dd6 as primary */
}
diff --git a/public/img/common/file-icons.png b/public/img/common/file-icons.png
new file mode 100644
index 00000000..58fdd60c
Binary files /dev/null and b/public/img/common/file-icons.png differ
diff --git a/public/img/layouts/blog@2x.jpg b/public/img/layouts/blog@2x.jpg
index 7f8bbd19..8311f75f 100644
Binary files a/public/img/layouts/blog@2x.jpg and b/public/img/layouts/blog@2x.jpg differ
diff --git a/public/img/layouts/email@2x.jpg b/public/img/layouts/email@2x.jpg
index e60ee22d..97a4bf24 100644
Binary files a/public/img/layouts/email@2x.jpg and b/public/img/layouts/email@2x.jpg differ
diff --git a/public/img/layouts/gallery@2x.jpg b/public/img/layouts/gallery@2x.jpg
index 05cf785a..3a9df1d1 100644
Binary files a/public/img/layouts/gallery@2x.jpg and b/public/img/layouts/gallery@2x.jpg differ
diff --git a/public/img/layouts/marketing@2x.jpg b/public/img/layouts/marketing@2x.jpg
index beaa5340..9950e77b 100644
Binary files a/public/img/layouts/marketing@2x.jpg and b/public/img/layouts/marketing@2x.jpg differ
diff --git a/public/img/logo-footer.png b/public/img/logo-footer.png
deleted file mode 100644
index 106059c6..00000000
Binary files a/public/img/logo-footer.png and /dev/null differ
diff --git a/public/vendor/rainbow/LICENSE b/public/vendor/rainbow/LICENSE
deleted file mode 100644
index 430d42bb..00000000
--- a/public/vendor/rainbow/LICENSE
+++ /dev/null
@@ -1,177 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
-TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
-2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
-3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
-4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
-5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
-6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
-7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
-8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
-9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
-END OF TERMS AND CONDITIONS
diff --git a/public/vendor/rainbow/rainbow-min.js b/public/vendor/rainbow/rainbow-min.js
deleted file mode 100644
index 33d9e790..00000000
--- a/public/vendor/rainbow/rainbow-min.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Rainbow v1.1.8 rainbowco.de | included languages: generic, javascript, html, css */
-window.Rainbow=function(){function q(a){var b,c=a.getAttribute&&a.getAttribute("data-language")||0;if(!c){a=a.attributes;for(b=0;b=e[d][c])delete e[d][c],delete j[d][c];if(a>=c&&ac&&b'+b+""}function s(a,b,c,h){var f=a.exec(c);if(f){++t;!b.name&&"string"==typeof b.matches[0]&&(b.name=b.matches[0],delete b.matches[0]);var k=f[0],i=f.index,u=f[0].length+i,g=function(){function f(){s(a,b,c,h)}t%100>0?f():setTimeout(f,0)};if(C(i,u))g();else{var m=v(b.matches),l=function(a,c,h){if(a>=c.length)h(k);else{var d=f[c[a]];if(d){var e=b.matches[c[a]],i=e.language,g=e.name&&e.matches?
-e.matches:e,j=function(b,d,e){var i;i=0;var g;for(g=1;g/g,">").replace(/&(?![\w\#]+;)/g,
-"&"),b,c)}function o(a,b,c){if(b meta}}
{{> title}}
{{> styles}}
+ {{> html5shiv}}
{{> typekit}}
{{> analytics}}
diff --git a/views/layouts/main.handlebars b/views/layouts/main.handlebars
index c2ef45a7..3138c073 100644
--- a/views/layouts/main.handlebars
+++ b/views/layouts/main.handlebars
@@ -3,30 +3,36 @@
{{> meta}}
{{> title}}
-
- {{addLocalCSS "/css/main.css" prepend=true}}
+ {{addLocalCSS "/css/main.css" prepend=true hasOldIE=true}}
+ {{addLocalCSS "/css/main-grid.css" prepend=true hasOldIE=true}}
{{addLocalCSS "/css/rainbow/baby-blue.css"}}
{{> styles}}
+ {{> html5shiv}}
{{> typekit}}
{{> analytics}}
-
+
{{> menu}}
-
+
{{{body}}}
- {{> legal}}
-
+
{{addLocalJS "/js/ui.js"}}
- {{addLocalJS "/vendor/rainbow/rainbow-min.js"}}
+ {{addLocalJS "/vendor/rainbow/js/rainbow.min.js"}}
+ {{addLocalJS "/vendor/rainbow/js/language/generic.js"}}
+ {{addLocalJS "/vendor/rainbow/js/language/html.js"}}
+ {{addLocalJS "/vendor/rainbow/js/language/css.js"}}
+ {{addLocalJS "/vendor/rainbow/js/language/javascript.js"}}
{{#localJS}}
diff --git a/views/pages/base.handlebars b/views/pages/base.handlebars
index cf258ade..d319a9d8 100644
--- a/views/pages/base.handlebars
+++ b/views/pages/base.handlebars
@@ -10,7 +10,7 @@
All modules in Pure build on top of Normalize.css. It's our foundational layer to maintain some degree of cross-browser consistency. We use Normalize v1.x because it supports older versions of Internet Explorer. We like Normalize so much that we put it on our CDN. You can pull in Normalize.css by adding this {{code ""}} element on your page:
- {{#code}}
+ {{#code wrap=true}}
{{/code}}
diff --git a/views/pages/customize.handlebars b/views/pages/customize.handlebars
index bce9d4e2..d50cece0 100644
--- a/views/pages/customize.handlebars
+++ b/views/pages/customize.handlebars
@@ -2,6 +2,8 @@
{{setSubTitle "Choose the modules that you need."}}
{{setActiveNav "customize"}}
+{{addLocalCSS "/css/customize.css"}}
+
{{> header}}
@@ -79,7 +81,7 @@
You can also pull in the modules individually. The Yahoo! CDN supports combo handling, so you can combo your requests and get a single CSS file back. Here's an example of a combo URL that only includes CSS for Base, Grids, and Forms:
-{{#code}}
+{{#code wrap=true}}
{{/code}}
diff --git a/views/pages/grids.handlebars b/views/pages/grids.handlebars
index 6bcbfd9f..c18a02da 100644
--- a/views/pages/grids.handlebars
+++ b/views/pages/grids.handlebars
@@ -202,7 +202,7 @@
Grids is part of the Pure CSS file. However, if you just want Grids and not the other modules, you can pull it down separately. Just include this {{code ""}} element in your {{code ""}}.
- {{#code}}
+ {{#code wrap=true}}
{{/code}}
diff --git a/views/pages/home.handlebars b/views/pages/home.handlebars
index 67f818d4..79f1538c 100644
--- a/views/pages/home.handlebars
+++ b/views/pages/home.handlebars
@@ -6,153 +6,139 @@
- Pure is ridiculously tiny. The entire set of modules clocks in at {{fileSize "pure"}}* minified and gzipped, without forgoing responsive styles, design, or ease of use. Crafted with mobile devices in mind, it was important to us to keep our file sizes small, and every line of CSS was carefully considered. If you decide to only use a subset of these modules, you'll save even more bytes.
-
-
-
- * We can add correctly :) the numbers above are individual module sizes; when grouped together gzipping compresses them even more.
-
-
+
CSS with a minimal footprint.
+
+ Pure is ridiculously tiny. The entire set of modules clocks in at {{fileSize "pure"}}* minified and gzipped. Crafted with mobile devices in mind, it was important to us to keep our file sizes small, and every line of CSS was carefully considered. If you decide to only use a subset of these modules, you'll save even more bytes.
+
+
+
+ * We can add correctly :) the numbers above are individual module sizes; when grouped together gzipping compresses them even more.
+
-
-
-
-
Your CSS foundation.
-
- Pure builds on Normalize.css and provides layout and styling for native HTML elements, plus the most common UI components. It's what you need, without the cruft.
-
-
+
+
+
Your CSS foundation.
+
+ Pure builds on Normalize.css and provides layout and styling for native HTML elements, plus the most common UI components. It's what you need, without the cruft.
+
-
-
-
Made with mobile in mind.
-
- Pure is responsive out of the box, so elements look great on all screen sizes. Customize your styles with the Skin Builder to make your style your own.
-
-
+
+
Made with mobile in mind.
+
+ Pure is responsive out of the box, so elements look great on all screen sizes. Customize your styles with the Skin Builder to make your style your own.
+
-
-
-
Stays out of your way.
-
- Pure has minimal styles and encourages you to write your application styles on top of it. It's designed to get out of your way and makes it easy to override styles.
-
-
+
+
Stays out of your way.
+
+ Pure has minimal styles and encourages you to write your application styles on top of it. It's designed to get out of your way and makes it easy to override styles.
+
- By using Grids, Menus, and more, it's easy to create beautiful responsive layouts for all screen sizes. We've made it easy for you to get started. Take a look at a few different layouts and start your next web project with a rock-solid foundation.
-
+
+
Create responsive layouts.
+
+ By using Grids, Menus, and more, it's easy to create beautiful responsive layouts for all screen sizes. We've made it easy for you to get started. Take a look at a few different layouts and start your next web project with a rock-solid foundation.
+
- Unlike other frameworks, Pure's design is unopinionated, minimal and flat. We believe that it's much easier to add new CSS rules than to overwrite existing rules. By adding a few lines of CSS, you can customize Pure's appearance to work with your web project.
-
+ Unlike other frameworks, Pure's design is unopinionated, minimal and flat. We believe that it's much easier to add new CSS rules than to overwrite existing rules. By adding a few lines of CSS, you can customize Pure's appearance to work with your web project.
+
diff --git a/views/pages/layouts/examples/blog.handlebars b/views/pages/layouts/examples/blog.handlebars
index 0807ffb3..d433c9e8 100644
--- a/views/pages/layouts/examples/blog.handlebars
+++ b/views/pages/layouts/examples/blog.handlebars
@@ -1,11 +1,12 @@
{{setTitle "Blog"}}
{{setSubTitle "A layout example that shows off a blog page with a list of posts."}}
{{setTags "base" "grids" "buttons" "menus"}}
-{{addLocalCSS "/css/layouts/blog.css"}}
+{{addLocalCSS "/css/main-grid.css" hasOldIE=true}}
+{{addLocalCSS "/css/layouts/blog.css" hasOldIE=true}}
-
-
-
+
+
+
A Sample Blog
Creating a blog layout using Pure
@@ -21,11 +22,11 @@
-
+
-
-
+
+
Pinned Post
@@ -92,10 +93,11 @@
-
-
+
+
@@ -104,9 +106,10 @@
-
+
@@ -140,7 +143,7 @@
-
diff --git a/views/pages/layouts/examples/email.handlebars b/views/pages/layouts/examples/email.handlebars
index fddf31a5..7453911c 100644
--- a/views/pages/layouts/examples/email.handlebars
+++ b/views/pages/layouts/examples/email.handlebars
@@ -1,9 +1,9 @@
{{setTitle "Email"}}
{{setSubTitle "A layout example that shows off a responsive email layout."}}
{{setTags "base" "grids" "buttons" "menus"}}
-{{addLocalCSS "/css/layouts/email.css"}}
+{{addLocalCSS "/css/layouts/email.css" hasOldIE=true}}
-
+
Menu
diff --git a/views/pages/layouts/examples/gallery.handlebars b/views/pages/layouts/examples/gallery.handlebars
index bb4513c4..94a1ffd2 100644
--- a/views/pages/layouts/examples/gallery.handlebars
+++ b/views/pages/layouts/examples/gallery.handlebars
@@ -1,7 +1,8 @@
{{setTitle "Photo Gallery"}}
{{setSubTitle "A layout example that shows off a responsive photo gallery."}}
{{setTags "base" "grids" "forms" "buttons" "menus"}}
-{{addLocalCSS "/css/layouts/gallery.css"}}
+{{addLocalCSS "/css/layouts/gallery-grid.css" hasOldIE=true}}
+{{addLocalCSS "/css/layouts/gallery.css" hasOldIE=true}}
- The HTML and CSS for this layout show how you can make a modern, responsive landing page for your next product. Browse through the source to see how we use menus and responsive grids to create this layout. Shrink your browser width and watch the layout transform and play nice with small screens.
-
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor.
+
-
-
-
-
Some small text
-
-
Lorem ipsum dolor sit amet.
-
- Pellentesque hendrerit lobortis ornare. Fusce luctus imperdiet consequat. Nullam quis nunc quis ligula luctus vestibulum non quis libero. Suspendisse tristique nisl ut velit facilisis sit amet lobortis nulla pharetra.
-
-
-
-
-
-
-
-
-
-
+
Dolore magna aliqua. Uis aute irure.
-
-
-
-
-
-
+
+
+
-
-
-
-
Subheading
-
- Donec suscipit, risus vel venenatis ornare, nibh massa ultrices diam, a elementum metus felis sit amet eros. Phasellus pellentesque euismod massa sed pellentesque.
-
-
-
+
+
-
-
-
Subheading
-
- Donec suscipit, risus vel venenatis ornare, nibh massa ultrices diam, a elementum metus felis sit amet eros. Phasellus pellentesque euismod massa sed pellentesque.
-
-
-
+
+
-
-
-
Subheading
-
- Donec suscipit, risus vel venenatis ornare, nibh massa ultrices diam, a elementum metus felis sit amet eros. Phasellus pellentesque euismod massa sed pellentesque.
-
-
+
+
+
-
-
-
Subheading
-
- Donec suscipit, risus vel venenatis ornare, nibh massa ultrices diam, a elementum metus felis sit amet eros. Phasellus pellentesque euismod massa sed pellentesque.
-
-
+
+
Contact Us
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat.
+
+
+
More Information
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua.
+