Skip to content

Commit

Permalink
Update monospace font stack fix to work in Safari 4
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Aug 11, 2011
1 parent 1b36909 commit 1311138
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
Base
========================================================================== */
Expand Down Expand Up @@ -78,7 +79,7 @@ ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
Expand Down

0 comments on commit 1311138

Please sign in to comment.