PageRenderTime 47ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/micolog/themes/pixel-zh_cn/style.css

http://rqblog.googlecode.com/
CSS | 802 lines | 695 code | 84 blank | 23 comment | 0 complexity | e15e59342f81ab0d395b61e34040d091 MD5 | raw file
Possible License(s): MIT
  1. /*
  2. Theme Name: Pixel
  3. Theme URI: http://85ideas.com/public-releases/wordpress-theme-pixel/
  4. Description: Dark WP theme with 2-3 column layout, dropdown categories menu, multiple widget-ready placement and Feedburner email form integrated, easy to customize. Enjoy!
  5. Author: Sam @ 85ideas.com
  6. Author URI: http://85ideas.com/
  7. Version: 2.0.2
  8. Tags: black, blue, three-columns, two-columns, threaded-comments, fixed-width, theme-options, right-sidebar, sticky-post
  9. .
  10. Released under <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a>.
  11. .
  12. */
  13. /* Defaults */
  14. * {
  15. margin: 0;
  16. padding: 0;
  17. }
  18. :focus {
  19. outline:0;
  20. }
  21. h1, h2, h3, h4, h5, h6, p {
  22. margin: 0;
  23. padding: 10px 0;
  24. }
  25. h1, h2, h3, h4, h5, h6 {
  26. font-family: Verdana;
  27. }
  28. hr {
  29. color: #333;
  30. border: 1px solid #121212;
  31. }
  32. pre {
  33. height: auto;
  34. overflow-x:scroll;
  35. }
  36. fieldset {
  37. margin: 0;
  38. padding: 0;
  39. border: 0;
  40. }
  41. dd {
  42. padding-left: 15px;
  43. }
  44. p {
  45. font-size: 9pt;
  46. }
  47. a {
  48. color: #6598b8;
  49. text-decoration: none;
  50. }
  51. a:hover {
  52. color: #222;
  53. text-decoration: underline;
  54. }
  55. a img {
  56. border: none;
  57. }
  58. blockquote {
  59. background: #070707;
  60. border: 1px solid #060606;
  61. padding: 5px 15px;
  62. margin: 10px 10px 5px 15px;
  63. font-style: italic;
  64. color: #fff;
  65. }
  66. code {
  67. color: #3366cc;
  68. font-style: italic;
  69. }
  70. strong {
  71. font-size: 110%;
  72. }
  73. body {
  74. text-align: center;
  75. margin: 0;
  76. padding: 0 0 15px 0;
  77. font-family: trebuchet ms, arial, helvetica, sans-serif;
  78. background: #000 url(images/bgbody.jpg) top center no-repeat;
  79. color: #eee;
  80. }
  81. /* Header and wrapper */
  82. #wrapper {
  83. margin: 0 auto;
  84. width: 960px;
  85. text-align: left;
  86. padding: 0;
  87. }
  88. #header {
  89. padding: 0;
  90. margin: 0;
  91. height: 80px;
  92. text-shadow: 0 0 4px #555;
  93. }
  94. #header #topright {
  95. text-align: right;
  96. float: right;
  97. width: 930px;
  98. margin: 3px 0 0 0;
  99. }
  100. #header #topright ul {
  101. list-style: none;
  102. padding: 0;
  103. margin: 0;
  104. }
  105. #header #topright li {
  106. display: inline;
  107. }
  108. #header #topright li a {
  109. color: #fff;
  110. font-size: 9pt;
  111. padding: 0 0 0 25px;
  112. text-transform: lowercase;
  113. }
  114. #header #topright li a:hover {
  115. color: #ccc;
  116. text-decoration: none;
  117. }
  118. #header #logo {
  119. margin: 0;
  120. padding: 0;
  121. }
  122. #header h1 {
  123. padding: 0;
  124. margin: 0;
  125. }
  126. #header h1 a {
  127. color: #fff;
  128. font-size: 17pt;
  129. text-decoration: none;
  130. }
  131. #header h1 a:hover {
  132. color: #eee;
  133. text-decoration: none;
  134. }
  135. #header span {
  136. padding: 0;
  137. color: #eee;
  138. font-size: 10pt;
  139. }
  140. /* Menu */
  141. #catnav {
  142. margin: 20px 0 0 0;
  143. padding: 0;
  144. clear: both;
  145. height: 44px;
  146. width: 960px;
  147. }
  148. #nav {
  149. list-style: none;
  150. margin: 0;
  151. padding: 0;
  152. }
  153. #nav ul {
  154. margin: 0;
  155. padding: 0;
  156. }
  157. #nav li {
  158. float: left;
  159. margin: 0;
  160. padding: 0;
  161. }
  162. #nav a {
  163. display: block;
  164. line-height: 44px;
  165. margin: 0;
  166. padding: 0 20px 0 15px;
  167. font-size: 10pt;
  168. color: #fff;
  169. letter-spacing: -1px;
  170. }
  171. #nav li a:hover {
  172. color: #6598b8;
  173. text-decoration: none;
  174. display: block;
  175. }
  176. #nav li ul {
  177. list-style: none;
  178. position: absolute;
  179. width: 150px;
  180. left: -999em;
  181. }
  182. #nav li:hover ul, #nav li.sfhover ul {
  183. left: auto;
  184. }
  185. #nav li li {
  186. float: left;
  187. margin: 0;
  188. padding: 0;
  189. width: 150px;
  190. }
  191. #nav li li a {
  192. width: 150px;
  193. height: 24px;
  194. line-height: 24px;
  195. color: #fff;
  196. border-top: 1px solid #131f27;
  197. background: #040404;
  198. margin: 0;
  199. padding: 5px 20px 5px 15px;
  200. }
  201. #nav li li a:hover {
  202. border-top: 1px solid #131f27;
  203. background: #000;
  204. padding: 5px 20px 5px 15px;
  205. }
  206. #nav li:hover, #nav li.sfhover { /* prevents IE7 drop-down menu bug (focus on a page element prevents nested menus from disappearing) */
  207. position: static;
  208. }
  209. #toprss {
  210. float: right;
  211. margin: 10px 15px 0 0;
  212. display: inline;
  213. width: 65px;
  214. line-height: 41px;
  215. }
  216. /* Top Content */
  217. #main {
  218. margin: 5px 15px 0 15px;
  219. clear: both;
  220. width: 930px;
  221. padding-bottom: 5px;
  222. }
  223. #contentwrapper {
  224. float:left;
  225. width: 560px;
  226. margin: 0 0 15px 0;
  227. padding: 0;
  228. }
  229. #contentwrapper2 {
  230. float:left;
  231. width: 900px; margin: 0 0 15px 0;
  232. padding: 0;
  233. }
  234. #contentwrapper .pageTitle, #contentwrapper2 .pageTitle {
  235. margin: 15px 0 10px 0;
  236. font-size: 14pt;
  237. letter-spacing: -1px;
  238. color: #fff;
  239. font-weight: normal;
  240. background: url(images/bg-trans.png) repeat;
  241. padding: 5px;
  242. }
  243. .topPost {
  244. margin: 0;
  245. padding: 0;
  246. font-size: 9pt;
  247. }
  248. .topPost h2.topTitle a {
  249. font-size: 15pt;
  250. font-weight: normal;
  251. color: #fff;
  252. letter-spacing: -2px;
  253. }
  254. .topPost h2.topTitle a:hover {
  255. text-decoration: none;
  256. color: #abd1ea;
  257. }
  258. .topPost p.topMeta {
  259. padding: 0;
  260. margin: -10px 0 0 0;
  261. font-size: 9pt;
  262. color: #cdcdcd;
  263. }
  264. .topPost p.topMeta a {
  265. text-decoration: none;
  266. color: #fff;
  267. }
  268. .topPost p.topMeta a:hover {
  269. color: #ccc;
  270. text-decoration: underline;
  271. }
  272. .topPost div.topContent {
  273. font-size: 9pt;
  274. color: #efefef;
  275. margin: 8px 0;
  276. }
  277. .topPost div.topContent p {
  278. font-size: 1.05em;
  279. line-height: 1.6em;
  280. }
  281. .topPost div.topContent a {
  282. text-decoration: underline;
  283. color: #fff;
  284. }
  285. .topPost div.topContent a:hover {
  286. text-decoration: underline;
  287. color: #ff9933;
  288. }
  289. .topPost div.topContent ul, .topPost div.topContent ol {
  290. padding: 0 0 0 30px;
  291. }
  292. .topPost div.topContent ul li, .topPost div.topContent ol li {
  293. font-size: 1.05em;
  294. color: #eee;
  295. }
  296. .topPost span.topComments, .topPost span.topMore, .topPost span.topTags {
  297. font-size: 9pt;
  298. font-style: italic;
  299. background: url(images/bg-trans.png) repeat;
  300. padding: 8px 10px;
  301. margin-right: 5px;
  302. line-height: 27pt;
  303. color: #fff;
  304. border: 1px solid #111;
  305. }
  306. .topPost span.linkpages {
  307. font-size: 9pt;
  308. font-style: italic;
  309. color: #fff;
  310. margin-bottom: 10px; display:block;
  311. }
  312. .topPost span.linkpages a:hover {
  313. color: #ddd;
  314. }
  315. .topPost span.topComments:hover, .topPost span.topMore:hover, .topPost span.topTags:hover {
  316. background: #040404;
  317. }
  318. .topPost span.topComments a {
  319. color: #fff;
  320. background: url(images/comments.gif) left no-repeat;
  321. padding-left: 20px;
  322. line-height: 27pt;
  323. vertical-align: middle;
  324. }
  325. .topPost span.topMore a {
  326. color: #fff;
  327. background: url(images/more.gif) left no-repeat;
  328. padding-left: 20px;
  329. line-height: 27pt;
  330. vertical-align: middle;
  331. }
  332. .topPost span.topTags em {
  333. background: url(images/tags.gif) left no-repeat;
  334. padding-left: 20px;
  335. line-height: 27pt;
  336. vertical-align: middle;
  337. color: #0a0a0a;
  338. }
  339. .topPost span.topTags a {
  340. color: #fff;
  341. line-height: 27pt;
  342. vertical-align: middle;
  343. }
  344. .topPost span.topComments a:hover, .topPost span.topMore a:hover, .topPost span.topTags a:hover {
  345. color: #fff;
  346. text-decoration: underline;
  347. }
  348. #nextprevious {
  349. margin: 10px 0 5px 0;
  350. }
  351. #nextprevious a {
  352. color: #eee;
  353. text-transform: lowercase;
  354. border: 1px solid #111;
  355. padding: 5px 8px;
  356. font-size: 10pt;
  357. line-height: 1.4em;
  358. }
  359. #nextprevious a:hover {
  360. color: #fff;
  361. }
  362. /* Comments */
  363. #comments {
  364. margin-bottom: 10px;
  365. margin-top: 15px;
  366. background: #040404;
  367. width: 530px; /* fixes bug in IE7 where putting focus on the text makes it disappear behind the background. yeah, weird. they call it a dimensional bug. */
  368. border: 1px solid #090909;
  369. padding: 0px 15px 10px 15px;
  370. color: #fff;
  371. }
  372. #comments h3 {
  373. font-size: 10pt;
  374. font-weight: normal;
  375. color: #fff;
  376. margin: 15px 0;
  377. padding: 0;
  378. }
  379. #comments p a {
  380. color: #6598b8;
  381. }
  382. #comments p a:hover {
  383. color: #fff;
  384. }
  385. #comments p {
  386. padding:0;
  387. margin: 7px 0;
  388. }
  389. ul.commentlist, ul.trackback {
  390. list-style-type: none;
  391. margin: 10px 0;
  392. font-size: 9pt;
  393. }
  394. .commentlist li, .trackback li {
  395. margin: 10px 0 15px 0;
  396. padding: 10px;
  397. background: #080808;
  398. border: 1px solid #040404;
  399. list-style-type: none;
  400. }
  401. .commentlist li.alt {
  402. background: #000;
  403. border: 1px solid #020202;
  404. border: none;
  405. margin-top:10px;
  406. }
  407. .commentlist li.cleared {
  408. background: transparent;
  409. border: none;
  410. }
  411. .commentlist a:hover {
  412. color: #eee;
  413. }
  414. .commentlist a.gravatar {
  415. float: left;
  416. margin: 0 15px 10px 0;
  417. width: 60px;
  418. }
  419. .commentlist .commentbody {
  420. margin: 0;
  421. padding: 0;
  422. }
  423. .commentlist .commentbody p a {
  424. text-decoration: underline;
  425. }
  426. .commentlist cite {
  427. font-size: 10pt;
  428. font-style: normal;
  429. color: #ddd;
  430. }
  431. .commentlist small.commentmetadata a {
  432. color: #666;
  433. }
  434. .commentlist p {
  435. color: #dedede;
  436. }
  437. #respond {
  438. clear: both;
  439. margin-top: 15px;
  440. }
  441. textarea#comment {
  442. width: 450px;
  443. background: #fff;
  444. color: #111;
  445. padding: 10px;
  446. }
  447. #comments #submit {
  448. margin: 0;
  449. }
  450. #extrastuff a {color:#999; font-size:0.8em;}
  451. #extrastuff a:hover {color:#6598b8; text-decoration:none;}
  452. #extrastuff #rssleft {float:left; width:250px;}
  453. #extrastuff #trackright {float:right; width:180px; text-align:right;}
  454. /* Welcome section */
  455. #main #welcome {
  456. margin: 0 0 20px 0;
  457. padding: 0 0 5px 0;
  458. background: url(images/bg-trans.png) repeat;
  459. }
  460. #main #welcome h2 {
  461. font-size: 14pt;
  462. font-weight: normal;
  463. color: #fff;
  464. letter-spacing: -2px;
  465. margin: 0 10px;
  466. padding: 10px 0 3px 0;
  467. }
  468. #main #welcome p {
  469. font-size: 9pt;
  470. color: #eee;
  471. margin: 0 10px;
  472. padding: 6px 0;
  473. }
  474. #main #welcome a {
  475. text-decoration: underline;
  476. color: #ff9933;
  477. }
  478. #main #welcome a:hover {
  479. color: #6598b8;
  480. }
  481. #main #welcome form {
  482. margin: -5px 0 0 0;
  483. background: transparent; /* required for IE */
  484. }
  485. #main #welcome #feedbox {
  486. border: 1px solid #ccc;
  487. padding: 2px 1px;
  488. width: 180px;
  489. }
  490. .submitbutton {
  491. margin: -5px 0 0 5px;
  492. background: #010101;
  493. color: #fff;
  494. font-size: 8pt;
  495. padding: 3px 6px;
  496. vertical-align: middle;
  497. border: 1px solid #111;
  498. }
  499. .submitbutton:hover {
  500. cursor: pointer;
  501. background: #050505;
  502. }
  503. /* Sidebars */
  504. #sidebars {
  505. margin: 15px 0 0 0;
  506. float: right;
  507. width: 340px;
  508. color: #eee;
  509. }
  510. #sidebars .sidebarbox {
  511. background: url(images/bg-trans.png) repeat;
  512. padding: 8px 15px;
  513. }
  514. #sidebar_full {
  515. padding: 0;
  516. margin: 0;
  517. }
  518. #sidebar_left {
  519. float: left;
  520. width: 160px;
  521. }
  522. #sidebar_right {
  523. float: right;
  524. width: 160px;
  525. }
  526. #sidebars h2 {
  527. margin: 0;
  528. padding: 0 0 8px 0;
  529. font-weight: normal;
  530. font-size: 11pt;
  531. color: #fff;
  532. letter-spacing: -1px;
  533. }
  534. #sidebars table {
  535. width: 130px;
  536. }
  537. #sidebars ul {
  538. margin: 0;
  539. padding: 0 0 5px 0;
  540. }
  541. #sidebars li {
  542. margin-bottom: 20px;
  543. list-style: none;
  544. font-size: 9pt;
  545. }
  546. #sidebars li ul {
  547. padding: 0;
  548. }
  549. #sidebars ul ul li {
  550. margin: 0;
  551. padding: 2px 2px 2px 16px;
  552. color: #eee;
  553. background: url(images/bullet.gif) left 8px no-repeat;
  554. line-height: 17px; /* Required for cross-browser consistency; cross-browser defaults vary. */
  555. }
  556. #sidebars a {
  557. display: inline;
  558. color: #eee;
  559. }
  560. #sidebars a:hover {
  561. color: #6598b8;
  562. text-decoration: underline;
  563. }
  564. #sidebars p {
  565. padding: 2px 0;
  566. font-size: 9pt;
  567. color: #eee;
  568. }
  569. #tag_cloud a {
  570. display: inline;
  571. }
  572. #sidebars ul.children li {border-bottom:none;}
  573. #sidebars ul.children {margin-bottom:0;}
  574. /* Before footer */
  575. #morefoot {
  576. background: #000 url(images/bggrad.jpg) top left repeat-x;
  577. border: 1px solid #070707;
  578. padding: 15px;
  579. color: #dfdfdf;
  580. margin: 0 0 10px 0;
  581. }
  582. #morefoot p {
  583. margin: 5px 0;
  584. padding: 5px 0;
  585. }
  586. #morefoot ul {
  587. list-style-type: none;
  588. margin-top: 5px;
  589. }
  590. #morefoot ul li, #morefoot p {
  591. font-size: 9pt;
  592. }
  593. #morefoot a {
  594. text-decoration: underline;
  595. color: #ddd;
  596. }
  597. #morefoot a:hover {
  598. text-decoration: underline;
  599. color: #6598b8;
  600. }
  601. #morefoot h3 {
  602. font-size: 12pt;
  603. font-weight: normal;
  604. color: #dfdfdf;
  605. letter-spacing: -1px;
  606. border-bottom: 1px dotted #444;
  607. margin: 0;
  608. padding: 0 0 2px 0;
  609. }
  610. #morefoot #searchbox {
  611. padding: 1px;
  612. width: 180px;
  613. }
  614. #morefoot .col1 {
  615. float: left;
  616. width: 340px;
  617. }
  618. #morefoot .col2 {
  619. margin: 0 25px;
  620. }
  621. #morefoot .col2, #morefoot .col3 {
  622. float: left;
  623. width: 260px;
  624. }
  625. #morefoot li {
  626. padding-left: 20px;
  627. margin-bottom: 5px;
  628. background: url(images/more.gif) left 2px no-repeat;
  629. line-height: 17px; /* Required for cross-browser consistency; cross-browser defaults vary. */
  630. }
  631. /* footer*/
  632. #footer {
  633. clear: both;
  634. background: #000;
  635. border: 1px solid #070707;
  636. padding: 15px 15px 10px 15px;
  637. }
  638. #footer p {
  639. font-size: 9pt;
  640. color: #bbb;
  641. padding: 0;
  642. }
  643. #footer a {
  644. color: #bbb;
  645. text-decoration:none;
  646. }
  647. #footer a:hover {
  648. color: #fff;
  649. }
  650. #footerleft {
  651. float: left;
  652. width: 600px;
  653. }
  654. #footerright {
  655. float: right;
  656. width: 300px;
  657. text-align: right;
  658. }
  659. /* Misc */
  660. .highlight {
  661. color: #222;
  662. font-weight: bold;
  663. }
  664. .cleared {
  665. margin: 0;
  666. padding: 0;
  667. clear: both;
  668. }
  669. .alignleft {
  670. float: left;
  671. margin: 10px 15px 5px 0;
  672. }
  673. .alignright {
  674. float: right;
  675. margin: 10px 0 5px 15px;
  676. }
  677. .aligncenter,
  678. div.aligncenter {
  679. margin: 10px auto;
  680. text-align: center;
  681. display: block;
  682. }
  683. img.alignleft {
  684. float: left;
  685. margin: 10px 15px 5px 0;
  686. }
  687. img.alignright {
  688. float: right;
  689. margin: 10px 0 5px 15px;
  690. }
  691. img.aligncenter {
  692. margin: 10px auto;
  693. text-align: center;
  694. display: block;
  695. }
  696. .wp-caption {
  697. border: 1px solid #ddd;
  698. text-align: center;
  699. background-color: #f3f3f3;
  700. padding-top: 4px;
  701. /* optional rounded corners for browsers that support it */
  702. -moz-border-radius: 3px;
  703. -khtml-border-radius: 3px;
  704. -webkit-border-radius: 3px;
  705. border-radius: 3px;
  706. }
  707. .wp-caption img {
  708. margin: 0;
  709. padding: 0;
  710. border: none;
  711. }
  712. .wp-caption p.wp-caption-text {
  713. font-size: 11px;
  714. line-height: 17px;
  715. padding: 0 4px 5px;
  716. margin: 0;
  717. color: #111;
  718. }