/[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.12 by wakaba, Fri Jun 3 10:34:08 2005 UTC revision 1.23 by wakaba, Sat Jun 30 05:04:13 2007 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 29  h1, h2, h3, h4, h5, h6 { Line 28  h1, h2, h3, h4, h5, h6 {
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%;
# 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      text-indent: 0;
76      text-align: justify;
77  }  }
78  ul li {  ul li {
79    list-style: disc;    list-style: disc;
# Line 89  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 124  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 138  code { Line 165  code {
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 */  /* Defining Instances */
203  dfn {  dfn {
204          font-style: normal;          font-style: normal;
205          font-weight: bolder;          font-weight: bolder;
206    font-family: sans-serif;    font-family: sans-serif;
207      font-size: 100%;
208  }  }
209  dfn:lang(en) {  dfn:lang(en) {
210    font-style: italic;    font-style: italic;
# Line 159  dfn:lang(en) { Line 212  dfn:lang(en) {
212    font-family: "Times New Roman", "Times", serif;    font-family: "Times New Roman", "Times", serif;
213  }  }
214    
215    dfn:lang(en) em {
216      font-style: normal;
217    }
218    
219    /* One of the last resorts */
220    i:lang(en) {
221      font-style: italic;
222      text-decoration: none;
223    }
224    
225    /* Term instance (HTML5) */
226    /* Though this definition is now obsolete, some old documents
227       have used it. */
228    i {
229      border-style: none;
230      font-style: normal;
231      font-size: 100%;
232      text-decoration: none;
233    }
234    
235  /* Inputs */  /* Inputs */
236  kbd {  kbd {
237      margin: 0 0.3em;
238      border: dotted #C0C0C0 1px;
239      padding: 0.2em 0.3em;
240    font-family: "Courier New", "Courier", monospace;    font-family: "Courier New", "Courier", monospace;
241    font-size: 100%;    font-size: 100%;
242    line-height: 1.1;    line-height: 1.1;
   border: gray 1px outset;  
   padding: 0.1em;  
243  }  }
244    
245  em {  em {
246      border-bottom-style: solid;
247      border-bottom-width: 1px;
248      padding-bottom: 0.03em;
249          font-style: normal;          font-style: normal;
250          text-decoration: underline;    text-decoration: none;
251      font-size: 100%;
252  }  }
253    
254  em:lang(en) {  em:lang(en) {
255      border-bottom-style: none;
256    font-style: italic;    font-style: italic;
257    text-decoration: none;    text-decoration: none;
258  }  }
259    
260    em:lang(en) :lang(ja) {
261      font-style: normal;
262    }
263    
264    strong {
265      font-weight: bolder;
266      font-family: sans-serif;
267    }
268    /* Alternate: h1|em */
269    
270    /* Citations and quotations */
271    
272  /*  /*
273   * $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
274   * $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
275   */   */
276    
277  [lang|="ja"] cite, [xml|lang|="ja"] cite {  :lang(ja) > cite {
278          quotes: "$B!X(B" "$B!Y(B";    quotes: none;
279          font-style: normal;          font-style: normal;
280  }  }
281  [lang|="ja"] cite:before, [xml|lang|="ja"] cite:before {  :lang(ja) > cite:before {
282          content: open-quote;    content: "$B!X(B";
283  }  }
284  [lang|="ja"] cite:after, [xml|lang|="ja"] cite:after {  :lang(ja) > cite:after {
285          content: close-quote;    content: "$B!Y(B";
286  }  }
287    
288  cite:lang(ja) cite {  cite:lang(ja) cite {
289    quotes: "$B!V(B" "$B!W(B";    quotes: none;
290  }  }
291    cite:lang(ja) cite:before { content: "$B!V(B" }
292    cite:lang(ja) cite:after { content: "$B!W(B" }
293    
294  [lang|="en"] cite, [xml|lang|="en"] cite {  [lang|="en"] cite, [xml|lang|="en"] cite {
295          quotes: none;          quotes: none;
296          font-style: italic;          font-style: italic;
# Line 206  cite:lang(ja) cite { Line 301  cite:lang(ja) cite {
301  }  }
302  [lang|="en"] cite:before, [xml|lang|="en"] cite:before,  [lang|="en"] cite:before, [xml|lang|="en"] cite:before,
303  [lang|="en"] cite:after, [xml|lang|="en"] cite:after {  [lang|="en"] cite:after, [xml|lang|="en"] cite:after {
304          content: none;    content: "";
305      content: normal;
306    }
307    
308    :lang(ja) > q {
309      quotes: none;
310    }
311    :lang(ja) > q:before {
312      content: " $B!V(B";
313    }
314    :lang(ja) > q:after {
315      content: "$B!W(B ";
316  }  }
317    
318  /* Table */  :lang(ja) > q q:before {
319      content: " $B!X(B";
320    }
321    
322    :lang(ja) > q q:after {
323      content: "$B!Y(B ";
324    }
325    
326    :lang(en) > q {
327      quotes: none;
328    }
329    
330    :lang(en) > q:before {
331      content: " $B!H(B";
332    }
333    
334    :lang(en) > q:after {
335      content: "$B!I(B ";
336    }
337    
338    /* Tables */
339    
340  table {  table {
341    border: 1px solid gray;    border: 1px solid gray;
# Line 218  table { Line 344  table {
344    
345  thead, tfoot, th {  thead, tfoot, th {
346    font-weight: bolder;    font-weight: bolder;
347      font-family: sans-serif;
348  }  }
349    
350  td, th {  td, th {
351    padding: 0.2em 0.4em;    padding: 0.2em 0.4em;
352    border: 1px solid #E0E0E0;    border: 1px solid #E0E0E0;
353      empty-cells: show;
354  }  }
355    
356  th[scope="row"], th[scope="rowgroup"] {  th[scope="row"], th[scope="rowgroup"] {
# Line 249  sup { Line 377  sup {
377  /* Edit */  /* Edit */
378    
379  ins {  ins {
380      border-bottom-style: solid;
381      border-bottom-width: 1px;
382      padding-bottom: 0.03em;
383    background-color: rgb(255, 255, 153);    background-color: rgb(255, 255, 153);
384    color: black;    color: black;
385    text-decoration: underline;    font-style: normal;
386      text-decoration: none;
387  }  }
388    
389  body > ins {  body > ins {
# Line 263  del { Line 395  del {
395    background-color: #FFBBBB;    background-color: #FFBBBB;
396    color: black;    color: black;
397    font-size: 80%;    font-size: 80%;
398      text-decoration: line-through;
399  }  }
400    
401  body > del {  body > del {
# Line 278  address { Line 411  address {
411    
412  /* Hyperlinks */  /* Hyperlinks */
413    
414    a:link, a:visited {
415      text-decoration: none;
416      border-bottom-style: solid;
417      border-bottom-width: 1px;
418      padding-bottom: 0.05em;
419    }
420    
421  [href^="#"]:link, [href^="#"]:visited {  [href^="#"]:link, [href^="#"]:visited {
422    text-decoration: none !important;    text-decoration: none !important;
423    border-bottom: dotted 1px !important;    border-bottom: dotted 1px !important;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.23

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24