Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / layout / style / viewsource.css
blob85526fe110fdf73493f61ab260e23f053d6faf8b
1 @charset "utf-8";
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 @namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
8 *|*:root {
9 background-color: white;
10 color: black;
11 direction: ltr;
12 -moz-control-character-visibility: visible;
14 #viewsource {
15 font-family: -moz-fixed;
16 font-weight: normal;
17 white-space: pre;
18 counter-reset: line;
20 #viewsource.wrap {
21 white-space: pre-wrap;
22 word-wrap: break-word;
24 pre {
25 font: inherit;
26 color: inherit;
27 white-space: inherit;
28 margin: 0 0 0 5ch;
30 pre[id]:before,
31 span[id]:before {
32 content: counter(line) " ";
33 counter-increment: line;
34 -moz-user-select: none;
35 display: inline-block;
36 width: 5ch;
37 margin: 0 0 0 -5ch;
38 text-align: right;
39 color: #ccc;
40 font-weight: normal;
41 font-style: normal;
43 .start-tag {
44 color: purple;
45 font-weight: bold;
47 .end-tag {
48 color: purple;
49 font-weight: bold;
51 .comment {
52 color: green;
53 font-style: italic;
55 .cdata {
56 color: #CC0066;
58 .doctype {
59 color: steelblue;
60 font-style: italic;
62 .pi {
63 color: orchid;
64 font-style: italic;
66 .entity {
67 color:#FF4500;
68 font-weight: normal;
70 .text {
71 font-weight: normal;
73 .attribute-name {
74 color: black;
75 font-weight: bold;
77 .attribute-value {
78 color: blue;
79 font-weight: normal;
81 .markupdeclaration {
82 color: steelblue;
83 font-style: italic;
85 span:not(.error), a:not(.error) {
86 unicode-bidi: embed;
88 span[id] {
89 unicode-bidi: -moz-isolate;
91 .error,
92 .error > :-moz-any(.start-tag, .end-tag, .comment, .cdata, .doctype, .pi,
93 .entity, .attribute-name, .attribute-value) {
94 color: red;
95 font-weight: bold;