/[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.6 - (hide annotations) (download) (as text)
Tue Jul 17 13:52:54 2007 UTC (17 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.5: +14 -2 lines
File MIME type: text/css
++ ChangeLog	17 Jul 2007 13:52:41 -0000
2007-07-17  Wakaba  <wakaba@suika.fam.cx>

	* alert.png, error.png, info.png: New images.

	* LICENSE: New image file names are added.

	* cc-interface.en.html: Link to the style sheet is added.

	* cc-style.css: Duplicate identifiers and terms
	are decorated by icon.

	* cc.cgi: |h1| links to the interface page.
	(#identifiers): New section.

	* error-description-source.en.xml: More error types are
	added.

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     dt {
11     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     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 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     }
186    
187 wakaba 1.1 /*
188    
189     Copyright 2007 Wakaba <w@suika.fam.cx>
190    
191     This library is free software; you can redistribute it
192     and/or modify it under the same terms as Perl itself.
193    
194 wakaba 1.6 $Date: 2007/07/01 10:02:24 $
195 wakaba 1.1
196     */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24