Skip to content
Browse files

remove white-space: pre-line, since it's different from the general e…

…xpectation of <pre> tags
  • Loading branch information...
1 parent e928cf8 commit e350d61289d241d759a9ec26fecf847b3b738181 @jferris jferris committed Jan 17, 2011
Showing with 11 additions and 13 deletions.
  1. +10 −11 public/stylesheets/flutie.css
  2. +1 −2 public/stylesheets/sass/_type.scss
View
21 public/stylesheets/flutie.css
@@ -81,7 +81,7 @@ input, select {
body {
color: #222;
font-size: 13px;
- font-family: arial, "helvetica neue", helvetica, "lucida grande", sans-serif; }
+ font-family: "helvetica neue", arial, helvetica, "lucida grande", sans-serif; }
h1, h2, h3, h4, h5, h6 {
color: #111;
@@ -90,9 +90,9 @@ h1, h2, h3, h4, h5, h6 {
/* Success, error & notice boxes for messages and errors. */
div.error, div.notice, div.success,
#flash_failure, #flash_success, #flash_notice {
- border: 1px solid #ddd;
-moz-border-radius: 8px;
-webkit-border-radius: 8px;
+ border: 1px solid #ddd;
margin-bottom: 1em;
padding: 0.8em; }
@@ -150,33 +150,34 @@ hr.space {
/* for image replacement */
.ir {
+ background-repeat: no-repeat;
+ direction: ltr;
display: block;
- text-indent: -999em;
overflow: hidden;
- background-repeat: no-repeat;
text-align: left;
- direction: ltr; }
+ text-indent: -999em; }
/* Hide for both screenreaders and browsers
css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden {
display: none;
visibility: hidden; }
-/* Hide only visually, but have it available for screenreaders
+/* Hide only visually, but have it available for screenreaders
www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden */
.visuallyhidden {
- position: absolute !important;
clip: rect(1px 1px 1px 1px);
/* IE6, IE7 */
- clip: rect(1px, 1px, 1px, 1px); }
+ clip: rect(1px, 1px, 1px, 1px);
+ position: absolute !important; }
/* Hide visually and from screenreaders, but maintain layout */
.invisible {
visibility: hidden; }
/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
-.clearfix:before, .clearfix:after {
+.clearfix:before,
+.clearfix:after {
content: "\0020";
display: block;
height: 0;
@@ -332,8 +333,6 @@ pre, code {
/* CSS2 */
white-space: pre-wrap;
/* CSS 2.1 */
- white-space: pre-line;
- /* CSS 3 (and 2.1 as well, actually) */
word-wrap: break-word;
/* IE */ }
View
3 public/stylesheets/sass/_type.scss
@@ -118,7 +118,6 @@ pre, code {
margin: 1.5em 0;
white-space: pre; /* CSS2 */
white-space: pre-wrap; /* CSS 2.1 */
- white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
word-wrap: break-word; /* IE */
}
@@ -137,4 +136,4 @@ tt {
display: block;
line-height: 1.5;
margin: 1.5em 0;
-}
+}

0 comments on commit e350d61

Please sign in to comment.
Something went wrong with that request. Please try again.