From: Daniel Gruno Date: Wed, 25 Apr 2012 08:52:43 +0000 (+0000) Subject: Update CSS. X-Git-Tag: 2.5.0-alpha~7049 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6246448a94547c213545cbc37309de21363b7ef3;p=thirdparty%2Fapache%2Fhttpd.git Update CSS. Add recognition of Directory, Location, VirtualHost, If/Else and Proxy as enclosures in httpd configurations git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330161 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/style/css/prettify.css b/docs/manual/style/css/prettify.css index b4182f036b4..110bf491a7c 100644 --- a/docs/manual/style/css/prettify.css +++ b/docs/manual/style/css/prettify.css @@ -60,6 +60,8 @@ pre.lang-config{ border: none; } +.lang-config .tag { color: #821; font-weight: bold } /* a markup tag name */ + /* Highlighting style for C source code */ @@ -76,7 +78,7 @@ pre.lang-c{ .lang-c .str { color: #009606 } /* string content */ .lang-c .kwd { color: #00C; font-weight: bold } /* a keyword */ .lang-c .typ { color: #808 } /* a type name */ - +.lang-c .tag { color: #248 } /* a markup tag name */ /* Highlighting style for Lua source code */ diff --git a/docs/manual/style/scripts/prettify.js b/docs/manual/style/scripts/prettify.js index 4ef51ca76bf..c9cc956486f 100644 --- a/docs/manual/style/scripts/prettify.js +++ b/docs/manual/style/scripts/prettify.js @@ -887,7 +887,7 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[ fallthroughStylePatterns.push( // TODO(mikesamuel): recognize non-latin letters and numerals in idents [PR_LITERAL, /^@[a-z_$][a-z_$@0-9]*|NULL/i, null], - + [PR_TAG, /^Directory|Location|VirtualHost|If|Else|ElseIf|Proxy|LoadBalancer/i, null], [PR_TYPE, /^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_(t|req)\b)/, null], [PR_TAG, /^apr_[a-z_0-9]+|ap_[a-z_0-9]+/i, null], [PR_PLAIN, /^[a-z_$][a-z_$@0-9]*/i, null], @@ -1266,7 +1266,6 @@ var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[ 'hashComments': true, 'cStyleComments': true, 'types': C_TYPES, - 'functions': "apr_[a-z_]+,ap_rputs" }), ['c', 'cc', 'cpp', 'cxx', 'cyc', 'm']); registerLangHandler(sourceDecorator({ 'keywords': 'null,true,false'