home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Templates / CSS / CrystalX / css / main.css < prev    next >
Encoding:
Cascading Style Sheet File  |  2006-12-05  |  11.0 KB  |  208 lines

  1. /*
  2.     Project: CrystalX
  3.     URL: http://www.nuvio.cz
  4.     
  5.     Output device: screen, projection
  6.     
  7.     Author: Vit Dlouhy (vit.dlouhy@nuvio.cz); Nuvio (www.nuvio.cz)
  8.     Last revision: 2006-12-05, 12:00 GMT+1
  9.  
  10.     Structure:
  11.         display | position | float | overflow | width | height | border | margin | padding | background | align | font
  12. */
  13.  
  14. * {min-height:1px;}
  15. body {border:0; margin:0; padding:0; background:#F2F5FE url("../design/bg.gif") 0 0 repeat-x; font:70%/160% "verdana",sans-serif; color:#192666; _text-align:center;}
  16.  
  17. a {color:#192666;}
  18. a:hover {color:#4F6AD7;}
  19.  
  20. p {border:0; margin:15px 0; padding:0;}
  21.  
  22. div {display:block; border:0; margin:0; padding:0;}
  23.  
  24. h1, h2, h3, h4, h5 {border:0; margin:15px 0 10px 0; padding:0; font-weight:bold;}
  25. h1 {font-size:260%; line-height:100%; font-family:"georgia",serif; font-weight:normal;}
  26. h2 {font-size:180%; line-height:100%; font-family:"georgia",serif; font-weight:normal;}
  27. h3 {font-size:120%; line-height:100%; font-weight:bold;}
  28. h4 {font-size:120%;}
  29. h5 {font-size:100%;}
  30.  
  31. table {display:table; border-collapse:collapse; margin:15px 0; padding:0; border:1px solid #B7CAF6; font-size:100%;}
  32. tr {display:table-row;}
  33. th, td {display: table-cell; border:1px solid #B7CAF6; margin:0; padding:5px; vertical-align:top; text-align:left;}
  34. th {background:#E7ECFD; text-align:center; color:#192666; font-weight:bold;}
  35.  
  36. ul, ol {display:block; border:0; margin:15px 0 15px 40px; padding:0;}
  37. ol {list-style-type:decimal;}
  38. li {display:list-item; border:0; margin:0; padding:0; _height:1px;}
  39. ul ul, ul ol, ol ol, ol ul {margin: 0 0 0 20px;}
  40.  
  41. dl {border:0; margin:15px 0; padding:0;}
  42. dt {border:0; margin:0; padding:0; font-weight:bold;}
  43. dd {border:0; margin:0 0 0 30px; padding:0;}
  44.  
  45. form {border:0; margin:0; padding:0;}
  46. fieldset {border:1px solid #ccc; margin:15px 0; padding:10px;}
  47. legend {margin-left:10px; font-size:100%; font-weight:bold; color:#008;}
  48.  
  49. hr {display:block; height:1px; margin:10px 0; padding:0; background:#CCC; border:0 solid #CCC; color:#CCC;}
  50.  
  51. a, img, span {border:0; margin:0; padding:0;}
  52. abbr, acronym {border-bottom:1px dotted #CCC; cursor:help;}
  53.  
  54. del, .through {text-decoration:line-through;}
  55. strong, .strong {font-weight:bold;}
  56. cite, em, q, var {font-style:italic;}
  57. code, kbd, samp {font-family:monospace; font-size:110%;}
  58.  
  59. /* Floating */
  60. .f-left {float:left;}
  61. .f-right {float:right;}
  62.  
  63. /* Text align */
  64. .t-left {text-align:left;}
  65. .t-center {text-align:center;}
  66. .t-right {text-align:right;}
  67.  
  68. .va-middle {vertical-align:middle;}
  69.  
  70. .clear {clear:both;}
  71. .box {min-height:1px; _height:1px;}
  72. .box:after {content:"."; display:block; line-height:0px; font-size:0px; visibility:hidden; clear:both;}
  73.  
  74. .nom {margin:0;}
  75. .noscreen {display:none;}
  76.  
  77. /* -----------------...........--------------------------------------------------------------------------------------- */
  78.  
  79. #main {width:770px; margin:50px auto 0 auto; _text-align:left;}
  80.  
  81. /* Header */
  82. #header {position:relative; width:770px; height:100px; margin:0; padding:0; background:#233C9B url("../design/header.jpg") 0 0 no-repeat; color:#FFF;}
  83.  
  84.     /* Header - logo */
  85.     #header #logo {position:absolute; top:35px; left:35px; margin:0;}
  86.  
  87.     #header #logo a {color:#FFF;}
  88.     #header #logo a:hover {color:#B5C4E3; text-decoration:underline;}
  89.     
  90.     /* Header - Search */
  91.     #header #search {position:absolute; top:35px; right:20px;}
  92.     #header #search form {position:relative;}
  93.     #header #search #search-input-out {position:absolute; top:0; right:45px; width:155px; height:28px; margin:0; padding:0; border:0; background:url("../design/search_input.gif") 0 0 no-repeat; font:bold 90%/100% "verdana",sans-serif; color:#192666;}
  94.     #header #search #search-input {width:140px; margin:5px 8px; padding:3px 0; border:0; background:#FFF; font:bold 100%/100% "verdana",sans-serif; color:#192666;}
  95.     #header #search #search-submit {position:absolute; top:0; right:0px;}
  96.     #header #search fieldset {margin:0; padding:0; border:0;}
  97.     #header #search fieldset {width:200px;}
  98.     #header #search legend {display:none;}
  99.  
  100. /* Main menu (tabs) */
  101. #tabs {background:#192666; margin:0 5px; padding:10px 0 0 0; _height:1px;}
  102.  
  103.     #tabs ul {margin:0 10px; padding:0; list-style:none;}
  104.     #tabs ul li {margin:0 5px 0 0; padding:0; float:left;}
  105.     #tabs ul li a {display:block; position:relative; padding:7px 15px; border:0; background:url("../design/tab_link.gif") 0 0 repeat-x; color:#B5C4E3; font-weight:bold; text-decoration:none; cursor:pointer;}
  106.     
  107.     /* Main menu (tabs - link) */
  108.     #tabs ul li a span.tab-l, #tabs ul li a:hover span.tab-l {position:absolute; top:0; left:0; _left:-15px; width:8px; height:8px; background:url("../design/tab_link_l.gif") 0 0 no-repeat;}
  109.     #tabs ul li a span.tab-r, #tabs ul li a:hover span.tab-r {position:absolute; top:0; right:0; _right:-1px; width:8px; height:8px; background:url("../design/tab_link_r.gif") 100% 0 no-repeat;}
  110.     
  111.     /* Main menu (tabs - hover) */
  112.     #tabs ul li a:hover {background:url("../design/tab_hover.gif") 0 0 repeat-x; color:#FFF;}
  113.     #tabs ul li a:hover span.tab-l {background:url("../design/tab_hover_l.gif") 0 0 no-repeat;}
  114.     #tabs ul li a:hover span.tab-r {background:url("../design/tab_hover_r.gif") 100% 0 no-repeat;}
  115.     
  116.     /* Main menu (tabs - active) */
  117.     #tabs ul li#active a {background:#FFF; color:#FF9000;}
  118.     #tabs ul li#active a span.tab-l {position:absolute; top:0; left:0; _left:-15px; width:8px; height:8px; background:url("../design/tab_active_l.gif") 0 0 no-repeat;}
  119.     #tabs ul li#active a span.tab-r {position:absolute; top:0; right:0; width:8px; height:8px; background:url("../design/tab_active_r.gif") 100% 0 no-repeat;}
  120.  
  121. /* Page (2 columns) */
  122. #page {width:770px; min-height:1px; background:#FFF url("../design/bg_page.gif") 0 0 repeat-y; _height:1px;}
  123. #page-in {min-height:1px; padding:10px 0; background:url("../design/bg_page_in.jpg") 0 0 no-repeat; _height:1px;}
  124.  
  125. /* Strip */
  126. #strip {position:relative; clear:both; padding:3px 20px 10px 20px; color:#6182D1;}
  127. #strip p {margin:0;}
  128. #strip a {color:#6182D1;}
  129. #strip a:hover {color:#192666;}
  130.  
  131.     /* Strip - breadcrumbs */
  132.     #strip #breadcrumbs {width:520px; margin:0; padding:0;}
  133.     
  134.     /* Strip - RSS */
  135.     #strip #rss {float:right; width:175px; _width:200px; margin:0; padding-left:25px; background:url("../design/ico_rss.gif") 0 50% no-repeat}
  136.  
  137. /* Content */
  138. #content {float:left; width:530px; _width:550px; margin:0; padding:0 0 0 20px;}
  139.  
  140.     /* Content - article */
  141.     #content .article {clear:both; margin:0; padding:20px; background:url("../design/content_article_bg.jpg") 0 0 no-repeat;}
  142.     #content .article h2 {margin:0 -20px; padding:10px; background:#DEE5FD url("../design/content_title_bg.gif") 0 0 repeat-y; color:#192666;}
  143.     #content .article h2 span {background:url("../design/ico_list.gif") 0 50% no-repeat; padding-left:25px;}
  144.     
  145.     #content .article p {text-align:justify;}
  146.     #content .info {margin:10px 0; padding-bottom:8px; border-bottom:1px solid #DEE5FD; color:#6685CC;}
  147.     #content .info a {color:#6685CC;}
  148.     #content .info a:hover {color:#FF9000;}
  149.     
  150.     #content .info span.date, #content .info span.cat, #content .info span.user, #content .info span.comments {padding-left:15px;}
  151.     #content .info span.date {background:url("../design/ico_date.gif") 0 50% no-repeat;}
  152.     #content .info span.cat {background:url("../design/ico_cat.gif") 0 50% no-repeat; margin-left:8px;}
  153.     #content .info span.user {background:url("../design/ico_user.gif") 0 50% no-repeat; margin-left:8px;}
  154.     #content .info span.comments {background:url("../design/ico_comments.gif") 0 50% no-repeat; margin-left:8px;}
  155.  
  156.     /* Content - More */
  157.     #content .btn-more {margin:0 0 15px 0; padding:0; border:0; position:relative;}
  158.     #content .btn-more a {display:block; position:absolute; top:0; right:0; width:67px; _width:95px; height:21px; margin:0; padding:0 0 0 28px; background:url("../design/btn_more.gif") 0 0 no-repeat; color:#FFF; text-decoration:none;}
  159.     #content .btn-more a:hover {background:url("../design/btn_more.gif") -95px 0 no-repeat;}
  160.  
  161. /* Right column */
  162. #col {float:left; width:200px; margin:0; padding:0; background:#CEDBF9 url("../design/col_bg.gif") 0 0 repeat-y;}
  163. #col-in {padding:20px 10px; background:url("../design/col_top.gif") 0 0 no-repeat;}
  164. #col h3 {padding:13px 15px 14px 15px; margin:0 -10px 15px -10px; background:#A0B9F3 url("../design/col_title_bg.gif") 0 0 repeat-y; color:#192666;}
  165.  
  166.     /* Right column - About me */
  167.     #col #about-me {margin-bottom:15px; line-height:130%;}
  168.     #col #about-me p {margin:0;}
  169.     #col #about-me #me {float:left; width:54px; height:58px; margin-right:7px;}
  170.  
  171.     /* Right column - Category */
  172.     #col ul#category {margin:15px 0; padding:0; list-style:none;}
  173.     #col ul#category li {margin:0; padding:0; border-bottom:1px solid #E0E8FA;}
  174.     #col ul#category li a {display:block; padding:3px 0 3px 22px; background:url("../design/ico_archive.gif") 5px 6px no-repeat; text-decoration:none;}
  175.     #col ul#category li a:hover {background-color:#D3DFF8; color:#192666;}
  176.     #col ul#category li#category-active a {background:#E0E8FA url("../design/ico_archive2.gif") 5px 50% no-repeat; font-weight:bold;}
  177.     
  178.     /* Right column - Archive */
  179.     #col ul#archive {margin:15px 0; padding:0; list-style:none;}
  180.     #col ul#archive li {margin:0; padding:0; border-bottom:1px solid #E0E8FA;}
  181.     #col ul#archive li a {display:block; padding:3px 0 3px 22px; background:url("../design/ico_archive.gif") 5px 50% no-repeat; text-decoration:none;}
  182.     #col ul#archive li a:hover {background-color:#D3DFF8; color:#192666;}
  183.     #col ul#archive li#archive-active a {background:#E0E8FA url("../design/ico_archive2.gif") 5px 6px no-repeat; font-weight:bold;}
  184.     
  185.     /* Right column - Links */
  186.     #col ul#links {margin:15px 0; padding:0; list-style:none;}
  187.     #col ul#links li {margin:0; padding:0; border-bottom:1px solid #E0E8FA;}
  188.     #col ul#links li a {display:block; padding:3px 0 3px 22px; background:url("../design/ico_links.gif") 5px 6px no-repeat; text-decoration:none;}
  189.     #col ul#links li a:hover {background-color:#D3DFF8; color:#192666;}
  190.  
  191. /* Footer */
  192. #footer {position:relative; clear:both; width:770px; height:60px; margin-bottom:50px; background:url("../design/footer.jpg") 0 0 no-repeat; color:#6685CC;}
  193. #footer a {color:#6685CC;}
  194. #footer a:hover {color:#192666;}
  195.  
  196.     /* Footer - "back on top" */
  197.     #top {position:absolute; top:55px; left:550px;}
  198.     #top p {position:relative; width:30px; height:25px; margin:0; overflow:hidden;}
  199.     #top p span {display:block; position:absolute; left:0; top:0; z-index:1; width:30px; height:25px; background:url("../design/ico_top.gif") 0 0 no-repeat; cursor:pointer;}
  200.     #top a:hover span {background:url("../design/ico_top.gif") -30px 0 no-repeat;}
  201.  
  202.     /*  Footer - copyright */
  203.     #footer p#copyright {position:absolute; top:10px; left:40px; margin:0;}
  204.  
  205.     /* Footer - created by */
  206.     #createdby {position:absolute; top:10px; left:562px; margin:0; color:#8CA3D8;}
  207.     #createdby a {color:#8CA3D8;}
  208.