PageRenderTime 54ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/themes/hemingway/stylesheets/application.css

https://github.com/Astrosurfer/myfirstrorwebsite
CSS | 713 lines | 585 code | 82 blank | 46 comment | 0 complexity | 464280632b787f988e4e6e2aaf1e4881 MD5 | raw file
  1. /*
  2. Theme Name: Hemingway
  3. Theme URI: http://warpspire.com/hemingway
  4. Description: Description: Hemingway is a simple weblog theme by <a href="http://warpspire.com">Kyle Neath</a> aimed at giving bloggers a great platform on which to customize. If you'd like to learn more about Hemingway, <a href="http://warpspire.com/hemingway">head on over to Warpspire</a> or ask a question in the <a href="http://support.warpspire.com/discussions/hemingway">official support forums.</a> <br /><strong>This theme requires WordPress 2.0+</strong></a>.
  5. Version: 0.20
  6. Author: Kyle Neath
  7. Author URI: http://warpspire.com
  8. */
  9. /*-----------------------------------------------------------------------------------------------
  10. Global Styles
  11. -----------------------------------------------------------------------------------------------*/
  12. * {
  13. padding:0;
  14. margin:0;
  15. }
  16. h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 0; }
  17. li, dd { margin-left:5%; }
  18. fieldset { padding: .5em; }
  19. select option{ padding:0 5px; }
  20. select, option { color:black; }
  21. .hide, .print-logo, .close-button{ display:none; }
  22. .left{ float:left; }
  23. .right{ float:right; }
  24. .clear{ clear:both; height:1px; font-size:1px; line-height:1px; }
  25. a img{ border:none; }
  26. /*-----------------------------------------------------------------------------------------------
  27. Layout / Base Page Styling
  28. -----------------------------------------------------------------------------------------------*/
  29. body{
  30. background:#272727;
  31. color:#BFBFBF;
  32. font-size:11px;
  33. font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
  34. }
  35. /* This class sets the width and position for all rows */
  36. .inside, #site_bar_content {
  37. width:80%;
  38. min-width:65em;
  39. max-width:85em;
  40. margin:0 auto;
  41. }
  42. a{
  43. color:#FFF;
  44. }
  45. h1{
  46. color:#CCC;
  47. font-size:1.5em;
  48. font-weight:normal;
  49. margin:1.5em 0;
  50. }
  51. h2, h3{
  52. font-size:1.15em;
  53. color:#FFF;
  54. font-weight:normal;
  55. }
  56. #primary h2{
  57. color:#CCC;
  58. }
  59. p{
  60. line-height:1.75em;
  61. }
  62. #primary ul li{
  63. list-style-type:square;
  64. margin:0.5em 0 0.5em 2em;
  65. }
  66. blockquote{
  67. margin-left:1em;
  68. padding-left:1em;
  69. border-left:2px solid #CCC;
  70. color:#CCC;
  71. }
  72. pre{
  73. width:100%;
  74. padding:1em 0;
  75. overflow:auto;
  76. border-top:1px dotted #333;
  77. border-bottom:1px dotted #333;
  78. }
  79. table{
  80. width:100%;
  81. border-spacing:2px;
  82. margin:1.5em 0;
  83. }
  84. table th, table td{ padding:0.3em 0.75em }
  85. table th{
  86. background:#CCC;
  87. color:#000;
  88. text-align:left;
  89. }
  90. table td{
  91. background:#333;
  92. color:#FFF;
  93. }
  94. table caption{
  95. text-align:left;
  96. color:#FFF;
  97. margin-bottom:-1em;
  98. margin-top:1em;
  99. }
  100. .rule{
  101. border-top:1px solid #CCC;
  102. height:1px;
  103. font-size:1px;
  104. line-height:1px;
  105. margin:1.5em 0;
  106. }
  107. /*-----------------------------------------------------------------------------------------------
  108. Header
  109. -----------------------------------------------------------------------------------------------*/
  110. #header{
  111. background:#000;
  112. }
  113. #header .inside{
  114. padding:3em 0;
  115. }
  116. #header h2{
  117. font-size:2.25em;
  118. margin:0 0.5em 0 0;
  119. padding:0 0.5em 0.25em 0;
  120. border-right:1px solid #808080;
  121. float:left;
  122. }
  123. #header h2 a{ text-decoration:none; }
  124. #header p{
  125. padding:1em 0;
  126. margin:0;
  127. line-height:1em;
  128. }
  129. /*-----------------------------------------------------------------------------------------------
  130. Primary Items
  131. -----------------------------------------------------------------------------------------------*/
  132. #primary{
  133. background:#000;
  134. padding:1px 0 2em 0;
  135. color:#808080;
  136. }
  137. #primary.onecol-stories .primary{
  138. float:left;
  139. width:50%;
  140. }
  141. #primary.onecol-stories .secondary{
  142. float:right;
  143. width:40%;
  144. margin:0 0 0 10%;
  145. }
  146. #primary.twocol-stories .story{
  147. float:left;
  148. width:48%;
  149. margin:0 0 0 4%;
  150. display:inline;
  151. }
  152. * html #primary.twocol-stories .story{
  153. margin-left:2%;
  154. }
  155. #primary.twocol-stories .first, * html #primary.twocol-stories .first{
  156. margin:0 0 0 0;
  157. }
  158. .story h3{
  159. font-size:1.15em;
  160. margin:0 0 1.5em 0;
  161. font-weight:normal;
  162. color:#CCC;
  163. }
  164. .story h3 a{
  165. color:#CCC;
  166. text-decoration:none;
  167. border-bottom:1px dotted #666;
  168. }
  169. .story .details{
  170. margin:1em 0;
  171. text-align:right;
  172. border-top:1px solid #333;
  173. padding:0.5em 0;
  174. font-size:0.95em;
  175. color:#4D4D4D;
  176. }
  177. .story .details .read-on{
  178. background:url(/theme/images/readon_black.gif) 100% 60% no-repeat;
  179. padding-right:20px;
  180. }
  181. .story .details a{
  182. color:#4D4D4D;
  183. text-decoration:none;
  184. }
  185. .story .details a:hover{ color:#FFF; }
  186. /* Single Post Styles */
  187. #primary .primary{
  188. float:right;
  189. width:65%;
  190. }
  191. #primary .secondary{
  192. float:right;
  193. width:30%;
  194. margin-right:5%;
  195. padding-top:0.65em;
  196. display:inline;
  197. }
  198. * html #primary .secondary{ margin-right:4%; }
  199. .secondary .featured p{
  200. border-bottom:1px solid #333333;
  201. border-top: 1px solid #333333;
  202. padding:0.5em 0 0.6em 0;
  203. line-height:1.5em;
  204. margin:1em 0 0 0;
  205. }
  206. .secondary .featured dl{
  207. margin:0 0;
  208. border-bottom:1px solid #333333;
  209. padding:0.5em 0 0.6em 0;
  210. }
  211. .secondary dt{
  212. display:inline;
  213. margin:0;
  214. padding:0;
  215. color:#AAA;
  216. }
  217. .secondary dd{
  218. display:inline;
  219. margin:0;
  220. padding:0;
  221. }
  222. .secondary dd a{ color:#808080; }
  223. .secondary dd a:hover{ color:#FFF; }
  224. .single-post h1, .single-post h2{ margin-top:0; }
  225. /*-----------------------------------------------------------------------------------------------
  226. Secondary Items
  227. -----------------------------------------------------------------------------------------------*/
  228. #secondary{
  229. background:#0C0C0C;
  230. padding:1px 2em;
  231. border-top:1px solid #1C1C1C;
  232. }
  233. .comment-head{
  234. border-bottom:1px solid #1C1C1C;
  235. padding:0.8em 2em 1.0em 2em;
  236. }
  237. .comment-head h2{
  238. font-size:1.5em;
  239. margin:0;
  240. }
  241. .comment-head a{
  242. text-decoration:none;
  243. color:#868686;
  244. }
  245. .comment-head .details{
  246. font-size:0.95em;
  247. }
  248. ol#comments{
  249. list-style-type:none;
  250. margin:2em 0;
  251. }
  252. ol#comments li{
  253. list-style-type:none;
  254. margin:2em 0;
  255. }
  256. ol#comments li .avatar {
  257. border: 1px solid #222;
  258. padding: 2px;
  259. }
  260. #comments cite{
  261. float:left;
  262. width:31%;
  263. font-style:normal;
  264. text-align:right;
  265. }
  266. * html #comments cite{ width:30.6%; }
  267. #comments cite span{
  268. display:block;
  269. }
  270. #comments cite span.avatarspan{ float: left; }
  271. #comments cite .author{ font-size:1.2em; }
  272. #comments cite .author a{
  273. text-decoration:none;
  274. }
  275. #comments cite .admin-tools{
  276. margin:5px 0;
  277. }
  278. #comments cite .admin-tools a{
  279. float:right;
  280. margin:0 5px;
  281. padding:0px 3px 3px;
  282. background:#666;
  283. border:1px solid #999;
  284. text-decoration:none;
  285. }
  286. #primary .secondary .admin-tools{ margin:1em 0; }
  287. #preview{
  288. margin:1em 0;
  289. padding:0.5em;
  290. border:1px solid #333;
  291. }
  292. #preview p{ margin:1em 0 0 0; }
  293. #errors{ color:#FF0000; font-weight:bold; }
  294. #comments .pingback cite .author{
  295. display:block;
  296. padding-top:68px;
  297. background:url(/theme/images/trackback_pingback.gif) 100% 0 no-repeat;
  298. }
  299. #comments .content{
  300. float:left;
  301. width:60%;
  302. margin-left:1.9%;
  303. border-left:1px solid #868686;
  304. padding: 0 0 0 2%;
  305. }
  306. #comments .content p{
  307. margin:0 0 1em 0;
  308. }
  309. #comments .content h3{
  310. margin:0;
  311. font-size:1em;
  312. }
  313. #comment-form{
  314. margin:5em 0 5em 35.4%;
  315. width:36em;
  316. }
  317. input.textfield{
  318. width: 15em;
  319. margin:5px 0;
  320. }
  321. textarea.commentbox{
  322. width:28em;
  323. height:10em;
  324. padding:0.25em;
  325. margin:5px 0;
  326. font-size:1.25em;
  327. font-family:Arial, Helvetica, sans-serif;
  328. }
  329. label.text{
  330. position:relative;
  331. left:0.5em;
  332. top:-0.5em;
  333. }
  334. .formactions input.submit{
  335. float:right;
  336. margin:-1em 0 0 0;
  337. padding:0 0.5em;
  338. }
  339. .formactions .spinner{
  340. float:right;
  341. margin:-8px -20px 0 0;
  342. }
  343. /*-----------------------------------------------------------------------------------------------
  344. Ancillary Items
  345. -----------------------------------------------------------------------------------------------*/
  346. #ancillary{
  347. padding:2em 0 0 0;
  348. }
  349. #ancillary .block{
  350. float:left;
  351. width: 46%;
  352. margin:0 0 0 5%;
  353. }
  354. #ancillary .twice-length{ width:65%; }
  355. #ancillary .thrice-length{ width:100%; }
  356. * html #ancillary .block{
  357. margin:0 0 0 4%;
  358. }
  359. #ancillary .first, * html #ancillary .first{
  360. clear:both;
  361. margin:0;
  362. }
  363. #ancillary .block-separator{
  364. clear:both;
  365. height:2.5em;
  366. }
  367. #ancillary .block h2, #ancillary .block h3{
  368. margin:0 0 2em 0;
  369. }
  370. ul.dates, ul.counts, ul.blogroll ul, ul.pages{
  371. list-style-type:none;
  372. margin:1.5em 0 2em 0;
  373. border-top:1px solid #3D3D3D;
  374. }
  375. ul.dates li, ul.counts li, ul.blogroll ul li, ul.pages li{
  376. list-style-type:none;
  377. margin:0;
  378. padding:0.5em 0;
  379. border-bottom:1px solid #3D3D3D;
  380. }
  381. ul.dates .date{
  382. color:#858585;
  383. padding:0 1.5em 0 0;
  384. }
  385. ul.counts .count{
  386. float:right;
  387. color:#858585;
  388. }
  389. ul.dates a, ul.counts a, ul.blogroll a, ul.pages a{
  390. color:#BFBFBF;
  391. text-decoration:none;
  392. }
  393. ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count, ul.blogroll a:hover, ul.pages a:hover{
  394. color:#FFF;
  395. }
  396. ul.blogroll{ margin-top:0; }
  397. ul.blogroll li{
  398. list-style-type:none;
  399. margin:0;
  400. }
  401. ul.pages ul{
  402. margin:0;
  403. }
  404. #ancillary .pages ul {
  405. margin-left: 15px;
  406. }
  407. ul.pages ul li{
  408. border:none;
  409. margin-left:2em;
  410. list-style-type:square;
  411. }
  412. /*-----------------------------------------------------------------------------------------------
  413. Foooter
  414. -----------------------------------------------------------------------------------------------*/
  415. #footer{
  416. clear:both;
  417. color:#939393;
  418. margin:2em 0 3em 0;
  419. }
  420. #footer .inside{
  421. background:url(/theme/images/footer_black.gif) 50% 0 repeat-x;
  422. padding:1em 0;
  423. }
  424. #footer p{
  425. margin:0;
  426. font-size:0.95em;
  427. }
  428. #footer p.copyright{ float:left; }
  429. #footer p.attributes{ float:right; }
  430. #footer p.attributes a{
  431. padding:0 0 0 1em;
  432. text-decoration:none;
  433. color:#525252;
  434. }
  435. #footer p.attributes a:hover{
  436. color:#FFF;
  437. }
  438. /*-----------------------------------------------------------------------------------------------
  439. Search
  440. -----------------------------------------------------------------------------------------------*/
  441. #search{
  442. float:right;
  443. width:200px;
  444. margin:1em 0 0 0;
  445. -moz-opacity:0.4;
  446. text-align:right;
  447. }
  448. #search:hover{
  449. -moz-opacity:1.0;
  450. }
  451. #search .searchimg{
  452. float:left;
  453. width:14px;
  454. height:13px;
  455. background:url(/theme/images/search.gif) 0 0 no-repeat;
  456. position:relative;
  457. top:4px;
  458. }
  459. #search input{
  460. width:175px;
  461. font-size: 0.85em;
  462. background:#CCC;
  463. margin-top:2px;
  464. }
  465. #search input:focus{
  466. background:#FFF;
  467. }
  468. #searchform{
  469. margin:1em 0;
  470. }
  471. #searchform #s{
  472. background:#222;
  473. border:none;
  474. border-bottom:1px solid #333;
  475. width:30em;
  476. color:#666666;
  477. padding:0.25em;
  478. }
  479. #searchform #searchsubmit{
  480. background:#000;
  481. color:#666;
  482. border:none;
  483. font-size:0.9em;
  484. text-transform:uppercase;
  485. letter-spacing:0.25em;
  486. }
  487. /* Legacy Typo CSS */
  488. #search-results{
  489. width:30%;
  490. background:#333;
  491. padding:0 0 0 0;
  492. float:right;
  493. -moz-opacity:0.9;
  494. border-top:1em solid #000;
  495. }
  496. #search-results h3{
  497. font-weight:bold;
  498. text-align:left;
  499. margin:0;
  500. padding:0 0 1em 0;
  501. background:#000;
  502. }
  503. #search-results small{
  504. display:block;
  505. text-align:left;
  506. font-size:0.9em;
  507. padding:0.5em 1em 0.7em 1em;
  508. border-top:1px solid #666;
  509. border-bottom:1px solid #555;
  510. }
  511. #search-results small a{
  512. color:#CCC;
  513. }
  514. #search-results ul li{
  515. list-style-type:none;
  516. padding:0 1em 0.5em 1em;
  517. margin:0.5em 0;
  518. }
  519. #search-results ul li:hover{
  520. background:#202020;
  521. }
  522. #search-result ul{ margin:0; }
  523. #search-results ul li a{
  524. text-decoration:none;
  525. border-bottom:1px dotted #CCC;
  526. }
  527. #search img.archives-icon{
  528. margin:0 7px 0 0;
  529. top:1px;
  530. }
  531. img.centered, img.aligncenter {
  532. display: block;
  533. margin-left: auto;
  534. margin-right: auto;
  535. }
  536. img.alignright {
  537. padding: 4px;
  538. margin: 0 0 2px 7px;
  539. display: inline;
  540. }
  541. img.alignleft {
  542. padding: 4px;
  543. margin: 0 7px 2px 0;
  544. display: inline;
  545. }
  546. .alignright {
  547. float: right;
  548. }
  549. .alignleft {
  550. float: left;
  551. }
  552. .aligncenter, div.aligncenter {
  553. display: block;
  554. margin-left: auto;
  555. margin-right: auto;
  556. }
  557. .wp-caption {
  558. border: 1px solid #ddd;
  559. text-align: center;
  560. background-color: #f3f3f3;
  561. padding-top: 4px;
  562. margin: 10px;
  563. -moz-border-radius: 3px;
  564. -khtml-border-radius: 3px;
  565. -webkit-border-radius: 3px;
  566. border-radius: 3px;
  567. }
  568. .wp-caption img {
  569. margin: 0;
  570. padding: 0;
  571. border: 0 none;
  572. }
  573. .wp-caption p.wp-caption-text {
  574. font-size: 11px;
  575. color: #000;
  576. line-height: 17px;
  577. padding: 0 4px 5px;
  578. margin: 0;
  579. }
  580. #body_content_right {
  581. float: left;
  582. width: 49%;
  583. }
  584. #body_content_left {
  585. float: right;
  586. width: 49%
  587. }
  588. /*
  589. Firefox Dotted Line Fix
  590. - http://sonspring.com/journal/removing-dotted-links
  591. */
  592. a:focus {
  593. outline: none;
  594. }
  595. /*
  596. Clearfix docs
  597. - Main docs: http://positioniseverything.net/easyclearing.html
  598. - IE7 change: http://www.456bereastreet.com/archive/200603/new_clearing_method_needed_for_ie7/
  599. */
  600. .clearfix:after {
  601. content: ".";
  602. display: block;
  603. height: 0;
  604. clear: both;
  605. visibility: hidden;
  606. }
  607. .clearfix {
  608. display: inline-block;
  609. }
  610. /* Hide from IE Mac \*/
  611. .clearfix {
  612. display:block;
  613. }
  614. /* End hide from IE Mac */
  615. .inquiries form label {
  616. display: block;
  617. }
  618. .inquiries .field {
  619. margin: 12px 0px;
  620. }
  621. .inquiries form {
  622. padding-top: 12px;
  623. }
  624. .page_not_live {
  625. border: 1px solid #A00027;
  626. color: #A00027;
  627. background: #FFB1B1;
  628. padding:3px 9px;
  629. font-weight:bold;
  630. width:auto;
  631. }