You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2012/12/11 15:54:00 UTC
svn commit: r1420203 - /vcl/site/trunk/content/css/code.css
Author: jfthomps
Date: Tue Dec 11 14:53:59 2012
New Revision: 1420203
URL: http://svn.apache.org/viewvc?rev=1420203&view=rev
Log:
testing adding wrapping to pre tag
Modified:
vcl/site/trunk/content/css/code.css
Modified: vcl/site/trunk/content/css/code.css
URL: http://svn.apache.org/viewvc/vcl/site/trunk/content/css/code.css?rev=1420203&r1=1420202&r2=1420203&view=diff
==============================================================================
--- vcl/site/trunk/content/css/code.css (original)
+++ vcl/site/trunk/content/css/code.css Tue Dec 11 14:53:59 2012
@@ -1,3 +1,10 @@
+.codehilite pre {
+ white-space: pre-wrap; /* css-3 */
+ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
+ white-space: -pre-wrap; /* Opera 4-6 */
+ white-space: -o-pre-wrap; /* Opera 7 */
+ word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
.codehilite .hll { background-color: #ffffcc }
/*.codehilite { background: #f0f0f0; }*/ /* commented out because we set our own background for the codehilite pre element */
.codehilite .c { color: #60a0b0; font-style: italic } /* Comment */