mint.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. @import url(layout.css);
  2. /* stop header elements from pushing divs apart */
  3. p,
  4. h1,
  5. h2 {
  6. margin: 0;
  7. padding-top: 0;
  8. }
  9. h3,
  10. h4,
  11. h5,
  12. h6 {
  13. margin: 0;
  14. padding-top: 0.5em;
  15. padding-bottom: 0.5em;
  16. }
  17. p {
  18. padding-top: 0.5em;
  19. padding-bottom: 0.5em;
  20. }
  21. /* some basics: a colour and font settings */
  22. body {
  23. background-color: #c6dcd1;
  24. font-family: sans-serif;
  25. font-size: small;
  26. }
  27. a {
  28. color: #226;
  29. background: #efe;
  30. }
  31. a:active {
  32. color: #000;
  33. }
  34. a:hover {
  35. text-decoration: underline;
  36. }
  37. a:visited {
  38. font-style: italic;
  39. }
  40. #navigation a {
  41. background: none;
  42. text-decoration: none;
  43. }
  44. /* the header of the page will occupy the top 96 pixels and all of the
  45. * width of the page. The site-title will be an image replacement and
  46. * occupy virtually all of the space.
  47. *
  48. * The body has a gradient background which starts immediately below
  49. * the header and tiles left-to-right
  50. */
  51. #header {
  52. background: #fff;
  53. margin: -16px;
  54. margin-bottom: 0;
  55. height: 92px;
  56. }
  57. #header #site {
  58. padding-top: 16px;
  59. width: 351px;
  60. height: 80px;
  61. text-align: right;
  62. color: #fff;
  63. font-size: 0pt;
  64. background: url(img/logo.png) no-repeat 0% 50%;
  65. width: 100%;
  66. }
  67. #header #forkme {
  68. position: absolute;
  69. margin: 0;
  70. top: 0;
  71. right: 0;
  72. border: 0;
  73. }
  74. body {
  75. background-image: url(img/gradient.png);
  76. background-repeat: repeat-x;
  77. background-position: 0px 92px;
  78. }
  79. /* the page title from the header will be moved down to form a 'tab'
  80. * on top of the body area. Similarly, the h3 at the top of the
  81. * contents div will be a tab.
  82. */
  83. /* positioning */
  84. #navigation {
  85. top: 128px;
  86. }
  87. #header #page {
  88. position: absolute;
  89. top: 128px;
  90. left: 200px;
  91. margin-left: 16px;
  92. }
  93. /* style */
  94. #header #page,
  95. .nav h3 {
  96. color: #fff;
  97. background: #87ad9a; /*#00a;*/
  98. border: 2px solid #497d63; /* #000;*/
  99. border-bottom: none;
  100. height: 24px;
  101. font-weight: bold;
  102. font-size: 11pt;
  103. vertical-align: middle;
  104. text-align: center;
  105. padding-left: 1em;
  106. padding-right: 1em;
  107. }
  108. .nav h3 {
  109. width: 50%;
  110. padding-top: 0;
  111. padding-bottom: 0;
  112. }
  113. /* now need to push the main portion of the page down to fit below the
  114. * tab title
  115. */
  116. #main {
  117. margin-top: 62px;
  118. /* http://tantek.com/CSS/Examples/boxmodelhack.html */
  119. voice-family: '"}"';
  120. voice-family: inherit;
  121. margin-top: 60px;
  122. }
  123. html > body #main {
  124. margin-top: 62px;
  125. }
  126. .nav ul {
  127. margin-left: 0;
  128. padding-left: 0.5em;
  129. padding-top: 0.5em;
  130. padding-bottom: 0.5em;
  131. }
  132. .nav ul,
  133. #main,
  134. #footer,
  135. .nav p {
  136. background: #fff;
  137. border: 2px solid #497d63;
  138. }
  139. .nav ul {
  140. list-style: none;
  141. }
  142. .nav ul ul {
  143. list-style: disc;
  144. }
  145. .nav ul ul {
  146. border: none;
  147. padding-top: 0;
  148. margin-left: 2em;
  149. padding-left: 0;
  150. }
  151. table {
  152. width: 100%;
  153. }
  154. table,
  155. th,
  156. td,
  157. tr {
  158. margin: 0;
  159. border-spacing: 0;
  160. }
  161. th {
  162. text-align: center;
  163. background: #87ad9a;
  164. color: #fff;
  165. }
  166. td,
  167. th {
  168. border: solid 1px #497d63;
  169. }
  170. table {
  171. border: solid 2px #497d63;
  172. }
  173. img {
  174. margin: 1em;
  175. }
  176. a img {
  177. border: 0;
  178. }