Created
May 23, 2013 02:51
-
-
Save psynaptic/5632487 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* api.drupal.org syntax highlighting */ | |
pre.php { | |
background-color: #EDF1F3; | |
border: 1px solid #ccc; | |
padding: 3px; | |
} | |
pre.php code, | |
pre.php p { | |
font-family: "Bitstream Vera Sans Mono", Monaco, "Lucida Console", monospace; | |
line-height: 1.334; | |
color: #333; | |
} | |
span.php-boundry { | |
color: #333; | |
} | |
pre.php .php-comment { | |
color: #666; | |
font-style: normal; | |
} | |
pre.php .php-function-or-constant { | |
color: #00A; | |
} | |
pre.php .php-function-or-constant a.local { | |
color: #027AC6; | |
font-weight: normal; | |
text-decoration: none; | |
} | |
pre.php .php-function-or-constant a.local:hover { | |
text-decoration: underline; | |
} | |
pre.php a.php-manual { | |
color: #027AC6; | |
font-weight: normal; | |
text-decoration: none; | |
} | |
pre.php a.php-manual:hover { | |
text-decoration: underline; | |
} | |
pre.php .php-variable { | |
color: #00227D; | |
} | |
pre.php .php-string { | |
color: #A00; | |
} | |
pre.php .php-constant { | |
color: #A33; | |
} | |
pre.php .php-keyword { | |
color: #060; | |
} | |
/* Soft wrap */ | |
pre.php code { | |
white-space: pre-wrap; /* CSS3 */ | |
white-space: -moz-pre-wrap; /* Gecko */ | |
white-space: -pre-wrap; /* Opera 4-6 */ | |
white-space: -o-pre-wrap; /* Opera 7 */ | |
word-wrap: break-word; /* IE 5.5+ */ | |
} | |
pre { | |
overflow: visible; | |
} | |
/* No wrap */ | |
pre.php code.no-wrap { | |
white-space: pre; | |
} | |
pre.no-wrap { | |
overflow: auto; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment