summaryrefslogtreecommitdiff
path: root/css/main.css
blob: b0ed6a1167341b0594a116ba955a9cfbc5114bf4 (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. h1 span {
  94. font-size: 0.5em;
  95. line-height: 1;
  96. color: #999;
  97. display: block;
  98. margin-bottom: 0.3em;
  99. }
  100. h2, h3 {
  101. font-size:1.143em /* 16px */;
  102. margin-top:0;
  103. padding-bottom: 0.5em;
  104. margin-bottom:0.5em /* 8px */;
  105. text-align: center;
  106. border-bottom: 1px solid #999;
  107. }
  108. h4 {
  109. margin-top:1em /* 21px */;
  110. font-size:1em /* 14px */;
  111. margin-bottom: 0.5em;
  112. }
  113. h5, h6 {
  114. font-size:1em /* 14px */;
  115. margin-bottom: 0.5em;
  116. }
  117. /* @end */
  118. /* @group Lists */
  119. ul {
  120. list-style-type: disc;
  121. margin-left: 1.5em; /* 21px */
  122. }
  123. ol {
  124. list-style-type: decimal;
  125. margin-left: 1.5em; /* 21px */
  126. }
  127. dt {
  128. font-weight: bold;
  129. margin-top: 1.5em; /* 21px */
  130. }
  131. ul ul, ol ol, ol ul, ul ol {
  132. margin-bottom: 0;
  133. }
  134. /* @end */
  135. /* @group Tables */
  136. table {
  137. border-bottom: 1px solid #C7C7C7;
  138. }
  139. caption {
  140. font-weight: bold;
  141. padding-bottom: 0.4375em; /* 7px */
  142. font-size:1.144em; /* 16px */
  143. }
  144. thead th {
  145. border-bottom: 3px solid #C7C7C7;
  146. padding-top: 0;
  147. padding-bottom: 0.5em; /* 7px */
  148. }
  149. tbody {
  150. border-top: 3px solid #C7C7C7; /* not rendered in IE6/7 */
  151. }
  152. tbody tr th, tbody tr td {
  153. border-top: 1px solid #C7C7C7;
  154. }
  155. th, td {
  156. text-align: left;
  157. padding: 0.286em 0.5em 0.214em 0.5em; /* 4px 7px 3px 7px */
  158. }
  159. /* @end */
  160. /* @group Blockquotes */
  161. blockquote {
  162. font-style: italic;
  163. margin:0 0 0 0; /* 21px */
  164. color: #999;
  165. }
  166. p+p+blockquote {
  167. margin-top: 1.5em /* 21px */;
  168. }
  169. blockquote cite,
  170. blockquote em {
  171. font-style: normal;
  172. }
  173. /* @end */
  174. /* @group Other styling */
  175. address {
  176. font-style: normal;
  177. }
  178. ins {
  179. text-decoration: underline;
  180. color: #27AD16;
  181. }
  182. del {
  183. text-decoration: line-through;
  184. color: #B60D10;
  185. }
  186. pre {
  187. white-space: pre;
  188. width: 100%;
  189. font-size: 0.7em;
  190. overflow: hidden;
  191. border-top: 3px double #C7C7C7;
  192. border-bottom: 3px double #C7C7C7;
  193. padding: 0.5em 0;
  194. }
  195. hr {
  196. border: none;
  197. background-color: black;
  198. height: 1px;
  199. }
  200. /* @end */
  201. /* @end */
  202. /* @group Helper styles */
  203. /* @group Forms */
  204. /* @group Containers */
  205. form .container {
  206. margin-bottom: 1.5em; /* 21px */
  207. }
  208. /* @group Fieldsets */
  209. fieldset {
  210. border: 1px solid #ccc;
  211. padding: 0 1.5em 1em 1.5em; /* 0 21px 14px 21px */
  212. }
  213. legend {
  214. font-weight: bold;
  215. }
  216. form fieldset .container {
  217. margin-top: 1em; /* 14px */
  218. margin-bottom:0;
  219. position: relative;
  220. }
  221. /* @end */
  222. /* @end */
  223. /* @group Labels */
  224. label {
  225. font-weight: bold;
  226. cursor: pointer;
  227. }
  228. .meta-label {
  229. font-weight: bold;
  230. margin-bottom: 0;
  231. }
  232. .multi-container label,
  233. .radio-container label,
  234. .checkbox-container label {
  235. font-weight: normal;
  236. }
  237. .radio-container label,
  238. .checkbox-container label {
  239. display: block;
  240. }
  241. .compact label {
  242. display: inline;
  243. }
  244. /* @end */
  245. /* @group Meta */
  246. form .help {
  247. display: block;
  248. color: #777;
  249. font-style: normal;
  250. font-size: 0.857em; /* 12px */
  251. }
  252. /* @end */
  253. /* @group Form controls */
  254. input, textarea, select, button {
  255. font-family: inherit;
  256. font-size: 1em;
  257. line-height: inherit;
  258. }
  259. select {
  260. background-color: #fff; /* fixes bug in Opera which inherits bgcolor from container */
  261. }
  262. textarea,
  263. input[type='text'],
  264. input[type='password'],
  265. select {
  266. border-width: 1px;
  267. border-style: solid;
  268. border-top-color: #999;
  269. border-left-color: #999;
  270. border-bottom-color: #ccc;
  271. border-right-color: #ccc;
  272. padding: 0 1px 1px 1px;
  273. }
  274. textarea:focus,
  275. input[type='text']:focus,
  276. input[type='password']:focus,
  277. select:focus {
  278. border-color: #888;
  279. outline: 2px solid #ffffaa;
  280. }
  281. input.short {
  282. width: 4em;
  283. }
  284. input.medium, textarea.medium {
  285. width: 12em;
  286. }
  287. input.long, textarea.long {
  288. width: 30em;
  289. }
  290. textarea {
  291. width: 99%;
  292. display: block;
  293. }
  294. button {
  295. overflow: visible;
  296. cursor: pointer;
  297. }
  298. .button-container input {
  299. font-weight: bold;
  300. }
  301. .button-container input.cancel {
  302. font-weight: normal;
  303. }
  304. button.link {
  305. border: 0;
  306. padding: 0;
  307. background-color: #fff;
  308. font-weight: normal;
  309. cursor: pointer;
  310. width: auto;
  311. overflow: visible;
  312. }
  313. /* accessibility feature, resize check and radio inputs */
  314. .radio-container input,
  315. .checkbox-container input {
  316. width: 1em;
  317. height: 1em;
  318. }
  319. /* @end */
  320. /* @end */
  321. .amp {
  322. font-family: "Bell MT", "Adobe Caslon Pro", "Goudy Old Style";
  323. font-style: italic;
  324. font-size: 1.3em;
  325. line-height: 0.7;
  326. margin: 0 0.2em 0 0.1em;
  327. }
  328. /* @end */
  329. /* @group Page structure */
  330. #book {
  331. margin: 10px;
  332. overflow: hidden;
  333. }
  334. .page {
  335. width: 241px;
  336. height: 370px;
  337. overflow: hidden;
  338. outline: 1px solid #C7C7C7;
  339. float: left;
  340. margin: 10px;
  341. position: relative;
  342. }
  343. .inner {
  344. margin: 15px;
  345. }
  346. .footer {
  347. position: absolute;
  348. bottom: 15px;
  349. left: 15px;
  350. width: 211px;
  351. }
  352. /* @end */
  353. /* @group Page Components */
  354. /* @group Page Types */
  355. /* class on page */
  356. .lines {
  357. background-image: url(../img/lines.gif);
  358. background-repeat: repeat-y;
  359. background-position: 15px 1em;
  360. }
  361. .squares {
  362. }
  363. .isometric {
  364. }
  365. /* @end */
  366. /* @group Page Elements */
  367. /* @group Todo list */
  368. .todo {
  369. padding-left: 0;
  370. margin-left: 0;
  371. }
  372. .todo li {
  373. border-bottom: 1px solid #C7C7C7;
  374. background-image: url(../img/check.gif);
  375. background-repeat: no-repeat;
  376. background-position: 0 0.3em;
  377. list-style-type: none;
  378. margin: 0.35em 0 0 0;
  379. padding: 0 0 0.35em 15px;
  380. }
  381. /* @end */
  382. .micro p,
  383. .micro h3,
  384. .micro h4,
  385. .micro h5,
  386. .micro h6,
  387. h3.micro,
  388. h4.micro,
  389. h5.micro,
  390. h6.micro,
  391. p.micro,
  392. span.micro {
  393. font-size: 0.7em;
  394. line-height: 1.5em;
  395. display: block;
  396. }
  397. /* @end */
  398. /* @end */
  399. /* @group Overrides */
  400. /* @end */