Advertisement
shywolf91

style.css

Sep 15th, 2012
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 11.71 KB | None | 0 0
  1. /*
  2. Theme Name: Lavinya Black
  3. Theme URI: http://www.lavinya.net/blog/
  4. Description: The default WordPress theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>, but with some optimized and black design. Just another WordPress theme.
  5. Version: 1.3
  6. Author: Murat Esgin
  7. Author URI: http://www.lavinya.net/
  8. Tags: black, dark, red, two-columns, right-sidebar, fixed-width
  9. The original theme was designed and built by Michael Heilemann,
  10. whose blog you will find at http://binarybonsai.com/
  11. The default WordPress theme based on the famous Kubrick, but with some optimized and black design. Just another WordPress theme.
  12. 1. Black design
  13. 2. Valid xhtml and css
  14. 3. 2 columns. Right Sidebar.
  15. 4. Columns optimized(for seo)
  16. 5. Compatible and tested on wordpress 2.7.1
  17. 6. WordPress Title Tag optimized (for seo. And we recommend: All in One SEO Pack)
  18. 7. Open source (GNU/GPL)
  19. And the others..
  20. The CSS, XHTML and design is released under GPL:
  21. http://www.opensource.org/licenses/gpl-license.php
  22. */
  23. /* Begin Typography & Colors */
  24. body {
  25. font-size: 62.5%; /* Resets 1em to 10px */
  26. font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
  27. background: #070707;
  28. color: #E5E5E5;
  29. text-align: center;
  30. }
  31. #sidebar ul {list-style:none;margin: 0 0 16px;  padding: 0; font-size:12px; }
  32. #sidebar ul li { list-style: none;  margin: 5px; }
  33. #sidebar ul li a { background: url(images/arrow.png) no-repeat 0px; color: #777; display: block;font-size: 12px;    padding: 3px 3px 3px 12px; text-decoration: none;   border-bottom: 1px solid #333; }
  34. #sidebar ul li a:hover { color: #DDD; }
  35. .bg_top {
  36. width : 100%;
  37. height : 21px;
  38. text-align : center;
  39. /*font-weight : bold;*/
  40. background-attachment: fixed;
  41. background : #000000 url(images/ust1.jpg) repeat-x;
  42. }
  43. .bg_top span {
  44. background-color:#262626;
  45. color:#BD0000;
  46. font-size:12px;
  47. }
  48. #page {
  49. background-color: black;
  50. border: 1px solid #959596;
  51. text-align: left;
  52. }
  53. #header {
  54. background: #000 url('images/header.jpg') no-repeat bottom center;
  55. }
  56. #headerimg  {
  57. margin: 7px 9px 0;
  58. height: 192px;
  59. width: 740px;
  60. }
  61. #content {
  62. font-size: 1.2em
  63. }
  64. .widecolumn .entry p {
  65. font-size: 1.05em;
  66. }
  67. .narrowcolumn .entry, .widecolumn .entry {
  68. line-height: 1.4em;
  69. }
  70. .widecolumn {
  71. line-height: 1.6em;
  72. }
  73. .narrowcolumn .postmetadata {
  74. text-align: center;
  75. }
  76. .thread-alt {
  77. background-color: #f8f8f8;
  78. }
  79. .thread-even {
  80. background-color: black;
  81. }
  82. .depth-1 {
  83. border-bottom: 1px solid #999;
  84. }
  85. .even, .alt {
  86. border-bottom: 1px solid #999;
  87. }
  88. .alt {
  89. background-color: #090909;
  90. border-bottom: 1px solid #999;
  91. }
  92. #footer {
  93. background:#0D0D0D;
  94. color:#ccc;
  95. border:none;
  96. }
  97. small {
  98. font-family: Arial, Helvetica, Sans-Serif;
  99. font-size: 0.9em;
  100. line-height: 1.5em;
  101. }
  102. .date {
  103. font-family: Arial, Helvetica, Sans-Serif;
  104. font-size: 0.9em;
  105. line-height: 1.5em;
  106. display: inline;
  107. padding: 2px 0 2px 20px;
  108. background: url('images/time.png') left top no-repeat;
  109. }
  110. .rssicin {
  111. background: url('images/feed.png') left top no-repeat;
  112. padding: 2px 0 2px 20px;
  113. margin-right: 2px;
  114. height: 16px;
  115. }
  116. .trackbackicin {
  117. background: url('images/arrow_refresh.png') left top no-repeat;
  118. padding: 2px 0 2px 20px;
  119. height: 16px;
  120. }
  121. .enalt {
  122. background: url('images/alt_rss.png') left top no-repeat;
  123. padding: 2px 0 2px 20px;
  124. margin-right: 2px;
  125. height: 16px;
  126. }
  127. .more-link {
  128. background: url('images/daha.gif') left no-repeat;
  129. padding: 2px 0 2px 12px;
  130. }
  131. h1, h2, h3 {
  132. font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
  133. font-weight: bold;
  134. }
  135. h1 {
  136. font-size: 3em;
  137. text-align: center;
  138. }
  139. #headerimg .description {
  140. font-size: 1.2em;
  141. text-align: center;
  142. }
  143. h2 {
  144. font-size: 1.6em;
  145. }
  146. h2.pagetitle {
  147. font-size: 1.6em;
  148. }
  149. #sidebar h2 {
  150. font-family: 'Lucida Grande', Verdana, Sans-Serif;
  151. font-size: 1.2em;
  152. }
  153. h3 {
  154. font-size: 1.3em;
  155. }
  156. h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
  157. text-decoration: none;
  158. color: white;
  159. }
  160. h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
  161. color: #990000;
  162. }
  163. h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
  164. text-decoration: none;
  165. }
  166. .entry p a:visited, .entry p a {
  167. color: #b85b5a;
  168. }
  169. .commentlist li, #commentform input, #commentform textarea {
  170. font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
  171. }
  172. .commentlist li ul li {
  173. font-size: 1em;
  174. margin-right: -5px;
  175. margin-left: 10px;
  176. }
  177. .commentlist li {
  178. font-weight: bold;
  179. }
  180. .commentlist li .avatar {
  181. float: right;
  182. border: 1px solid #eee;
  183. padding: 2px;
  184. background: #fff;
  185. }
  186. .commentlist cite, .commentlist cite a {
  187. font-weight: bold;
  188. font-style: normal;
  189. font-size: 1.1em;
  190. }
  191. .commentlist p {
  192. font-weight: normal;
  193. line-height: 1.5em;
  194. text-transform: none;
  195. }
  196. #commentform p {
  197. font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
  198. }
  199. .commentmetadata {
  200. font-weight: normal;
  201. }
  202. #sidebar {
  203. font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
  204. }
  205. small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
  206. color: #777;
  207. }
  208. code {
  209. font: 1.1em 'Courier New', Courier, Fixed;
  210. }
  211. acronym, abbr, span.caps
  212. {
  213. font-size: 0.9em;
  214. letter-spacing: .07em;
  215. }
  216. a, h2 a:hover, h3 a:hover {
  217. color: #777;
  218. text-decoration: none;
  219. }
  220. a:hover {
  221. color: #999999;
  222. text-decoration: underline;
  223. }
  224. #wp-calendar #prev a, #wp-calendar #next a {
  225. font-size: 9pt;
  226. }
  227. #wp-calendar a {
  228. text-decoration: none;
  229. }
  230. #wp-calendar caption {
  231. font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
  232. text-align: center;
  233. }
  234. #wp-calendar th {
  235. font-style: normal;
  236. text-transform: capitalize;
  237. }
  238. /* End Typography & Colors */
  239. /* Begin Structure */
  240. body {
  241. margin: 0 0 20px 0;
  242. padding: 0;
  243. }
  244. #page {
  245. background-color: black;
  246. margin: 20px auto;
  247. padding: 0;
  248. width: 760px;
  249. border : 2px dashed #151515;
  250. }
  251. #header {
  252. background-color: #000;
  253. margin: 0 0 0 1px;
  254. padding: 0;
  255. height: 171px;
  256. width: 758px;
  257. }
  258. #headerimg {
  259. margin: 0;
  260. height: 200px;
  261. width: 100%;
  262. }
  263. .narrowcolumn {
  264. float: left;
  265. padding: 0 0 20px 45px;
  266. margin: 0px 0 0;
  267. width: 450px;
  268. }
  269. .widecolumn {
  270. padding: 10px 0 20px 0;
  271. margin: 5px 0 0 150px;
  272. width: 450px;
  273. }
  274. .post {
  275. margin: 0 0 40px;
  276. text-align: justify;
  277. }
  278. .post hr {
  279. display: block;
  280. }
  281. .widecolumn .post {
  282. margin: 0;
  283. }
  284. .narrowcolumn .postmetadata {
  285. padding-top: 5px;
  286. }
  287. .widecolumn .postmetadata {
  288. margin: 30px 0;
  289. }
  290. .widecolumn .smallattachment {
  291. text-align: center;
  292. float: left;
  293. width: 128px;
  294. margin: 5px 5px 5px 0px;
  295. }
  296. .widecolumn .attachment {
  297. text-align: center;
  298. margin: 5px 0px;
  299. }
  300. .postmetadata {
  301. clear: both;
  302. }
  303. .clear {
  304. clear: both;
  305. }
  306. #footer {
  307. padding: 0;
  308. margin: 0 auto;
  309. width: 760px;
  310. clear: both;
  311. }
  312. #footer p {
  313. margin: 0;
  314. padding: 20px 0;
  315. text-align: center;
  316. }
  317. /* End Structure */
  318. /*  Begin Headers */
  319. h1 {
  320. padding-top: 95px;
  321. margin: 0;
  322. }
  323. h2 {
  324. margin: 30px 0 0;
  325. }
  326. h2.pagetitle {
  327. margin-top: 30px;
  328. text-align: center;
  329. }
  330. #sidebar h2 {
  331. margin: 5px 0 0;
  332. padding: 0;
  333. }
  334. h3 {
  335. padding: 0;
  336. margin: 30px 0 0;
  337. }
  338. h3.comments {
  339. padding: 0;
  340. margin: 40px auto 20px ;
  341. }
  342. /* End Headers */
  343. /* Begin Images */
  344. p img {
  345. padding: 0;
  346. max-width: 100%;
  347. }
  348. /*  Using 'class="alignright"' on an image will (who would've
  349. thought?!) align the image to the right. And using 'class="centered',
  350. will of course center the image. This is much better than using
  351. align="center", being much more futureproof (and valid) */
  352. img.centered {
  353. display: block;
  354. margin-left: auto;
  355. margin-right: auto;
  356. }
  357. img.alignright {
  358. padding: 4px;
  359. margin: 0 0 2px 7px;
  360. display: inline;
  361. }
  362. img.alignleft {
  363. padding: 4px;
  364. margin: 0 7px 2px 0;
  365. display: inline;
  366. }
  367. .aligncenter,
  368. div.aligncenter {
  369. display: block;
  370. margin-left: auto;
  371. margin-right: auto;
  372. }
  373. .alignright {
  374. float: right;
  375. }
  376. .alignleft {
  377. float: left
  378. }
  379. /* End Images */
  380. /* Begin Lists
  381. Special stylized non-IE bullets
  382. Do not work in Internet Explorer, which merely default to normal bullets. */
  383. html>body .entry ul {
  384. margin-left: 0px;
  385. padding: 0 0 0 30px;
  386. list-style: none;
  387. padding-left: 10px;
  388. text-indent: -10px;
  389. }
  390. html>body .entry li {
  391. margin: 7px 0 8px 10px;
  392. }
  393. .entry ul li:before {
  394. content: "\00BB \0020";
  395. }
  396. .entry ol {
  397. padding: 0 0 0 35px;
  398. margin: 0;
  399. }
  400. .entry ol li {
  401. margin: 0;
  402. padding: 0;
  403. }
  404. .postmetadata ul, .postmetadata li {
  405. display: inline;
  406. list-style-type: none;
  407. list-style-image: none;
  408. }
  409. #sidebar ul, #sidebar ul ol {
  410. margin: 0;
  411. padding: 0;
  412. }
  413. #sidebar ul p, #sidebar ul select {
  414. margin: 5px 0 8px;
  415. }
  416. #sidebar ul ul ul, #sidebar ul ol {
  417. margin: 0 0 0 10px;
  418. }
  419. ol li, #sidebar ul ol li {
  420. list-style: decimal outside;
  421. }
  422. #sidebar ul ul li, #sidebar ul ol li {
  423. margin: 3px 0 0;
  424. padding: 0;
  425. }
  426. /* End Entry Lists */
  427. /* Begin Form Elements */
  428. #searchform {
  429. margin: 10px auto;
  430. padding: 5px 3px;
  431. text-align: center;
  432. }
  433. #sidebar #searchform #s {
  434. width: 108px;
  435. padding: 2px;
  436. }
  437. #sidebar #searchsubmit {
  438. padding: 1px;
  439. }
  440. .entry form { /* This is mainly for password protected posts, makes them look better. */
  441. text-align:center;
  442. }
  443. select {
  444. width: 130px;
  445. }
  446. #commentform input {
  447. width: 170px;
  448. padding: 2px;
  449. margin: 5px 5px 1px 0;
  450. background:#0D0D0D;
  451. color:#ccc;
  452. border:1px solid #37363C;
  453. }
  454. #commentform {
  455. margin: 5px 10px 0 0;
  456. }
  457. input{
  458. background:#0D0D0D;
  459. color:#ccc;
  460. border:1px solid #37363C;
  461. }
  462. #commentform textarea {
  463. width: 100%;
  464. padding: 2px;
  465. background:#0D0D0D;
  466. color:#ccc;
  467. border:1px solid #37363C;
  468. }
  469. #respond:after {
  470. content: ".";
  471. display: block;
  472. height: 0;
  473. clear: both;
  474. visibility: hidden;
  475. }
  476. #commentform #submit {
  477. margin: 0;
  478. float: right;
  479. }
  480. /* End Form Elements */
  481. /* Begin Comments*/
  482. .alt {
  483. margin: 0;
  484. padding: 10px;
  485. }
  486. .commentlist {
  487. padding: 0;
  488. text-align: left;
  489. }
  490. .commentlist li {
  491. margin: 15px 0 3px;
  492. padding: 5px 10px 3px;
  493. list-style: none;
  494. }
  495. .commentlist p {
  496. margin: 10px 5px 10px 0;
  497. }
  498. #commentform p {
  499. margin: 5px 0;
  500. }
  501. .children { padding: 0; }
  502. .nocomments {
  503. text-align: center;
  504. margin: 0;
  505. padding: 0;
  506. }
  507. .commentmetadata {
  508. margin: 0;
  509. display: block;
  510. }
  511. /* End Comments */
  512. /* Begin Sidebar */
  513. #sidebar
  514. {
  515. padding: 20px 0 10px 0;
  516. margin-left: 545px;
  517. width: 190px;
  518. }
  519. #sidebar form {
  520. margin: 0;
  521. }
  522. /* End Sidebar */
  523. /* Begin Calendar */
  524. #wp-calendar {
  525. empty-cells: show;
  526. margin: 10px auto 0;
  527. width: 155px;
  528. }
  529. #wp-calendar #next a {
  530. padding-right: 10px;
  531. text-align: right;
  532. }
  533. #wp-calendar #prev a {
  534. padding-left: 10px;
  535. text-align: left;
  536. }
  537. #wp-calendar a {
  538. display: block;
  539. }
  540. #wp-calendar caption {
  541. text-align: center;
  542. width: 100%;
  543. }
  544. #wp-calendar td {
  545. padding: 3px 0;
  546. text-align: center;
  547. }
  548. #wp-calendar td.pad:hover { /* Doesn't work in IE */
  549. background-color: #000; }
  550. /* End Calendar */
  551. /* Begin Various Tags & Classes */
  552. acronym, abbr, span.caps {
  553. cursor: help;
  554. }
  555. acronym, abbr {
  556. border-bottom: 1px dashed #999;
  557. }
  558. blockquote {
  559. margin: 15px 30px 0 10px;
  560. padding-left: 20px;
  561. border-left: 5px solid #ddd;
  562. }
  563. blockquote cite {
  564. margin: 5px 0 0;
  565. display: block;
  566. }
  567. .center {
  568. text-align: center;
  569. }
  570. hr {
  571. display: none;
  572. }
  573. a img {
  574. border: none;
  575. }
  576. .navigation {
  577. display: block;
  578. text-align: center;
  579. margin-top: 10px;
  580. margin-bottom: 60px;
  581. }
  582. .comment_link
  583. {
  584. border: none;
  585. padding: 2px;
  586. padding-left:17px;
  587. background: url('images/comment.png') left center no-repeat;
  588. }
  589. .wp-caption {
  590. border: 1px solid #ddd;
  591. text-align: center;
  592. background-color: #f3f3f3;
  593. padding-top: 4px;
  594. margin: 10px;
  595. -moz-border-radius: 3px;
  596. -khtml-border-radius: 3px;
  597. -webkit-border-radius: 3px;
  598. border-radius: 3px;
  599. }
  600. .wp-caption img {
  601. margin: 0;
  602. padding: 0;
  603. border: 0 none;
  604. }
  605. .wp-caption p.wp-caption-text {
  606. font-size: 11px;
  607. line-height: 17px;
  608. padding: 0 4px 5px;
  609. margin: 0;
  610. color:#0B0B01;
  611. }
  612. /* End Various Tags & Classes*/
  613. /* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
  614. It won't be a stylish marriage, I can't afford a carriage.
  615. But you'll look sweet upon the seat of a bicycle built for two." */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement