/[suikacvs]/test/suikawebwww/style/html/xhtml1.css
Suika

Diff of /test/suikawebwww/style/html/xhtml1.css

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by wakaba, Sat Apr 23 06:55:03 2005 UTC revision 1.22 by wakaba, Tue Dec 13 13:26:11 2005 UTC
# Line 1  Line 1 
1  @charset 'iso-2022-jp';  @charset 'iso-2022-jp';
 @import 'http://suika.fam.cx/www/style/ui/toc-style-float.css';  
2  @namespace 'http://www.w3.org/1999/xhtml';  @namespace 'http://www.w3.org/1999/xhtml';
3  @namespace xml 'http://www.w3.org/XML/1998/namespace';  @namespace xml 'http://www.w3.org/XML/1998/namespace';
4    
# Line 25  h1, h2, h3, h4, h5, h6 { Line 24  h1, h2, h3, h4, h5, h6 {
24          line-height: 1.5;          line-height: 1.5;
25          font-size: 120%;          font-size: 120%;
26          font-weight: bolder;          font-weight: bolder;
27      font-family: sans-serif;
28    text-align: left;    text-align: left;
29  }  }
30    
31    @media print {
32      h1, h2, h3, h4, h5, h6 {
33        page-break-after: avoid;
34      }
35    }
36    
37  h1 {  h1 {
38          text-align: center;          text-align: center;
39          font-size: 140%;          font-size: 140%;
   -moz-binding: url(http://suika.fam.cx/www/style/ui/toc#after);  
40  }  }
41    
42  h3:before {  h3:before {
# Line 54  p:lang(en) { Line 59  p:lang(en) {
59    
60  ul, ol, dl {  ul, ol, dl {
61          display: block;          display: block;
62          margin: 1em;    margin: 1em;
63          padding: 0;          padding: 0;
64  }  }
65    
66    p + ul, p + ol, p + dl,
67    p > ul, p > ol, p > dl {
68      margin-left: 3em;
69    }
70    
71  dt, li {  dt, li {
72          display: list-item;          display: list-item;
73          margin-left: 1em;          margin-left: 1em;
74          padding-left: 0.5em;          padding-left: 0.5em;
75          list-style: disc;    text-indent: 0;
76      text-align: justify;
77  }  }
78  dt dt, li li {  ul li {
79      list-style: disc;
80    }
81    dt dt, ul li ul li {
82          list-style: square;          list-style: square;
83  }  }
84    ol li {
85      list-style: decimal;
86    }
87    ol li ol li {
88      list-style: lower-alpha;
89    }
90    
91  dt {  dt {
92    font-weight: bolder;    font-weight: normal;
93      list-style: disc;
94  }  }
95    
96  dd {  dd {
# Line 80  dd { Line 101  dd {
101    list-style-type: none;    list-style-type: none;
102  }  }
103    
104  li:first-child:last-child {  @media print {
105      dt {
106        page-break-after: avoid;
107      }
108      dd {
109        page-break-before: avoid;
110      }
111    }
112    
113    ul > li:first-child:last-child {
114          list-style: disc;          list-style: disc;
115  }  }
116    
117    li > p:first-child,
118    dd > p:first-child {
119      text-indent: 0;
120    }
121    
122  blockquote {  blockquote {
123          display: block;          display: block;
124          border-left: 1em double rgb(204, 0, 0);          border-left: 1em double rgb(204, 0, 0);
# Line 115  table { Line 150  table {
150    
151  pre {  pre {
152    display: block;    display: block;
153      margin: 0 1em;
154    overflow: auto;    overflow: auto;
155    font-family: "Courier New", "Courier", monospace;    font-family: "Courier New", "Courier", monospace;
156  }  }
# Line 124  pre { Line 160  pre {
160  code {  code {
161          font-family: "Courier New", "Courier", monospace;          font-family: "Courier New", "Courier", monospace;
162          letter-spacing: 0.1em;          letter-spacing: 0.1em;
163      background-color: transparent;
164      color: orangered;
165  }  }
166    
167  var {  var {
168      border-bottom-style: solid;
169      border-bottom-width: 1px;
170      padding-bottom: 0.025em;
171    font-style: normal;    font-style: normal;
172    text-decoration: underline;    text-decoration: none;
173  }  }
174  var:lang(en) {  var:lang(en) {
175      border-bottom-style: none;
176    font-family: "Times New Roman", serif;    font-family: "Times New Roman", serif;
177    font-style: italic;    font-style: italic;
178    text-decoration: none;    text-decoration: none;
179  }  }
180    
181    /* Abbrevitions */
182    abbr[title] {
183      border-style: none;
184      text-transform: none;
185      font-variant: normal;
186      font-style: normal;
187      font-size: 100%;
188    }
189    
190    dfn:lang(en) abbr[title] {
191      font-style: italic;
192    }
193    
194    @media screen {
195      abbr[title] {
196        border-bottom: 1px dotted #FF0080;
197        padding-bottom: 0.025em;
198        cursor: help;
199      }
200    }
201    
202    /* Defining Instances */
203  dfn {  dfn {
204          font-style: normal;          font-style: normal;
205          font-weight: bolder;          font-weight: bolder;
206      font-family: sans-serif;
207      font-size: 100%;
208  }  }
209  dfn:lang(en) {  dfn:lang(en) {
210    font-style: italic;    font-style: italic;
211    font-weight: normal;    font-weight: normal;
212      font-family: "Times New Roman", "Times", serif;
213    }
214    
215    dfn:lang(en) em {
216      font-style: normal;
217    }
218    
219    /* Technical Term Instances (HTML5) */
220    i {
221      border-style: none;
222      font-style: normal;
223      font-size: 100%;
224      text-decoration: none;
225  }  }
226    
227  /* Inputs */  /* Inputs */
228  kbd {  kbd {
229      margin: 0 0.3em;
230      border: dotted #C0C0C0 1px;
231      padding: 0.2em 0.3em;
232    font-family: "Courier New", "Courier", monospace;    font-family: "Courier New", "Courier", monospace;
233    font-size: 100%;    font-size: 100%;
234    line-height: 1.1;    line-height: 1.1;
   border: gray 1px outset;  
   padding: 0.1em;  
235  }  }
236    
237  em {  em {
238      border-bottom-style: solid;
239      border-bottom-width: 1px;
240      padding-bottom: 0.03em;
241          font-style: normal;          font-style: normal;
242          text-decoration: underline;    text-decoration: none;
243      font-size: 100%;
244  }  }
245    
246  em:lang(en) {  em:lang(en) {
247      border-bottom-style: none;
248    font-style: italic;    font-style: italic;
249    text-decoration: none;    text-decoration: none;
250  }  }
251    
252    em:lang(en) :lang(ja) {
253      font-style: normal;
254    }
255    
256    strong {
257      font-weight: bolder;
258      font-family: sans-serif;
259    }
260    /* Alternate: h1|em */
261    
262    /* Citations and quotations */
263    
264  /*  /*
265   * $B8@8l>pJs$G>l9gJ,$1$9$k$N$O@5$7$/$J$$$,!"8=:_$N(B CSS   * $B8@8l>pJs$G>l9gJ,$1$9$k$N$O@5$7$/$J$$$,!"8=:_$N(B CSS
266   * $B$K$OMQ;z7O$NA*Br;R$,$J$$$+$i!"6a;wE*$K$3$l$r;H$&!#(B   * $B$K$OMQ;z7O$NA*Br;R$,$J$$$+$i!"6a;wE*$K$3$l$r;H$&!#(B
267   */   */
268    
269  [lang|="ja"] cite, [xml|lang|="ja"] cite {  :lang(ja) > cite {
270          quotes: "$B!X(B" "$B!Y(B" "$B!V(B" "$B!W(B";    quotes: none;
271          font-style: normal;          font-style: normal;
272  }  }
273  [lang|="ja"] cite:before, [xml|lang|="ja"] cite:before {  :lang(ja) > cite:before {
274          content: open-quote;    content: "$B!X(B";
275  }  }
276  [lang|="ja"] cite:after, [xml|lang|="ja"] cite:after {  :lang(ja) > cite:after {
277          content: close-quote;    content: "$B!Y(B";
278  }  }
279    
280    cite:lang(ja) cite {
281      quotes: none;
282    }
283    cite:lang(ja) cite:before { content: "$B!V(B" }
284    cite:lang(ja) cite:after { content: "$B!W(B" }
285    
286  [lang|="en"] cite, [xml|lang|="en"] cite {  [lang|="en"] cite, [xml|lang|="en"] cite {
287          quotes: none;          quotes: none;
288          font-style: italic;          font-style: italic;
# Line 189  em:lang(en) { Line 293  em:lang(en) {
293  }  }
294  [lang|="en"] cite:before, [xml|lang|="en"] cite:before,  [lang|="en"] cite:before, [xml|lang|="en"] cite:before,
295  [lang|="en"] cite:after, [xml|lang|="en"] cite:after {  [lang|="en"] cite:after, [xml|lang|="en"] cite:after {
296          content: none;    content: "";
297      content: normal;
298    }
299    
300    :lang(ja) > q {
301      quotes: none;
302    }
303    :lang(ja) > q:before {
304      content: " $B!V(B";
305    }
306    :lang(ja) > q:after {
307      content: "$B!W(B ";
308    }
309    
310    :lang(ja) > q q:before {
311      content: " $B!X(B";
312  }  }
313    
314  /* Table */  :lang(ja) > q q:after {
315      content: "$B!Y(B ";
316    }
317    
318    :lang(en) > q {
319      quotes: none;
320    }
321    
322    :lang(en) > q:before {
323      content: " $B!H(B";
324    }
325    
326    :lang(en) > q:after {
327      content: "$B!I(B ";
328    }
329    
330    /* Tables */
331    
332  table {  table {
333    border: 1px solid gray;    border: 1px solid gray;
# Line 201  table { Line 336  table {
336    
337  thead, tfoot, th {  thead, tfoot, th {
338    font-weight: bolder;    font-weight: bolder;
339      font-family: sans-serif;
340  }  }
341    
342  td, th {  td, th {
343    padding: 0.2em 0.4em;    padding: 0.2em 0.4em;
344    border: 1px solid #E0E0E0;    border: 1px solid #E0E0E0;
345      empty-cells: show;
346  }  }
347    
348  th[scope="row"], th[scope="rowgroup"] {  th[scope="row"], th[scope="rowgroup"] {
# Line 232  sup { Line 369  sup {
369  /* Edit */  /* Edit */
370    
371  ins {  ins {
372      border-bottom-style: solid;
373      border-bottom-width: 1px;
374      padding-bottom: 0.03em;
375    background-color: rgb(255, 255, 153);    background-color: rgb(255, 255, 153);
376    color: black;    color: black;
377    text-decoration: underline;    font-style: normal;
378      text-decoration: none;
379  }  }
380    
381  body > ins {  body > ins {
# Line 246  del { Line 387  del {
387    background-color: #FFBBBB;    background-color: #FFBBBB;
388    color: black;    color: black;
389    font-size: 80%;    font-size: 80%;
390      text-decoration: line-through;
391  }  }
392    
393  body > del {  body > del {
# Line 261  address { Line 403  address {
403    
404  /* Hyperlinks */  /* Hyperlinks */
405    
406    a:link, a:visited {
407      text-decoration: none;
408      border-bottom-style: solid;
409      border-bottom-width: 1px;
410      padding-bottom: 0.05em;
411    }
412    
413  [href^="#"]:link, [href^="#"]:visited {  [href^="#"]:link, [href^="#"]:visited {
414    text-decoration: none !important;    text-decoration: none !important;
415    border-bottom: dotted 1px !important;    border-bottom: dotted 1px !important;
# Line 271  a:hover { Line 420  a:hover {
420    color: #000080;    color: #000080;
421  }  }
422    
423    /* Forms */
424    
425    textarea {
426      vertical-align: top;
427    }
428    
429  /* License  /* License
430    
431  Copyright 2003-2005 Wakaba <[email protected]>.  Copyright 2003-2005 Wakaba <[email protected]>.

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.22

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24