/[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.9 - (hide annotations) (download) (as text)
Mon Sep 10 11:51:09 2007 UTC (17 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.8: +60 -1 lines
File MIME type: text/css
++ ChangeLog	10 Sep 2007 11:50:30 -0000
2007-09-10  Wakaba  <wakaba@suika.fam.cx>

	* cc.cgi, cc-style.css: Scoring support.

1 wakaba 1.1 @import '/www/style/html/xoxo.css';
2    
3 wakaba 1.2 .section {
4     display: block;
5     margin: 1em;
6     border: #800080 1px solid;
7     padding: 0.5em 1em;
8     }
9    
10 wakaba 1.8 dt, strong {
11 wakaba 1.2 font-weight: bolder;
12     font-family: sans-serif;
13     }
14     dt:after {
15     content: ":";
16     }
17    
18 wakaba 1.5 h1 {
19     font-weight: bolder;
20     font-family: sans-serif;
21     font-size: 180%;
22     }
23    
24 wakaba 1.2 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 wakaba 1.5 h3 {
34     font-weight: bolder;
35     font-family: sans-serif;
36     font-size: 100%;
37     background-color: #fff0f0;
38     color: black;
39     }
40    
41 wakaba 1.2 .tree-text q, .tree-cdata q, .tree-comment q {
42     display: block;
43     }
44    
45     q, #source-string li {
46 wakaba 1.1 white-space: pre;
47     white-space: -moz-pre-wrap;
48     white-space: pre-wrap;
49     }
50    
51 wakaba 1.2 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 wakaba 1.4 #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 wakaba 1.2 #document-tree > ol {
72     margin-left: 0;
73     padding-left: 0;
74     }
75     #document-tree > ol > li {
76 wakaba 1.7 /* display: block;
77 wakaba 1.2 list-style: none;
78     margin-left: 0;
79 wakaba 1.7 padding-left: 0; */
80 wakaba 1.2 }
81    
82 wakaba 1.7 #document-tree ol /*ol*/ {
83 wakaba 1.2 margin-left: 1em;
84     padding-left: 0;
85     }
86    
87 wakaba 1.7 #document-tree ol /*ol*/ li {
88 wakaba 1.2 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 wakaba 1.5 #parse-errors dd, #document-errors dd, #error-description h3 {
107 wakaba 1.4 margin-left: 20px;
108     padding-left: 40px;
109     min-height: 32px;
110     background-image: url(large-stop);
111 wakaba 1.6 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 wakaba 1.4 background-repeat: no-repeat;
125     }
126    
127 wakaba 1.5 #error-description h3 {
128     margin-left: 1em;
129     margin-right: 1em;
130     }
131    
132     #document-errors dd.should, #error-description .should h3 {
133 wakaba 1.4 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 wakaba 1.5 }
141    
142     #document-errors dd.unsupported, #error-description .unsupported h3 {
143 wakaba 1.4 background-image: none;
144     }
145    
146 wakaba 1.1 #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 wakaba 1.3 img {
177     border-style: none;
178     }
179    
180 wakaba 1.4 code {
181     font-family: "Courier New", "Courier", monospace;
182     letter-spacing: 0.1em;
183     background-color: transparent;
184     color: orangered;
185 wakaba 1.7 white-space: -moz-pre-wrap;
186     white-space: pre-wrap;
187 wakaba 1.4 }
188    
189 wakaba 1.9 .rfc2119 {
190     border-style: none;
191     text-transform: lowercase;
192     font-variant: small-caps;
193     font-style: normal;
194     text-decoration: none;
195     font-weight: normal;
196     font-family: sans-serif;
197     }
198    
199     #result-summary table {
200     margin-left: auto;
201     margin-right: auto;
202     border: 3px solid #800080;
203     border-collapse: collapse;
204     }
205    
206     #result-summary tbody, colgroup {
207     border: 3px solid #800080;
208     }
209    
210     #result-summary th {
211     background-color: #fff0f0;
212     color: black;
213     font-weight: bolder;
214     font-family: sans-serif;
215     }
216    
217     #result-summary th, #result-summary td {
218     border: 1px solid #800080;
219     padding: 0.2em 0.5em;
220     text-align: center;
221     empty-cells: show;
222     }
223    
224     .uncertain td, p.uncertain {
225     background-color: #e1e1ff;
226     color: black;
227     }
228    
229     .FAIL {
230     background-color: #ffcece;
231     color: black;
232     }
233    
234     .SEE-RESULT {
235     background-color: #e1e1ff;
236     color: black;
237     }
238    
239     .PASS {
240     background-color: #ddffdd;
241     color: black;
242     }
243    
244     #result-para {
245     padding: 0.2em 1em;
246     }
247    
248 wakaba 1.1 /*
249    
250     Copyright 2007 Wakaba <w@suika.fam.cx>
251    
252     This library is free software; you can redistribute it
253     and/or modify it under the same terms as Perl itself.
254    
255 wakaba 1.9 $Date: 2007/09/03 14:30:46 $
256 wakaba 1.1
257     */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24