style.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548
  1. /*
  2. * HTML5 ✰ Boilerplate
  3. *
  4. * What follows is the result of much research on cross-browser styling.
  5. * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
  6. * Kroc Camen, and the H5BP dev community and team.
  7. *
  8. * Detailed information about this CSS: h5bp.com/css
  9. */
  10. /* =============================================================================
  11. HTML5 element display
  12. ========================================================================== */
  13. article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
  14. audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
  15. audio:not([controls]) { display: none; }
  16. [hidden] { display: none; }
  17. /* =============================================================================
  18. Base
  19. ========================================================================== */
  20. /*
  21. * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
  22. * 2. Force vertical scrollbar in non-IE
  23. * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
  24. */
  25. html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
  26. body { margin: 0; font-size: 13px; line-height: 1.231; }
  27. body, button, input, select, textarea { font-family: sans-serif; color: #222; }
  28. /*
  29. * Remove text-shadow in selection highlight: h5bp.com/i
  30. * These selection declarations have to be separate
  31. * Also: hot pink! (or customize the background color to match your design)
  32. */
  33. ::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
  34. ::selection { background: #fe57a1; color: #fff; text-shadow: none; }
  35. /* =============================================================================
  36. Links
  37. ========================================================================== */
  38. a { color: #00e; }
  39. a:visited { color: #551a8b; }
  40. a:hover { color: #06e; }
  41. a:focus { outline: thin dotted; }
  42. /* Improve readability when focused and hovered in all browsers:
  43. h5bp.com/h */
  44. a:hover, a:active { outline: 0; }
  45. /* =============================================================================
  46. Typography
  47. ========================================================================== */
  48. abbr[title] { border-bottom: 1px dotted; }
  49. b, strong { font-weight: bold; }
  50. blockquote { margin: 1em 40px; }
  51. dfn { font-style: italic; }
  52. hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
  53. ins { background: #ff9; color: #000; text-decoration: none; }
  54. mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
  55. /* Redeclare monospace font family: h5bp.com/j */
  56. pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
  57. /* Improve readability of pre-formatted text in all browsers */
  58. pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
  59. q { quotes: none; }
  60. q:before, q:after { content: ""; content: none; }
  61. small { font-size: 85%; }
  62. /* Position subscript and superscript content without affecting line-height: h5bp.com/k */
  63. sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
  64. sup { top: -0.5em; }
  65. sub { bottom: -0.25em; }
  66. /* =============================================================================
  67. Lists
  68. ========================================================================== */
  69. ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
  70. dd { margin: 0 0 0 40px; }
  71. nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
  72. /* =============================================================================
  73. Embedded content
  74. ========================================================================== */
  75. /*
  76. * 1. Improve image quality when scaled in IE7 h5bp.com/d
  77. * 2. Remove the gap between images and borders on image containers h5bp.com/e
  78. */
  79. img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
  80. /*
  81. * Correct overflow not hidden in IE9
  82. */
  83. svg:not(:root) { overflow: hidden; }
  84. /* =============================================================================
  85. Figures
  86. ========================================================================== */
  87. figure { margin: 0; }
  88. /* =============================================================================
  89. Forms
  90. ========================================================================== */
  91. form { margin: 0; }
  92. fieldset { border: 0; margin: 0; padding: 0; }
  93. /* Indicate that 'label' will shift focus to the associated form element */
  94. label { cursor: pointer; }
  95. /*
  96. * 1. Correct color not inheriting in IE6/7/8/9
  97. * 2. Correct alignment displayed oddly in IE6/7
  98. */
  99. legend { border: 0; *margin-left: -7px; padding: 0; }
  100. /*
  101. * 1. Correct font-size not inheriting in all browsers
  102. * 2. Remove margins in FF3/4 S5 Chrome
  103. * 3. Define consistent vertical alignment display in all browsers
  104. */
  105. button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
  106. /*
  107. * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
  108. * 2. Correct inner spacing displayed oddly in IE6/7
  109. */
  110. button, input { line-height: normal; *overflow: visible; }
  111. /*
  112. * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
  113. */
  114. table button, table input { *overflow: auto; }
  115. /*
  116. * 1. Display hand cursor for clickable form elements
  117. * 2. Allow styling of clickable form elements in iOS
  118. */
  119. button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
  120. /*
  121. * Consistent box sizing and appearance
  122. */
  123. input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
  124. input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
  125. input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
  126. /*
  127. * Remove inner padding and border in FF3/4 h5bp.com/l
  128. */
  129. button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
  130. /*
  131. * 1. Remove default vertical scrollbar in IE6/7/8/9
  132. * 2. Allow only vertical resizing
  133. */
  134. textarea { overflow: auto; vertical-align: top; resize: vertical; }
  135. /* Colors for form validity */
  136. input:valid, textarea:valid { }
  137. input:invalid, textarea:invalid { background-color: #f0dddd; }
  138. /* =============================================================================
  139. Tables
  140. ========================================================================== */
  141. table { border-collapse: collapse; border-spacing: 0; }
  142. td { vertical-align: top; }
  143. /* =============================================================================
  144. Primary styles
  145. Author:
  146. ========================================================================== */
  147. html {
  148. border-top: 4px solid #000000;;
  149. margin:0;
  150. padding:0;
  151. }
  152. body {
  153. background: #ffffff;
  154. width: 960px;
  155. color:#333;
  156. line-height: 24px;
  157. font-size: 16px;
  158. font-family: Georgia, 'Times New Roman', Times, serif;
  159. margin: 0 auto;
  160. padding: 15px 0;
  161. }
  162. #container {
  163. width: 960px;
  164. margin: 0;
  165. padding: 0 0 40px 0;
  166. }
  167. a {
  168. text-decoration: underline;
  169. color: #000000;
  170. }
  171. a:visited {
  172. text-decoration: underline;
  173. color: #555555;
  174. }
  175. a:hover, a:active {
  176. color: #1C1D16;
  177. text-decoration: underline;
  178. }
  179. h1, h2, h3, h4, h5, h6 {
  180. font-weight: normal;
  181. margin: 5px 0 10px;
  182. padding: 0;
  183. line-height: 1.8em;
  184. }
  185. #container h4.archives{
  186. font-weight: normal;
  187. margin: 0 0 10px 0;
  188. padding: 0 15px 15px 15px;
  189. background: #eeeeee;
  190. border: 1px solid #cccccc;
  191. width: 928px;
  192. }
  193. ul, ol {
  194. color: #555555;
  195. margin: 12px;
  196. padding: 8px;
  197. }
  198. blockquote, pre {
  199. font-style: italic;
  200. font-size: 14px;
  201. background-color: #eeeeee;
  202. border-right: 1px solid #cccccc;
  203. border-bottom: 1px solid #cccccc;
  204. padding: 20px;
  205. line-height: 20px;
  206. margin: 10px 25px;
  207. }
  208. ins {
  209. text-decoration: none;
  210. font-weight: bold;
  211. color: #555555;
  212. }
  213. del {
  214. color: #555555;
  215. }
  216. abbr, acronym {
  217. cursor: help;
  218. }
  219. p img {
  220. padding: 0;
  221. max-width: 100%;
  222. }
  223. img.centered {
  224. display: block;
  225. margin-left: auto;
  226. margin-right: auto;
  227. }
  228. img.alignright {
  229. padding: 5px;
  230. margin: 0 0 15px 15px;
  231. display: inline;
  232. }
  233. img.alignleft {
  234. padding: 5px;
  235. margin: 0 15px 15px 0;
  236. display: inline;
  237. }
  238. .alignright {
  239. float: right;
  240. }
  241. .alignleft {
  242. float: left;
  243. }
  244. /**--Header--**/
  245. #header {
  246. width: 960px;
  247. margin: 15px 0 10px;
  248. padding: 0;
  249. }
  250. #header h1 {
  251. text-transform: uppercase;
  252. margin: 0;
  253. font-size: 48px;
  254. font-weight: 400;
  255. color: #000000;
  256. padding: 15px 0 0 0;
  257. line-height: 50px;
  258. }
  259. #header h1 a {
  260. color: #000000;
  261. text-decoration:none;
  262. }
  263. #header h1 a:hover {
  264. color: #676767;
  265. text-decoration:none;
  266. }
  267. #header h1 a:visited {
  268. color: #21211f;
  269. text-decoration:none;
  270. }
  271. #header h2 {
  272. font-style: italic;
  273. font-family: baskerville, palatino, 'times new roman', georgia, serif;
  274. font-size: 18px;
  275. padding: 2px 0 20px 0;
  276. margin: 0;
  277. color: #888888;
  278. }
  279. /**--Content--**/
  280. .post {
  281. width: 600px;
  282. float: left;
  283. padding: 0;
  284. margin: 0 0 40px 0;
  285. border-bottom: 1px dashed #cccccc;
  286. }
  287. .post a {
  288. text-decoration: none;
  289. color: #000000;
  290. border-bottom: 1px solid #f60;
  291. }
  292. .post a:visited {
  293. background: #eeeeee;
  294. text-decoration: none;
  295. color: #555555;
  296. border-bottom: 1px solid #dddddd;
  297. }
  298. .post a:hover {
  299. background: #eeeeee;
  300. color: #333333;
  301. text-decoration: none;
  302. border-bottom: 1px solid #000;
  303. }
  304. .post a:active {
  305. background: #cccccc;
  306. color: #1C1D16;
  307. text-decoration: none;
  308. border-bottom: 1px solid #f60;
  309. }
  310. .post h2 {
  311. font-size: 38px;
  312. font-weight: 500;
  313. line-height: 36px;
  314. font-weight: bold;
  315. padding: 5px 0 15px 0;
  316. margin: 0;
  317. }
  318. .post h2 a {
  319. background: none;
  320. border: none;
  321. text-decoration: none;
  322. color: #000000;
  323. }
  324. .post h2 a:hover {
  325. background: none;
  326. border: none;
  327. text-decoration: none;
  328. color: #444444;
  329. }
  330. .post h2 a:visited:hover {
  331. background: none;
  332. border: none;
  333. text-decoration: none;
  334. color: #555555;
  335. }
  336. .post h2 a:visited {
  337. background: none;
  338. border: none;
  339. text-decoration: none;
  340. color: #222222;
  341. }
  342. .post img.left {
  343. padding: 6px;
  344. margin: 10px 10px 10px 0;
  345. border: none;
  346. float: left;
  347. clear: left;
  348. }
  349. .post img.right {
  350. padding: 6px;
  351. margin: 10px 0 10px 10px;
  352. border: none;
  353. float: right;
  354. clear: right;
  355. }
  356. .post img.center {
  357. display: block;
  358. padding: 8px;
  359. margin: 0 auto 10px auto;
  360. border: none;
  361. float: none;
  362. clear: both;
  363. }
  364. .post img.frame {
  365. padding: 6px;
  366. margin: 10px 0 10px 10px;
  367. border: 1px solid #CCC;
  368. background: #EEE;
  369. float: right;
  370. clear: right;
  371. }
  372. .post img.stack {
  373. clear: none !important;
  374. }
  375. /**--Footer--**/
  376. footer {
  377. clear: both;
  378. color: #555555;
  379. padding: 20px 0;
  380. text-align: left;
  381. margin: 40px 0 20px 0;
  382. }
  383. footer p {
  384. margin: 0;
  385. padding: 0 10px 10px;
  386. }
  387. footer a:link, #footer a:visited {
  388. color: #999999;
  389. }
  390. footer a:hover, #footer a:active {
  391. color: #000;
  392. }
  393. /* =============================================================================
  394. Non-semantic helper classes
  395. Please define your styles before this section.
  396. ========================================================================== */
  397. /* For image replacement */
  398. .ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; }
  399. .ir br { display: none; }
  400. /* Hide for both screenreaders and browsers: h5bp.com/m */
  401. .hidden { display: none !important; visibility: hidden; }
  402. /* Hide only visually, but have it available for screenreaders: h5bp.com/v */
  403. .visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
  404. /* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
  405. .visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }
  406. /* Hide visually and from screenreaders, but maintain layout */
  407. .invisible { visibility: hidden; }
  408. /* Contain floats: h5bp.com/q */
  409. .clearfix:before, .clearfix:after { content: ""; display: table; }
  410. .clearfix:after { clear: both; }
  411. .clearfix { zoom: 1; }
  412. /* =============================================================================
  413. Use Media Queries for Responsive Design.
  414. Pixel widths given as samples.
  415. Edit the widths to suit where your design breaks, rather than
  416. for device pixels, see 'Using a mobile-first approach': h5bp.com/w
  417. ========================================================================== */
  418. @media only screen and (min-width: 480px) {
  419. /* Style adjustments for viewports 480px and over go here */
  420. }
  421. @media only screen and (min-width: 768px) {
  422. /* Style adjustments for viewports 768px and over go here */
  423. }
  424. /* =============================================================================
  425. Print styles.
  426. Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
  427. ========================================================================== */
  428. @media print {
  429. * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  430. a, a:visited { text-decoration: underline; }
  431. a[href]:after { content: " (" attr(href) ")"; }
  432. abbr[title]:after { content: " (" attr(title) ")"; }
  433. .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; } /* Don't show links for images, or javascript/internal links */
  434. pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  435. thead { display: table-header-group; } /* h5bp.com/t */
  436. tr, img { page-break-inside: avoid; }
  437. img { max-width: 100% !important; }
  438. @page { margin: 0.5cm; }
  439. p, h2, h3 { orphans: 3; widows: 3; }
  440. h2, h3 { page-break-after: avoid; }
  441. }