updated sass to the latest Octopress

This commit is contained in:
Brandon Mathis 2011-07-23 09:49:56 -04:00
parent 4235e2ed17
commit 7eb60cb90a
4 changed files with 11 additions and 1 deletions

View File

@ -134,4 +134,11 @@ blockquote {
font-size: 1.4em; font-size: 1.4em;
line-height: 1.45em; line-height: 1.45em;
} }
/* @extend this to force long lines of continuous text to wrap */
.force-wrap {
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
white-space: pre-wrap;
word-wrap: break-word;
}

View File

@ -1,6 +1,7 @@
article { article {
overflow: hidden; overflow: hidden;
padding-top: 1em; padding-top: 1em;
a { @extend .force-wrap; }
header { header {
position: relative; position: relative;
padding-top: 2em; padding-top: 2em;

View File

@ -214,3 +214,4 @@ figure[role=code] {
text-shadow: #cbcccc 0 1px 0; text-shadow: #cbcccc 0 1px 0;
padding-left: 3em; padding-left: 3em;
} }

View File

@ -4,6 +4,7 @@
aside[role=sidebar] { aside[role=sidebar] {
color: $sidebar-color; color: $sidebar-color;
text-shadow: lighten($sidebar-bg, 8) 0 1px; text-shadow: lighten($sidebar-bg, 8) 0 1px;
a { @extend .force-wrap; }
section { section {
@extend .sans; @extend .sans;
font-size: .8em; font-size: .8em;