home *** CD-ROM | disk | FTP | other *** search
/ ftp.swcp.com / ftp.swcp.com.zip / ftp.swcp.com / mac / mozilla-mac-0.9.sea.hqx / mozilla-mac-0.9 / res / viewsource.css < prev    next >
Cascading Style Sheet File  |  2001-05-05  |  2KB  |  90 lines

  1. /*
  2.  * The contents of this file are subject to the Netscape Public
  3.  * License Version 1.1 (the "License"); you may not use this file
  4.  * except in compliance with the License. You may obtain a copy of
  5.  * the License at http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the License is distributed on an "AS
  8.  * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  9.  * implied. See the License for the specific language governing
  10.  * rights and limitations under the License.
  11.  *
  12.  * The Original Code is mozilla.org code.
  13.  *
  14.  * The Initial Developer of the Original Code is Netscape
  15.  * Communications Corporation.  Portions created by Netscape are
  16.  * Copyright (C) 1998 Netscape Communications Corporation. All
  17.  * Rights Reserved.
  18.  *
  19.  * Contributor(s): 
  20.  *      Blake Ross <BlakeR1234@aol.com>
  21.  */
  22.  
  23. @namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
  24.  
  25. html {
  26.   background-color: window;
  27. }
  28. .viewsource {
  29.   font-family: monospace;
  30.   font-weight: normal;
  31.   color: windowtext;
  32.   white-space: pre;
  33.   font-size: 12px;
  34.   padding-top: 8px; 
  35.   margin-left: 8px;
  36. }
  37. .start-tag {
  38.  color: purple;
  39.  font-weight: bold;
  40. }
  41. .end-tag {
  42.  color: purple;
  43.  font-weight: bold; 
  44. }
  45. .comment {
  46.  color: green;
  47.  font-style: italic;
  48. }
  49. .cdata {
  50.  color: #CC0066;
  51. }
  52. .doctype {
  53.  color: steelblue;
  54.  font-style: italic;
  55. }
  56. .pi {
  57.  color: orchid;
  58.  font-style: italic;
  59. }
  60. .entity {
  61.  color:#FF4500;
  62.  font-weight: normal;
  63. }
  64. .text {
  65.   font-weight: normal;
  66. }
  67. .attribute-name {
  68.  color: black;
  69.  font-weight: bold;
  70. }
  71. .attribute-value {
  72.  color: blue;
  73.  font-weight: normal;
  74. }
  75. .summary {
  76.  display: block;
  77.  background-color: #FFFFCC;
  78.  width: 90%;
  79.  border: solid;
  80.  border-width: 1pt;
  81.  font-family: sans-serif;
  82. }
  83. .popup {
  84.   font-weight: normal;
  85. }
  86. .markupdeclaration {
  87.  color: steelblue;
  88.  font-style: italic;
  89. }
  90.