/[suikacvs]/test/html-webhacc/cc-style.css
Suika

Contents of /test/html-webhacc/cc-style.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download) (as text)
Sun Jul 1 06:21:46 2007 UTC (16 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.3: +38 -1 lines
File MIME type: text/css
++ ChangeLog	1 Jul 2007 06:21:44 -0000
2007-07-01  Wakaba  <wakaba@suika.fam.cx>

	* cc-style.css: New rules for empty error lists,
	error levels, and |code|.

	* cc.cgi: Support for error message catalog.
	Support for empty (zero-length) document.
	(print_source_string): Support for empty document.
	(print_document_tree): Element |has_child_nodes| test
	was incorrect.  Output compat mode and is html flag
	for |Document| node.
	(load_text_catalog, get_text): New functions.

	* LICENSE, large-alert.png, large-info.png, large-stop.png:
	New files.

1 @import '/www/style/html/xoxo.css';
2
3 .section {
4 display: block;
5 margin: 1em;
6 border: #800080 1px solid;
7 padding: 0.5em 1em;
8 }
9
10 dt {
11 font-weight: bolder;
12 font-family: sans-serif;
13 }
14 dt:after {
15 content: ":";
16 }
17
18 h2 {
19 margin: 0;
20 border-style: none;
21 padding: 0;
22 font-weight: bolder;
23 font-family: sans-serif;
24 font-size: 150%;
25 }
26
27 .tree-text q, .tree-cdata q, .tree-comment q {
28 display: block;
29 }
30
31 q, #source-string li {
32 white-space: pre;
33 white-space: -moz-pre-wrap;
34 white-space: pre-wrap;
35 }
36
37 q, #source-string ol {
38 background-color: #f0f0ff;
39 color: black;
40 line-height: 1.5;
41 }
42
43 q:before, q:after {
44 content: "";
45 }
46
47 #parse-errors dl:empty:before {
48 content: "This document has no parse error.";
49 font-style: italic;
50 }
51
52 #document-errors dl:empty:before {
53 content: "This document has no document error.";
54 font-style: italic;
55 }
56
57 #document-tree > ol {
58 margin-left: 0;
59 padding-left: 0;
60 }
61 #document-tree > ol > li {
62 display: block;
63 list-style: none;
64 margin-left: 0;
65 padding-left: 0;
66 }
67
68 #document-tree ol ol {
69 margin-left: 1em;
70 padding-left: 0;
71 }
72
73 #document-tree ol ol li {
74 margin-left: 0;
75 padding-left: 0.4em;
76 }
77
78 #document-tree ul.attributes {
79 margin-left: 3em;
80 padding: 0;
81 }
82
83 #document-tree ul.attributes li {
84 display: inline;
85 list-style: none;
86 margin: 0 2em 0 0;
87 padding: 0;
88 text-indent: 0;
89 font-size: 90%;
90 }
91
92 #parse-errors dd, #document-errors dd {
93 margin-left: 20px;
94 padding-left: 40px;
95 min-height: 32px;
96 background-image: url(large-stop);
97 background-position: top left;
98 background-repeat: no-repeat;
99 }
100
101 #document-errors dd.should {
102 background-image: url(large-alert);
103 }
104
105 #document-errors dd.unsupported {
106 margin-left: 60px;
107 border: red 0.2em solid;
108 padding: 0.5em;
109 background-image: none;
110 }
111
112 #nav-items {
113 display: block;
114 position: fixed;
115 top: 0.5em;
116 right: 0.5em;
117 width: auto;
118 height: auto;
119 font-size: 90%;
120 background-color: #f4fff4;
121 color: black;
122 padding: 0;
123 line-height: 1.1;
124 }
125
126 #nav-items li {
127 display: block;
128 list-style: none;
129 margin: 0;
130 border-style: none;
131 padding: 0;
132 text-align: center;
133 }
134
135 #nav-items li a[href] {
136 display: block;
137 border-style: none;
138 color: inherit;
139 text-decoration: none;
140 }
141
142 img {
143 border-style: none;
144 }
145
146 code {
147 font-family: "Courier New", "Courier", monospace;
148 letter-spacing: 0.1em;
149 background-color: transparent;
150 color: orangered;
151 }
152
153 /*
154
155 Copyright 2007 Wakaba <w@suika.fam.cx>
156
157 This library is free software; you can redistribute it
158 and/or modify it under the same terms as Perl itself.
159
160 $Date: 2007/06/30 08:26:08 $
161
162 */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24