michael@0: @charset "utf-8"; michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: @namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */ michael@0: michael@0: *|*:root { michael@0: background-color: white; michael@0: color: black; michael@0: direction: ltr; michael@0: -moz-control-character-visibility: visible; michael@0: } michael@0: #viewsource { michael@0: font-family: -moz-fixed; michael@0: font-weight: normal; michael@0: white-space: pre; michael@0: counter-reset: line; michael@0: } michael@0: #viewsource.wrap { michael@0: white-space: pre-wrap; michael@0: word-wrap: break-word; michael@0: } michael@0: pre { michael@0: font: inherit; michael@0: color: inherit; michael@0: white-space: inherit; michael@0: margin: 0 0 0 5ch; michael@0: } michael@0: pre[id]:before, michael@0: span[id]:before { michael@0: content: counter(line) " "; michael@0: counter-increment: line; michael@0: -moz-user-select: none; michael@0: display: inline-block; michael@0: width: 5ch; michael@0: margin: 0 0 0 -5ch; michael@0: text-align: right; michael@0: color: #ccc; michael@0: font-weight: normal; michael@0: font-style: normal; michael@0: } michael@0: .start-tag { michael@0: color: purple; michael@0: font-weight: bold; michael@0: } michael@0: .end-tag { michael@0: color: purple; michael@0: font-weight: bold; michael@0: } michael@0: .comment { michael@0: color: green; michael@0: font-style: italic; michael@0: } michael@0: .cdata { michael@0: color: #CC0066; michael@0: } michael@0: .doctype { michael@0: color: steelblue; michael@0: font-style: italic; michael@0: } michael@0: .pi { michael@0: color: orchid; michael@0: font-style: italic; michael@0: } michael@0: .entity { michael@0: color:#FF4500; michael@0: font-weight: normal; michael@0: } michael@0: .text { michael@0: font-weight: normal; michael@0: } michael@0: .attribute-name { michael@0: color: black; michael@0: font-weight: bold; michael@0: } michael@0: .attribute-value { michael@0: color: blue; michael@0: font-weight: normal; michael@0: } michael@0: .markupdeclaration { michael@0: color: steelblue; michael@0: font-style: italic; michael@0: } michael@0: span:not(.error), a:not(.error) { michael@0: unicode-bidi: embed; michael@0: } michael@0: span[id] { michael@0: unicode-bidi: -moz-isolate; michael@0: } michael@0: .error, michael@0: .error > :-moz-any(.start-tag, .end-tag, .comment, .cdata, .doctype, .pi, michael@0: .entity, .attribute-name, .attribute-value) { michael@0: color: red; michael@0: font-weight: bold; michael@0: }