/[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.15 by wakaba, Sat Jun 25 14:04:01 2005 UTC revision 1.32 by wakaba, Sun Apr 17 06:12:50 2011 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 67  dt, li { Line 72  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 81  ol li ol li { Line 88  ol li ol li {
88    list-style: lower-alpha;    list-style: lower-alpha;
89  }  }
90    
91    li > ul:first-child, li > ol:first-child, li > dl:first-child,
92    dd > ul:first-child, dd > ol:first-child, dd > dl:first-child {
93      margin-top: 0;
94    }
95    
96    li > ul,
97    li > ol,
98    li > dl {
99      margin-top: 0;
100    }
101    
102    li > ul:last-child, li > ol:last-child, li > dl:last-child,
103    dd > ul:last-child, dd > ol:last-child, dd > dl:last-child {
104      margin-bottom: 0;
105    }
106    
107  dt {  dt {
108    font-weight: normal;    font-weight: normal;
109    list-style: disc;    list-style: disc;
# Line 88  dt { Line 111  dt {
111    
112  dd {  dd {
113    display: block;    display: block;
114          margin-left: 3em;    margin-left: 0;
115          padding-left: 0;    padding-left: 3em;
   overflow: auto;  
116    list-style-type: none;    list-style-type: none;
117  }  }
118    
119  li:first-child:last-child {  @media print {
120      dt {
121        page-break-after: avoid;
122      }
123      dd {
124        page-break-before: avoid;
125      }
126    }
127    
128    ul > li:first-child:last-child {
129          list-style: disc;          list-style: disc;
130  }  }
131    
132    li > p:first-child,
133    dd > p:first-child {
134      text-indent: 0;
135    }
136    
137  blockquote {  blockquote {
138          display: block;          display: block;
139          border-left: 1em double rgb(204, 0, 0);          border-left: 1em double rgb(204, 0, 0);
# Line 125  table { Line 161  table {
161          margin-right: auto;          margin-right: auto;
162  }  }
163    
164    /* Sections */
165    
166    section, article, nav, aside,
167    header, footer {
168      display: block;
169    }
170    
171    hr {
172      visibility: hidden;
173    }
174    
175  /* Physical Blocks */  /* Physical Blocks */
176    
177  pre {  pre {
178    display: block;    display: block;
179      margin: 0 1em;
180    overflow: auto;    overflow: auto;
181    font-family: "Courier New", "Courier", monospace;    font-family: "Courier New", "Courier", monospace;
182  }  }
# Line 156  var:lang(en) { Line 204  var:lang(en) {
204    text-decoration: none;    text-decoration: none;
205  }  }
206    
207    dfn:lang(en) > var:lang(en):only-child {
208      font-style: inherit;
209    }
210    
211    /* Abbrevitions */
212    abbr[title] {
213      border-style: none;
214      text-transform: none;
215      font-variant: normal;
216      font-style: normal;
217      font-size: 100%;
218    }
219    
220    dfn:lang(en) abbr[title] {
221      font-style: italic;
222    }
223    
224    @media screen {
225      abbr[title] {
226        border-bottom: 1px dotted #FF0080;
227        padding-bottom: 0.025em;
228        cursor: help;
229      }
230    }
231    
232  /* Defining Instances */  /* Defining Instances */
233  dfn {  dfn {
234          font-style: normal;          font-style: normal;
235          font-weight: bolder;          font-weight: bolder;
236    font-family: sans-serif;    /* font-family: sans-serif; */
237    font-size: 100%;    font-size: 100%;
238  }  }
239  dfn:lang(en) {  dfn:lang(en) {
240    font-style: italic;    font-style: italic;
241    font-weight: normal;    font-weight: normal;
242    font-family: "Times New Roman", "Times", serif;    /* font-family: "Times New Roman", "Times", serif; */
243    }
244    
245    dfn:lang(en) dfn:lang(en) {
246      font-style: normal;
247  }  }
248    
249  /* Technical Term Instances (HTML5) */  dfn:lang(en) em {
250      font-style: normal;
251    }
252    
253    /* One of the last resorts */
254    i:lang(en) {
255      font-style: italic;
256      text-decoration: none;
257    }
258    
259    i:lang(es) {
260      font-style: italic;
261      text-decoration: none;
262    }
263    
264    /* Term instance (HTML5) */
265    /* Though this definition is now obsolete, some old documents
266       have used it. */
267  i {  i {
268    border-style: none;    border-style: none;
269    font-style: normal;    font-style: normal;
# Line 179  i { Line 273  i {
273    
274  /* Inputs */  /* Inputs */
275  kbd {  kbd {
276      margin: 0 0.3em;
277      border: dotted #C0C0C0 1px;
278      padding: 0.2em 0.3em;
279    font-family: "Courier New", "Courier", monospace;    font-family: "Courier New", "Courier", monospace;
280    font-size: 100%;    font-size: 100%;
281    line-height: 1.1;    line-height: 1.1;
   border: gray 1px outset;  
   padding: 0.1em;  
282  }  }
283    
284  em {  em {
# Line 196  em { Line 291  em {
291  }  }
292    
293  em:lang(en) {  em:lang(en) {
294      border-bottom-style: none;
295    font-style: italic;    font-style: italic;
296    text-decoration: none;    text-decoration: none;
297  }  }
298    
299    em:lang(en) :lang(ja) {
300      font-style: normal;
301    }
302    
303  strong {  strong {
304    font-weight: bolder;    font-weight: bolder;
305    font-family: sans-serif;    font-family: sans-serif;
306  }  }
307  /* Alternate: h1|em */  /* Alternate: h1|em */
308    
309    /* HTML5 <mark> */
310    m, mark {
311      text-decoration: underline;
312      background-color: #ffff4d;
313    }
314    
315    mark:empty:before {
316      content: "\A0";
317    }
318    /*
319      NOTE: For compatibility with old documents that use |m| as
320      element names, we keep |m| in the selector as is.
321    */
322    
323  /* Citations and quotations */  /* Citations and quotations */
324    
325  /*  /*
# Line 240  cite:lang(ja) cite:after { content: "$B Line 354  cite:lang(ja) cite:after { content: "$B
354  }  }
355  [lang|="en"] cite:before, [xml|lang|="en"] cite:before,  [lang|="en"] cite:before, [xml|lang|="en"] cite:before,
356  [lang|="en"] cite:after, [xml|lang|="en"] cite:after {  [lang|="en"] cite:after, [xml|lang|="en"] cite:after {
357          content: none;    content: "";
358      content: normal;
359  }  }
360    
361  :lang(ja) > q {  :lang(ja) > q {
362    quotes: none;    quotes: none;
363  }  }
364  :lang(ja) > q:before {  :lang(ja) > q:before {
365    content: "$B!V(B";    content: " $B!V(B";
366  }  }
367  :lang(ja) > q:after {  :lang(ja) > q:after {
368    content: "$B!W(B";    content: "$B!W(B ";
369  }  }
370    
371  /* Table */  :lang(ja) > q q:before {
372      content: " $B!X(B";
373    }
374    
375    :lang(ja) > q q:after {
376      content: "$B!Y(B ";
377    }
378    
379    :lang(en) > q {
380      quotes: none;
381    }
382    
383    :lang(en) > q:before {
384      content: " $B!H(B";
385    }
386    
387    :lang(en) > q:after {
388      content: "$B!I(B ";
389    }
390    
391    /* Tables */
392    
393  table {  table {
394    border: 1px solid gray;    border: 1px solid gray;
# Line 268  thead, tfoot, th { Line 403  thead, tfoot, th {
403  td, th {  td, th {
404    padding: 0.2em 0.4em;    padding: 0.2em 0.4em;
405    border: 1px solid #E0E0E0;    border: 1px solid #E0E0E0;
406      empty-cells: show;
407  }  }
408    
409  th[scope="row"], th[scope="rowgroup"] {  th[scope="row"], th[scope="rowgroup"] {
# Line 312  del { Line 448  del {
448    background-color: #FFBBBB;    background-color: #FFBBBB;
449    color: black;    color: black;
450    font-size: 80%;    font-size: 80%;
451      text-decoration: line-through;
452  }  }
453    
454  body > del {  body > del,
455    p + del {
456    display: block;    display: block;
457  }  }
458    
# Line 344  a:hover { Line 482  a:hover {
482    color: #000080;    color: #000080;
483  }  }
484    
485    a[rel~=feed] {
486      background-image: url(../images/feed); /* 16x16 */
487      background-repeat: no-repeat;
488      background-position: left center;
489      margin-left: 4px;
490      padding-left: 20px;
491    }
492    
493  /* Forms */  /* Forms */
494    
495  textarea {  textarea {
# Line 352  textarea { Line 498  textarea {
498    
499  /* License  /* License
500    
501  Copyright 2003-2005 Wakaba <[email protected]>.  Copyright 2003-2011 Wakaba <[email protected]>.
502    
503  This program is free software; you can redistribute it and/or modify  This program is free software; you can redistribute it and/or modify
504  it under the terms of the GNU General Public License as published by  it under the terms of the GNU General Public License as published by

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.32

[email protected]
ViewVC Help
Powered by ViewVC 1.1.24