/[suikacvs]/webroot/www/style/html/xhtml1.css
Suika

Contents of /webroot/www/style/html/xhtml1.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download) (as text)
Tue Feb 15 11:02:46 2005 UTC (20 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.3: +31 -15 lines
File MIME type: text/css
Rules added

1 wakaba 1.1 @charset 'iso-2022-jp';
2     @namespace 'http://www.w3.org/1999/xhtml';
3     @namespace xml 'http://www.w3.org/XML/1998/namespace';
4    
5     html {
6     display: block;
7     line-height: 2.0;
8     }
9     head {
10     display: none;
11     }
12    
13     body {
14     display: block;
15     margin: 1em 1.5em;
16     }
17    
18 wakaba 1.3 blockquote, table {
19     margin: 1em 2em;
20     }
21    
22 wakaba 1.1 h1, h2, h3, h4, h5, h6 {
23     display: block;
24     line-height: 1.5;
25     font-size: 120%;
26     font-weight: bolder;
27 wakaba 1.4 text-align: left;
28 wakaba 1.1 }
29    
30     h1 {
31     text-align: center;
32     font-size: 140%;
33     }
34    
35 wakaba 1.4 h3:before {
36     content: "\0025B6" " ";
37     }
38    
39     h4:before {
40     content: "\0025B7" " ";
41     }
42    
43 wakaba 1.1 p {
44     display: block;
45     text-indent: 1em;
46     margin: 0 1em;
47     text-align: justify;
48     }
49    
50     ul, ol, dl {
51     display: block;
52     margin: 1em;
53     padding: 0;
54     }
55    
56     dt, li {
57     display: list-item;
58     margin-left: 1em;
59     padding-left: 0.5em;
60     list-style: disc;
61     }
62     dt dt, li li {
63     list-style: square;
64     }
65     dd {
66     display: block;
67     margin-left: 3em;
68     padding-left: 0;
69     }
70    
71     li:first-child:last-child {
72     list-style: disc;
73     }
74    
75     blockquote {
76     display: block;
77 wakaba 1.3 border-left: 1em double rgb(204, 0, 0);
78     padding-left: 1em;
79     }
80    
81     blockquote > cite {
82     display: block;
83     margin-right: 2em;
84     text-align: right;
85     }
86     /* XML Alternate: H3|credit */
87    
88     blockquote > cite:before {
89     display: inline;
90     content: "$B!=!=(B " !important;
91     }
92     blockquote > cite:after {
93     display: inline;
94     content: "" !important;
95 wakaba 1.1 }
96    
97 wakaba 1.2 table {
98     margin-left: auto;
99     margin-right: auto;
100     }
101    
102 wakaba 1.4 /* Physical Blocks */
103    
104     pre {
105     display: block;
106     overflow: auto;
107     font-family: "Courier New", "Courier", monospace;
108     }
109    
110 wakaba 1.3 /* Phrase */
111 wakaba 1.2
112 wakaba 1.1 code {
113     font-family: "Courier New", "Courier", monospace;
114     letter-spacing: 0.1em;
115     }
116    
117 wakaba 1.4 var {
118     font-style: normal;
119     text-decoration: underline;
120 wakaba 1.1 }
121 wakaba 1.4 var:lang(en) {
122     font-family: "Times New Roman", serif;
123     font-style: italic;
124     text-decoration: none;
125 wakaba 1.1 }
126    
127 wakaba 1.3 dfn {
128     font-style: normal;
129     font-weight: bolder;
130     }
131 wakaba 1.4 dfn:lang(en) {
132     font-style: italic;
133     font-weight: normal;
134     }
135 wakaba 1.3
136     kbd {
137     font-family: "Courier New", "Courier", monospace;
138     font-size: 100%;
139     line-height: 1.1;
140     border-bottom: yellow 1px solid;
141     padding-bottom: 0.1em;
142     }
143    
144 wakaba 1.2 em {
145     font-style: normal;
146     text-decoration: underline;
147     }
148    
149 wakaba 1.3 em:lang(en) {
150     font-style: italic;
151     text-decoration: none;
152 wakaba 1.2 }
153    
154 wakaba 1.1 /*
155     * $B8@8l>pJs$G>l9gJ,$1$9$k$N$O@5$7$/$J$$$,!"8=:_$N(B CSS
156     * $B$K$OMQ;z7O$NA*Br;R$,$J$$$+$i!"6a;wE*$K$3$l$r;H$&!#(B
157     */
158    
159     [lang|="ja"] cite, [xml|lang|="ja"] cite {
160     quotes: "$B!X(B" "$B!Y(B" "$B!V(B" "$B!W(B";
161     font-style: normal;
162     }
163     [lang|="ja"] cite:before, [xml|lang|="ja"] cite:before {
164     content: open-quote;
165     }
166     [lang|="ja"] cite:after, [xml|lang|="ja"] cite:after {
167     content: close-quote;
168     }
169     [lang|="en"] cite, [xml|lang|="en"] cite {
170     quotes: none;
171     font-style: italic;
172     }
173     [lang|="en"] cite cite, [xml|lang|="en"] cite cite {
174     quotes: none;
175     font-style: normal;
176     }
177     [lang|="en"] cite:before, [xml|lang|="en"] cite:before,
178     [lang|="en"] cite:after, [xml|lang|="en"] cite:after {
179     content: none;
180     }
181    
182 wakaba 1.3 /* Table */
183    
184     table {
185     background-color: rgb(221, 238, 255);
186     color: black;
187     }
188    
189     thead, tfoot, th {
190     background-color: rgb(0, 90, 156);
191     color: white;
192     font-weight: normal;
193     }
194    
195     td, th {
196     padding: 0.2em 0.4em;
197     }
198    
199 wakaba 1.1 th[scope="row"] {
200     text-align: left;
201     }
202     th[scope="col"] {
203     text-align: center;
204     }
205    
206 wakaba 1.3 /* Edit */
207    
208     ins {
209     background-color: yellow;
210     color: black;
211     }
212    
213     del {
214     background-color: #FFBBBB;
215     color: black;
216 wakaba 1.4 font-size: 80%;
217 wakaba 1.3 }
218    
219     /* Footer */
220    
221     address {
222     font-style: normal;
223     font-size: 100%;
224     }
225    
226 wakaba 1.1 /* License
227    
228 wakaba 1.4 Copyright 2003-2005 Wakaba <w@suika.fam.cx>.
229 wakaba 1.1
230     This program is free software; you can redistribute it and/or modify
231     it under the terms of the GNU General Public License as published by
232     the Free Software Foundation; either version 2 of the License, or
233     (at your option) any later version.
234    
235     This program is distributed in the hope that it will be useful,
236     but WITHOUT ANY WARRANTY; without even the implied warranty of
237     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
238     GNU General Public License for more details.
239    
240     You should have received a copy of the GNU General Public License
241     along with this program; see the file COPYING. If not, write to
242     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
243     Boston, MA 02111-1307, USA.
244    
245     */
246    
247 wakaba 1.4 /* $Date: 2004/12/15 13:43:30 $ */

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24