home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Templates / CSS / NightGlow / stylesheets / screen.css < prev   
Encoding:
Cascading Style Sheet File  |  2006-12-11  |  4.6 KB  |  297 lines

  1. /* General
  2. -------------------------------------------------------*/
  3.  
  4. body {
  5.   background: url("../images/back.gif") 0 0 fixed;
  6.   font-family: Verdana, Arial, Sans-serif;
  7.   text-align: center;
  8.   margin: 0;
  9.   padding: 0;
  10.   font-size: 11px;
  11. }
  12.  
  13. p {
  14.   line-height: 1.7em;
  15.   text-align: justify;
  16.   margin-bottom: 16px;
  17. }
  18.  
  19. a:link,
  20. a:visited {
  21.   text-decoration: none;
  22.   color: #570bc0;
  23. }
  24.  
  25. a:active,
  26. a:hover {
  27.   border-bottom: 1px solid #3b866b;
  28. }
  29.  
  30. a img {
  31.   border: none;
  32. }
  33.  
  34. h1,
  35. h2,
  36. h3 {
  37.   padding: 4px 0;
  38.   margin: 4px 0;
  39. }
  40.  
  41. h1 {
  42.   color: #3d055a;
  43.   font-family: Tahoma, Verdana, Sans-serif;
  44.   border-bottom: solid 1px #B8E600;
  45.   font-weight: normal;
  46.   font-size: 1.7em;
  47.   letter-spacing: 0.08em;
  48.   clear: both;
  49. }
  50.  
  51. h2 {
  52.   color: #045439;
  53.   font-weight: normal;
  54.   font-size: 1.5em;
  55.   border-bottom: 1px dotted #d6f1e8;
  56. }
  57.  
  58. h3 {
  59.   color: #147794;
  60.   font-weight: normal;
  61.   font-size: 1.4em;
  62. }
  63.  
  64. .print_only {
  65.   display: none;
  66. }
  67.  
  68. /* Layout
  69. -------------------------------------------------------*/
  70.  
  71. #wrapper {
  72.   background: url("../images/back_top.gif") 0 0 repeat-x fixed;
  73.   text-align: center;
  74.   width: 100%;
  75. }
  76.  
  77. #main {
  78.   width: 740px;
  79.   padding: 20px 0;
  80.   margin: 0 auto;
  81. }
  82.  
  83. #footer,
  84. #sub_nav,
  85. #top_nav {
  86.   margin-bottom: 1px;
  87.   text-align: left;
  88.   padding: 4px 16px;
  89.   color: #790;
  90. }
  91.  
  92. #top_nav {
  93.   background: #CF0;
  94.   font-size: 1.4em;
  95. }
  96.  
  97. #footer,
  98. #sub_nav {
  99.   background: #E2FF70;
  100.   font-size: 1.2em;
  101.   padding: 5px 16px;
  102. }
  103.  
  104. #top_nav a:link,
  105. #top_nav a:visited {
  106.   color: #360;
  107. }
  108.  
  109. #top_nav a:hover,
  110. #top_nav a:active {
  111.   color: #000;
  112. }
  113.  
  114. #sub_nav a:link,
  115. #sub_nav a:visited {
  116.   color: #360;
  117. }
  118.  
  119. #top_nav a:hover,
  120. #top_nav a:active,
  121. #sub_nav a:hover,
  122. #sub_nav a:active {
  123.   color: #000;
  124.   border-bottom: 5px solid #3b866b
  125. }
  126.  
  127. #header {
  128.   background: white url("../images/header1.jpg") no-repeat right top;
  129.   height: 69px;
  130.   text-align: left;
  131.   padding: 0 12px; 
  132.   margin-bottom: 3px;
  133. }
  134.  
  135. #header h1 {
  136.   margin: 0;
  137.   padding: 51px 0 0 0;
  138.   overflow: hidden;
  139.   background: no-repeat url("../images/logo.gif") 0 20px;
  140.   border: none;
  141.   height: 0;
  142. }
  143.  
  144. #page {
  145.   background: white top repeat-x url("../images/content_bg.gif");
  146.   padding-top: 10px;
  147.   text-align: left;
  148. }
  149.  
  150. #content {
  151.   padding-left: 16px;
  152.   float: left;
  153.   padding-top: 12px;
  154. }
  155.  
  156. #content a:active,
  157. #content a:hover {
  158.   color: #7009fd;
  159. }
  160.  
  161. #side {
  162.   float: right;
  163.   background: #f3f8f4 url("../images/side_back.gif") top repeat-x;
  164.   padding: 16px;
  165.   color: #4d6b6c;
  166.   border-top: white solid 1px;
  167. }
  168.  
  169. #footer {
  170.   font-size: 0.8em;
  171.   border-top: 1px solid #164579;
  172.   padding: 4px 16px;
  173.   clear: both;
  174. }
  175.  
  176. #footer a:link,
  177. #footer a:visited {
  178.   color: #389015;
  179. }
  180.  
  181. /* One COlumn
  182. -------------------------------------------------------*/
  183.  
  184. .one_column #content {
  185.   width: 708px;
  186.   float: none;
  187. }
  188.  
  189. .one_column #side {
  190.   display: none;
  191. }
  192.  
  193. /* Two Colums
  194. -------------------------------------------------------*/
  195.  
  196. .two_column #content {
  197.   width: 460px;
  198. }
  199.  
  200. .two_column #side {
  201.   width: 216px;
  202. }
  203.  
  204. /* Side Menu
  205. -------------------------------------------------------*/
  206.  
  207. .menu  {
  208.   margin: 0 -16px;
  209.   padding: 0;
  210.   list-style: none;
  211.   border-top: 1px solid white;
  212.   display: block;
  213. }
  214.  
  215. .menu ul {
  216.   list-style: none;
  217.   margin: 0;
  218.   padding: 0;
  219.   display: block;
  220. }
  221.  
  222. .menu li {
  223.   margin: 0;
  224.   padding: 0;
  225.   border: none;
  226.   display: block;
  227. }
  228.  
  229. .menu li a:link,
  230. .menu li a:visited {
  231.   display: block;
  232.   padding : 8px 16px;
  233.   margin: 0;
  234.   color: #080;
  235.   font-weight: bold;
  236.   background: #D5ECF1;
  237.   border-bottom: 1px white solid ! important;
  238.   letter-spacing: 0.12em;
  239.   font-size: 1.2em;
  240. }
  241.  
  242. * html .menu a,
  243. * html .menu li {
  244.   height: 1px; /* Holly Hack stops random padding. Seems to be OK in IE7 as well */
  245. }
  246.  
  247. .menu li li a:link,
  248. .menu li li a:visited {
  249.   background: #EFF5F6;
  250.   color: #040;
  251.   font-weight: normal;
  252.   letter-spacing: 0.04em;
  253.   font-size: 1em;
  254. }
  255.  
  256. .menu a:link, 
  257. .menu a:visited, 
  258. .menu a:hover {
  259.   text-decoration:none ! important;
  260. }
  261.  
  262. .menu li li a:hover {
  263.   background-color: #E2FF70 !important;
  264. }
  265.  
  266. /* Extras
  267. -------------------------------------------------------*/
  268.  
  269. .side_decor {
  270.   margin: 12px 16px 12px 0;
  271.   float: left;
  272. }
  273.  
  274. /* Column clearing
  275. -------------------------------------------------------*/
  276.  
  277. #page:after {
  278.   content: ".";
  279.   display: block;
  280.   height: 0;
  281.   clear: both;
  282.   visibility: hidden;
  283. }
  284.  
  285. #page {
  286.   display: table; /* Was inline-table in original tutorial, changed due validation error */
  287. }
  288.  
  289. /* Hides from IE-mac \*/
  290. html #page {
  291.   height: 1%;
  292. }
  293.  
  294. #page {
  295.   display: block;
  296. }
  297. /* End hide from IE-mac */