summaryrefslogtreecommitdiff
path: root/nn4.css
blob: 80da057b2cae7f3e074623a6782ad017bfa7dcfb (plain)
  1. /*simple styles for simple browsers. primarily nn4. make darn sure everything in here is overridden in the real css*/
  2. /*ie4.5mac has problems with this. it makes text small, and the nested list is impossibly small, even when user increases to largest. solution? ignore it. you will go nuts trying to serve different styles to nn4 and ie4.5mac. either give them both plain xhtml, or style for nn4 at the slight inconvenience of the few, or zero, remaining ie4.5mac users.*/
  3. body, h1, h2, h3, h4, h5, h6,ol, ul, li, p {
  4. font-family: verdana, arial, helvetica, sans-serif;
  5. color: #000;
  6. }
  7. body {
  8. margin: 0;
  9. padding: 40px 5% 5% 5%;
  10. background-color: #fff;
  11. background-image: url(http://source.jones.dk/ikiwiki_scs/n4_upgrade.gif);/*use full url so both ie45mac and nn4 can find it. and for gosh sakes people, if you use this code, point to an img on _your_ server, not mine.*/
  12. background-repeat: no-repeat;
  13. background-position: top left;
  14. }
  15. /*the following classes are to demonstrate better line heights for narrow columns*/
  16. .narrow1{
  17. width: 50%;
  18. line-height: 90%;
  19. }
  20. .narrow2{
  21. width: 50%;
  22. line-height: 105%;
  23. }
  24. /*typography*/
  25. a:link {
  26. }
  27. a:visited {
  28. }
  29. a:active {
  30. }
  31. a:hover {
  32. /*hover doesn't work in nn4*/
  33. }
  34. h1 {
  35. font-size: 150%;
  36. font-weight: normal;
  37. }
  38. h2 {
  39. font-size: 120%;
  40. font-weight: normal;
  41. }
  42. h3 {
  43. font-size: 100%;
  44. font-weight: normal;
  45. }
  46. h4 {
  47. font-size: 80%;
  48. font-weight: bold;
  49. }
  50. h5 {
  51. font-size: 70%;
  52. font-weight: bold;
  53. }
  54. h6 {
  55. font-size: 64%;
  56. font-weight: bold;
  57. }
  58. img {
  59. border: 0;
  60. }
  61. ol, ul, li {/*
  62. list-style: none;*/
  63. font-size: 80%;
  64. line-height: 120%;
  65. }
  66. p {
  67. font-size: 80%;
  68. line-height: 120%;
  69. }
  70. pre {
  71. font-family: monospace;
  72. font-size: 80%;
  73. }
  74. strong, b {
  75. font-weight: bold;
  76. }