Permalink
Browse files

VictorL - Updated About quotes styling

  • Loading branch information...
Blisse committed Jan 17, 2014
1 parent 44473f4 commit 3bccc96ef9b688fea01b49af7c372b0e2c5b769c
View
@@ -49,20 +49,22 @@
<h2 class="bg">
Favourite Quotes
</h2>
- {% for quote in site.data.quotes %}
- <blockquote>
- {% for line in quote.lines %}
- <p>
- {{ line }}
- </p>
- {% endfor %}
- <cite>
- {{ quote.cite }}
- </cite>
- </blockquote>
+ <div class="about-quotes">
+ {% for quote in site.data.quotes %}
+ <blockquote>
+ {% for line in quote.lines %}
+ <p>
+ {{ line }}
+ </p>
+ {% endfor %}
+ <cite>
+ {{ quote.cite }}
+ </cite>
+ </blockquote>
+ {% endfor %}
+ </div>
- {% endfor %}
</div>
</div>
View
Binary file not shown.
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
@@ -9,5 +9,6 @@ $color-hovergray: rgba(138, 138, 138, 1.0);
$color-darkgray: rgba(66, 66, 66, 1.0);
$color-darkgray-inactive: rgba(66, 66, 66, 0.4);
$color-lightgray: rgba(188, 188, 188, 1.0);
+$color-ultralightgray: rgba(238, 238, 238, 1.0);
$color-bg:$color-white;
View
@@ -213,6 +213,20 @@ div#nex-menu {
/* #About
================================================== */
+.about-quotes blockquote {
+ border-left: 2px solid #990100;
+ background: #eeeeee;
+ padding: 1.6rem;
+ margin: 3.2rem 0; }
+ .about-quotes blockquote p {
+ font-size: 1.2rem;
+ color: #424242;
+ padding: 0.6rem 1.6rem; }
+ .about-quotes blockquote cite {
+ color: #424242;
+ float: right;
+ margin-bottom: 0.6rem; }
+
/* #Blog
================================================== */
.tags {
View
@@ -298,6 +298,28 @@
/* #About
================================================== */
+ .about-quotes {
+
+ blockquote {
+ border-left: 2px solid $color-red;
+ background: $color-ultralightgray;
+
+ padding: 1.6rem;
+ margin: 3.2rem 0;
+
+ p {
+ font-size: 1.2rem;
+ color: $color-darkgray;
+ padding: 0.6rem 1.6rem;
+ }
+
+ cite {
+ color: $color-darkgray;
+ float: right;
+ margin-bottom: 0.6rem;
+ }
+ }
+ }
/* #Blog
================================================== */
View
Binary file not shown.
View
Binary file not shown.

0 comments on commit 3bccc96

Please sign in to comment.