Advertisement
Guest User

Untitled

a guest
Dec 17th, 2011
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.28 KB | None | 0 0
  1. /* Banner */
  2. div#banner {
  3.     background-color: #ffffff;
  4.     position: relative;
  5.     height: 255px;
  6.     border: 1px solid #EAEAEA;
  7.     -webkit-box-shadow: #cccccc 0px 1px 3px;
  8.     -moz-box-shadow: #cccccc 0px 1px 3px;
  9.     box-shadow: #cccccc 0px 1px 3px;
  10.     behavior: url("pie.htc");
  11.  
  12. }
  13. /*Note: pie.htc is for shadowing in IE */
  14.  
  15. div#banner h2 {display: none;}
  16.  
  17. div#banner ul {
  18.     padding: 0px;
  19.     margin: 0px;
  20.     list-style: none outside none;
  21.     position:relative;
  22. }
  23.  
  24. div#banner ul li {width: 980px; position: absolute;}
  25.  
  26. div#banner div.banner_description {
  27.     margin-left: 640px;
  28.     margin-top: 30px;
  29.     width: 320px;
  30.     position: absolute;
  31.     z-index: 2;
  32.       display: none;
  33. }
  34.  
  35. /* z-index change for fading effect */
  36. div#banner ul li.last-selected div.banner_description { z-index: 4; display: block;}
  37. div#banner ul li.selected div.banner_description { z-index: 6; display: block;}
  38.  
  39. div#banner div.banner_description h3 {
  40.     color: #ffffff;
  41.     font-weight: 400;
  42.     font-style: normal;
  43.     font-size: 28px;
  44.     margin-bottom: 10px;
  45. }
  46.  
  47. html.wf-active div#banner div.banner_description h3 {
  48.     color: #ffffff;
  49.     font-family: franklin-gothic-ext-comp-urw,sans-serif;
  50.     font-weight: 400;
  51.     font-style: normal;
  52.     font-size: 38px;
  53.     margin-bottom: 10px;   
  54. }
  55.  
  56. div#banner div.banner_description p {
  57.     color: #ffffff;
  58.     font-weight: 700;
  59.     font-style: normal;
  60.     letter-spacing: 1px;
  61.     line-height: 90%;
  62.     margin-bottom: 3px;
  63.     font-size: 20px;
  64. }
  65.  
  66. html.wf-active div#banner div.banner_description p {
  67.     color: #ffffff;
  68.     font-family: franklin-gothic-ext-comp-urw,sans-serif;  
  69.     font-weight: 400;
  70.     font-style: normal;
  71.     letter-spacing: 1px;
  72.     margin-bottom: 3px;
  73.     font-size: 24px;
  74. }
  75.  
  76. div#banner ul li img.banner_img {
  77.     margin: 10px;
  78.     position: absolute;
  79.     left: 0px;
  80.     z-index: 1;
  81.     display: none;
  82. }
  83.  
  84. /* z-index change for banner fading effect */
  85. div#banner ul li.selected img.banner_img {z-index: 5; display: block;}
  86. div#banner ul li.last-selected img.banner_img {z-index: 3; display: block;}
  87.  
  88.  
  89. div#banner ul li:first-child img.banner_thumb {margin-left: 640px;}
  90.  
  91. div#banner ul li img.banner_thumb {
  92.     margin-top: 192px;
  93.     margin-right: 18px;
  94.     position: absolute;
  95.     z-index: 10;
  96.     border: 2px solid  #ffffff;
  97.     cursor: pointer;
  98.     float: left;
  99.    
  100. }
  101.  
  102. div#banner ul li.selected img.banner_thumb {border: 2px solid  #C6D500;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement