home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 October / Chip_2002-10_cd1.bin / zkuste / freesoft / bin / Multivalent.jar / multivalent / std / adaptor / full-HTML.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2001-03-09  |  4.2 KB  |  234 lines

  1. /* rendered CSS1-addressable elements and all applicable non-inherited
  2. properties set to initial values and default display types */
  3.  
  4. A, ABBR, ADDRESS, BDO, BLOCKQUOTE, BODY, BUTTON, CITE, CODE, DD, DEL, DFN,
  5. DIV, DL, DT, EM, FIELDSET, FORM, H1, H2, H3, H4, H5, H6, IFRAME, IMG, INS, KBD,
  6. LABEL, LI, OBJECT, OL, P, Q, SAMP, SMALL, SPAN, STRONG, SUB, SUP, UL, VAR, 
  7. APPLET, B, BIG, CENTER, DIR, FONT, HR, I, MENU, PRE, S, STRIKE, TT, U    {
  8.     background: transparent;
  9.     width: auto;
  10.     height: auto;
  11.     text-decoration: none;
  12.     margin: 0;
  13.     padding: 0;
  14.     border: 0;
  15.     float: none;
  16.     clear: none;
  17.     vertical-align: baseline;
  18.     list-style-image: none;
  19.     list-style-type: disc;
  20.     list-style-position: outside;
  21.     }     
  22.  
  23. ADDRESS, BLOCKQUOTE, BODY, DD, DIV, DL, DT, FIELDSET, FORM, H1, H2, H3, H4, H5,
  24. H6, IFRAME, OBJECT, OL, P, UL, APPLET, CENTER, DIR, HR, MENU, PRE    {
  25.     display: block;
  26.     }
  27.  
  28. A, ABBR, BDO, BUTTON, CITE, CODE, DEL, DFN, EM, IMG, INS, KBD, LABEL, Q,
  29. SAMP, SMALL, SPAN, STRONG, SUB, SUP, VAR, B, BIG, FONT, I, S, STRIKE, TT, U    { 
  30.     display: inline;
  31.     }
  32.  
  33. LI    {
  34.     display: list-item;
  35.     }
  36.  
  37.  
  38. /* Begin tree of inherited properties and cascades. */
  39.  
  40. BODY    {
  41.     font-size: 1em;
  42.     line-height: 1.33em;
  43.     margin: 8px;
  44.     background-position: -8px -8px; /* flush with canvas edge */
  45.     word-spacing: normal;
  46.     letter-spacing: normal;
  47.     text-transform: none;
  48.     alignment: left;
  49.     text-indent: 0;
  50.     white-space: normal;
  51.     }
  52.  
  53. H1    {
  54.     font-size: 2em;
  55.     margin: .67em 0; 
  56.     }
  57.  
  58. H2    { 
  59.     font-size: 1.5em;
  60.     margin: .83em 0; 
  61.     }
  62.  
  63. H3    { 
  64.     font-size: 1.17em;
  65.     line-height: 1.17em;
  66.     margin: 1em 0; 
  67.     }
  68.  
  69. H4, P, BLOCKQUOTE, UL, OL, DL, DIR, MENU    { 
  70.     margin: 1.33em 0; 
  71.     }
  72.  
  73. H5    {
  74.     font-size: .83em;
  75.     line-height: 1.17em;
  76.     margin: 1.67em 0; 
  77.     }
  78.  
  79. H6    {
  80.     font-size: .67em;
  81.     margin: 2.33em 0; 
  82.     }
  83.  
  84. H1, H2, H3, H4, H5, H6, B, STRONG    { 
  85.     font-weight: bolder;
  86.     }
  87.     
  88. BLOCKQUOTE    { 
  89.     margin-left: 40px;
  90.     margin-right: 40px;
  91.     }
  92.  
  93. I, CITE, EM, VAR, ADDRESS    { 
  94.     font-style: italic;
  95.     }
  96.  
  97. PRE, TT, CODE, KBD, SAMP    { 
  98.     font-family: monospace;
  99.     }
  100.  
  101. PRE    {
  102.     white-space: pre;
  103.     }
  104.  
  105. BIG    { 
  106.     font-size: 1.17em;
  107.     }
  108.     
  109. SMALL, SUB, SUP    {
  110.     font-size: .83em;
  111.     }
  112.  
  113. SUB    {
  114.     vertical-align: sub;
  115.     }
  116.  
  117. SUP    {
  118.     vertical-align: super;
  119.     }
  120.  
  121. S, STRIKE, DEL    {
  122.     text-decoration: line-through;
  123.     }
  124.  
  125. HR    {
  126.     border: 1px inset;
  127.     }
  128.  
  129. OL, UL, DIR, MENU, DD    {
  130.     margin-left: 40px; 
  131.     }
  132.     
  133. OL LI    {
  134.     list-style-type: decimal;
  135.     }
  136.     
  137. OL UL    {
  138.     margin-top: 0;
  139.     margin-bottom: 0;
  140.     }
  141.  
  142. UL OL    {
  143.     margin-top: 0;
  144.     margin-bottom: 0;
  145.     }
  146.  
  147. UL UL    {
  148.     margin-top: 0;
  149.     margin-bottom: 0;
  150.     }
  151.  
  152. OL OL    {
  153.     margin-top: 0;    
  154.     margin-bottom: 0; /* how far to carry such contextual declarations? Exhaustive list
  155.         could be very long. */
  156.     }
  157.  
  158. U, INS    {
  159.     text-decoration: underline;
  160.     }
  161.  
  162. CENTER    {
  163.     alignment: center;
  164.     }
  165.  
  166.  
  167.  
  168. /* Table element rendering behavior cannot be described completely in CSS1, 
  169. yet the following declarations appear to apply. This section is likely to become
  170. obsolete upon the deployment of a more comprehensive stylesheet specification
  171. for tables. */
  172.  
  173. CAPTION, COL, COLGROUP, LEGEND, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR    {
  174.     background: transparent;
  175.     text-decoration: none;
  176.     margin: 1px;
  177.     padding: 1px;
  178.     border: none;
  179.     float: none;
  180.     clear: none;
  181.     }
  182.  
  183. TABLE, TBODY, TFOOT, THEAD, TR    {
  184.     display: block;
  185.     background-position: top left;
  186.     width: auto;
  187.     height: auto;
  188.     }
  189.  
  190. CAPTION, LEGEND, TD, TH    { 
  191.     display: inline;
  192.     vertical-align: baseline;
  193.     font-size: 1em;
  194.     line-height: 1.33em;
  195.     color: black;
  196.     word-spacing: normal;
  197.     letter-spacing: normal;
  198.     text-transform: none;
  199.     alignment: left;
  200.     text-indent: 0;
  201.     white-space: normal;
  202.     }
  203.  
  204. TH    {
  205.     font-weight: bolder;
  206.     alignment: center;
  207.     }
  208.  
  209. CAPTION    {
  210.     alignment: center;
  211.     }
  212.  
  213.  
  214. /* proposed default for HTML 4.0's new ABBR element */
  215.  
  216. ABBR    {
  217.     font-variant: small-caps;
  218.     letter-spacing: 0.1em; /* This is almost facetious. Should ABBR not have 
  219.         any default rendering? Uppercase transform? Not all languages distinguish 
  220.         between simple abbreviations and acronyms, and not all abbrev. should be 
  221.         capped. */
  222.     }
  223.  
  224. /* not part of the legacy browser default sheet, but an obvious enhancement */
  225.  
  226. OL OL LI    {
  227.     list-style-type: lower-alpha;
  228.     }
  229.     
  230. OL OL OL LI    {
  231.     list-style-type: lower-roman
  232.     }
  233.  
  234.