style.css 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. /******************************************************************
  2. Theme Name: Bones
  3. Theme URI: http://www.themble.com/bones
  4. Description: This site was built using the Bones Development Theme. For more information about Bones or to view documentation, you can visit the <a href="http://themble.com/bones/docs/" title="Bones Documentation">Bones Documentation</a> page. You can also view the conversation on Twitter by following the hashtag: <a href="http://twitter.com/#!/search/%23wpbones">#wpbones</a>.
  5. Author: Eddie Machado
  6. Author URI: http://www.themble.com/bones/
  7. Version: 1.08
  8. Tags: html5, css3, fixed, development, bones, h5bp
  9. License: GPL or whatever
  10. License URI: http://www.gnu.org/copyleft/gpl.html
  11. All Default Styles are in library/css/normalize.css
  12. I reccommend not editing those files and making all
  13. changes here. That way if something goes awry, you
  14. can easily revert back to the original, but that's
  15. totally up to you. Happy Developing!
  16. ******************************************************************/
  17. /******************************************************************
  18. COMMON & REUSABLE STYLES
  19. ******************************************************************/
  20. /* floats */
  21. .left { float: left; }
  22. .right { float: right; }
  23. /* text alignment */
  24. .text-left { text-align: left; }
  25. .text-center { text-align: center; }
  26. .text-right { text-align: right; }
  27. /* highlighting search term on search page */
  28. mark, .search-term { background: #EBE16F; }
  29. /* alerts & notices */
  30. .help, .info, .error, .success { margin: 10px; padding: 5px 18px; border: 1px solid #cecece; }
  31. .help { border-color: #E0C618; background: #EBE16F; }
  32. .info { border-color: #92cae4; background: #d5edf8; }
  33. .error { border-color: #fbc2c4; background: #fbe3e4; }
  34. .success { border-color: #c6d880; background: #e6efc2; }
  35. /******************************************************************
  36. GENERAL LAYOUT STYLES
  37. ******************************************************************/
  38. body {
  39. background: #fefefe;
  40. }
  41. /******************************************************************
  42. GRID STYLES
  43. ******************************************************************/
  44. /* 960 Grid System (http://960.gs/ ) */
  45. #container, .wrap {
  46. width: 940px;
  47. margin: 0 auto;
  48. padding: 0 10px;
  49. }
  50. /* layout options ( all have margins right & left of 2.1276596%) */
  51. .col60 { width: 6.3829787%; } /* width 60px / grid_1 */
  52. .col140 { width: 14.893617%; } /* width 140px / grid_2 */
  53. .col220 { width: 23.404255%; } /* width 220px / grid_3 */
  54. .col300 { width: 31.914894%; } /* width 300px / grid_4 */
  55. .col380 { width: 40.425532%; } /* width 380px / grid_5 */
  56. .col480 { width: 51.06383%; } /* width 480px / grid_6 */
  57. .col540 { width: 57.446809%; } /* width 540px / grid_7 */
  58. .col620 { width: 65.957447%; } /* width 620px / grid_8 */
  59. .col700 { width: 74.468085%; } /* width 700px / grid_9 */
  60. .col780 { width: 82.978723%; } /* width 780px / grid_10 */
  61. .col860 { width: 91.489362%; } /* width 860px / grid_11 */
  62. .col940 { width: 100.0%; } /* width 940px / grid_12 */
  63. /* layout & column defaults */
  64. *[class^="col"] { display: inline; float: left; position: relative;
  65. margin-left: 2.1276596%; /* 20px */
  66. margin-right: 2.1276596%; /* 20px */
  67. position: relative;
  68. }
  69. /* default styles & fixes */
  70. #main { margin-left: 0; } /* fixes alignment (defaulted at col620) */
  71. #sidebar1 { margin-right: 0; } /* fixes alignment (defaulted at col300) */
  72. /* To Use Another Grid System, simply visit:
  73. http://themble.com/bones/docs/grids
  74. There, you can check out how to replace this grid with other like:
  75. 960, Blueprint, and any other custom ones.
  76. */
  77. /******************************************************************
  78. LINK STYLES
  79. ******************************************************************/
  80. a, a:visited { color: #f01d4f; }
  81. a:hover, a:focus { color: #f05e81; }
  82. a:active {} /* on click */
  83. a:link { -webkit-tap-highlight-color : rgba(0,0,0,0); /* this highlights links on Iphones / iPads */ }
  84. /******************************************************************
  85. TEXT SELECTION STYLES
  86. ******************************************************************/
  87. /* Highlighted Text */
  88. ::selection {
  89. background: #6fc2f6;
  90. color:#fff;
  91. text-shadow : none;
  92. }
  93. /* Firefox */
  94. ::-moz-selection {
  95. background: #6fc2f6;
  96. color:#fff;
  97. text-shadow : none;
  98. }
  99. /******************************************************************
  100. WORDPRESS BODY CLASSES
  101. want to style a page via body class? go ahead
  102. ******************************************************************/
  103. body.rtl {}
  104. body.home {} /* home page */
  105. body.blog {}
  106. body.archive {} /* archive page */
  107. body.date {} /* date archive page */
  108. body.date-paged-1 {} /* replace the number to the corresponding page number */
  109. body.search {} /* search page */
  110. body.search-results {} /* search result page */
  111. body.search-no-results {} /* no results search page */
  112. body.search-paged-1 {} /* individual paged search (i.e. body.search-paged-3) */
  113. body.error404 {} /* 404 page */
  114. body.single {} /* single post page */
  115. body.postid-1 {} /* individual post page by id (i.e. body.postid-73) */
  116. body.single-paged-1 {} /* individual paged single (i.e. body.single-paged-3) */
  117. body.attachment {} /* attatchment page */
  118. body.attachmentid-1 {} /* individual attatchment page (i.e. body.attachmentid-763) */
  119. body.attachment-mime-type {} /* style mime type pages */
  120. body.author {} /* author page */
  121. body.author-nicename {} /* user nicename (i.e. body.author-samueladams) */
  122. body.author-paged-1 {} /* paged author archives (i.e. body.author-paged-4) for page 4 */
  123. body.category {} /* category page */
  124. body.category-1 {} /* individual category page (i.e. body.category-6) */
  125. body.category-paged-1 {} /* replace the number to the corresponding page number */
  126. body.tag {} /* tag page */
  127. body.tag-slug {} /* individual tag page (i.e. body.tag-news) */
  128. body.tag-paged-1 {} /* replace the number to the corresponding page number */
  129. body.page-template {} /* custom page template page */
  130. body.page-template-page-php {} /* individual page template (i.e. body.page-template-contact-php */
  131. body.page-paged-1 {} /* replace the number to the corresponding page number */
  132. body.page-parent {}
  133. body.page-child {}
  134. body.parent-pageid-1 {} /* replace the number to the corresponding page number */
  135. body.logged-in {} /* if user is logged in */
  136. body.paged {} /* paged items like search results or archives */
  137. body.paged-1 {} /* individual paged (i.e. body.paged-3) */
  138. /******************************************************************
  139. HEADLINES & TITLES
  140. ******************************************************************/
  141. h1, .h1 {}
  142. h2, .h2 {}
  143. h3, .h3 {}
  144. h4, .h4 {}
  145. h5, .h5 {}
  146. h1 a, h2 a, h3 a, h4 a, h5 a {}
  147. /******************************************************************
  148. HEADER SYTLES
  149. ******************************************************************/
  150. header[role=banner] {}
  151. #logo { margin: 1.1em 0; }
  152. /******************************************************************
  153. NAVIGATION STYLES
  154. (Main Navigation)
  155. ******************************************************************/
  156. nav[role=navigation] {}
  157. nav[role=navigation] .menu {
  158. margin: 1.1em 0; font-family: sans-serif;
  159. }
  160. nav[role=navigation] .menu ul {
  161. background: #4598bb;
  162. }
  163. nav[role=navigation] .menu ul li {}
  164. nav[role=navigation] .menu ul li a {
  165. color: #fefefe;
  166. font-weight: 700;
  167. padding: 10px 20px;
  168. text-shadow: 0 -1px 1px rgba(0,0,0,0.33);
  169. }
  170. nav[role=navigation] .menu ul li a:hover {
  171. background: #4eabd2;
  172. color: #fff;
  173. }
  174. nav[role=navigation] .menu ul li:first-child a {}
  175. nav[role=navigation] .menu ul li.current-menu-item a, .nav ul li.current_page_item a {}
  176. nav[role=navigation] .menu ul li ul.sub-menu, nav[role=navigation] .menu ul li ul.children {
  177. background: #4598bb;
  178. }
  179. nav[role=navigation] .menu ul li ul li a {}
  180. nav[role=navigation] .menu ul li ul li a:hover {}
  181. nav[role=navigation] .menu ul li ul li:last-child a {}
  182. nav[role=navigation] .menu ul li:hover ul { }
  183. nav[role=navigation] .menu ul li ul li ul.sub-menu { }
  184. nav[role=navigation] .menu ul li ul li:hover ul.sub-menu { }
  185. /******************************************************************
  186. POSTS & CONTENT STYLES
  187. ******************************************************************/
  188. #content {}
  189. #main {}
  190. article[id*=post-] {
  191. padding: 2.2em 20px 0;
  192. }
  193. .single-title {}
  194. .page-title {}
  195. .archive_title {
  196. padding: 0 20px;
  197. }
  198. /* want to style individual post classes? Booya! */
  199. .post-id {} /* post by id (i.e. post-3) */
  200. .post {} /* general post style */
  201. .page {} /* general article on a page style */
  202. .attachment {} /* general style on an attatchment */
  203. .sticky {} /* sticky post style */
  204. .hentry {} /* hentry class */
  205. .category-slug {} /* style by category (i.e. category-videos) */
  206. .tag-slug {} /* style by tag (i.e. tag-news) */
  207. /* post meta */
  208. .meta {}
  209. .meta time {}
  210. /* post content */
  211. .post_content {}
  212. .post_content p {}
  213. .post_content ul, .post_content ol, .post_content table, .post_content dl {}
  214. .post_content ul, .post_content ol {}
  215. .post_content li {}
  216. .post_content ul li {}
  217. .post_content ol li {}
  218. .post_content h2 {}
  219. .post_content h3 {}
  220. .post_content blockquote {}
  221. .post_content blockquote:before {} /* this adds the quote before the blockquote */
  222. .post_content dl {}
  223. .post_content dt {}
  224. .post_content dd {}
  225. .post_content img {}
  226. .post_content video {}
  227. .post_content object {}
  228. .post_content pre, .post_content code {
  229. font-size: 0.9em;
  230. line-height: 1.7em;
  231. padding: 1em;
  232. background: #eee;
  233. border: 2px solid #cecece;
  234. }
  235. .wp-caption {}
  236. .wp-caption img {}
  237. .wp-caption p.wp-caption-text {}
  238. /* image gallery styles */
  239. .gallery dl {}
  240. .gallery dt {}
  241. .gallery dd {}
  242. .gallery dl a {}
  243. .gallery dl img {}
  244. .gallery-caption {}
  245. .size-full {}
  246. .size-large {}
  247. .size-medium {}
  248. .size-thumbnail {}
  249. article[id*=post-] footer {}
  250. /******************************************************************
  251. PAGE NAVI STYLES
  252. (Special Feature)
  253. ******************************************************************/
  254. /* page navigation */
  255. .page-navigation, .wp-prev-next { }
  256. .bones_page_navi, .wp-prev-next ul { }
  257. .bones_page_navi li { } /* regular links */
  258. .bones_page_navi li a { padding: 3px 6px; }
  259. .bones_page_navi li a:hover { color: #f01d4f; }
  260. .bones_page_navi li.bpn-current { padding: 3px 6px; border-bottom: 2px solid #f01d4f; } /* current page link */
  261. .bones_page_navi li.bpn-current:hover {}
  262. .bones_page_navi li.bpn-prev-link { } /* previous link */
  263. .bones_page_navi li.bpn-prev-link a { padding: 0; }
  264. .bones_page_navi li.bpn-prev-link a:hover { background: none; }
  265. .bones_page_navi li.bpn-next-link { font-weight: 700; } /* next page link */
  266. .bones_page_navi li.bpn-next-link a { padding: 0; }
  267. .bones_page_navi li.bpn-next-link a:hover { background: none; }
  268. .bones_page_navi li.bpn-last-page-link {} /* last page link */
  269. .bones_page_navi li.bpn-last-page-link a {}
  270. .bones_page_navi li.bpn-last-page-link a:hover { background: none; }
  271. .bones_page_navi li.bpn-first-page-link {} /* first page link */
  272. .bones_page_navi li.bpn-first-page-link a {}
  273. .bones_page_navi li.bpn-first-page-link a:hover { background: none; }
  274. /* fallback previous & next links */
  275. .wp-prev-next {}
  276. .wp-prev-next ul {}
  277. .wp-prev-next .prev-link {}
  278. .wp-prev-next .next-link {}
  279. /******************************************************************
  280. COMMENT STYLES
  281. ******************************************************************/
  282. #comments {}/* h3 comment title */
  283. #comments span {
  284. font-weight: 700;
  285. color: #1a90db;
  286. } /* number of comments span */
  287. .comment-nav {}
  288. .comment-nav ul {}
  289. .comment-nav ul li {}
  290. .commentlist {
  291. margin: 0 20px;
  292. }
  293. .commentlist li {
  294. margin-bottom: 1.5em;
  295. padding: 0.7335em 10px;
  296. }
  297. .commentlist li[class*=depth-] {
  298. padding-left: 20px;
  299. margin-top: 1.1em;
  300. }
  301. .commentlist li.depth-1 {
  302. margin-left: 0;
  303. margin-top: 0;
  304. }
  305. .commentlist li:not(.depth-1) {
  306. margin-right: -10px;
  307. margin-top: 0;
  308. padding-bottom: 0;
  309. }
  310. .commentlist li.depth-2 {}
  311. .commentlist li.depth-3 {}
  312. .commentlist li.depth-4 {}
  313. .commentlist li.depth-5 {}
  314. .commentlist li:last-child {
  315. margin-bottom: 0;
  316. }
  317. .commentlist li ul.children li {}
  318. .commentlist li ul.children li.alt {}
  319. .commentlist li ul.children li.byuser {}
  320. .commentlist li ul.children li.comment {}
  321. .commentlist li ul.children li.depth-1 {} /* change number for different depth */
  322. .commentlist li ul.children li.bypostauthor {}
  323. .commentlist li ul.children li.comment-author-admin {}
  324. .commentlist li ul.children .alt {}
  325. .commentlist li ul.children .odd {}
  326. .commentlist li ul.children .even {}
  327. .commentlist .alt {}
  328. .commentlist .odd { background: #eee; }
  329. .commentlist .even { background: #fefefe; }
  330. .commentlist .parent {}
  331. .commentlist .comment {}
  332. .commentlist .children { border-left: 2px solid #6ac8d3; }
  333. .commentlist .pingback {}
  334. .commentlist .bypostauthor {}
  335. .commentlist .comment-author {}
  336. .commentlist .comment-author-admin {}
  337. .commentlist .thread-alt {}
  338. .commentlist .thread-odd {}
  339. .commentlist .thread-even {}
  340. .commentlist .vcard { margin-left: 55px; }
  341. .commentlist .vcard cite.fn { font-weight: 700; font-style: normal; }
  342. .commentlist .vcard time { float: right; }
  343. .commentlist .vcard time a { color: #999; }
  344. .commentlist .vcard time a:hover { text-decoration: underline; }
  345. .commentlist .vcard img.photo {}
  346. .commentlist .vcard img.avatar { position: absolute; left: 20px; padding: 2px; border: 1px solid #cecece; background: #fff; }
  347. .commentlist .vcard cite.fn a.url {}
  348. .commentlist .comment-meta {}
  349. .commentlist .comment-meta a {}
  350. .commentlist .commentmetadata {}
  351. .commentlist .commentmetadata a {}
  352. .commentlist li .comment_content { margin-left: 55px; }
  353. .commentlist li .comment_content p { margin: 0.7335em 0 1.5em; }
  354. .commentlist li ul { }
  355. .commentlist .comment-reply-link { text-decoration: none; float: right; background: #4598bb; padding: 3px 5px; color: #fff; opacity: 0.65; margin-bottom: 10px; font-weight: 700; }
  356. .commentlist a.comment-reply-link:hover { opacity: 1; }
  357. /******************************************************************
  358. COMMENT FORM STYLES
  359. ******************************************************************/
  360. #respond {}
  361. #comment-form-title {}
  362. #cancel-comment-reply {}
  363. #cancel-comment-reply a {}
  364. #commentform {}
  365. .comments-logged-in-as {}
  366. #comment-form-elements {}
  367. #comment-form-elements li {}
  368. #comment-form-elements label {}
  369. #author, #email, #url, #comment {}
  370. #author:focus, #email:focus, #url:focus, #comment:focus {}
  371. #author, #email, #url {}
  372. #allowed_tags {}
  373. #comment {}
  374. #submit {}
  375. /******************************************************************
  376. SIDEBARS & ASIDES
  377. ******************************************************************/
  378. #sidebar1 {
  379. margin-top: 2.2em;
  380. }
  381. .widget {
  382. padding: 0 10px;
  383. margin: 2.2em 0;
  384. }
  385. .widget li {
  386. margin-bottom: 0.75em;
  387. }
  388. .widget li ul {
  389. margin-top: 0.75em;
  390. padding-left: 1em;
  391. }
  392. .widgettitle {
  393. border-bottom: 2px solid #444;
  394. margin-bottom: 0.75em;
  395. }
  396. /* links widget */
  397. .widget_links {}
  398. .widget_links ul {}
  399. .widget_links ul li {}
  400. .widget_links ul li a {}
  401. /* meta widget */
  402. .widget_meta {}
  403. .widget_meta ul {}
  404. .widget_meta ul li {}
  405. .widget_meta ul li a {}
  406. /* pages widget */
  407. .widget_pages {}
  408. .widget_pages ul {}
  409. .widget_pages ul li {}
  410. .widget_pages ul li a {}
  411. /* recent-posts widget */
  412. .widget_recent_entries {}
  413. .widget_recent_entries ul {}
  414. .widget_recent_entries ul li {}
  415. .widget_recent_entries ul li a {}
  416. /* archives widget */
  417. .widget_archive {}
  418. .widget_archive ul {}
  419. .widget_archive ul li {}
  420. .widget_archive ul li a {}
  421. .widget_archive select {}
  422. .widget_archive option {}
  423. /* tag-cloud widget */
  424. .widget_links {}
  425. .widget_links li:after {}
  426. .widget_links li:before {}
  427. .widget_tag_cloud {}
  428. .widget_tag_cloud a {}
  429. .widget_tag_cloud a:after {}
  430. .widget_tag_cloud a:before {}
  431. /* calendar widget */
  432. .widget_calendar {}
  433. #calendar_wrap {}
  434. #calendar_wrap th {}
  435. #calendar_wrap td {}
  436. #wp-calendar tr td {}
  437. #wp-calendar caption {}
  438. #wp-calendar a {}
  439. #wp-calendar #today {}
  440. #wp-calendar #prev {}
  441. #wp-calendar #next {}
  442. #wp-calendar #next a {}
  443. #wp-calendar #prev a {}
  444. /* category widget */
  445. .widget_categories {}
  446. .widget_categories ul {}
  447. .widget_categories ul li {}
  448. .widget_categories ul ul.children {}
  449. .widget_categories a {}
  450. .widget_categories select{}
  451. .widget_categories select#cat {}
  452. .widget_categories select.postform {}
  453. .widget_categories option {}
  454. .widget_categories .level-0 {}
  455. .widget_categories .level-1 {}
  456. .widget_categories .level-2 {}
  457. .widget_categories .level-3 {}
  458. /* recent-comments widget */
  459. .recentcomments {}
  460. #recentcomments {}
  461. #recentcomments li {}
  462. #recentcomments li a {}
  463. .widget_recent_comments {}
  464. /* search widget */
  465. #searchform {}
  466. .widget_search {}
  467. .screen-reader-text {}
  468. /* text widget */
  469. .textwidget {}
  470. .widget_text {}
  471. .textwidget p {}
  472. /******************************************************************
  473. FOOTER STYLES
  474. ******************************************************************/
  475. footer[role=contentinfo] {
  476. border-top: 1px solid #cecece;
  477. padding: 1.1em 0 3.3em;
  478. margin-top: 2.2em;
  479. }
  480. /* footer menu */
  481. footer[role=contentinfo] nav {
  482. float: left;
  483. margin: 1em 0;
  484. }
  485. .footer-links {}
  486. .footer-links ul {}
  487. .footer-links ul li {}
  488. .footer-links ul li a {}
  489. .footer-links ul li:last-child a {}
  490. .footer-links ul li a:hover, .nav ul li.current-menu-item a, .nav ul li.current_page_item a {}
  491. .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 */
  492. .attribution {
  493. margin: 1em 0;
  494. }
  495. /******************************************************************
  496. MEDIA QUERIES & DEVICE STYLES
  497. To use a responsive design, it's reccomended to use the responsive version of Bones. You can find it on github: https://github.com/eddiemachado/bones-responsive
  498. ******************************************************************/
  499. @media only screen and (min-width: 480px) {
  500. /* insert styles here */
  501. }
  502. @media only screen and (min-width: 768px) {
  503. /* insert styles here */
  504. }
  505. @media only screen and (min-width: 992px) {
  506. /* insert styles here */
  507. }
  508. @media only screen and (min-width: 1382px) {
  509. /* insert styles here */
  510. }
  511. @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
  512. /* insert styles here */
  513. }
  514. /******************************************************************
  515. PRINT STYLES
  516. (Handled by default, but if you want to edit it, feel free)
  517. ******************************************************************/
  518. @media print { }
  519. /******************************************************************
  520. IE SPECIFIC FIXES
  521. ******************************************************************/
  522. /*
  523. Thanks to the HTML5 Boilerplate there's an easier way
  524. to target IE specific bugs. Simply use the html class
  525. to target the specific version of IE.
  526. To target the .post_content area in IE6, use:
  527. html.ie6 .post_content { ... }
  528. To target the .post_content area in IE7, use:
  529. html.ie7 .post_content { ... }
  530. To target the .post_content area in IE8, use:
  531. html.ie8 .post_content { ... }
  532. Much easier right? This way, you don't have to call
  533. any more stylesheets, you can leave it at the bottom
  534. and it will overwrite depending on the html class.
  535. */