Advertisement
Guest User

code CSS

a guest
Dec 14th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.64 KB | None | 0 0
  1. body{
  2. background:url(theme/fond.png);
  3. margin:0;
  4. padding:0;
  5. font-family:Arial, Verdana, sans-serif;
  6. font-size:12px;
  7. }
  8. .clear{
  9. clear:both;
  10. }
  11. /* Header*/
  12.  
  13. #top{
  14. height:113px;
  15. background:url(theme/trait-header.png) no-repeat bottom center,url(theme/header.png) no-repeat top center;
  16. margin:20px 0 0 0;
  17. }
  18. #conteneur{
  19. width:1200px;
  20. margin:0 auto;
  21. }
  22. #menu ul{
  23. margin:0;
  24. padding:0;
  25. position:relative;
  26. line-height:1.5em;
  27. z-index: 6;
  28. }
  29. #menu:after{
  30. content:url(theme/headerr.png);
  31. display:block;
  32. height:0;
  33. clear:both;
  34. visibility:visible;
  35. }
  36. #menu a{
  37. color:#FFF;
  38. background:url(theme/headerr.png);
  39. border:1px solid #444;
  40. font-size:16px;
  41. display:block;
  42. text-decoration:none;
  43. text-align:center;
  44. width:195px;
  45. height:39px;
  46. line-height:36px;
  47. z-index: 6;
  48. }
  49. #menu a:hover{
  50. color:#000;
  51. background:white;
  52. }
  53. #menu li{
  54. position:relative;
  55. float:left;
  56. list-style:none;
  57. }
  58. #menu ul{
  59. position:absolute;
  60. }
  61.  
  62. /* Menu gauche */
  63.  
  64. #contenu{
  65. background:url(theme/contenu.png) repeat-y;
  66. }
  67. .wrap{
  68. margin:0 auto;
  69. width:210px;
  70. }
  71. .menu{
  72. padding:0;
  73. margin-top:100px;
  74. list-style:none;
  75. width:210px;
  76. font-size:18px;
  77. background:#fefcfc;
  78. border: 1px solid rgba(0,0,0,0.7);
  79. -moz-box-shadow: 4px 4px 10px 0px #656565;
  80. -webkit-box-shadow: 4px 4px 10px 0px #656565;
  81. -o-box-shadow: 4px 4px 10px 0px #656565;
  82. box-shadow: 4px 4px 10px 0px #656565;
  83. filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=10);
  84. float: left;
  85. }
  86. .Prestations{
  87. padding:10px;
  88. padding-left:55px;
  89. color:#FFF;
  90. background:url(theme/cadreh.png);
  91. font-size:20px;
  92. }
  93. .menu li a{
  94. display: block;
  95. border-bottom: 1px solid rgba(0,0,0,0.2);
  96. border-top: 1px solid rgba(255,255,255,0.2);
  97. background:#202627;
  98. text-decoration:none;
  99. color:#FFF;
  100. text-shadow: 1px 0px 1px rgba(0,0,0,0.2);
  101. filter: dropshadow(color=#000, offx=1, offy=0);
  102. padding:10px;
  103. padding-left:20px;
  104. }
  105. .menu li ul li a{
  106. font-size:14px;
  107. color:#202627;
  108. text-shadow: 1px 0px 1px rgba(255,255,255,0.5);
  109. filter: dropshadow(color=#000, offx=1, offy=0);
  110. }
  111. .menu a:hover{
  112. background:#bb0617;
  113. }
  114. .menu ul{
  115. margin:0;
  116. padding:0;
  117. list-style:none;
  118. height:0;
  119. overflow:hidden;
  120. transition:0.7s;-moz-transition:0.7s;-webkit-transition:0.7s;
  121. }
  122. .menu li:hover ul{
  123. height:152px;
  124. }
  125. .menu ul li a{
  126. background:#fefcfc;
  127. }
  128. .menu ul li a:hover{
  129. background: #c1c1c1;
  130. }
  131. .menu ul li a img{
  132. margin-right:10px;
  133. }
  134.  
  135. .photo{ width: 236px; height: 293px;display:block; margin-top: 50px; position:relative; float: left; -moz-box-shadow: 4px 4px 10px 0px #656565;-webkit-box-shadow: 4px 4px 10px 0px #656565;-o-box-shadow: 4px 4px 10px 0px #656565;box-shadow: 4px 4px 10px 0px #656565;filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=10); }
  136.  
  137. /*Contenu*/
  138.  
  139. #cadre{
  140. width: 900px;
  141. height:300px;
  142. background:url(theme/Contenu.png) repeat-y right ;
  143. float: right;
  144. margin-top:100px;
  145. display:block;
  146. border-radius:10px;
  147. -moz-box-shadow: 4px 4px 10px 0px #656565;-webkit-box-shadow: 4px 4px 10px 0px #656565;-o-box-shadow: 4px 4px 10px 0px #656565;box-shadow: 4px 4px 10px 0px #656565;filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=10);
  148. }
  149. #texte li{
  150. background: url(theme/Contenuhaut.png) ;
  151. border-top-left-radius:10px;
  152. border-top-right-radius:10px;
  153. height: 48px;
  154. padding-left:40px;
  155. padding-top:12x;
  156. line-height: 47px;
  157. font-size:20px;
  158. color:#FFF;
  159. display:block;
  160. -moz-box-shadow: 0px 4px 10px 0px #656565;-webkit-box-shadow: 0px 4px 10px 0px #656565;-o-box-shadow: 0px 4px 10px 0px #656565;box-shadow: 0px 4px 10px 0px #656565;filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=180, Strength=10);
  161. }
  162. #texte p{
  163. margin-top:20px;
  164. padding-top: 10px;
  165. margin-left: 20px;
  166. }
  167.  
  168. /* Footer*/
  169.  
  170. #footer{
  171. width: 1200px;
  172. float:right;
  173. height:280px;
  174. position:relative;
  175. }
  176. #trait1{
  177. background: url(theme/Footertrait.png);
  178. width:1200px;
  179. height:2px;
  180. float:right;
  181. position:relative;
  182. margin-top: 50px;
  183.  
  184. }
  185. #footer h3{
  186. font-weight: normal;
  187. }
  188. .col{
  189. float:left;
  190. width: 200px;
  191. height:auto;
  192. position: relative;
  193. margin-left:80px;
  194. margin-top:10px;
  195. }
  196. .col ul{
  197. list-style:none;
  198. margin: 0 0 0 -40px;
  199. }
  200. .col li {
  201. padding-top: 10px;
  202. }
  203. .col li a{
  204. text-decoration:none;
  205. color:#959393;
  206. font-size:14px;
  207. -webkit-transition:0.5s;transition:0.5s;-moz-transition:0.5s;
  208. }
  209. .col li a:hover{
  210. padding-left: 5px;
  211. color:#b51727;
  212. -webkit-transition:0.5s;transition:0.5s;-moz-transition:0.5s;
  213. }
  214. .col2{
  215. margin-left: 275px;
  216. float:left;
  217. height:auto;
  218. margin-top:10px;
  219. }
  220. .col2 ul{
  221. list-style:none;
  222. margin: 0 0 0 -39px;
  223. }
  224. .col2 li {
  225. padding-top: 10px;
  226. }
  227. .col2 li a{
  228. text-decoration:none;
  229. color:#959393;
  230. font-size:14px;
  231. -webkit-transition:0.5s;transition:0.5s;-moz-transition:0.5s;
  232. }
  233. .col2 li a:hover{
  234. padding-left: 5px;
  235. color:#b51727;
  236. -webkit-transition:0.5s;transition:0.5s;-moz-transition:0.5s;
  237. }
  238. .col3{
  239. float:right;
  240. width: 200px;
  241. height: auto;
  242. position: relative;
  243. margin-top:10px;
  244. }
  245. .col3 ul{
  246. list-style:none;
  247. margin: 0 0 0 -39px;
  248. }
  249. .col3 li {
  250. padding-top: 10px;
  251. }
  252. .col3 li a{
  253. text-decoration:none;
  254. color:#959393;
  255. font-size:14px;
  256. -webkit-transition:0.5s;transition:0.5s;-moz-transition:0.5s;
  257. }
  258. .col3 li a:hover{
  259. padding-left: 5px;
  260. color:#b51727;
  261. -webkit-transition:0.5s;transition:0.5s;-moz-transition:0.5s;
  262. }
  263.  
  264. #trait2{
  265. background: url(theme/Footertrait.png);
  266. margin-top: 30px;
  267. width:1200px;
  268. height:2px;
  269. float:right;
  270. position:relative;
  271. }
  272. .copyright{
  273. margin-top:25px;
  274. margin-left:20px;
  275. float:left;
  276. position:relative;
  277. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement