default.css 16 KB

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