summaryrefslogtreecommitdiff
path: root/css/main.css
blob: d4955457a6ab642bb3b6c40e2f3296186ac7510b (plain)
  1. /* @group General styles */
  2. /*
  3. Harmonise v1.3
  4. Resets styles then adds basic typographical styling.
  5. Use as a starting point upon which to build more CSS.
  6. By Clearleft.com
  7. */
  8. /* @group Reset */
  9. /* Based on http://meyerweb.com/eric/tools/css/reset/ */
  10. /* v1.0 | 20080212 */
  11. html, body, div, span, applet, object, iframe,
  12. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  13. a, abbr, acronym, address, big, cite, code,
  14. del, dfn, em, font, img, ins, kbd, q, s, samp,
  15. small, strike, strong, sub, sup, tt, var,
  16. b, u, i, center,
  17. dl, dt, dd, ol, ul, li,
  18. fieldset, form, label, legend,
  19. table, caption, tbody, tfoot, thead, tr, th, td {
  20. margin: 0;
  21. padding: 0;
  22. border: 0;
  23. outline: 0;
  24. font-size: 100%;
  25. vertical-align: baseline;
  26. background: transparent;
  27. }
  28. ul {
  29. list-style: none;
  30. }
  31. blockquote, q {
  32. quotes: none;
  33. }
  34. blockquote:before, blockquote:after,
  35. q:before, q:after {
  36. content: '';
  37. content: none;
  38. }
  39. :focus {
  40. outline: 0;
  41. }
  42. /* tables may still need 'cellspacing="0"' in the markup */
  43. table {
  44. border-collapse: collapse;
  45. border-spacing: 0;
  46. }
  47. /* @end */
  48. body {
  49. background: #fff;
  50. color:#000; font-size:14px; line-height:1.2em; }
  51. a:link,
  52. button.link span {
  53. color: #0063DC;
  54. text-decoration: underline;
  55. } a:visited {
  56. color: #1057ae;
  57. text-decoration: underline;
  58. } a:hover,
  59. a:focus,
  60. button.link:hover,
  61. button.link:focus span {
  62. color: #FFFFFF;
  63. text-decoration: none;
  64. background-color: #0063DC;
  65. } a:active,
  66. button.link:active span {
  67. color: #FFFFFF;
  68. text-decoration: none;
  69. background-color: #0259C4;
  70. }
  71. /* @group Font families */
  72. body {
  73. font-family: "helvetica neue", arial, helvetica, sans-serif;
  74. }
  75. pre, code, kbd, tt, samp, tt {
  76. font-family: "andale mono", monospace;
  77. }
  78. /* @end */
  79. /* @group Font sizes & margins */
  80. p, ul, ol, dl, address, table, pre, form, fieldset {
  81. font-size: 1em /* 14px */;
  82. margin-bottom: 0.5em;
  83. }
  84. /* size headings using classic scale of 16, 18, 24, 36 */
  85. /* @end */
  86. /* @group Headings */
  87. h1 {
  88. font-size: 2.571em /* 36px */;
  89. line-height:1em /* 36px */;
  90. margin-top:0.1667em /* 6px */;
  91. margin-bottom:0.5833em /* 21px */;
  92. }
  93. h2, h3 {
  94. font-size:1.143em /* 16px */;
  95. margin-top:0;
  96. padding-bottom: 0.5em;
  97. margin-bottom:0.5em /* 8px */;
  98. text-align: center;
  99. border-bottom: 1px solid #999;
  100. }
  101. h4 {
  102. margin-top:1em /* 21px */;
  103. font-size:1em /* 14px */;
  104. margin-bottom: 0.5em;
  105. }
  106. h5, h6 {
  107. font-size:1em /* 14px */;
  108. margin-bottom: 0.5em;
  109. }
  110. /* @end */
  111. /* @group Lists */
  112. ul {
  113. list-style-type: disc;
  114. margin-left: 1.5em; /* 21px */
  115. }
  116. ol {
  117. list-style-type: decimal;
  118. margin-left: 1.5em; /* 21px */
  119. }
  120. dt {
  121. font-weight: bold;
  122. margin-top: 1.5em; /* 21px */
  123. }
  124. ul ul, ol ol, ol ul, ul ol {
  125. margin-bottom: 0;
  126. }
  127. /* @end */
  128. /* @group Tables */
  129. table {
  130. border-bottom: 1px solid #C7C7C7;
  131. }
  132. caption {
  133. font-weight: bold;
  134. padding-bottom: 0.4375em; /* 7px */
  135. font-size:1.144em; /* 16px */
  136. }
  137. thead th {
  138. border-bottom: 3px solid #C7C7C7;
  139. padding-top: 0;
  140. padding-bottom: 0.5em; /* 7px */
  141. }
  142. tbody {
  143. border-top: 3px solid #C7C7C7; /* not rendered in IE6/7 */
  144. }
  145. tbody tr th, tbody tr td {
  146. border-top: 1px solid #C7C7C7;
  147. }
  148. th, td {
  149. text-align: left;
  150. padding: 0.286em 0.5em 0.214em 0.5em; /* 4px 7px 3px 7px */
  151. }
  152. /* @end */
  153. /* @group Blockquotes */
  154. blockquote {
  155. font-style: italic;
  156. margin:0 0 0 0; /* 21px */
  157. color: #999;
  158. }
  159. p+p+blockquote {
  160. margin-top: 1.5em /* 21px */;
  161. }
  162. blockquote cite,
  163. blockquote em {
  164. font-style: normal;
  165. }
  166. /* @end */
  167. /* @group Other styling */
  168. address {
  169. font-style: normal;
  170. }
  171. ins {
  172. text-decoration: underline;
  173. color: #27AD16;
  174. }
  175. del {
  176. text-decoration: line-through;
  177. color: #B60D10;
  178. }
  179. pre {
  180. white-space: pre;
  181. width: 100%;
  182. font-size: 0.7em;
  183. overflow: hidden;
  184. border-top: 3px double #C7C7C7;
  185. border-bottom: 3px double #C7C7C7;
  186. padding: 0.5em 0;
  187. }
  188. /* @end */
  189. /* @end */
  190. /* @group Helper styles */
  191. /* @group Forms */
  192. /* @group Containers */
  193. form .container {
  194. margin-bottom: 1.5em; /* 21px */
  195. }
  196. /* @group Fieldsets */
  197. fieldset {
  198. border: 1px solid #ccc;
  199. padding: 0 1.5em 1em 1.5em; /* 0 21px 14px 21px */
  200. }
  201. legend {
  202. font-weight: bold;
  203. }
  204. form fieldset .container {
  205. margin-top: 1em; /* 14px */
  206. margin-bottom:0;
  207. position: relative;
  208. }
  209. /* @end */
  210. /* @end */
  211. /* @group Labels */
  212. label {
  213. font-weight: bold;
  214. cursor: pointer;
  215. }
  216. .meta-label {
  217. font-weight: bold;
  218. margin-bottom: 0;
  219. }
  220. .multi-container label,
  221. .radio-container label,
  222. .checkbox-container label {
  223. font-weight: normal;
  224. }
  225. .radio-container label,
  226. .checkbox-container label {
  227. display: block;
  228. }
  229. .compact label {
  230. display: inline;
  231. }
  232. /* @end */
  233. /* @group Meta */
  234. form .help {
  235. display: block;
  236. color: #777;
  237. font-style: normal;
  238. font-size: 0.857em; /* 12px */
  239. }
  240. /* @end */
  241. /* @group Form controls */
  242. input, textarea, select, button {
  243. font-family: inherit;
  244. font-size: 1em;
  245. line-height: inherit;
  246. }
  247. select {
  248. background-color: #fff; /* fixes bug in Opera which inherits bgcolor from container */
  249. }
  250. textarea,
  251. input[type='text'],
  252. input[type='password'],
  253. select {
  254. border-width: 1px;
  255. border-style: solid;
  256. border-top-color: #999;
  257. border-left-color: #999;
  258. border-bottom-color: #ccc;
  259. border-right-color: #ccc;
  260. padding: 0 1px 1px 1px;
  261. }
  262. textarea:focus,
  263. input[type='text']:focus,
  264. input[type='password']:focus,
  265. select:focus {
  266. border-color: #888;
  267. outline: 2px solid #ffffaa;
  268. }
  269. input.short {
  270. width: 4em;
  271. }
  272. input.medium, textarea.medium {
  273. width: 12em;
  274. }
  275. input.long, textarea.long {
  276. width: 30em;
  277. }
  278. textarea {
  279. width: 99%;
  280. display: block;
  281. }
  282. button {
  283. overflow: visible;
  284. cursor: pointer;
  285. }
  286. .button-container input {
  287. font-weight: bold;
  288. }
  289. .button-container input.cancel {
  290. font-weight: normal;
  291. }
  292. button.link {
  293. border: 0;
  294. padding: 0;
  295. background-color: #fff;
  296. font-weight: normal;
  297. cursor: pointer;
  298. width: auto;
  299. overflow: visible;
  300. }
  301. /* accessibility feature, resize check and radio inputs */
  302. .radio-container input,
  303. .checkbox-container input {
  304. width: 1em;
  305. height: 1em;
  306. }
  307. /* @end */
  308. /* @end */
  309. /* @end */
  310. /* @group Page structure */
  311. #book {
  312. margin: 10px;
  313. }
  314. .page {
  315. width: 241px;
  316. height: 370px;
  317. overflow: hidden;
  318. outline: 1px solid #C7C7C7;
  319. float: left;
  320. margin: 10px;
  321. }
  322. .inner {
  323. margin: 15px;
  324. }
  325. /* @end */
  326. /* @group Page Components */
  327. /* @group Page Types */
  328. /* class on page */
  329. .lines {
  330. background-image: url(../img/lines.gif);
  331. background-repeat: repeat-y;
  332. background-position: 15px 1em;
  333. }
  334. .squares {
  335. }
  336. .isometric {
  337. }
  338. /* @end */
  339. /* @group Page Elements */
  340. /* @group Todo list */
  341. .todo {
  342. padding-left: 0;
  343. margin-left: 0;
  344. }
  345. .todo li {
  346. border-bottom: 1px solid #C7C7C7;
  347. background-image: url(../img/check.gif);
  348. background-repeat: no-repeat;
  349. background-position: 0 0.3em;
  350. list-style-type: none;
  351. margin: 0.35em 0 0 0;
  352. padding: 0 0 0.35em 15px;
  353. }
  354. /* @end */
  355. .micro p,
  356. .micro h3,
  357. .micro h4,
  358. .micro h5,
  359. .micro h6,
  360. h3.micro,
  361. h4.micro,
  362. h5.micro,
  363. h6.micro,
  364. p.micro {
  365. font-size: 0.7em;
  366. }
  367. /* @end */
  368. /* @end */
  369. /* @group Overrides */
  370. /* @end */