Advertisement
Guest User

Style.css

a guest
Nov 8th, 2010
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.87 KB | None | 0 0
  1. /*
  2. Theme Name: Grunge Wall
  3. Description: Grunge Wall theme created by <a href="http://ooyes.net/">http://ooyes.net</a>.
  4. Version: 3.6
  5. Author: Ooyes
  6. Author URI: http://ooyes.net/
  7. Tags: fixed width, two columns, valid XHTML, right sidebar, black, custom header, unique, black, style switch, multiple styles
  8.  
  9. This theme was designed and built by Web Design Company of Ooyes
  10.  
  11. The CSS, XHTML and design is released under GPL:
  12. http://www.opensource.org/licenses/gpl-license.php
  13.  
  14. */
  15.  
  16. *{
  17. margin: 0;
  18. padding: 0;
  19. }
  20.  
  21.  
  22. /* Begin Typography & Colors */
  23. body {
  24. font-size: 62.5%; /* Resets 1em to 10px */
  25. font-family: Arial, Sans-Serif;
  26. background: #000 url(images/bodybg.jpg) repeat-x 50% 0; ;
  27. color: #fff;
  28. text-align: center;
  29. }
  30. li{
  31. list-style-position: inside;
  32. }
  33.  
  34. a{
  35. font: 12px Arial, Sans-Serif;
  36. color: #fff;
  37. }
  38. #page {
  39. text-align: left;
  40. }
  41.  
  42. #headerimg {
  43. margin: 0;
  44. overflow: hidden;
  45. zoom:1;
  46. }
  47.  
  48. #headerimg h1{
  49. float: left;
  50. margin-left: 80px;
  51. margin-top: 30px;
  52. padding: 0;
  53. }
  54. #headerimg h1 a{
  55. font: bold 40px 'Century Gothic', Arial, Sans-Serif;
  56. color: #fff;
  57. text-decoration: none;
  58. }
  59.  
  60. .description{
  61. float: left;
  62. font: 18px Tahoma;
  63. color: #fff;
  64. margin:10px 0 0 0px;
  65. }
  66.  
  67.  
  68.  
  69. /* Begin Structure */
  70. body {
  71. margin: 0 0 0 0;
  72. padding: 0;
  73. }
  74.  
  75. #page {
  76. margin: 60px auto 0 auto;
  77. padding: 0;
  78. width: 960px;
  79. }
  80. #content-wrap{
  81. background: #222222;
  82. padding: 32px;
  83. overflow: hidden;
  84. zoom:1;
  85. }
  86. #content{
  87. float: left;
  88. width: 590px;
  89. margin-right: 18px;
  90. }
  91.  
  92. #header {
  93. margin: 0 0 0 1px;
  94. padding: 0;
  95. width: 960px;
  96. }
  97.  
  98. #headerimg {
  99. margin: 0;
  100. width: 100%;
  101. }
  102.  
  103. #nav{
  104. width: 100%;
  105. height: 55px;
  106. margin: 0;
  107. padding: 0;
  108. background: url(images/navbg.jpg) no-repeat center top;
  109. overflow: hidden;
  110. zoom:1;
  111. }
  112. #nav ul{
  113. list-style: none;
  114. overflow: hidden;
  115. zoom:1;
  116. display: inline;
  117. float: left;
  118. margin-right: 120px;
  119. margin-left: 20px;
  120. padding-top: 9px;
  121. }
  122. #nav li{
  123. float: left;
  124. display: inline;
  125. margin: 0 4px;
  126. }
  127. #nav a{
  128. display: block;
  129. padding: 10px 15px;
  130. background: url(images/navbtn.jpg) repeat right center;
  131. font: bold 12px Arial, sans-serif;
  132. border-left: solid 1px #8C8C8C;
  133. border-right: solid 1px #8C8C8C;
  134. border: solid 1px #8C8C8C;
  135. color: #fff;
  136. text-decoration: none;
  137. }
  138. #nav a:hover, #nav .current_page_item a{
  139. background: url(images/navbtnhover_green.jpg) repeat right center;
  140. }
  141.  
  142. .post p { margin: 1em 0em; }
  143. .post {
  144. margin: 0;
  145. padding: 0;
  146. width: 541px;
  147. border: solid 3px #3F3F3F;
  148. background: #242424;
  149. padding: 1px 10px 1px 10px;
  150. position: relative;
  151. margin-bottom: 10px;
  152. min-height: 100px;
  153. -height: 100px;
  154.  
  155.  
  156. .post h2 a, .post h3 a, .post h2, .post h3{
  157. font: bold 30px Arial, sans-serif;
  158. color: #959595;
  159. color: #77B52C;
  160. text-decoration: none;
  161. }
  162.  
  163. }
  164. .btl, .btr, .bbl, .bbr{
  165. display: block;
  166. position:absolute;
  167. background-repeat: no-repeat;
  168. background-position: 0 0;
  169. background-attachment: scroll;
  170. width: 3px;
  171. height: 3px;
  172. zoom:1;
  173. overflow: hidden;
  174. float: left;
  175. }
  176. .btl{top: -3px;left: -3px;
  177. background-image: url(images/btl.jpg);
  178. }
  179. .btr{
  180. top: -3px;right: -3px;
  181. -right: expression(this.parentNode.clientWidth % 2 == 0 ? -3 : -4);
  182. background-image: url(images/atr.jpg);
  183. width: 120px;
  184. height: 100px;
  185. }
  186. .bbr{
  187. bottom: -3px;right: -3px;
  188. -bottom: expression(this.parentNode.clientHeight % 2 == 0 ? -3 : -4);
  189. -right: expression(this.parentNode.clientWidth % 2 == 0 ? -3 : -4);
  190. background-image: url(images/bbr.jpg);
  191. }
  192. .bbl{
  193. bottom: -3px;left: -3px;
  194. -bottom: expression(this.parentNode.clientHeight % 2 == 0 ? -3 : -4);
  195. background-image: url(images/bbl.jpg);
  196. }
  197. /* ----- /angles ----- */
  198.  
  199. .post hr {
  200. display: block;
  201. }
  202.  
  203. .widecolumn .post {
  204. margin: 0;
  205. }
  206. .post small{
  207. color: #fff;
  208. font: 12px Arial, sans-serif;
  209. }
  210.  
  211.  
  212. .narrowcolumn .postmetadata {
  213. padding-top: 5px;
  214. }
  215.  
  216. .widecolumn .postmetadata {
  217. margin: 30px 0;
  218. }
  219.  
  220. .widecolumn .smallattachment {
  221. text-align: center;
  222. float: left;
  223. width: 128px;
  224. margin: 5px 5px 5px 0px;
  225. }
  226.  
  227. .widecolumn .attachment {
  228. text-align: center;
  229. margin: 5px 0px;
  230. }
  231.  
  232. .postmetadata {
  233. clear: both;
  234. color: #5B5B5B;
  235. }
  236.  
  237. .clear {
  238. clear: both;
  239. }
  240.  
  241. #footer {
  242. padding: 0;
  243. padding-top: 20px;
  244. margin: 0 auto;
  245. clear: both;
  246. background: url(images/footerbg.jpg) no-repeat 50% -6px;
  247. height: 55px;
  248.  
  249. }
  250.  
  251. #footer p {
  252. margin: 0;
  253. font: 12px Arial, Sans-serif;
  254. color: #858585 ;
  255. }
  256. /* End Structure */
  257.  
  258.  
  259.  
  260. /* Begin Headers */
  261.  
  262.  
  263. #sidebar h2 {
  264. margin: 0;
  265. padding: 12px 0 8px 40px;
  266. width: 245px;
  267. height: 17px;
  268. background: url(images/sidebar_title.jpg) no-repeat;
  269. font: bold 15px Arial, sans-serif;
  270. color: #fff;
  271. }
  272. #sidebar ul ul{
  273. background: #333333;
  274. padding-left: 15px;
  275. }
  276. #sidebar ul ul a{
  277. color: #ffffff;
  278. font: 12px Arial, sans-serif;
  279. text-decoration: none;
  280. }
  281. #sidebar ul ul a:hover{
  282. text-decoration: underline;
  283. }
  284.  
  285. h3 {
  286. padding: 0;
  287. margin: 0;
  288. }
  289.  
  290. h3.comments {
  291. padding: 0;
  292. margin: 40px auto 20px ;
  293. }
  294. h3#comments {
  295. padding: 0;
  296. margin: 10px 0;
  297. color: #ccc;
  298. }
  299. /* End Headers */
  300.  
  301.  
  302.  
  303. /* Begin Images */
  304. p img {
  305. padding: 0;
  306. max-width: 100%;
  307. }
  308.  
  309. /* Using 'class="alignright"' on an image will (who would've
  310. thought?!) align the image to the right. And using 'class="centered',
  311. will of course center the image. This is much better than using
  312. align="center", being much more futureproof (and valid) */
  313.  
  314. img.centered {
  315. display: block;
  316. margin-left: auto;
  317. margin-right: auto;
  318. }
  319.  
  320. img.alignright {
  321. padding: 4px;
  322. margin: 0 0 2px 7px;
  323. display: inline;
  324. }
  325.  
  326. img.alignleft {
  327. padding: 4px;
  328. margin: 0 7px 2px 0;
  329. display: inline;
  330. }
  331.  
  332. .alignright {
  333. float: right;
  334. }
  335.  
  336. .alignleft {
  337. float: left
  338. }
  339. /* End Images */
  340.  
  341.  
  342.  
  343. /* Begin Lists
  344.  
  345. Special stylized non-IE bullets
  346. Do not work in Internet Explorer, which merely default to normal bullets. */
  347.  
  348. html>body .entry ul {
  349. margin-left: 0px;
  350. padding: 0 0 0 30px;
  351. list-style: none;
  352. padding-left: 10px;
  353. text-indent: -10px;
  354. }
  355.  
  356. html>body .entry li {
  357. margin: 7px 0 8px 10px;
  358. }
  359.  
  360.  
  361.  
  362. .entry ol {
  363. padding: 0 0 0 35px;
  364. margin: 0;
  365. }
  366.  
  367. .entry ol li {
  368. margin: 0;
  369. padding: 0;
  370. }
  371.  
  372. .postmetadata ul, .postmetadata li {
  373. display: inline;
  374. list-style-type: none;
  375. list-style-image: none;
  376. }
  377.  
  378. #sidebar ul, #sidebar ul ol {
  379. margin: 0;
  380. padding: 0;
  381. }
  382.  
  383. #sidebar ul li {
  384. list-style-type: none;
  385. list-style-image: none;
  386. margin-bottom: 15px;
  387. padding: 5px 0;
  388. font-size:1.2em;
  389. color:#fff;
  390. }
  391. #sidebar ul ul{
  392. padding: 10px 0;
  393. padding-left: 10px;
  394. }
  395. #sidebar ul ul ul{
  396. padding: 0;
  397. padding-left: 10px;
  398. }
  399.  
  400. #sidebar ul p, #sidebar ul select {
  401. margin: 5px 0 8px;
  402. }
  403.  
  404. #sidebar ul ul, #sidebar ul ol {
  405. }
  406.  
  407. #sidebar ul ul ul, #sidebar ul ol {
  408. margin: 0 0 0 10px;
  409. }
  410.  
  411. ol li, #sidebar ul ol li {
  412. list-style: decimal outside;
  413. }
  414.  
  415. #sidebar ul ul li, #sidebar ul ol li {
  416. margin: 3px 0 0;
  417. padding: 0;
  418. }
  419. /* End Entry Lists */
  420.  
  421.  
  422.  
  423. /* Begin Form Elements */
  424. #searchform {
  425. margin: 10px auto;
  426. padding: 5px 3px;
  427. text-align: center;
  428. }
  429. #searchform div{
  430. *position: relative;
  431. *top: -10px;
  432. }
  433. #sidebar #searchform #s {
  434. width: 150px;
  435. border: solid 1px #959595;
  436. padding: 2px;
  437. }
  438.  
  439. #sidebar #searchsubmit {
  440. border: solid 2px #456;
  441. cursor: pointer;
  442. padding: 1px 3px;
  443. position: relative;
  444. *top: 2px;
  445. }
  446.  
  447. .entry form { /* This is mainly for password protected posts, makes them look better. */
  448. text-align:center;
  449. }
  450. .entry{
  451. font: 12px Arial, sans-serif;
  452. color: #B7B7B7;
  453. margin: 5px 0;
  454. position: relative;
  455. z-index: 1;
  456. }
  457. .comment-link a{
  458. display: inline-block;
  459. background: url(images/comments_bullet.jpg) no-repeat 0 50%;
  460. padding: 3px 0 3px 27px;
  461. }
  462. .meta-home a{
  463. font: 12px Arial, sans-serif;
  464. color: #B7B7B7;
  465. text-decoration: none;
  466. }
  467. .meta-home a:hover{
  468. text-decoration: underline;
  469. }
  470.  
  471. select {
  472. width: 130px;
  473. }
  474.  
  475. #commentform input {
  476. width: 170px;
  477. padding: 2px;
  478. margin: 5px 5px 1px 0;
  479. }
  480.  
  481. #commentform textarea {
  482. width: 100%;
  483. padding: 2px;
  484. }
  485.  
  486. #commentform #submit {
  487. margin: 0;
  488. float: right;
  489. border: solid 2px #5E4839;
  490. background: #4A4B4D;
  491. cursor: pointer;
  492. color: #fff;
  493. font-weight: bold;
  494. }
  495. /* End Form Elements */
  496.  
  497.  
  498.  
  499. /* Begin Comments*/
  500. .alt {
  501. margin: 0;
  502. padding: 10px;
  503. }
  504.  
  505. .commentlist {
  506. padding: 0;
  507. text-align: justify;
  508. font: 12px Arial;
  509. color: #B7B7B7;
  510. }
  511. .commentlist .alt{
  512.  
  513. }
  514.  
  515. .commentlist li {
  516. margin: 15px 0 3px;
  517. padding: 5px 10px 3px;
  518. list-style: none;
  519. border-bottom: dashed 1px #456;
  520. -border-bottom: dotted 1px #456;
  521. }
  522.  
  523. .commentlist p{
  524. margin: 10px 5px 10px 0;
  525. font: 12px Arial;
  526. color: #B7B7B7;
  527. }
  528. .commentlist em {
  529. color: #B7B7B7;
  530. font-size: 11px;
  531. }
  532. #commentform{
  533. background: #333;
  534. padding: 10px;
  535. overflow: hidden;
  536. zoom:1;
  537. margin-top: 10px;
  538. }
  539. #respond{
  540. color: #fff;
  541. margin-top: 10px;
  542. }
  543.  
  544. #commentform input, #commentform textarea{
  545. border: solid 1px #587E81;
  546. background: #ccc;
  547. }
  548. #commentform input:focus, #commentform textarea:focus{
  549. background: #fff;
  550. }
  551. #commentform p {
  552. margin: 5px 0;
  553. }
  554.  
  555. .nocomments {
  556. text-align: center;
  557. margin: 0;
  558. padding: 0;
  559. }
  560.  
  561. .commentmetadata {
  562. margin: 0;
  563. display: block;
  564. }
  565. /* End Comments */
  566.  
  567.  
  568.  
  569. /* Begin Sidebar */
  570. #sidebar
  571. {
  572. float: left;
  573. width: 285px;
  574. }
  575.  
  576. #sidebar form {
  577. margin: 0;
  578. }
  579. /* End Sidebar */
  580.  
  581.  
  582.  
  583. /* Begin Calendar */
  584. #wp-calendar {
  585. empty-cells: show;
  586. margin: 10px auto 0;
  587. width: 155px;
  588. }
  589.  
  590. #wp-calendar #next a {
  591. padding-right: 10px;
  592. text-align: right;
  593. }
  594.  
  595. #wp-calendar #prev a {
  596. padding-left: 10px;
  597. text-align: left;
  598. }
  599.  
  600. #wp-calendar a {
  601. display: block;
  602. }
  603.  
  604. #wp-calendar caption {
  605. text-align: center;
  606. width: 100%;
  607. }
  608.  
  609. #wp-calendar td {
  610. padding: 3px 0;
  611. text-align: center;
  612. }
  613.  
  614. #wp-calendar td.pad:hover { /* Doesn't work in IE */
  615. background-color: #fff; }
  616. /* End Calendar */
  617.  
  618.  
  619.  
  620. /* Begin Various Tags & Classes */
  621. acronym, abbr, span.caps {
  622. cursor: help;
  623. }
  624.  
  625. acronym, abbr {
  626. border-bottom: 1px dashed #999;
  627. }
  628.  
  629. blockquote {
  630. margin: 15px 30px 0 10px;
  631. padding-left: 20px;
  632. border-left: 5px solid #ddd;
  633. }
  634.  
  635. blockquote cite {
  636. margin: 5px 0 0;
  637. display: block;
  638. }
  639.  
  640. .center {
  641. text-align: center;
  642. }
  643.  
  644. .hidden {
  645. display: none;
  646. }
  647.  
  648. hr {
  649. display: none;
  650. }
  651.  
  652. a img {
  653. border: none;
  654. }
  655.  
  656. .navigation {
  657. display: block;
  658. text-align: center;
  659. margin-top: 10px;
  660. margin-bottom: 60px;
  661. }
  662. /* End Various Tags & Classes*/
  663.  
  664.  
  665.  
  666. /* Captions */
  667. .aligncenter,
  668. div.aligncenter {
  669. display: block;
  670. margin-left: auto;
  671. margin-right: auto;
  672. }
  673.  
  674. .wp-caption {
  675. border: 1px solid #ddd;
  676. text-align: center;
  677. background-color: #f3f3f3;
  678. padding-top: 4px;
  679. margin: 10px;
  680. -moz-border-radius: 3px;
  681. -khtml-border-radius: 3px;
  682. -webkit-border-radius: 3px;
  683. border-radius: 3px;
  684. }
  685.  
  686. .wp-caption img {
  687. margin: 0;
  688. padding: 0;
  689. border: 0 none;
  690. }
  691.  
  692. .wp-caption p.wp-caption-text {
  693. font-size: 11px;
  694. line-height: 17px;
  695. padding: 0 4px 5px;
  696. margin: 0;
  697. }
  698. /* End captions */
  699.  
  700. /* Customs: */
  701.  
  702. #feed-top{
  703. float: right;
  704. background: url(images/feed_burner_bg.jpg) no-repeat;
  705. width: 327px;
  706. height: 121px;
  707. cursor: pointer;
  708. }
  709. #feed-top .rss{
  710. float: right;
  711. display: block;
  712. width: 38px;
  713. height: 38px;
  714. background: url(images/rss_top.png) no-repeat;
  715. text-indent: -10000px;
  716. margin: 25px 18px 0 0;
  717. cursor: pointer;
  718. }
  719. #feed-top p{
  720. font: 16px 'Century Gothic', Arial, Sans-serif;
  721. color: #fff;
  722. text-align: center;
  723. position: relative;
  724. top: 32px;
  725. }
  726. .postmetadata .rss{
  727. display: inline-block;
  728. padding: 3px 0 3px 30px;
  729. background: url(images/post-rsst.jpg) no-repeat 0 50%;
  730. float: right;
  731. }
  732. #wd{
  733. text-decoration: none;
  734. text-align: center;
  735. }
  736. #wd *{
  737. color: #fff;
  738. font-size: 10px;
  739. text-decoration: none;
  740. font-size: 10px;
  741. font-style: normal;
  742. }
  743. #Ooyes{
  744. float: right;
  745. font: 12px 'Century Gothic',Arial,Sans-serif;
  746. position: relative;
  747. right: 10px;
  748. }
  749. #Ooyes a{
  750. font: 12px 'Century Gothic',Arial,Sans-serif;
  751. text-decoration: none;
  752. margin-left: 5px;
  753. }
  754. #Ooyes a:hover{
  755. text-decoration: underline;
  756. }
  757.  
  758. /* styles */
  759.  
  760. #colours{
  761. display:inline;
  762. float:right;
  763. height:26px;
  764. margin:-60px 150px 0 0;
  765. }
  766. #colours a{
  767. background:transparent url(images/colours.png) no-repeat 0 0;
  768. border:0 none;
  769. float:left;
  770. height:26px;
  771. line-height:26px;
  772. text-indent:-9999px;
  773. width:21px;
  774. outline: none;
  775. }
  776. div#colours a#red {
  777. background-position:0 0;
  778. }
  779. div#colours a#orange {
  780. background-position:-21px 0;
  781. }
  782. div#colours a#yellow {
  783. background-position:-42px 0;
  784. }
  785. div#colours a#green {
  786. background-position:-63px 0;
  787. }
  788. div#colours a#blue {
  789. background-position:-84px 0;
  790. }
  791. div#colours a#pink {
  792. background-position:-105px 0;
  793. }
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800. /* Red */
  801. .red #nav a:hover, .red #nav .current_page_item a{
  802. background: url(images/navbtnhover_red.jpg) repeat-x 0 50%;
  803. }
  804.  
  805. .red #headerimg h1 a, .red #wd * , .red .more-link{
  806. color:#FFFFFF
  807. }
  808. .red .post h2 a, .red .post h3 a, .red .post h2, .red .post h3 {
  809. color:#D23838
  810. }
  811.  
  812. /* Orange */
  813. .orange #nav a:hover, .orange #nav .current_page_item a{
  814. background: url(images/navbtnhover_orange.jpg) repeat-x 0 50%;
  815. }
  816.  
  817. .orange #headerimg h1 a, .orange #wd *, .orange .more-link{
  818. color:#FFFFFF
  819. }
  820. .orange .post h2 a, .orange .post h3 a, .orange .post h2, .orange .post h3 {
  821. color:#E57F1D
  822. }
  823.  
  824. /* Yellow */
  825. .yellow #nav a:hover, .yellow #nav .current_page_item a{
  826. background: url(images/navbtnhover_yellow.jpg) repeat-x 0 50%;
  827. }
  828.  
  829. .yellow #headerimg h1 a, .yellow #wd * , .yellow .more-link{
  830. color:#FFFFFF
  831. }
  832. .yellow .post h2 a, .yellow .post h3 a, .yellow .post h2, .yellow .post h3 {
  833. color:#F39801
  834. }
  835.  
  836. /* Green */
  837. .green #nav a:hover, .green #nav .current_page_item a{
  838. background: url(images/navbtnhover_green.jpg) repeat-x 0 50%;
  839. }
  840.  
  841. .green #headerimg h1 a, .green #wd *, .green .more-link{
  842. color:#FFFFFF
  843. }
  844. .green .post h2 a, .green .post h3 a, .green .post h2, .green .post h3 {
  845. color:#77B52C
  846. }
  847. /* Blue */
  848. .blue #nav a:hover, .blue #nav .current_page_item a{
  849. background: url(images/navbtnhover_blue.jpg) repeat-x 0 50%;
  850. }
  851.  
  852. .blue #headerimg h1 a, .blue #wd *, .blue .more-link{
  853. color:#FFFFFF
  854. }
  855. .blue .post h2 a, .blue .post h3 a, .blue .post h2, .blue .post h3 {
  856. color:#2F96D2
  857. }
  858.  
  859. /* Pink */
  860. .pink #nav a:hover, .pink #nav .current_page_item a{
  861. background: url(images/navbtnhover.jpg) repeat-x 0 50%;
  862. }
  863. .pink #headerimg h1 a, .pink #wd *, .pink .more-link{
  864. color:#FFFFFF
  865. }
  866. .pink .post h2 a, .pink .post h3 a, .pink .post h2, .pink .post h3 {
  867. color:#BD1785
  868. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement