html4_default.css 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /*
  2. Default style sheet for HTML 4
  3. Source: http://www.w3.org/TR/CSS21/sample.html
  4. */
  5. html, address,
  6. blockquote,
  7. body, dd, div,
  8. dl, dt, fieldset, form,
  9. frame, frameset,
  10. h1, h2, h3, h4,
  11. h5, h6, noframes,
  12. ol, p, ul, center,
  13. dir, hr, menu, pre { display: block; unicode-bidi: embed }
  14. li { display: list-item }
  15. head { display: none }
  16. table { display: table }
  17. tr { display: table-row }
  18. thead { display: table-header-group }
  19. tbody { display: table-row-group }
  20. tfoot { display: table-footer-group }
  21. col { display: table-column }
  22. colgroup { display: table-column-group }
  23. td, th { display: table-cell }
  24. caption { display: table-caption }
  25. th { font-weight: bolder; text-align: center }
  26. caption { text-align: center }
  27. body { margin: 8px }
  28. h1 { font-size: 2em; margin: .67em 0 }
  29. h2 { font-size: 1.5em; margin: .75em 0 }
  30. h3 { font-size: 1.17em; margin: .83em 0 }
  31. h4, p,
  32. blockquote, ul,
  33. fieldset, form,
  34. ol, dl, dir,
  35. menu { margin: 1.12em 0 }
  36. h5 { font-size: .83em; margin: 1.5em 0 }
  37. h6 { font-size: .75em; margin: 1.67em 0 }
  38. h1, h2, h3, h4,
  39. h5, h6, b,
  40. strong { font-weight: bolder }
  41. blockquote { margin-left: 40px; margin-right: 40px }
  42. i, cite, em,
  43. var, address { font-style: italic }
  44. pre, tt, code,
  45. kbd, samp { font-family: monospace }
  46. pre { white-space: pre }
  47. button, textarea,
  48. input, select { display: inline-block }
  49. big { font-size: 1.17em }
  50. small, sub, sup { font-size: .83em }
  51. sub { vertical-align: sub }
  52. sup { vertical-align: super }
  53. table { border-spacing: 2px; }
  54. thead, tbody,
  55. tfoot { vertical-align: middle }
  56. td, th, tr { vertical-align: inherit }
  57. s, strike, del { text-decoration: line-through }
  58. hr { border: 1px inset }
  59. ol, ul, dir,
  60. menu, dd { margin-left: 40px }
  61. ol { list-style-type: decimal }
  62. ol ul, ul ol,
  63. ul ul, ol ol { margin-top: 0; margin-bottom: 0 }
  64. u, ins { text-decoration: underline }
  65. /*br:before { content: "\A"; white-space: pre-line }*/ /*Not supported*/
  66. center { text-align: center }
  67. /*:link, :visited { text-decoration: underline }*/ /*Not supported*/
  68. /*:focus { outline: thin dotted invert }*/ /*Not supported*/
  69. /* Begin bidirectionality settings (do not change) */
  70. /* BDO[DIR="ltr"] { direction: ltr; unicode-bidi: bidi-override }*/ /*Not supported*/
  71. /* BDO[DIR="rtl"] { direction: rtl; unicode-bidi: bidi-override }*/ /*Not supported*/
  72. /* *[DIR="ltr"] { direction: ltr; unicode-bidi: embed }*/ /*Not supported*/
  73. /* *[DIR="rtl"] { direction: rtl; unicode-bidi: embed }*/ /*Not supported*/
  74. /*Not supported*/
  75. /*@media print {
  76. h1 { page-break-before: always }
  77. h1, h2, h3,
  78. h4, h5, h6 { page-break-after: avoid }
  79. ul, ol, dl { page-break-before: avoid }
  80. }*/