mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-05 05:27:28 +02:00
style: Improve render of example code
This commit is contained in:
@@ -139,6 +139,11 @@ pre{
|
||||
|
||||
pre{
|
||||
padding: 5px 10px;
|
||||
white-space: pre-wrap;
|
||||
white-space: -moz-pre-wrap;
|
||||
white-space: -pre-wrap;
|
||||
white-space: -o-pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
.highlight { background: #ffffff; }
|
||||
.highlight { background: #ffffff; margin: 0 4px; font-size: 0.8em; }
|
||||
.highlight .c { color: #999988; font-style: italic } /* Comment */
|
||||
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
|
||||
.highlight .k { font-weight: bold } /* Keyword */
|
||||
|
Reference in New Issue
Block a user