[cfe-commits] r49886 - /cfe/trunk/lib/Rewrite/HTMLRewrite.cpp

Ted Kremenek kremenek at apple.com
Thu Apr 17 19:12:43 PDT 2008


Author: kremenek
Date: Thu Apr 17 21:12:39 2008
New Revision: 49886

URL: http://llvm.org/viewvc/llvm-project?rev=49886&view=rev
Log:
Updated CSS colors.  Patch by Cedric Venet!

Modified:
    cfe/trunk/lib/Rewrite/HTMLRewrite.cpp

Modified: cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/HTMLRewrite.cpp?rev=49886&r1=49885&r2=49886&view=diff

==============================================================================
--- cfe/trunk/lib/Rewrite/HTMLRewrite.cpp (original)
+++ cfe/trunk/lib/Rewrite/HTMLRewrite.cpp Thu Apr 17 21:12:39 2008
@@ -261,19 +261,19 @@
       " body { color:#000000; background-color:#ffffff }\n"
       " body { font-family:Helvetica, sans-serif; font-size:10pt }\n"
       " h1 { font-size:14pt }\n"
-      " .code { border-spacing:0px; width:100%; }\n"
+      " .code { border-collapse:collapse; width:100%; }\n"
       " .code { font-family: \"Andale Mono\", monospace; font-size:10pt }\n"
       " .code { line-height: 1.2em }\n"
-      " .comment { color: #A0A0A0; font-style: oblique }\n"
-      " .keyword { color: #FF00FF }\n"
-      " .directive { color: #00A000 }\n"
+      " .comment { color: green; font-style: oblique }\n"
+      " .keyword { color: blue }\n"
+      " .directive { color: darkmagenta }\n"
       // Macro expansions.
       " .expansion { display: none; }\n"
       " .macro:hover .expansion { display: block; border: 2px solid #FF0000; "
           "padding: 2px; background-color:#FFF0F0; font-weight: normal; "
           "  -webkit-border-radius:5px;  -webkit-box-shadow:1px 1px 7px #000; "
           "position: absolute; top: -1em; left:10em; z-index: 1 } \n"
-      " .macro { color: #FF0000; font-weight: bold;"
+      " .macro { color: darkmagenta; background-color:LemonChiffon;"
              // Macros are position: relative to provide base for expansions.
              " position: relative }\n"
       " .num { width:2.5em; padding-right:2ex; background-color:#eeeeee }\n"





More information about the cfe-commits mailing list