2007-03-22 10:30:00 -07:00
|
|
|
@charset "utf-8";
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
@namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
|
|
|
|
|
|
|
|
*|*:root {
|
|
|
|
background-color: white;
|
2009-01-29 19:31:24 -08:00
|
|
|
color: black;
|
2011-07-22 12:09:41 -07:00
|
|
|
direction: ltr;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
#viewsource {
|
|
|
|
font-family: -moz-fixed;
|
|
|
|
font-weight: normal;
|
|
|
|
white-space: pre;
|
2011-11-01 18:05:50 -07:00
|
|
|
counter-reset: line;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
#viewsource.wrap {
|
2008-03-08 01:44:35 -08:00
|
|
|
white-space: pre-wrap;
|
2008-07-24 00:16:18 -07:00
|
|
|
word-wrap: break-word;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
pre {
|
|
|
|
font: inherit;
|
|
|
|
color: inherit;
|
|
|
|
white-space: inherit;
|
2011-11-01 18:05:50 -07:00
|
|
|
margin: 0 0 0 5ch;
|
|
|
|
}
|
|
|
|
pre[id]:before,
|
|
|
|
span[id]:before {
|
|
|
|
content: counter(line) " ";
|
|
|
|
counter-increment: line;
|
|
|
|
-moz-user-select: none;
|
|
|
|
display: inline-block;
|
|
|
|
width: 5ch;
|
|
|
|
margin: 0 0 0 -5ch;
|
|
|
|
text-align: right;
|
|
|
|
color: #ccc;
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
.start-tag {
|
|
|
|
color: purple;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.end-tag {
|
|
|
|
color: purple;
|
2011-07-22 12:09:41 -07:00
|
|
|
font-weight: bold;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
.comment {
|
|
|
|
color: green;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
.cdata {
|
|
|
|
color: #CC0066;
|
|
|
|
}
|
|
|
|
.doctype {
|
|
|
|
color: steelblue;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
.pi {
|
|
|
|
color: orchid;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
.entity {
|
|
|
|
color:#FF4500;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.text {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.attribute-name {
|
|
|
|
color: black;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
.attribute-value {
|
|
|
|
color: blue;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
.markupdeclaration {
|
|
|
|
color: steelblue;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2011-11-01 04:33:11 -07:00
|
|
|
span:not(.error), a:not(.error) {
|
2011-07-22 12:09:41 -07:00
|
|
|
unicode-bidi: embed;
|
|
|
|
}
|
2011-07-28 14:01:40 -07:00
|
|
|
.error,
|
|
|
|
.error > :-moz-any(.start-tag, .end-tag, .comment, .cdata, .doctype, .pi,
|
|
|
|
.entity, .attribute-name, .attribute-value) {
|
2007-03-22 10:30:00 -07:00
|
|
|
color: red;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|