style.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. /******************************************************************
  2. Theme Name: Bones
  3. Theme URI: http://www.themble.com/bones
  4. Description: An incredibly simple starter theme for developers.
  5. Version: 1.05
  6. Author: Eddie Machado
  7. Author URI: http://www.themble.com/bones/
  8. Tags: HTML5, Framework, CSS3
  9. All Default Styles are in library/css/style.css
  10. I reccomend not editing those files and making all
  11. changes here. That way if something goes awry, you
  12. can easily revert back to the original, but that's
  13. totally up to you. Happy Developing!
  14. ******************************************************************/
  15. /* General Layout Styles */
  16. body { }
  17. #container, .wrap {
  18. width: 92%;
  19. margin: 0 auto;
  20. padding: 0 4%;
  21. max-width: 1044px; /* remove or edit to adjust width */
  22. min-width: 1044px; /* remove or edit to adjust width */
  23. }
  24. /* layout options ( all have margins right & left of 1%) */
  25. .col60 { width: 6.333%; } /* width 60px / grid_1 */
  26. .col140 { width: 14.667%; } /* width 140px / grid_2 */
  27. .col220 { width: 23.0%; } /* width 220px / grid_3 */
  28. .col300 { width: 31.333%; } /* width 300px / grid_4 */
  29. .col380 { width: 39.667%; } /* width 380px / grid_5 */
  30. .col480 { width: 48.0%; } /* width 480px / grid_6 */
  31. .col540 { width: 56.333%; } /* width 540px / grid_7 */
  32. .col620 { width: 64.667%; } /* width 620px / grid_8 */
  33. .col700 { width: 73.0%; } /* width 700px / grid_9 */
  34. .col780 { width: 81.333%; } /* width 780px / grid_10 */
  35. .col860 { width: 89.667%; } /* width 860px / grid_11 */
  36. .col940 { width: 98.0%; } /* width 940px / grid_12 */
  37. /* layout & column defaults */
  38. .col60, .col140, .col220, .col300, .col380, .col480, .col540, .col620, .col700, .col780, .col860, .col940 { display: inline; float: left; margin-left: 1%; margin-right: 1%; position: relative; }
  39. /* default styles & fixes */
  40. #main { margin-left: 0; } /* fixes alignment (defaulted at col620) */
  41. #sidebar1 { margin-right: 0; } /* fixes alignment (defaulted at col300) */
  42. /* Link Styles & Colors */
  43. a, a:visited {}
  44. a:hover, a:link {}
  45. a:active {} /* on click */
  46. /* want to style a page via body class? go ahead */
  47. body.rtl {}
  48. body.home {} /* home page */
  49. body.blog {}
  50. body.archive {} /* archive page */
  51. body.date {} /* date archive page */
  52. body.date-paged-(page number) {}
  53. body.search {} /* search page */
  54. body.search-results {} /* search result page */
  55. body.search-no-results {} /* no results search page */
  56. body.search-paged-(page number) {} /* individual paged search (i.e. body.search-paged-3) */
  57. body.error404 {} /* 404 page */
  58. body.single {} /* single post page */
  59. body.postid-(id) {} /* individual post page by id (i.e. body.postid-73) */
  60. body.single-paged-(page number) {} /* individual paged single (i.e. body.single-paged-3) */
  61. body.attachment {} /* attatchment page */
  62. body.attachmentid-(id) {} /* individual attatchment page (i.e. body.attachmentid-763) */
  63. body.attachment-(mime-type) {}
  64. body.author {} /* author page */
  65. body.author-(user_nicename) {}
  66. body.author-paged-(page number) {}
  67. body.category {} /* category page */
  68. body.category-(slug) {} /* individual category page (i.e. body.category-6) */
  69. body.category-paged-(page number) {}
  70. body.tag {} /* tag page */
  71. body.tag-(slug) {} /* individual tag page (i.e. body.tag-news) */
  72. body.tag-paged-(page number) {}
  73. body.page-template {} /* custom page template page */
  74. body.page-template-(template file name) {} /* individual page template (i.e. body.page-template-contact-php */
  75. body.page-paged-(page number) {}
  76. body.page-parent {}
  77. body.page-child {}
  78. body.parent-pageid-(id) {}
  79. body.logged-in {} /* if user is logged in */
  80. body.paged {} /* paged items like search results or archives */
  81. body.paged-(page number) {} /* individual paged (i.e. body.paged-3) */
  82. /* Headlines & Title */
  83. h1, .h1 {}
  84. h2, .h2 {}
  85. h3, .h3 {}
  86. h4, .h4 {}
  87. h5, .h5 {}
  88. h1 a, h2 a, h3 a, h4 a, h5 a {}
  89. /* Header */
  90. header[role=banner] {}
  91. #logo {}
  92. /* Main Navigation */
  93. .nav {}
  94. .nav ul {
  95. -moz-border-radius: 1px;
  96. -webkit-border-radius: 1px;
  97. border-radius: 1px;
  98. }
  99. .nav ul li {}
  100. .nav ul li a { text-shadow: 0 -1px 1px rgba(0,0,0,0.33); }
  101. .nav ul li a:hover { background: #036; color: #fff; }
  102. .nav ul li.current-menu-item a, .nav ul li.current_page_item a {}
  103. .nav ul li ul.sub-menu {}
  104. .nav ul li ul li a {}
  105. .nav ul li ul li a:hover {}
  106. /* Posts & Content */
  107. #content {}
  108. #main {
  109. background: #fafafa; /* adds bg to post area */
  110. -moz-border-radius: 1px;
  111. -webkit-border-radius: 1px;
  112. border-radius: 1px;
  113. }
  114. article[id*=post-] {}
  115. /* want to style individual post classes? Booya! */
  116. .post-id {} /* post by id (i.e. post-3) */
  117. .post {} /* general post style */
  118. .page {} /* general article on a page style */
  119. .attachment {} /* general style on an attatchment */
  120. .sticky {} /* sticky post style */
  121. .hentry {} /* hentry class */
  122. .category-(slug) {} /* style by category (i.e. category-videos) */
  123. .tag-(slug) {} /* style by tag (i.e. tag-news) */
  124. /* post meta */
  125. .meta {}
  126. .meta time {}
  127. /* post content */
  128. .post_content {}
  129. .post_content p {}
  130. .post_content ul, .post_content ol, .post_content table, .post_content dl {}
  131. .post_content ul, .post_content ol {}
  132. .post_content li {}
  133. .post_content ul li {}
  134. .post_content ol li {}
  135. .post_content blockquote {}
  136. .post_content blockquote:before {} /* this adds the quote before the blockquote */
  137. .post_content dl {}
  138. .post_content dt {}
  139. .post_content dd {}
  140. .post_content img {}
  141. .post_content video {}
  142. .post_content object {}
  143. .wp-caption {}
  144. .wp-caption img {}
  145. .wp-caption p.wp-caption-text {}
  146. /* image gallery styles */
  147. .gallery dl {}
  148. .gallery dt {}
  149. .gallery dd {}
  150. .gallery dl a {}
  151. .gallery dl img {}
  152. .gallery-caption {}
  153. .size-full {}
  154. .size-large {}
  155. .size-medium {}
  156. .size-thumbnail {}
  157. article[id*=post-] footer {}
  158. /* Page Navi (Special Feature) */
  159. /* page navigation */
  160. .page-navigation {}
  161. .bones_page_navi {}
  162. .bones_page_navi li.bpn-prev-link {} /* previous link */
  163. .bones_page_navi li.bpn-prev-link a {}
  164. .bones_page_navi li.bpn-prev-link a:hover {}
  165. .bones_page_navi li {} /* regular links */
  166. .bones_page_navi li a {}
  167. .bones_page_navi li a:hover {}
  168. .bones_page_navi li.bpn-current {} /* current page link */
  169. .bones_page_navi li.bpn-current:hover {}
  170. .bones_page_navi li.bpn-next-link {} /* next page link */
  171. .bones_page_navi li.bpn-next-link a {}
  172. .bones_page_navi li.bpn-next-link a:hover {}
  173. .bones_page_navi li.bpn-last-page-link {} /* last page link */
  174. .bones_page_navi li.bpn-last-page-link a {}
  175. .bones_page_navi li.bpn-last-page-link a:hover {}
  176. .bones_page_navi li.bpn-first-page-link {} /* first page link */
  177. .bones_page_navi li.bpn-first-page-link a {}
  178. .bones_page_navi li.bpn-first-page-link a:hover {}
  179. /* fallback previous & next links */
  180. .wp-prev-next {}
  181. .wp-prev-next ul {}
  182. .wp-prev-next .prev-link {}
  183. .wp-prev-next .next-link {}
  184. /* Comment Styles */
  185. #comments /* h3 comment title */
  186. #comments span {} /* number of comments span */
  187. .comment-nav {}
  188. .comment-nav ul {}
  189. .comment-nav ul li {}
  190. .commentlist {}
  191. .commentlist li {}
  192. .commentlist li[class*=depth-] {}
  193. .commentlist li.depth-1 {}
  194. .commentlist li.depth-2 {}
  195. .commentlist li.depth-3 {}
  196. .commentlist li.depth-4 {}
  197. .commentlist li.depth-5 {}
  198. .commentlist li ul.children li {}
  199. .commentlist li ul.children li.alt {}
  200. .commentlist li ul.children li.byuser {}
  201. .commentlist li ul.children li.comment {}
  202. .commentlist li ul.children li.depth-{id} {}
  203. .commentlist li ul.children li.bypostauthor {}
  204. .commentlist li ul.children li.comment-author-admin {}
  205. .commentlist li ul.children .alt {}
  206. .commentlist li ul.children .odd {}
  207. .commentlist li ul.children .even {}
  208. .commentlist .alt {}
  209. .commentlist .odd {}
  210. .commentlist .even {}
  211. .commentlist .parent {}
  212. .commentlist .comment {}
  213. .commentlist .children {}
  214. .commentlist .pingback {}
  215. .commentlist .bypostauthor {}
  216. .commentlist .comment-author {}
  217. .commentlist .comment-author-admin {}
  218. .commentlist .thread-alt {}
  219. .commentlist .thread-odd {}
  220. .commentlist .thread-even {}
  221. .commentlist .vcard {}
  222. .commentlist .vcard cite.fn {}
  223. .commentlist .vcard time {}
  224. .commentlist .vcard time a {}
  225. .commentlist .vcard time a:hover {}
  226. .commentlist .vcard img.photo {}
  227. .commentlist .vcard img.avatar {}
  228. .commentlist .vcard cite.fn a.url {}
  229. .commentlist .comment-meta {}
  230. .commentlist .comment-meta a {}
  231. .commentlist .commentmetadata {}
  232. .commentlist .commentmetadata a {}
  233. .commentlist li .comment_content {}
  234. .commentlist li .comment_content p {}
  235. .commentlist li ul {}
  236. .commentlist .comment-reply-link {}
  237. .commentlist a.comment-reply-link:hover {}
  238. /* comment form styles */
  239. #respond {}
  240. #comment-form-title {}
  241. #cancel-comment-reply {}
  242. #cancel-comment-reply a {}
  243. #commentform {}
  244. .comments-logged-in-as {}
  245. #comment-form-elements {}
  246. #comment-form-elements li {}
  247. #comment-form-elements label {}
  248. #author, #email, #url, #comment {}
  249. #author:focus, #email:focus, #url:focus, #comment:focus {}
  250. #author, #email, #url {}
  251. #allowed_tags {}
  252. #comment {}
  253. /* Sidebars & Asides */
  254. /* links widget */
  255. .widget_links {}
  256. .widget_links ul {}
  257. .widget_links ul li {}
  258. .widget_links ul li a {}
  259. /* meta widget */
  260. .widget_meta {}
  261. .widget_meta ul {}
  262. .widget_meta ul li {}
  263. .widget_meta ul li a {}
  264. /* pages widget */
  265. .widget_pages {}
  266. .widget_pages ul {}
  267. .widget_pages ul li {}
  268. .widget_pages ul li a {}
  269. /* recent-posts widget */
  270. .widget_recent_entries {}
  271. .widget_recent_entries ul {}
  272. .widget_recent_entries ul li {}
  273. .widget_recent_entries ul li a {}
  274. /* archives widget */
  275. .widget_archive {}
  276. .widget_archive ul {}
  277. .widget_archive ul li {}
  278. .widget_archive ul li a {}
  279. .widget_archive select {}
  280. .widget_archive option {}
  281. /* tag-cloud widget */
  282. .widget_links {}
  283. .widget_links li:after {}
  284. .widget_links li:before {}
  285. .widget_tag_cloud {}
  286. .widget_tag_cloud a {}
  287. .widget_tag_cloud a:after {}
  288. .widget_tag_cloud a:before {}
  289. /* calendar widget */
  290. .widget_calendar {}
  291. #calendar_wrap {}
  292. #calendar_wrap th {}
  293. #calendar_wrap td {}
  294. #wp-calendar tr td {}
  295. #wp-calendar caption {}
  296. #wp-calendar a {}
  297. #wp-calendar #today {}
  298. #wp-calendar #prev {}
  299. #wp-calendar #next {}
  300. #wp-calendar #next a {}
  301. #wp-calendar #prev a {}
  302. /* category widget */
  303. .widget_categories {}
  304. .widget_categories ul {}
  305. .widget_categories ul li {}
  306. .widget_categories ul ul.children {}
  307. .widget_categories a {}
  308. .widget_categories select{}
  309. .widget_categories select#cat {}
  310. .widget_categories select.postform {}
  311. .widget_categories option {}
  312. .widget_categories .level-0 {}
  313. .widget_categories .level-1 {}
  314. .widget_categories .level-2 {}
  315. .widget_categories .level-3 {}
  316. /* recent-comments widget */
  317. .recentcomments {}
  318. #recentcomments {}
  319. #recentcomments li {}
  320. #recentcomments li a {}
  321. .widget_recent_comments {}
  322. /* search widget */
  323. #searchform {}
  324. .widget_search {}
  325. .screen-reader-text {}
  326. /* text widget */
  327. .textwidget {}
  328. .widget_text {}
  329. .textwidget p {}
  330. /* Footer */
  331. footer[role=contentinfo] {}
  332. /* footer menu */
  333. .footer-links {}
  334. .footer-links ul {}
  335. .footer-links ul li {}
  336. .footer-links ul li a {}
  337. .footer-links ul li:last-child a {}
  338. .footer-links ul li a:hover, .nav ul li.current-menu-item a, .nav ul li.current_page_item a {}
  339. .footer-links ul li ul.sub-menu {} /* you shouldn't have that many links in the footer anyway so it's set to display none ;P */
  340. .attribution {}
  341. /* Media Queries & Other Advanced Features (Optional) */
  342. /* Smartphones (portrait and landscape) */
  343. @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { }
  344. /* Smartphones (landscape) */
  345. @media only screen and (min-width : 321px) { /* insert styes here */ }
  346. /* Smartphones (portrait) */
  347. @media only screen and (max-width : 320px) { /* insert styes here */ }
  348. /* iPads (portrait and landscape) */
  349. @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) { /* insert styes here */ }
  350. /* iPads (landscape) */
  351. @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) { /* insert styes here */ }
  352. /* iPads (portrait) */
  353. @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) { /* insert styes here */ }
  354. /* Desktops and laptops */
  355. @media only screen and (min-width : 1224px) { /* insert styes here */ }
  356. /* Large screens */
  357. @media only screen and (min-width : 1824px) { /* insert styes here */ }
  358. /* iPhone 4 and high pixel ratio devices */
  359. @media
  360. only screen and (-webkit-min-device-pixel-ratio : 1.5),
  361. only screen and (min-device-pixel-ratio : 1.5) { /* insert styes here */ }
  362. /* Print Styles (Handled by default, but if you want to edit it, feel free) */
  363. @media print { }
  364. /* IE Specific Fixes */
  365. /*
  366. Thanks to the HTML5 Boilerplate there's an easier way
  367. to target IE specific bugs. Simply use the html class
  368. to target the specific version of IE.
  369. To target the .post_content area in IE6, use:
  370. html.ie6 .post_content { ... }
  371. To target the .post_content area in IE7, use:
  372. html.ie7 .post_content { ... }
  373. To target the .post_content area in IE8, use:
  374. html.ie8 .post_content { ... }
  375. To target the .post_content area in IE9, use:
  376. html.ie9 .post_content { ... }
  377. Much easier right? This way, you don't have to call
  378. any more stylesheets, you can leave it at the bottom
  379. and it will overwrite depending on the html class.
  380. */