Permalink
Browse files

Rainbow the frontmatter backgrounds

  • Loading branch information...
mirisuzanne committed Jul 19, 2012
1 parent 19f3ca0 commit 4729b1aa6da26be44651dac5af17bf96fcd8d2b8
View
@@ -1,6 +1,6 @@
---
-body_class: demo
+body_class: null
chapter_break: after
description: 'Epigraph: "Good Friday" by Cocorosie.'
next:
View
@@ -32,6 +32,7 @@ by [Eric A. Meyer][eam]
<!-- meta
description: 'Epigraph: "Good Friday" by Cocorosie.'
slug: epigraph
+body_class:
prev:
slug: thanks
url: thanks.html
@@ -7,7 +7,7 @@
// ----------------------------------------------------------------------------
// general
-html { @include back($off-green-hint); }
+html { @include back($off-yellow-lightest); }
// ----------------------------------------------------------------------------
// pages
@@ -3,9 +3,9 @@
$total-columns: 6;
-$bg : $off-blue-hint;
+$bg : $off-orange-lighter;
$color : $base;
-$grad : radial-gradient(center rhythm(4), $off-blue-hint, $off-blue-lightest, $off-pink-lighter);
+$grad : radial-gradient(center rhythm(4), $off-orange-lightest, $off-orange-light, $off-orange);
#dedication {
@include background($bg $noise);
@@ -1,2 +1,16 @@
// ----------------------------------------------------------------------------
// epigraph: cocorosie
+
+$bg : $off-blue-lightest;
+$bg-grad : linear-gradient(280deg, $darkest, $darker 50%, $off-blue-hint 50%, $off-blue-light);
+
+#epigraph {
+ @extend %type;
+ @include background($bg $noise);
+ @include background-image($noise, $bg-grad);
+
+ [role="main"] {
+ @include container;
+ @include padding-leader(2);
+ }
+}
@@ -3,8 +3,13 @@
$total-columns : 6;
+$bg : $off-green-lightest;
+$bg-grad : linear-gradient(top left, $yellow-hint, $off-green-lighter);
+
#thanks {
@extend %type;
+ @include background($bg $noise);
+ @include background-image($noise, $bg-grad);
h1, h2 { font-weight: bold; }
h1 {
@@ -15,6 +20,5 @@ $total-columns : 6;
[role="main"] {
@include container;
@include padding-leader(2);
- // background: rgba(white,.5);
}
}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 4729b1a

Please sign in to comment.