Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2011
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.41 KB | None | 0 0
  1. /*
  2. Theme Name: Mimbo
  3. Theme URI: http://www.darrenhoyt.com/2007/08/05/wordpress-magazine-theme-released/
  4. Description: A magazine-style theme for Wordpress
  5. Version: 3.0
  6. Author: Darren Hoyt
  7. Author URI: http://www.darrenhoyt.com/2007/08/05/wordpress-magazine-theme-released/
  8.  
  9. The CSS, XHTML and design is released under GPL:
  10. http://www.opensource.org/licenses/gpl-license.php
  11.  
  12.  
  13. TABLE OF CONTENTS
  14.  
  15. Nav
  16. HTML Tags
  17. Structure
  18. Headers
  19. Content Styles
  20. Misc
  21. Sidebar
  22. Single Post
  23. Archives
  24. Post Styles
  25. Comments
  26. Form Elements
  27. Float Clearing
  28. Footer
  29.  
  30.  
  31.  
  32. /* ---------- @ Nav -----------*/
  33.  
  34. @import url('css/nav.css');
  35.  
  36.  
  37.  
  38.  
  39. /* ---------- @ HTML Tags -----------*/
  40.  
  41.  
  42. * {
  43. margin:0;
  44. padding:0;
  45. outline:none;
  46. }
  47.  
  48. body,html {
  49. min-height:101%; /*Firefox scrollbar fix*/
  50. }
  51.  
  52. body {
  53. background:#e4e2db;
  54. color: #1d1d1d;
  55. }
  56.  
  57. body, select, input, textarea {
  58. font: 100% Arial, Verdana, Sans-Serif;
  59. }
  60.  
  61. p {
  62. margin: 15px 0;
  63. line-height:160%;
  64. }
  65.  
  66. a, a:visited {
  67. color: #3366ff;
  68. }
  69.  
  70. a:hover, a:active {
  71. color:#4d778d;
  72. }
  73.  
  74. hr {
  75. display: block;
  76. height:1px;
  77. background:#d7d7d7;
  78. border:0;
  79. color:#d7d7d7;
  80. }
  81.  
  82. table {
  83. border-collapse:collapse;
  84. width:100%;
  85. margin:15px 0;
  86. border-top:1px solid #e0ded9;
  87. border-bottom:1px solid #e0ded9;
  88. }
  89.  
  90. td {
  91. padding:4px 6px;
  92. background:#F5F3EE;
  93. border-bottom:1px solid #FFF;
  94. }
  95.  
  96. table caption {
  97. background:#f5f3ee;
  98. padding:2px 0;
  99. }
  100.  
  101. a img, a:visited img {
  102. border:none
  103. }
  104.  
  105. blockquote {
  106. color:#76767a;
  107. padding:0 18px;
  108. margin:25px 45px;
  109. border-left:3px solid #DDD;
  110. font:italic 1em Georgia, "Times New Roman", Times, serif;
  111. letter-spacing:0.02em;
  112. }
  113.  
  114. pre {
  115. width:100%;
  116. overflow:auto;
  117. }
  118.  
  119.  
  120.  
  121.  
  122. /* ---------- @ Structure -----------*/
  123.  
  124. #page {
  125. width:960px;
  126. margin:0 auto;
  127. padding-top:8px;
  128. }
  129.  
  130. #wrapper {
  131. background:#FFF;
  132. font-size:0.75em;
  133. padding:0 25px 60px 25px;
  134. border-bottom:1px solid #cac8c2;
  135. border-right:1px solid #cac8c2;
  136. }
  137.  
  138. #masthead {
  139. padding:22px 0;
  140. border-bottom:1px solid #607b88;
  141. }
  142.  
  143. #content {
  144. width:620px;
  145. float:left
  146. }
  147.  
  148. #description {
  149. font: italic 1.2em Georgia, "Times New Roman", Times, serif;
  150. color:#888787;
  151. padding: 0 0 0 20px;
  152. border-left:1px dotted #7c7c7c;
  153. margin:13px 0 0 20px;
  154. float:left;
  155. letter-spacing:0.01em;
  156. }
  157.  
  158. .left {
  159. float:left;
  160. }
  161.  
  162. .right {
  163. float:right;
  164. }
  165.  
  166. #sidebar {
  167. width: 265px;
  168. float:right
  169. }
  170.  
  171. #featured-cats {
  172. width:182px;
  173. float:left
  174. }
  175.  
  176. #more-posts {
  177. width:413px;
  178. float:right;
  179. }
  180.  
  181.  
  182.  
  183. /* ---------- @ Headers -----------*/
  184.  
  185. h1 {
  186. font: bold 2.7em Georgia, "Times New Roman", Times, serif;
  187. letter-spacing:-0.01em;
  188. float:left;
  189. }
  190.  
  191. h2 {
  192. font: 2.5em Georgia, "Times New Roman", Times, serif;
  193. padding-bottom:8px;
  194. margin: 25px 0 20px 0;
  195. }
  196.  
  197. #lead h2 {
  198. font: 2.2em Georgia, "Times New Roman", Times, serif;
  199. line-height:115%;
  200. margin:3px 0 -8px 0;
  201. padding:0;
  202. }
  203.  
  204. .post h2 {
  205. font-size:2.2em;
  206. padding: 0;
  207. margin: 15px 0 0 0;
  208. }
  209.  
  210. h2.posttitle {
  211. margin:25px 0 0 0;
  212. padding:0 0 12px 0;
  213. }
  214.  
  215. h2.pagetitle {
  216. border-bottom:1px solid #d7d7d7;
  217. padding:0 0 12px 0;
  218. margin:25px 0 20px 0;
  219. font-size:2.2em;
  220. }
  221.  
  222. h3 {
  223. border-top:3px solid #d7d7d7;
  224. border-bottom:1px solid #d7d7d7;
  225. padding:5px 0 5px 3px;
  226. margin:22px 0 15px 0;
  227. font-size:1em;
  228. background:none;
  229. color:#4c4b46;
  230. letter-spacing:0.07em;
  231. }
  232.  
  233. .post h3 {
  234. border:none;
  235. font:1.7em Georgia, "Times New Roman", Times, serif;
  236. color: #232323;
  237. letter-spacing:0;
  238. }
  239.  
  240. #featured-cats h3, #more-posts h3 {
  241. margin:0 0 15px 0;
  242. }
  243.  
  244. h3#respond {
  245. margin:45px 0 20px 0;
  246. }
  247.  
  248. h3#comments {
  249. margin-top:32px
  250. }
  251.  
  252. h4 {
  253. font:bold 1.3em Georgia, "Times New Roman", Times, serif;
  254. margin-bottom:-10px;
  255. }
  256.  
  257. .post h4 {
  258. margin:15px 0;
  259. }
  260.  
  261. .archive-list h4 {
  262. margin:0;
  263. font-size:1.2em;
  264. line-height:125%;
  265. }
  266.  
  267. h5 {
  268. font: 0.8em Georgia, "Times New Roman", Times, serif;
  269. text-transform:uppercase;
  270. letter-spacing:0.15em;
  271. padding:4px 8px;
  272. margin-bottom:5px;
  273. background:#f5f3ee;
  274. border-top:1px solid #d7d7d7;
  275. }
  276.  
  277. h6 {
  278. font:bold 0.9em Arial, Helvetica, sans-serif;
  279. }
  280.  
  281.  
  282.  
  283. /* ---------- @ Content Styles -----------*/
  284.  
  285.  
  286. /*Misc*/
  287.  
  288. h1 a, h1 a:visited {
  289. color:#444;
  290. text-decoration:none
  291. }
  292.  
  293. h1 a:hover {
  294. color:#686868;
  295. }
  296.  
  297. h1 a:active {
  298. color:#929292;
  299. }
  300.  
  301. h4 a, h4 a:visited {
  302. color:#383838;
  303. text-decoration: none
  304. }
  305.  
  306. h5 a, h5 a:visited,
  307. h5 a:hover, h5 a:active {
  308. text-decoration: none
  309. }
  310.  
  311. #more-posts img, .archive-list a img, .archive-list a:visited img {
  312. float:left;
  313. margin: 4px 18px 8px 0;
  314. padding:2px;
  315. border:1px solid #b9b9b9;
  316. background:#FFF;
  317. }
  318.  
  319. #more-posts img {
  320. margin:3px 12px 4px 0;
  321. }
  322.  
  323. .recent-excerpts {
  324. padding-bottom:10px;
  325. }
  326.  
  327. #featured-cats ul {
  328. margin:3px 0 22px 0;
  329. }
  330.  
  331. #featured-cats li {
  332. list-style:none;
  333. border-bottom:1px dotted #B6B6B6;
  334. padding:5px 0 8px 6px;
  335. margin:4px 0;
  336. line-height:135%;
  337. }
  338.  
  339. #lead {
  340. margin:22px 0;
  341. background:#ededed;
  342. border-bottom:1px solid #dadada;
  343. border-right:1px solid #dadada;
  344. }
  345.  
  346. #lead:hover {
  347. background:#e8e8e8;
  348. border-bottom:1px solid #cbcbca;
  349. border-right:1px solid #cbcbca;
  350. }
  351.  
  352. #lead-text {
  353. float:left;
  354. width:320px;
  355. padding:13px 15px 16px 0;
  356. }
  357.  
  358. #lead br, .recent-excerpts br /*cleans up excerpts*/ {
  359. margin-bottom:15px;
  360. }
  361.  
  362. #lead img {
  363. float:left;
  364. margin-right:22px;
  365. }
  366.  
  367. .commentcount {
  368. padding-right: 19px;
  369. background:url(images/bubble.gif) no-repeat right;
  370. font:.8em Arial, Helvetica, sans-serif;
  371. }
  372.  
  373. #lead h2 .commentcount {
  374. font-size:0.4em;
  375. }
  376.  
  377. .postmetadata .commentcount {
  378. font-size:1em;
  379. }
  380.  
  381. .date {
  382. float:left;
  383. margin:18px 4px 0 0;
  384. font: 0.85em Georgia, "Times New Roman", Times, serif;
  385. color:#737373;
  386. letter-spacing:0.03em;
  387. }
  388.  
  389. #featured-cats .date {
  390. margin: 2px 3px 0 0;
  391. }
  392.  
  393.  
  394. /*Sidebar and Widgets*/
  395.  
  396. #sidebar li, .headlines li {
  397. margin-left:30px;
  398. padding:5px 0;
  399. }
  400.  
  401. #sidebar a, #sidebar a:visited,
  402. #home #content a, #home #content a:visited,
  403. .archive-list h4 a, .archive-list h4 a:visited,
  404. .commentcount a, .commentcount a:visited,
  405. .fullarchive a, .fullarchive a:visited {
  406. color:#424242;
  407. text-decoration: none;
  408. }
  409.  
  410. #sidebar a:hover, #sidebar a:active,
  411. #home #content a:hover, #home #content a:active,
  412. .archive-list h4 a:hover, h4 .archive-list a:active,
  413. .commentcount a:hover, .commentcount a:active,
  414. .fullarchive a:hover, .fullarchive a:active {
  415. color:#686868;
  416. text-decoration: underline;
  417. }
  418.  
  419. #wp-calendar td {
  420. text-align:center;
  421. padding:3px;
  422. }
  423.  
  424. #recentcomments {
  425. color: #787878;
  426. }
  427.  
  428. a.rsswidget, a.rsswidget:visited {
  429. font-weight: bold
  430. }
  431.  
  432. #ads img, .wp125ad img {
  433. float:left;
  434. margin:0 0 6px 6px;
  435. }
  436.  
  437. .textwidget {
  438. margin: 15px 0;
  439. line-height:160%;
  440. }
  441.  
  442. .widget td {
  443. background:none;
  444. }
  445.  
  446. .widget table {
  447. border:none
  448. }
  449.  
  450.  
  451.  
  452.  
  453. /*Single Posts*/
  454.  
  455. #writer {
  456. background:#ededed;
  457. margin:-10px 0 22px 0;
  458. padding:3px 20px 16px 20px;
  459. border-bottom:1px solid #dadada;
  460. border-top:1px solid #dadada;
  461. }
  462.  
  463. #writer img {
  464. padding:1px;
  465. border:1px solid #b2afa4;
  466. float:left;
  467. margin:18px 15px 6px 0;
  468. }
  469.  
  470. #tags {
  471. padding:3px;
  472. border-bottom:1px solid #DDD;
  473. border-top:1px solid #DDD;
  474. }
  475.  
  476. #tags a, #tags a:visited {
  477. text-decoration: none
  478. }
  479.  
  480.  
  481. /*Archives*/
  482.  
  483. .archive-list li {
  484. list-style:none;
  485. width:285px;
  486. float:left;
  487. height:103px;
  488. margin: 8px 25px 18px 0;
  489. border-bottom:1px dotted #b1b1b1;
  490. }
  491.  
  492. .archive-list img {
  493. margin:0 14px 0 0;
  494. }
  495.  
  496. .archive-list .postmetadata {
  497. border:none;
  498. margin:0;
  499. padding:4px 0 0 0;
  500. }
  501.  
  502. #pagination {
  503. margin-top:30px;
  504. width:604px;
  505. }
  506.  
  507. #pagination .left {
  508. width:290px;
  509. text-align:right;
  510. }
  511.  
  512. #pagination .right {
  513. float:right;
  514. width:294px;
  515. }
  516.  
  517.  
  518.  
  519. /* ---------- @ Post Styles -----------*/
  520.  
  521. .entry {
  522. padding-bottom:10px;
  523. }
  524.  
  525. .postmetadata {
  526. padding: 7px 0;
  527. border-top:1px solid #d7d7d7;
  528. margin:0 0 20px 0;
  529. color:#7a7a7a;
  530. }
  531.  
  532. .post code {
  533. background:#f5f3ee;
  534. padding:3px;
  535. font-size:1.2em;
  536. }
  537.  
  538. .post ul li {
  539. margin: 0 0 5px 42px;
  540. line-height:115%;
  541. }
  542.  
  543. .post ol li {
  544. margin:0 0 5px 48px;
  545. line-height:115%;
  546. }
  547.  
  548.  
  549. /*Images*/
  550.  
  551. .entry img {
  552. display:block;
  553. border:1px solid #999;
  554. padding:2px;
  555. margin:15px 0;
  556. }
  557.  
  558. .wp-caption.alignleft,
  559. .wp-caption.alignright,
  560. .wp-caption.aligncenter {
  561. background:#f5f3ee;
  562. text-align:center;
  563. padding:10px 5px 10px 10px;
  564. border:3px double #FFF;
  565. }
  566.  
  567. img.alignleft {
  568. margin:5px 15px 10px 0;
  569. float:left
  570. }
  571.  
  572. img.alignright {
  573. margin:5px 0 10px 15px;
  574. float:right
  575. }
  576.  
  577. .wp-caption.alignleft {
  578. float:left;
  579. margin:5px 22px 10px 0;
  580. }
  581.  
  582. .wp-caption.alignright {
  583. float:right;
  584. margin:5px 0 10px 22px;
  585. }
  586.  
  587. .wp-caption.aligncenter, img.aligncenter {
  588. margin: 0 auto;
  589. display:block;
  590. margin-bottom:15px;
  591. float:none
  592. }
  593.  
  594. p.wp-caption-text {
  595. margin:0;
  596. text-align:center;
  597. padding:5px 0;
  598. }
  599.  
  600. .wp-caption img {
  601. float:none;
  602. margin:0;
  603. }
  604.  
  605. .gallery {
  606. margin:15px 0;
  607. display:block;
  608. }
  609.  
  610. .gallery img {
  611. border:1px solid #999 !important;
  612. padding:2px;
  613. }
  614.  
  615. .gallery-item {
  616. padding:12px 0;
  617. }
  618.  
  619. .gallery-caption {
  620. padding:10px;
  621. }
  622.  
  623.  
  624.  
  625.  
  626.  
  627. /* ---------- @ Comments -----------*/
  628.  
  629. .reply a, .reply a:visited {
  630. width:75px;
  631. background:#CCC;
  632. color:#FFF;
  633. display:block;
  634. margin-bottom:15px;
  635. padding:5px !important;
  636. text-align:center;
  637. border-bottom:1px solid #f2f2f2;
  638. border-right:1px solid #f2f2f2;
  639. text-decoration:none !important;
  640. font:italic 1em Georgia,Arial,Verdana;
  641. }
  642.  
  643. .reply a:hover {
  644. background:#aeaeae;
  645. text-decoration:none;
  646. border-bottom:1px solid #898989;
  647. border-right:1px solid #898989;
  648. color:#FFF;
  649. }
  650.  
  651. .reply a:active {
  652. background:#CCC;
  653. }
  654.  
  655. .commentlist li {
  656. margin: 0 0 18px 0;
  657. padding: 15px;
  658. background:#F2F2F2;
  659. border-bottom:1px solid #DDDDDD;
  660. border-top:1px solid #DDDDDD;
  661. list-style:none
  662. }
  663.  
  664. .commentlist li.depth-2 {
  665. border:none;
  666. background:#FFF;
  667. border-top: 1px solid #f2f2f2;
  668. margin-left:15px;
  669. }
  670.  
  671. .commentlist li.depth-3 {
  672. margin-left:15px;
  673. border:none;
  674. background:#f2f2f2;
  675. }
  676.  
  677. .commentlist li.bypostauthor {
  678. background:#e5e5e5 !important;
  679. border:1px solid #c7c7c7 !important;
  680. }
  681.  
  682. .commentlist code {
  683. background:#e0e0e0;
  684. padding:3px;
  685. }
  686.  
  687. .avatar {
  688. margin: 3px 10px 0 0;
  689. float:left;
  690. padding:2px;
  691. border:1px solid #b9b9b9;
  692. background:#FFF;
  693. }
  694.  
  695. #trackbacklist li {
  696. margin: 10px 0 10px 35px;
  697. }
  698.  
  699. #trackbacklist cite {
  700. font-style:normal
  701. }
  702.  
  703. cite.fn {
  704. font: bold 1.4em Georgia, "Times New Roman", Times, serif;
  705. letter-spacing:-0.05em;
  706. display:block;
  707. padding-top:9px;
  708. }
  709.  
  710. .says {
  711. display:none;
  712. }
  713.  
  714. .commentmetadata {
  715. float:left
  716. }
  717.  
  718. .comment-date a, .comment-date a:visited {
  719. color:#868686;
  720. font-size:0.9em;
  721. text-decoration:none
  722. }
  723.  
  724. .commentmetadata a:hover, .commentmetadata a:active {
  725. text-decoration:underline;
  726. color:#333;
  727. }
  728.  
  729.  
  730.  
  731.  
  732. /* ---------- @ Form Elements -----------*/
  733.  
  734. #author, #email, #comment, #url, #s {
  735. background:#FFF !important;
  736. padding:5px;
  737. border:1px solid #bfbfbf;
  738. border-left:1px solid #e2e2e2;
  739. border-top:1px solid #e2e2e2;
  740. }
  741.  
  742. #author, #email, #url {
  743. width:220px;
  744. }
  745.  
  746. .button {
  747. padding: 8px 14px;
  748. background:#424242;
  749. color:#FFF !important;
  750. border:none;
  751. font-size:1.1em;
  752. }
  753.  
  754. .button:hover {
  755. background:#272727;
  756. color:#FFF;
  757. text-decoration:none
  758. }
  759.  
  760. .button:active {
  761. background:#000;
  762. }
  763.  
  764. #commentform textarea {
  765. width: 98%;
  766. margin-top:5px;
  767. height:250px;
  768. }
  769.  
  770. #searchform {
  771. float:right;
  772. width:230px;
  773. text-align:right;
  774. padding-top:8px;
  775. }
  776.  
  777. #s {
  778. width:190px;
  779. font-size:1em;
  780. }
  781.  
  782. #s:focus {
  783. background:#f8f8f8 !important;
  784. }
  785.  
  786. #searchsubmit {
  787. vertical-align:top
  788. }
  789.  
  790.  
  791.  
  792.  
  793. /* ---------- @ Float Clearing -----------*/
  794.  
  795. .clearfloat:after {
  796. display:block;
  797. visibility:hidden;
  798. clear:both;
  799. height:0;
  800. content:".";
  801. }
  802.  
  803. .clearfloat {
  804. display:inline-block
  805. }
  806.  
  807. .clearfloat {
  808. display:block
  809. }
  810.  
  811.  
  812.  
  813. /* ---------- @ Footer -----------*/
  814.  
  815. #footer {
  816. font-size:0.75em;
  817. padding:16px 25px 25px 25px
  818. }
  819.  
  820. #footer a, #footer a:visited {
  821. color:#94928b;
  822. text-decoration:none;
  823. }
  824.  
  825. #footer a:hover {
  826. color:#5a5954;
  827. }
  828.  
  829. #footer a:active {
  830. text-decoration:underline
  831. }
  832.  
  833. #footer img {
  834. vertical-align:middle;
  835. }
  836.  
  837. #copyright {
  838. float:left;
  839. width:550px;
  840. }
  841.  
  842. #rss {
  843. float:right;
  844. width:350px;
  845. text-align: right
  846. }
  847.  
  848.  
  849.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement