/[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.7 - (show annotations) (download) (as text)
Sat Jul 21 04:58:17 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.6: +7 -5 lines
File MIME type: text/css
++ ChangeLog	21 Jul 2007 04:58:03 -0000
2007-07-21  Wakaba  <wakaba@suika.fam.cx>

	* cc-style.css: Don't remove bullet of the document node
	in the document tree.  Don't collapse white space
	in the |code| elements.

	* cc.cgi: Put identifiers and class names into |code|
	element.
	(get_text): Template for attribute values are supported.

	* error-descriotion-source.en.xml: More error descriptions
	are included.  Use |{@}| attribute value insertion macro
	for errors in which it should be useful.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24