summaryrefslogtreecommitdiff
path: root/real.css
blob: 2137d2ed5aa0b61c28f28fb3b46380b0da461c9d (plain)
  1. body {
  2. margin: 0;
  3. padding: 0;
  4. font-family: verdana, arial, helvetica, sans-serif;
  5. font-size: 76%;/* font sizing in ems, baby. if you want to change anything, just change this.*/
  6. /*funny thing happens at 75% and lower. opera goes to a nice small size, but moz and ie pc change almost not at all. seems 76% is as small as you can go and stay the same across browsers. poop.*/
  7. color: #000;
  8. background-color: #fff;
  9. background-image: url(http://source.jones.dk/ikiwiki_scs/_.gif);/*these three lines replace the n4_upgrade.gif in n4.css. and if you use this code, make sure you point to an img on _your_ server, not mine.*/
  10. background-repeat: no-repeat;
  11. background-position: top left;
  12. }
  13. #content {
  14. margin: 0em;
  15. padding: 4em 6em 2em 6em;/* use padding instead of margin for multicolumn layouts because of a really odd ie5pc bug where it sometimes relates the width of an unrelated menu div to this div. i'll, uh, write about that somewhere. it was hard to figure out what was causing it, so i want this note here to remind me. */
  16. }
  17. /*the following classes are to demonstrate better line heights for narrow columns*/
  18. .narrow1{
  19. width: 50%;
  20. line-height: 1.3em;
  21. }
  22. .narrow2{
  23. width: 50%;
  24. line-height: 1.5em;
  25. }
  26. /*typography*/
  27. a {
  28. text-decoration: none;
  29. font-weight: bold;
  30. color: #000;
  31. }
  32. a:link {
  33. }
  34. a:visited {
  35. }
  36. a:active {
  37. }
  38. a:hover {
  39. text-decoration: underline;
  40. }
  41. h1 {
  42. font-size: 2.0em;
  43. font-weight: normal;
  44. margin-top: 0em;
  45. margin-bottom: 0em;/*both set to zero and padding in header div is used intead to deal with compound ie pc problems that are beyound summary in a simple comment.*/
  46. }
  47. h2 {
  48. font-size: 1.7em;
  49. margin: 1.2em 0em 1.2em 0em;
  50. font-weight: normal;
  51. }
  52. h3 {
  53. font-size: 1.4em;
  54. margin: 1.2em 0em 1.2em 0em;
  55. font-weight: normal;
  56. }
  57. h4 {
  58. font-size: 1.2em;
  59. margin: 1.2em 0em 1.2em 0em;
  60. font-weight: bold;
  61. }
  62. h5 {
  63. font-size: 1.0em;
  64. margin: 1.2em 0em 1.2em 0em;
  65. font-weight: bold;
  66. }
  67. h6 {
  68. font-size: 0.8em;
  69. margin: 1.2em 0em 1.2em 0em;
  70. font-weight: bold;
  71. }
  72. img {
  73. border: 0;
  74. }
  75. ol, ul, li {/*
  76. list-style: none;*/
  77. font-size: 1.0em;
  78. line-height: 1.8em;
  79. margin-top: 0.2em;
  80. margin-bottom: 0.1em;
  81. }
  82. p {
  83. font-size: 1.0em;
  84. line-height: 1.8em;
  85. margin: 1.2em 0em 1.2em 0em;
  86. }
  87. li > p {
  88. margin-top: 0.2em;
  89. }
  90. pre {/*moz 1.0/1.1/1.2.1, net 7.0/7.01 make this way too small, but i'm not going to go larger because monospace tends to run you into overflow pretty quick. prior moz and net are okay.*/
  91. font-family: monospace;
  92. font-size: 1.0em;
  93. }
  94. strong, b {
  95. font-weight: bold;
  96. }