PageRenderTime 50ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/themes/Indigo/style.css

#
CSS | 883 lines | 689 code | 129 blank | 65 comment | 0 complexity | cb96a8be3743d96e9026cc5aa1415a8d MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. /*#############################################################
  2. Name: Indigo
  3. Description: A lightweight (7kb images), simple and professional design.
  4. Date: 2006-07-27
  5. Author: Viktor Persson
  6. URL: http://arcsin.se
  7. Adapted by: Al @ http://www.nyveldt.com/blog/
  8. Feel free to use and modify but please provide credits.
  9. #############################################################*/
  10. /* standard elements */
  11. * {
  12. margin: 0;
  13. padding: 0;
  14. }
  15. a {
  16. color: #F70;
  17. }
  18. a:hover {
  19. color: #C60;
  20. }
  21. body {
  22. background: #0094D6 url(img/bg.gif) repeat-x;
  23. color: #466;
  24. font: normal 62.5% "Lucida Sans Unicode",sans-serif;
  25. margin: 0;
  26. }
  27. input {
  28. color: #555;
  29. font: normal 1.1em "Lucida Sans Unicode",sans-serif;
  30. }
  31. p,cite,code,ul {
  32. font-size: 1.2em;
  33. padding-bottom: 1.2em;
  34. }
  35. h1 {
  36. font-size: 1.4em;
  37. margin-bottom: 4px;
  38. }
  39. h2 {
  40. font-size: 1.2em;
  41. margin-bottom: 4px;
  42. }
  43. code {
  44. background: url(img/bgcode.gif);
  45. border: 1px solid #F0F0F0;
  46. border-left: 6px solid #39F;
  47. color: #555;
  48. font: normal 1.1em "Lucida Sans Unicode",serif;
  49. margin-bottom: 12px;
  50. padding: 8px 10px;
  51. white-space: pre;
  52. }
  53. cite {
  54. background: url(img/quote.gif) no-repeat;
  55. color: #666;
  56. display: block;
  57. font: normal 1.3em "Lucida Sans Unicode",serif;
  58. padding-left: 28px;
  59. }
  60. h1,h2,h3 {
  61. color: #06C;
  62. padding-top: 6px;
  63. }
  64. /* misc */
  65. .clearer {
  66. clear: both;
  67. }
  68. #postnavigation{
  69. height: 20px;
  70. margin-bottom: 10px;
  71. text-align: center;
  72. color: Gray;
  73. }
  74. /* structure */
  75. .container {
  76. background: url(img/topleft.gif) no-repeat;
  77. }
  78. .header {
  79. height: 92px;
  80. }
  81. /* title */
  82. .title {
  83. float: left;
  84. padding: 28px 0 0 76px;
  85. color: #FFF;
  86. }
  87. .title h1 {
  88. color: #FFF;
  89. font: normal 2em Verdana,sans-serif;
  90. }
  91. .title a {
  92. text-decoration: none;
  93. color: #FFF;
  94. }
  95. /* navigation */
  96. .navigation {
  97. float: left;
  98. height: 92px;
  99. margin-left: 24px;
  100. padding: 0 16px;
  101. }
  102. .navigation a {
  103. color: #FFF;
  104. float: left;
  105. font: bold 1.2em "Trebuchet MS",sans-serif;
  106. margin-top: 56px;
  107. padding: 8px 18px;
  108. text-align: center;
  109. text-decoration: none;
  110. }
  111. .navigation a:hover {
  112. background-color: #4A91C3;
  113. color: #FFF;
  114. }
  115. /* main */
  116. .main {
  117. background: #FFF url(img/bgmain.gif) no-repeat;
  118. clear: both;
  119. padding: 12px 12px 0 52px;
  120. }
  121. /* main left */
  122. .sidenav {
  123. float: left;
  124. width: 24%;
  125. }
  126. .sidenav h1 {
  127. border-bottom: 1px dashed #DDD;
  128. color: #E73;
  129. font-size: 1.2em;
  130. height: 20px;
  131. margin-top: 1.2em;
  132. }
  133. .sidenav img {
  134. border: none;
  135. }
  136. .sidenav ul
  137. {
  138. text-transform: capitalize;
  139. margin: 0;
  140. padding: 0;
  141. }
  142. .sidenav li {
  143. border-bottom: 1px dashed #EEE;
  144. list-style: none;
  145. margin: 0;
  146. }
  147. .sidenav li a {
  148. color: #777;
  149. /* display: block; */
  150. font-size: 1em;
  151. padding: 3px 6px 3px 3px;
  152. text-decoration: none;
  153. }
  154. .sidenav li a:hover {
  155. color: #111;
  156. background: url(img/nav_li.gif) no-repeat;
  157. }
  158. #blogroll
  159. {
  160. font-size: 0.8em;
  161. }
  162. .open
  163. {
  164. font-size: 1em;
  165. }
  166. /*----------------------------
  167. Recent posts
  168. ----------------------------*/
  169. ul.recentPosts li{
  170. padding-bottom: 10px;
  171. }
  172. ul.recentPosts li a{
  173. font-weight: bold;
  174. }
  175. ul.recentPosts li span{
  176. display: block;
  177. text-indent: 10px;
  178. text-transform: none;
  179. }
  180. /*----------------------------
  181. Recent comments
  182. ----------------------------*/
  183. ul.recentComments li{
  184. padding-bottom: 10px;
  185. text-transform: none;
  186. }
  187. ul.recentComments li a.postTitle{
  188. font-weight: bold;
  189. }
  190. /* content */
  191. .content {
  192. float: left;
  193. margin-right: 4%;
  194. width: 69%;
  195. }
  196. .content .postheader {
  197. text-decoration: none;
  198. color: #06C;
  199. }
  200. .content .descr {
  201. color: #C60;
  202. margin-bottom: 6px;
  203. }
  204. .content li {
  205. list-style: url(img/li.gif);
  206. margin-left: 18px;
  207. }
  208. .postcontent {
  209. font-size: 1.2em;
  210. padding-bottom: 1.2em;
  211. }
  212. .postcontent p {
  213. font-size: inherit;
  214. padding-bottom: 1.2em;
  215. }
  216. #ctl00_cphBody_divText {
  217. font-size: 1.2em;
  218. padding-bottom: 1.2em;
  219. }
  220. #ctl00_cphBody_divText p {
  221. font-size: inherit;
  222. padding-bottom: 1.2em;
  223. }
  224. .postfooter {
  225. padding:2px 3px 3px 8px;
  226. border:1px solid #e3e4e4;
  227. background-color:#f5f5f5;
  228. font-size:0.9em;
  229. color:#505050;
  230. }
  231. .postfooter img{
  232. border: none;
  233. }
  234. /*----------------------------
  235. Widgets
  236. ----------------------------*/
  237. div.widgetzone{
  238. padding: 0;
  239. background: none;
  240. width:100%;
  241. }
  242. div.widgetzone .clear{
  243. clear: left;
  244. }
  245. div.widget{
  246. background: white;
  247. margin-bottom: 10px;
  248. width: 100%;
  249. z-index: 1;
  250. min-width: 1px;
  251. clear: both;
  252. }
  253. div.widget .content{
  254. line-height: 16px;
  255. color: #666666;
  256. width: 100%;
  257. float: none;
  258. margin: 0;
  259. }
  260. div.widget h4{
  261. font-size: 1.2em;
  262. border-bottom: 1px dashed #DDD;
  263. color: #E73;
  264. padding-bottom: 5px;
  265. margin: 0;
  266. margin-bottom: 5px;
  267. z-index: 0;
  268. letter-spacing: 1px;
  269. }
  270. div.widget a.edit, div.widget a.move{
  271. font-size: 10px;
  272. font-weight: normal;
  273. float: right;
  274. z-index: 1;
  275. margin-left: 5px;
  276. }
  277. div.widget a.delete{
  278. font-weight: bold;
  279. color: #999999;
  280. float: right;
  281. margin-left: 5px;
  282. z-index: 1;
  283. text-decoration: none;
  284. }
  285. div.widget a.delete:hover{
  286. color: black;
  287. }
  288. .widgetzone .widget .content ul {
  289. list-style-type: none !important;
  290. margin: 0 !important;
  291. padding: 0 !important;
  292. text-transform: capitalize;
  293. }
  294. .widgetzone .widget .content ul li {
  295. list-style: none !important;
  296. margin: 0;
  297. padding: 0;
  298. margin-bottom: 3px;
  299. }
  300. .widgetzone div.search{
  301. background: none;
  302. border: none;
  303. padding-left: 10px;
  304. }
  305. .widgetzone div#moveWidgetToContainer {
  306. text-align: right;
  307. margin: 3px;
  308. }
  309. /* search form */
  310. #searchbox input
  311. {
  312. border: 3px double #E5E5E5;
  313. padding: 2px 3px;
  314. }
  315. #searchbutton {
  316. border: 1px solid #AAA;
  317. margin-left: 5px;
  318. padding: 2px 3px;
  319. }
  320. #searchcomments
  321. {
  322. margin-right: 3px;
  323. }
  324. /* footer */
  325. .footer {
  326. background: #0094D6 url(img/bgfooter.gif) repeat-x;
  327. color: #C1DEF0;
  328. font-size: 1.1em;
  329. line-height: 40px;
  330. text-align: center;
  331. }
  332. .footer a {
  333. color: #FFF;
  334. text-decoration: none;
  335. }
  336. .footer a:hover {
  337. color: #FFF;
  338. text-decoration: underline;
  339. }
  340. /* related posts */
  341. #relatedPosts a {
  342. display: block;
  343. margin-top: 5px;
  344. margin-left: 15px;
  345. margin-bottom: 5px;
  346. font-size: 1.2em;
  347. }
  348. /* comments */
  349. .comment
  350. {
  351. border-top: 1px solid #DDDDDD;
  352. border-bottom: 1px solid #DDDDDD;
  353. padding-top: 10px;
  354. margin-bottom: 5px;
  355. padding-bottom: 5px;
  356. }
  357. .comment .date {
  358. text-align: left;
  359. margin: 0;
  360. padding: 3px 0px;
  361. }
  362. .comment .author {
  363. margin: 0;
  364. text-align: left;
  365. padding-top: 3px;
  366. margin: 5px 0px 3px 0px;
  367. clear: both;
  368. }
  369. .self {
  370. background-color:#F5F5F5;
  371. }
  372. .comment .gravatar {
  373. float: left;
  374. clear: both;
  375. margin: 5px 5px 5px 5px;
  376. }
  377. .comment .gravatar img {
  378. height: 80px;
  379. }
  380. .comment .content {
  381. min-height: 85px;
  382. margin: 5px 0 0 5px;
  383. }
  384. .commentForm {
  385. padding: 5px;
  386. }
  387. .commentForm label {
  388. float: left;
  389. display: block;
  390. width: 80px;
  391. }
  392. .commentForm input {
  393. width: 345px;
  394. }
  395. .commentForm textarea {
  396. width: 100%;
  397. height: 150px;
  398. }
  399. #commentMenu{
  400. padding: 0;
  401. margin:0;
  402. clear:both;
  403. }
  404. #commentMenu li{
  405. float:left;
  406. border:1px solid silver;
  407. border-bottom: none;
  408. margin:0;
  409. list-style:none;
  410. margin-right:5px;
  411. padding: 3px 8px;
  412. cursor:pointer;
  413. position:relative;
  414. top: 2px;
  415. background:#d8d8d8;
  416. }
  417. #commentMenu li.selected{
  418. background:white;
  419. border-bottom:1px solid white;
  420. }
  421. #commentPreview{
  422. display:none;
  423. clear:both;
  424. }
  425. /* Archive */
  426. #archive p
  427. {
  428. font-size: 1.2em;
  429. }
  430. #archive img
  431. {
  432. border: none;
  433. padding-right: 5px;
  434. }
  435. #archive h2 {
  436. font-size: 1.2em;
  437. margin-bottom: 4px;
  438. }
  439. #archive span
  440. {
  441. display: block;
  442. margin-bottom: 3px;
  443. font-size: 1.1em;
  444. }
  445. #archive span a
  446. {
  447. margin-left: 4px;
  448. }
  449. /*----------------------------
  450. Tag cloud
  451. ----------------------------*/
  452. #tagcloud {
  453. margin-bottom: 10px;
  454. white-space: normal;
  455. }
  456. #tagcloud li {
  457. display: inline;
  458. border-bottom: none;
  459. }
  460. #tagcloud a {
  461. margin-right: 3px;
  462. display: inline;
  463. padding: 3px 1px 3px 1px;
  464. }
  465. #tagcloud li a:hover {
  466. color: #111;
  467. background: none;
  468. }
  469. #tagcloud a.biggest {
  470. font-size: 20px;
  471. }
  472. #tagcloud a.big {
  473. font-size: 17px;
  474. }
  475. #tagcloud a.medium {
  476. font-size: 13px;
  477. }
  478. #tagcloud a.small {
  479. font-size: 12px;
  480. }
  481. #tagcloud a.smallest {
  482. font-size: 10px;
  483. }
  484. /*----------------------------
  485. Calendar
  486. ----------------------------*/
  487. #calendarContainer {
  488. text-transform: capitalize;
  489. margin: 0 auto;
  490. }
  491. .calendar {
  492. border: none;
  493. margin: 0 auto;
  494. font-size: 1.2em;
  495. width: 80%;
  496. }
  497. .calendar .weekend {
  498. background-color: #F1F1F1;
  499. }
  500. .calendar .other {
  501. color: silver;
  502. }
  503. .calendar a.exist {
  504. display: block;
  505. font-weight: bold;
  506. background-color: #F1F1F1;
  507. }
  508. .calendar td {
  509. vertical-align: top;
  510. background: white;
  511. }
  512. /*----------------------------
  513. Star rater
  514. ----------------------------*/
  515. .rating p{
  516. display: inline;
  517. position: relative;
  518. top: 14px;
  519. left: 55px;
  520. }
  521. .star-rating {
  522. position: relative;
  523. width: 125px;
  524. height: 25px;
  525. overflow: hidden;
  526. list-style: none;
  527. margin: 0;
  528. padding: 0;
  529. background-position: left top;
  530. }
  531. .star-rating li {
  532. display: inline;
  533. }
  534. .star-rating a, .star-rating .current-rating {
  535. position: absolute;
  536. top: 0;
  537. left: 0;
  538. text-indent: -1000em;
  539. height: 25px;
  540. line-height: 25px;
  541. outline: none;
  542. overflow: hidden;
  543. border: none;
  544. }
  545. .star-rating a:hover, .star-rating a:active, .star-rating a:focus {
  546. background-position: left bottom;
  547. }
  548. .star-rating a.one-star {
  549. width: 20%;
  550. z-index: 6;
  551. }
  552. .star-rating a.two-stars {
  553. width: 40%;
  554. z-index: 5;
  555. }
  556. .star-rating a.three-stars {
  557. width: 60%;
  558. z-index: 4;
  559. }
  560. .star-rating a.four-stars {
  561. width: 80%;
  562. z-index: 3;
  563. }
  564. .star-rating a.five-stars {
  565. width: 100%;
  566. z-index: 2;
  567. }
  568. .star-rating .current-rating {
  569. z-index: 1;
  570. background-position: left center;
  571. margin: 0px;
  572. }
  573. /* smaller star */
  574. .small-star {
  575. width: 50px;
  576. height: 10px;
  577. }
  578. .small-star, .small-star a:hover, .small-star a:active, .small-star a:focus, .small-star .current-rating {
  579. background-image: url(../../pics/star_small.gif);
  580. line-height: 10px;
  581. height: 10px;
  582. }
  583. /*----------------------------
  584. Contact page
  585. ----------------------------*/
  586. #contact{
  587. padding: 10px;
  588. }
  589. #contact h1{
  590. margin-top: 0;
  591. }
  592. #contact label{
  593. display: block;
  594. padding-top: 5px;
  595. }
  596. #contact input.field{
  597. width: 200px;
  598. }
  599. #contact textarea{
  600. display: block;
  601. overflow: auto;
  602. width: 75%;
  603. height: 150px;
  604. margin: 0;
  605. }
  606. /* code styles for CodeFormatter Extension*/
  607. .csharpcode, .csharpcode pre
  608. {
  609. font-size: small;
  610. color: black;
  611. font-family: Consolas, "Courier New", Courier, Monospace;
  612. background-color: #ffffff;
  613. /*white-space: pre;*/
  614. }
  615. .csharpcode pre { margin: 0em; }
  616. .csharpcode .rem { color: #008000; }
  617. .csharpcode .kwrd { color: #0000ff; }
  618. .csharpcode .str { color: #006080; }
  619. .csharpcode .op { color: #0000c0; }
  620. .csharpcode .preproc { color: #cc6633; }
  621. .csharpcode .asp { background-color: #ffff00; }
  622. .csharpcode .html { color: #800000; }
  623. .csharpcode .attr { color: #ff0000; }
  624. .csharpcode .alt
  625. {
  626. background-color: #f4f4f4;
  627. width: 100%;
  628. margin: 0em;
  629. }
  630. .csharpcode .lnum { color: #606060; }
  631. /*----------------------------
  632. Search page
  633. ----------------------------*/
  634. .searchresult{
  635. margin-bottom: 20px;
  636. }
  637. .searchresult a{
  638. font-weight: bold;
  639. }
  640. .searchresult span.text{
  641. clear: both;
  642. display: block;
  643. margin: 3px 0;
  644. }
  645. .searchresult span.type{
  646. display: block;
  647. }
  648. .searchresult span.url{
  649. color: Gray;
  650. }
  651. .searchpage ul.paging{
  652. list-style-type: none;
  653. margin:0px;
  654. margin-bottom: 20px;
  655. padding:0px;
  656. }
  657. .searchpage ul.paging li{
  658. display: inline;
  659. border: 1px solid gray;
  660. background: #f1f1f1;
  661. margin-right: 5px;
  662. }
  663. .searchpage ul.paging li a{
  664. padding: 5px 8px;
  665. }
  666. .searchpage ul.paging li.active{
  667. background: #f1f1f1;
  668. border: 1px solid black;
  669. }
  670. /*----------------------------
  671. Syntax highlighter
  672. ----------------------------*/
  673. .code
  674. {
  675. font-size: 12px;
  676. color: black;
  677. font-family: Consolas, "Courier New", Courier, Monospace;
  678. background-color: #F1F1F1;
  679. line-height: normal;
  680. }
  681. .code p{
  682. padding: 5px;
  683. }
  684. .code .rem { color: #008000; }
  685. .code .kwrd { color: #0000ff; }
  686. .code .str { color: #006080; }
  687. .code .op { color: #0000c0; }
  688. .code .preproc { color: #0000ff; }
  689. .code .asp { background-color: #ffff00; }
  690. .code .html { color: #800000; }
  691. .code .attr { color: #ff0000; }
  692. .code .alt { background-color: #f4f4f4; }
  693. .code .lnum { color: #606060;}
  694. /*----------------------------
  695. XFN tags
  696. ----------------------------*/
  697. div.post .postcontent a[rel] {
  698. padding-right:11px;
  699. background-repeat: no-repeat;
  700. background-position: right center;
  701. }
  702. div.post .postcontent a[rel="me"] {
  703. background-image:url('../../pics/xfn/me.gif');
  704. }
  705. /*-------- [ These should cascade to pick the correct icon for the contact ]--*/
  706. /*-------- [ Normal contacts ]--*/
  707. div.post .postcontent a[rel~="contact"] ,
  708. div.post .postcontent a[rel~="acquaintance"],
  709. div.post .postcontent a[rel~="friend"] {
  710. background-image:url('../../pics/xfn/contact.gif');
  711. }
  712. /*-------- [ Normal contacts youve met ]--*/
  713. div.post .postcontent a[rel~="contact"][rel~="met"] ,
  714. div.post .postcontent a[rel~="acquaintance"][rel~="met"] ,
  715. div.post .postcontent a[rel~="friend"][rel~="met"] {
  716. background-image:url('../../pics/xfn/contactMet.gif');
  717. }
  718. /*-------- [ Colleague and co worker icon more important than contact ]--*/
  719. div.post .postcontent a[rel~="colleague"] ,
  720. div.post .postcontent a[rel~="co-worker"] {
  721. background-image:url('../../pics/xfn/colleague.gif');
  722. }
  723. /*-------- [ Colleague and co worker icon when met ]--*/
  724. div.post .postcontent a[rel~="colleague"][rel~="met"] ,
  725. div.post .postcontent a[rel~="co-worker"][rel~="met"] {
  726. background-image:url('../../pics/xfn/colleagueMet.gif');
  727. }
  728. /*-------- [ Sweethearts are more important than work!!! ]--*/
  729. div.post .postcontent a[rel~="muse"] ,
  730. div.post .postcontent a[rel~="crush"] ,
  731. div.post .postcontent a[rel~="date"] ,
  732. a[rel~="sweetheart"] {
  733. background-image:url('../../pics/xfn/sweet.gif');
  734. }
  735. /*-------- [ ...and if youve met them thats even better ]--*/
  736. div.post .postcontent a[rel~="muse"][rel~="met"] ,
  737. div.post .postcontent a[rel~="crush"][rel~="met"] ,
  738. div.post .postcontent a[rel~="date"][rel~="met"] ,
  739. div.post .postcontent a[rel~="sweetheart"][rel~="met"] {
  740. background-image:url('../../pics/xfn/sweetMet.gif');
  741. }
  742. /* Comment notification unsubscription */
  743. #commentNotificationUnsubscription {
  744. margin-bottom: 10px;
  745. color: Gray;
  746. background: #ffc;
  747. border: 1px solid silver;
  748. padding: 10px;
  749. }
  750. #commentNotificationUnsubscription h1 {
  751. margin: 0 auto 12px auto;
  752. padding: 0;
  753. }