home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September / Chip_2004-09_cd1.bin / chplus / interval / __services / styles / html4.css < prev   
Cascading Style Sheet File  |  2004-03-04  |  5KB  |  123 lines

  1. /* */
  2. /* General document rules (for HTML 4.0). */
  3. /* */
  4.  
  5. address,        
  6. blockquote,     
  7. body, dd, div,  
  8. dl, dt,         
  9. fieldset, form, 
  10. frame, frameset,
  11. h1, h2, h3, h4, 
  12. h5, h6, iframe, 
  13. noframes,       
  14. object, ol, p,  
  15. ul, applet,     
  16. center, dir,    
  17. hr, menu, pre   { display: block }
  18. li              { display: list-item }
  19. head            { display: none }
  20. table           { display: table }
  21. tr              { display: table-row }
  22. thead           { display: table-header-group }
  23. tbody           { display: table-row-group }
  24. tfoot           { display: table-footer-group }
  25. col             { display: table-column }
  26. colgroup        { display: table-column-group }
  27. td, th          { display: table-cell }
  28. caption         { display: table-caption }
  29. th              { font-weight: bolder; text-align: center }
  30. caption         { text-align: center }
  31. body            { padding: 8px; line-height: 1.33 }
  32. h1              { font-size: 2em; margin: .67em 0 }
  33. h2              { font-size: 1.5em; margin: .83em 0 }
  34. h3              { font-size: 1.17em; margin: 1em 0 }
  35. h4, p,          
  36. blockquote, ul, 
  37. fieldset, form, 
  38. ol, dl, dir,    
  39. menu            { margin: 1.33em 0 }
  40. h5              { font-size: .83em; line-height: 1.17em; margin: 1.67em 0 }
  41. h6              { font-size: .67em; margin: 2.33em 0 }
  42. h1, h2, h3, h4, 
  43. h5, h6, b,      
  44. strong          { font-weight: bolder }
  45. blockquote      { margin-left: 40px; margin-right: 40px }
  46. i, cite, em,    
  47. var, address    { font-style: italic }
  48. pre, tt, code,  
  49. kbd, samp       { font-family: monospace }
  50. pre             { white-space: pre }
  51. big             { font-size: 1.17em }
  52. small, sub, sup { font-size: .83em }
  53. sub             { vertical-align: sub }
  54. sup             { vertical-align: super }
  55. s, strike, del  { text-decoration: line-through }
  56. hr              { border: 1px inset }
  57. ol, ul, dir,    
  58. menu, dd        { margin-left: 40px }
  59. ol              { list-style-type: decimal }
  60. ol ul, ul ol,   
  61. ul ul, ol ol    { margin-top: 0; margin-bottom: 0 }
  62. u, ins          { text-decoration: underline }
  63. center          { text-align: center }
  64. /* These settings are misimplemented in Opera 7! */
  65. /* br:before       { content: '\A' } */
  66.  
  67. /* An example of style for HTML 4.0's ABBR/ACRONYM elements */
  68.  
  69. abbr, acronym   { font-variant: small-caps; letter-spacing: 0.1em }
  70. a[href]         { text-decoration: underline }
  71. :focus          { outline: thin dotted invert }
  72.  
  73.  
  74. /* These settings are misimplemented in MSIE 5! */
  75. /* Begin bidirectionality settings (do not change) *//*
  76. BDO[DIR='ltr']  { direction: ltr; unicode-bidi: bidi-override }
  77. BDO[DIR='rtl']  { direction: rtl; unicode-bidi: bidi-override }
  78.  
  79. *[DIR='ltr']    { direction: ltr; unicode-bidi: embed }
  80. *[DIR='rtl']    { direction: rtl; unicode-bidi: embed }
  81.  
  82. /* Elements that are block-level in HTML4 *//*
  83. address, blockquote, body, dd, div, dl, dt, fieldset, 
  84. form, frame, frameset, h1, h2, h3, h4, h5, h6, iframe,
  85. noscript, noframes, object, ol, p, ul, applet, center, 
  86. dir, hr, menu, pre, li, table, tr, thead, tbody, tfoot, 
  87. col, colgroup, td, th, caption 
  88.                 { unicode-bidi: embed }
  89. /* End bidi settings */
  90.  
  91.  
  92. @media print {
  93.   h1, h2, h3,   
  94.   h4, h5, h6    { page-break-after: avoid; page-break-inside: avoid }
  95.   blockquote,   
  96.   pre           { page-break-inside: avoid }
  97.   ul, ol, dl    { page-break-before: avoid }
  98. }
  99.  
  100. @media aural {
  101.   h1, h2, h3,   
  102.   h4, h5, h6    { voice-family: paul, male; stress: 20; richness: 90 }
  103.   h1            { pitch: x-low; pitch-range: 90 }
  104.   h2            { pitch: x-low; pitch-range: 80 }
  105.   h3            { pitch: low; pitch-range: 70 }
  106.   h4            { pitch: medium; pitch-range: 60 }
  107.   h5            { pitch: medium; pitch-range: 50 }
  108.   h6            { pitch: medium; pitch-range: 40 }
  109.   li, dt, dd    { pitch: medium; richness: 60 }
  110.   dt            { stress: 80 }
  111.   pre, code, tt { pitch: medium; pitch-range: 0; stress: 0; richness: 80 }
  112.   em            { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
  113.   strong        { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
  114.   dfn           { pitch: high; pitch-range: 60; stress: 60 }
  115.   s, strike     { richness: 0 }
  116.   i             { pitch: medium; pitch-range: 60; stress: 60; richness: 50 }
  117.   b             { pitch: medium; pitch-range: 60; stress: 90; richness: 90 }
  118.   u             { richness: 0 }
  119.   a:link        { voice-family: harry, male }
  120.   a:visited     { voice-family: betty, female }
  121.   a:active      { voice-family: betty, female; pitch-range: 80; pitch: x-high }
  122. }
  123.