From 649b5e03f0dec2a330888dfdd008064d6ffb1e9e Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Sat, 23 Jul 2011 09:49:56 -0400 Subject: [PATCH] updated sass to the latest Octopress --- sass/base/_typography.scss | 9 ++++++++- sass/partials/_blog.scss | 1 + sass/partials/_syntax.scss | 1 + sass/partials/sidebar/_base.scss | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/sass/base/_typography.scss b/sass/base/_typography.scss index 06d1a98..10cc28f 100644 --- a/sass/base/_typography.scss +++ b/sass/base/_typography.scss @@ -134,4 +134,11 @@ blockquote { font-size: 1.4em; 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; +} diff --git a/sass/partials/_blog.scss b/sass/partials/_blog.scss index cc8c684..64ec3aa 100644 --- a/sass/partials/_blog.scss +++ b/sass/partials/_blog.scss @@ -1,6 +1,7 @@ article { overflow: hidden; padding-top: 1em; + a { @extend .force-wrap; } header { position: relative; padding-top: 2em; diff --git a/sass/partials/_syntax.scss b/sass/partials/_syntax.scss index ba84400..bb350ed 100644 --- a/sass/partials/_syntax.scss +++ b/sass/partials/_syntax.scss @@ -214,3 +214,4 @@ figure[role=code] { text-shadow: #cbcccc 0 1px 0; padding-left: 3em; } + diff --git a/sass/partials/sidebar/_base.scss b/sass/partials/sidebar/_base.scss index b07dffa..08f04d2 100644 --- a/sass/partials/sidebar/_base.scss +++ b/sass/partials/sidebar/_base.scss @@ -4,6 +4,7 @@ aside[role=sidebar] { color: $sidebar-color; text-shadow: lighten($sidebar-bg, 8) 0 1px; + a { @extend .force-wrap; } section { @extend .sans; font-size: .8em;