default.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. /******************************************************************
  2. Bones Master Stylesheet
  3. Designed by Eddie Machado
  4. http://themble.com/bones
  5. eddie@themble.com
  6. Design Copyright 2010. All Rights Reserved.
  7. XHTML/CSS released under a Creative Commons Attribution 2.5 licence.
  8. Special Thanks to:
  9. Paul Irish & the HTML5 Boilerplate
  10. Yoast for some WP functions & optimization ideas
  11. Andrew Rogers for code optimization
  12. David Dellanave for speed & code optimization
  13. and several other developers. :)
  14. I ADVISE AGAINST EDITING THESE FILES. USE THE STYLE.CSS FILE IN THE ROOT.
  15. ******************************************************************/
  16. /******************************************************************
  17. RESET STYLES
  18. ******************************************************************/
  19. /* general reset */
  20. html, body, div, span, object, embed, ruby, output, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  21. abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
  22. small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
  23. fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
  24. article, aside, canvas, details, figcaption, figure, footer, header, hgroup,
  25. menu, nav, section, summary, time, mark, audio, video { margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent; }
  26. html { overflow-y: scroll; }
  27. /* html 5 reset */
  28. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block; }
  29. /* ul & li resets */
  30. ol, ul { list-style: none; }
  31. /* blockquote reset */
  32. blockquote, q { quotes:none; }
  33. blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; }
  34. /* link style resets */
  35. a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
  36. a:hover, a:active { outline: none; }
  37. /* table resets */
  38. table { border-collapse:collapse; border-spacing:0; }
  39. td, td img { vertical-align: top; }
  40. /* type & header styles */
  41. body { font-size:14px; line-height: 1.5em; font-family: Georgia, Cambria, "New Century Schoolbook", "Century Schoolbook L", "Times New Roman", serif; *font-size:small; }
  42. p { hyphenate:auto; hyphenate-before:2; hyphenate-after:3; hyphenate-lines:3; orphans:4; }
  43. select, input, textarea, button { font:99% sans-serif; }
  44. body, select, input, textarea { color: #444; }
  45. small, .small { font-size:0.75em; letter-spacing:.05em; font-style:italic; line-height:1.75em; }
  46. strong, th, .strong { font-weight: bold; }
  47. em, .em { font-style: italic; }
  48. ins, .ins { background-color:#ff9; color:#000; text-decoration:none; }
  49. mark, .mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
  50. del, .del { text-decoration: line-through; }
  51. abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
  52. sub { vertical-align: sub; font-size: smaller; }
  53. sup { vertical-align: super; font-size: smaller; }
  54. /* code & pre box resets */
  55. pre { padding: 15px; white-space: pre; white-space: pre-wrap; white-space: pre-line; word-wrap: break-word; }
  56. /* form & input resets */
  57. pre, code, kbd, samp { font-family: monospace, sans-serif; margin: 1.5em; }
  58. input, select { vertical-align:middle; }
  59. textarea { overflow: auto; }
  60. .ie6 legend, .ie7 legend { margin-left: -7px; }
  61. input[type="radio"] { vertical-align: text-bottom; }
  62. input[type="checkbox"] { vertical-align: bottom; }
  63. .ie7 input[type="checkbox"] { vertical-align: baseline; }
  64. .ie6 input { vertical-align: text-bottom; }
  65. label, input[type=button], input[type=submit], button { cursor: pointer; }
  66. button, input, select, textarea { margin: 0; }
  67. input:valid, textarea:valid { }
  68. input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
  69. .no-boxshadow input:invalid,
  70. .no-boxshadow textarea:invalid { background-color: #f0dddd; }
  71. button { width: auto; overflow: visible; }
  72. /* text highlight reset */
  73. ::-moz-selection{ background: #6fc2f6; color:#fff; text-shadow: none; }
  74. ::selection { background:#6fc2f6; color:#fff; text-shadow: none; }
  75. /* image resets */
  76. .ie7 img { -ms-interpolation-mode: bicubic; }
  77. /* hidden elements */
  78. .hidden { display: none; visibility: hidden; }
  79. .visuallyhidden { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px); }
  80. /* clearfixes */
  81. .clear:after, .menu:after, .menu ul:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
  82. .clear { display: inline-block; }
  83. * html .clear { height: 1%; }
  84. .clear { display: block; }
  85. /******************************************************************
  86. COMMON & REUSABLE STYLES
  87. ******************************************************************/
  88. /* floats */
  89. .left { float: left; }
  90. .right { float: right; }
  91. /* text alignment */
  92. .text-left { text-align: left; }
  93. .text-center { text-align: center; }
  94. .text-right { text-align: right; }
  95. /* highlighting search term on search page */
  96. mark, .search-term { background: #EBE16F; }
  97. /* alerts & notices */
  98. .help, .info, .error, .success { margin: 10px; padding: 10px; border: 1px solid #cecece; }
  99. .help { border-color: #E0C618; background: #EBE16F; }
  100. .info { border-color: #92cae4; background: #d5edf8; }
  101. .error { border-color: #fbc2c4; background: #fbe3e4; }
  102. .success { border-color: #c6d880; background: #e6efc2; }
  103. /******************************************************************
  104. GENERAL STYLES
  105. ******************************************************************/
  106. body { background-color: #efefef; }
  107. #container, .wrap {}
  108. /******************************************************************
  109. LINK STYLES
  110. ******************************************************************/
  111. a, a:visited { color: #1a90db; text-decoration: underline; }
  112. a:hover { color: #f01d4f; text-decoration: none; }
  113. a:active { color: #71e81c; }
  114. a:link {-webkit-tap-highlight-color: #f01d4f; }
  115. /******************************************************************
  116. H1, H2, H3, H4, H5 STYLES
  117. ******************************************************************/
  118. h1 a, .h1 a, h2 a, .h2 a, h3 a, .h3 a, h4 a, .h4 a, h5 a, .h5 a { text-decoration: none; font-weight: 500; }
  119. h1, .h1 { font-size:2.5em; line-height: 1.333em; }
  120. h2, .h2 { font-size: 1.75em; line-height: 1.1em; }
  121. h3, .h3 { font-size: 1.125em; }
  122. h4, .h4 { font-size: 1.1em; font-weight: 700; }
  123. h5, .h5 { font-size: 0.846em; line-height: 2.09em; text-transform: uppercase; letter-spacing: 2px; }
  124. /******************************************************************
  125. HEADER STYLES
  126. ******************************************************************/
  127. header[role=banner] {}
  128. #logo { margin: 1.1em 0; }
  129. /******************************************************************
  130. NAVIGATION STYLES
  131. ******************************************************************/
  132. .menu { clear: both; margin: 1.1em 0; }
  133. .menu ul { background: #215ea3; }
  134. .menu ul li { list-style-type: none; float: left; }
  135. .menu ul li a { display: block; text-decoration: none; padding: 5px 10px; color: #fff; font-weight: 700; }
  136. .menu ul li:last-child a {}
  137. .menu ul li a:hover { background: #036; color: #fff; }
  138. .menu ul li.current-menu-item a, .menu ul li.current_page_item a {}
  139. .menu ul li ul.sub-menu { position: absolute; left: -9999em; z-index: 9999; background: #215ea3; width: 200px; }
  140. .menu ul li ul li a { width: 180px; }
  141. .menu ul li ul li a:hover { background-color: #036; }
  142. .menu ul li ul li:last-child a {}
  143. .menu ul li:hover ul { left: auto; }
  144. .menu ul li ul li ul.sub-menu { left: -9999em; position: absolute; margin-left: 200px; top: auto; margin-top: -30px; }
  145. .menu ul li ul li:hover ul.sub-menu { left: auto; }
  146. /******************************************************************
  147. POST STYLES
  148. ******************************************************************/
  149. #content {}
  150. #main {}
  151. article[id*=post-] { padding: 2.2em 20px; }
  152. /* archive title */
  153. .archive_title { padding: 0 20px; margin: 1.1em 0 0.75em; }
  154. /* post meta information */
  155. .meta { font-size:.75em; letter-spacing:.05em; font-style:italic; line-height:1.75em; color: #999; margin: 0.875em 0; }
  156. .post_content {}
  157. /* typographical styles */
  158. .post_content p { margin:1.5em 0 0; }
  159. .post_content ul, .post_content ol, .post_content table, .post_content dl { margin: 1.5em 0; }
  160. .post_content ul, .post_content ol { list-style-position:outside; line-height:1.5; margin-left: 2.2em; margin-right: 2.2em; }
  161. .post_content li { margin-bottom: 0.75em; }
  162. .post_content ul li { list-style-type: disc; }
  163. .post_content ol li { list-style-type: decimal; }
  164. .post_content blockquote { font-style:italic; line-height:1.6em; margin: 1.5em 2.2em; }
  165. .post_content blockquote:before { font-family:Georgia, serif; content: "“"; font-size:2.75em; text-indent:-.8em; margin-top:.1em; float:left; opacity:.3; }
  166. .post_content dl { margin:1.75em 0 1.75em; }
  167. .post_content dt { font-style:italic; margin-top:1.25em; font-size:1.13em; font-weight:700; border-bottom:1px solid #999; background:#DDD; }
  168. .post_content dd { font-style:italic; font-size:.85em; margin-top:1em; line-height:1.6em; }
  169. .post_content video { margin: 1.5em 0; max-width: 100%; display: block; }
  170. .post_content object { display: block; margin: 1.5em 0; max-width: 100%; }
  171. /* image alignment & styles */
  172. .post_content img { margin: 0 0 1.5em 0; }
  173. .alignleft, img.alignleft { margin-right: 1.5em; display: inline; float: left; }
  174. .alignright, img.alignright { margin-left: 1.5em; display: inline; float: right; }
  175. .aligncenter, img.aligncenter { margin-right: auto; margin-left: auto; display: block; clear: both; }
  176. .alignnone, img.alignnone {} /* i'm unsure of this style */
  177. /* wp caption styles */
  178. .wp-caption { margin-bottom: 1.5em; text-align: center; padding-top: 5px; }
  179. .wp-caption img { border: 0 none; padding: 0; margin: 0; }
  180. .wp-caption p.wp-caption-text { font-size:.8em; font-style:italic; margin:.6em 0 -.2em; }
  181. /* misc styles */
  182. .wp-smiley { margin: 0 !important; max-height: 1em; }
  183. article[id*=post-] footer { clear: both; margin: 1.5em 0 0; padding-bottom: 2.2em; }
  184. /* page navigation */
  185. .page-navigation, .wp-prev-next { margin: 1.1em 0 2.2em; }
  186. .bones_page_navi, .wp-prev-next ul { padding: 0 20px; }
  187. .bones_page_navi li { float: left; margin-left: 10px; } /* regular links */
  188. .bones_page_navi li a { display: block; padding: 3px 6px;text-decoration: none; position: relative; }
  189. .bones_page_navi li a:hover { color: #f01d4f; text-decoration: underline; }
  190. .bones_page_navi li.bpn-current { padding: 3px 6px; position: relative; border-bottom: 2px solid #f01d4f; } /* current page link */
  191. .bones_page_navi li.bpn-current:hover {}
  192. .bones_page_navi li.bpn-prev-link { font-weight: 700; } /* previous link */
  193. .bones_page_navi li.bpn-prev-link a { padding: 0; }
  194. .bones_page_navi li.bpn-prev-link a:hover { background: none; }
  195. .bones_page_navi li.bpn-next-link { font-weight: 700; } /* next page link */
  196. .bones_page_navi li.bpn-next-link a { padding: 0; }
  197. .bones_page_navi li.bpn-next-link a:hover { background: none; }
  198. .bones_page_navi li.bpn-last-page-link {} /* last page link */
  199. .bones_page_navi li.bpn-last-page-link a {}
  200. .bones_page_navi li.bpn-last-page-link a:hover { background: none; }
  201. .bones_page_navi li.bpn-first-page-link {} /* first page link */
  202. .bones_page_navi li.bpn-first-page-link a {}
  203. .bones_page_navi li.bpn-first-page-link a:hover { background: none; }
  204. .wp-prev-next .prev-link { float: left; }
  205. .wp-prev-next .next-link { float: right; }
  206. /******************************************************************
  207. SIDEBAR STYLES
  208. ******************************************************************/
  209. #sidebar1 { float: right; }
  210. .widget { margin: 2.2em 0; }
  211. .widget li { line-height: 1.5em; margin-bottom: 0.75em; font-size: 13px; }
  212. .widgettitle { border-bottom: 2px solid #444; margin-bottom: 0.75em; }
  213. /******************************************************************
  214. COMMENT STYLES
  215. ******************************************************************/
  216. #comments { margin: 0 20px 0.33em; } /* h3 comment title */
  217. #comments span {} /* number of comments span */
  218. .comment-nav {}
  219. .comment-nav ul {}
  220. .comment-nav ul li {}
  221. .commentlist { margin: 0 20px; }
  222. .commentlist li { position: relative; margin-bottom: 1.5em; padding: 0.7335em 10px; clear: both; overflow: hidden; }
  223. .commentlist li[class*=depth-] { margin-left: 2.2em; margin-top: 1.1em; border-top: 1px solid #cecece; }
  224. .commentlist li.depth-1 { margin-left: 0; margin-top: 0; }
  225. .commentlist li.depth-2 {}
  226. .commentlist li.depth-3 {}
  227. .commentlist li.depth-4 {}
  228. .commentlist li.depth-5 {}
  229. .commentlist li ul.children li {}
  230. .commentlist li ul.children li.alt {}
  231. .commentlist li ul.children li.byuser {}
  232. .commentlist li ul.children li.comment {}
  233. .commentlist li ul.children li.depth-{id} {}
  234. .commentlist li ul.children li.bypostauthor {}
  235. .commentlist li ul.children li.comment-author-admin {}
  236. .commentlist li ul.children .alt {}
  237. .commentlist li ul.children .odd {}
  238. .commentlist li ul.children .even {}
  239. .commentlist .alt {}
  240. .commentlist .odd {}
  241. .commentlist .even {}
  242. .commentlist .parent {}
  243. .commentlist .comment {}
  244. .commentlist .children {}
  245. .commentlist .pingback {}
  246. .commentlist .bypostauthor {}
  247. .commentlist .comment-author {}
  248. .commentlist .comment-author-admin {}
  249. .commentlist .thread-alt {}
  250. .commentlist .thread-odd {}
  251. .commentlist .thread-even {}
  252. .commentlist .vcard { margin-left: 55px; }
  253. .commentlist .vcard cite.fn { font-weight: 700; font-style: normal; }
  254. .commentlist .vcard time { float: right; }
  255. .commentlist .vcard time a { text-decoration: none; color: #999; }
  256. .commentlist .vcard time a:hover { text-decoration: underline; }
  257. .commentlist .vcard img.photo {}
  258. .commentlist .vcard img.avatar { position: absolute; left: 5px; top: 0.7335em; padding: 2px; border: 1px solid #cecece; background: #fff; }
  259. .commentlist .vcard cite.fn a.url {}
  260. .commentlist .comment-meta {}
  261. .commentlist .comment-meta a {}
  262. .commentlist .commentmetadata {}
  263. .commentlist .commentmetadata a {}
  264. .commentlist li .comment_content { margin-left: 55px; }
  265. .commentlist li .comment_content p { font-size: 1em; line-height: 1.5em; margin: 0.7335em 0 1.5em; }
  266. .commentlist li ul { padding-top: 1.1em; }
  267. .commentlist .comment-reply-link { text-decoration: none; float: right; font-size: 0.846em; line-height: 1.5em; background: #036; padding: 3px 5px; color: #fff; opacity: 0.55; }
  268. .commentlist a.comment-reply-link:hover { opacity: 1; }
  269. /* comment form styles */
  270. #respond { margin: 0 20px; padding-bottom: 2.2em; }
  271. #comment-form-title { margin: 0 0 1.1em; }
  272. #cancel-comment-reply {}
  273. #cancel-comment-reply a {}
  274. #commentform {}
  275. .comments-logged-in-as {}
  276. #comment-form-elements { margin: 0.75em 0; }
  277. #comment-form-elements li { overflow: hidden; margin-bottom: 0.7335em; }
  278. #comment-form-elements label { display: none; }
  279. #comment-form-elements small { display: none; }
  280. #author, #email, #url, #comment { background: #efefef; border: 2px solid #cecece; font-size: 1em; line-height: 1.5em; }
  281. #author:focus, #email:focus, #url:focus, #comment:focus { outline: none; background: #fff; border-color: #036; }
  282. #author, #email, #url { padding: 3px 6px; max-width: 400px; min-width: 250px; }
  283. #allowed_tags { font-size: 0.846em; line-height: 1.5em; margin: 1.5em 10px 0.7335em 0; }
  284. #comment { resize: none; padding: 3px 6px; width: 97.3%; height: 150px; }
  285. /* form validation */
  286. #commentform input:invalid, #commentform textarea:invalid { border-color: red; outline: none; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; background-color: #f6e7eb; }
  287. #commentform input:valid {}
  288. /* no comments */
  289. .nocomments { margin: 0 20px 1.1em; }
  290. /******************************************************************
  291. FOOTER STYLES
  292. ******************************************************************/
  293. footer[role=contentinfo] { border-top: 2px solid #cecece; padding: 1.1em 0 3.3em; margin-top: 2.2em; }
  294. .footer-links { float: left; }
  295. /* bottom nav links */
  296. .footer-links ul.menu { margin-top: 0; }
  297. .footer-links ul li { list-style-type: none; float: left; font-size: 0.9em; }
  298. .footer-links ul li a { margin-right: 10px; text-decoration: underline; }
  299. .footer-links ul li:last-child a { margin-right: 0; }
  300. .footer-links ul li a:hover, .footer-links ul li.current-menu-item a, .footer-links ul li.current_page_item a {}
  301. .footer-links ul li ul.sub-menu { display: none; } /* you shouldn't have that many links in the footer anyway ;P */
  302. .attribution { float: right; color: #999; font-size: 0.9em; }
  303. /******************************************************************
  304. PRINT STYLES
  305. ******************************************************************/
  306. @media print {
  307. * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  308. a, a:visited { color: #444 !important; text-decoration: underline; }
  309. a:after { content: " (" attr(href) ")"; }
  310. abbr:after { content: " (" attr(title) ")"; }
  311. .ir a:after { content: ""; }
  312. pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  313. thead { display: table-header-group; }
  314. tr, img { page-break-inside: avoid; }
  315. @page { margin: 0.5cm; }
  316. p, h2, h3 { orphans: 3; widows: 3; }
  317. h2, h3{ page-break-after: avoid; }
  318. }