Advertisement
Guest User

template.css

a guest
Apr 1st, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.30 KB | None | 0 0
  1. /**
  2. * : permet d'appliquer a tous les styles
  3. body : on definit les styles par defaut dans la page (couleur, police, taille et couleur de fond)
  4. a : on definit la couleur des liens et leur comportement (souligne par defaut et non souligne
  5. lors du survol)
  6. **/
  7.  
  8. html {
  9. height: 101%;
  10. }
  11.  
  12. body {
  13. color : #333;
  14. background : #e3e3e3;
  15. font-family: helvetica;
  16. font-size : 12px;
  17. padding : 0; //marge entre texte et bordure
  18. margin : 0; //marge apres la bordure
  19. }
  20.  
  21. img {
  22. border : none;
  23. }
  24.  
  25. a {
  26. color : #9e9e9e;
  27. }
  28.  
  29. a:hover { //survol
  30. text-decoration : none;
  31. }
  32.  
  33. a:focus { //une fois clique
  34. outline: none;
  35. }
  36.  
  37. .clr {
  38. clear : both;
  39. }
  40.  
  41. li {
  42. list-style : none;
  43. }
  44.  
  45. p {
  46. padding : 4px 0 4px 0;
  47. }
  48.  
  49. * {
  50. margin : 0;
  51. padding : 0;
  52. font-family: helvetica;
  53. }
  54.  
  55. h2 {
  56. background-attachment:initial;
  57. background-clip:initial;
  58. background-color:#E3ECF0;
  59. background-image:initial;
  60. background-origin:initial;
  61. background-position:initial initial;
  62. background-repeat:initial initial;
  63. border-bottom-color:#9FAFB4;
  64. border-bottom-style:solid;
  65. border-bottom-width:1px;
  66. border-left-color:#9FAFB4;
  67. border-left-style:solid;
  68. border-left-width:4px;
  69. color:#9FAFB4;
  70. font-family:Arial, Tahoma, Helvetica, sans-serif;
  71. font-size:15px;
  72. font-weight:bold;
  73. line-height:18px;
  74. margin-bottom:3px;
  75. margin-left:0;
  76. margin-right:0;
  77. margin-top:3px;
  78. padding-bottom:3px;
  79. padding-left:5px;
  80. padding-right:0;
  81. padding-top:3px;
  82. text-align:left;
  83. text-transform:uppercase;
  84. width:100%;
  85. }
  86.  
  87. h1, h3, h4, h5 {
  88. font-size : 14px;
  89. font-weight : normal;
  90. }
  91.  
  92. #wrapper {
  93. width: 1010px;
  94. margin: 0 auto;
  95. font-family: helvetica;
  96. font-size : 12px;
  97. background: #FFFFFF;
  98. }
  99.  
  100. div.ombre_cote {
  101. background: url(../images/ombre_cote.png) top center repeat-y;
  102. width: 1010px;
  103. margin: 0;
  104. padding: 0;
  105. }
  106.  
  107. div.ombre_bas {
  108. background: url(../images/ombre_bas.png) top center no-repeat;
  109. height: 10px;
  110. width: 1010px;
  111. margin: 0;
  112. padding: 0;
  113. }
  114.  
  115. div.ombre_haut {
  116. background: url(../images/ombre_haut.png) bottom center no-repeat;
  117. height: 10px;
  118. width: 1010px;
  119. margin: 0;
  120. margin-top: 20px;
  121. padding: 0;
  122. }
  123.  
  124. #logo {
  125. height: 100px;
  126. width: 490px;
  127. float: left;
  128. background: url(../images/logo.png) top left no-repeat;
  129. }
  130.  
  131. #logo a {
  132. width: 450px;
  133. height: 90px;
  134. display: block;
  135. }
  136.  
  137. #news {
  138. height: 100px;
  139. width: 500px;
  140. float: left;
  141. }
  142.  
  143. #topmenu {
  144. height: 50px;
  145. background: #000000;
  146. }
  147.  
  148. #conteneur {
  149. padding : 10px;
  150. }
  151.  
  152. #slideshow {
  153. height: 235px;
  154. clear: both;
  155. margin: 10px 0 10px 0;
  156. }
  157.  
  158. #breadcrumbs {
  159. height: 20px;
  160. }
  161.  
  162. #gauche {
  163. width: 200px;
  164. float: left;
  165. }
  166.  
  167. #centre.normal{
  168. float: left;
  169. width: 590px;
  170. }
  171.  
  172.  
  173. #centre.large {
  174. float: left;
  175. width: 790px;
  176. }
  177.  
  178. #centre div.interne {
  179. padding: 10px;
  180. }
  181.  
  182. #droite {
  183. width: 200px;
  184. float: left;
  185. }
  186.  
  187. #footer {
  188. padding: 10px;
  189. text-align: center;
  190. }
  191.  
  192. /*** icon ajout***/
  193.  
  194. ul.actions {
  195. margin: 0;
  196. padding: 0;
  197. margin-top: -15px;
  198. margin-bottom: -2px;
  199. list-style-type: none;
  200. text-align: right;
  201. }
  202.  
  203. li.print-icon,
  204. li.email-icon,
  205. li.edit-icon {
  206. display: inline;
  207. margin-right: 2px;
  208. }
  209.  
  210. li.print-icon a,
  211. li.email-icon a,
  212. li.edit-icon a {
  213. text-decoration: none;
  214. }
  215.  
  216. dl.article-info {
  217. clear: both;
  218. margin-left: 0;
  219. padding: 0px;
  220. font-size: 0.86em;
  221. line-height: 1.3em;
  222. }
  223.  
  224. .article-info dd, .article-info dd {
  225. margin-left: 0;
  226. }
  227.  
  228. .article-info-term {
  229. display:none
  230. }
  231.  
  232. .categories-list ul {
  233. list-style-type: none;
  234. padding-left: 0;
  235. padding-left: 5px;
  236. margin-top: 8px;
  237. }
  238.  
  239. .categories-list ul li {
  240. list-style-type: none;
  241. padding-left: 5px;
  242. }
  243.  
  244. .categories-list dl dt, .categories-list dl dd {
  245. display: inline;
  246. }
  247.  
  248. .image-left {
  249. float: left;
  250. margin-top: 0pt;
  251. margin-right: 10px;
  252. margin-bottom: 4px;
  253. margin-left: 0pt;
  254. }
  255.  
  256. .category-desc p img {
  257. float: left;
  258. margin-top: 0pt;
  259. margin-right: 10px;
  260. margin-bottom: 2px;
  261. margin-left: 0pt;
  262. }
  263.  
  264. .first ul {
  265. padding-left: 15px;
  266. padding: 5px;
  267.  
  268. }
  269.  
  270. .first ul li {
  271. padding-bottom: 8px;
  272. padding: 5px;
  273.  
  274. }
  275.  
  276. .last ul {
  277. padding-left: 15px;
  278.  
  279. }
  280.  
  281. .last ul li {
  282. padding-top: 10px;
  283. }
  284.  
  285.  
  286. .cat-children ul {
  287. list-style-type: none;
  288. margin-top: 10px;
  289. padding-left: 0px;
  290. }
  291.  
  292. /** ajout mathieu **/
  293. .readmore a {
  294. font-weight: bold;
  295.  
  296. }
  297.  
  298.  
  299. /*** modules bas ***/
  300. div.entier {
  301. width: 100%;
  302. }
  303.  
  304. div.moitie {
  305. width: 50%;
  306. }
  307.  
  308. div.tiers {
  309. width: 33%;
  310. }
  311.  
  312. div.modules_bas {
  313. float: left;
  314. }
  315.  
  316. div.modules_bas div.interne {
  317. padding: 10px;
  318. }
  319.  
  320. div.modules_bas ul li {
  321. line-height: 20px;
  322. margin-left: 10px;
  323. }
  324.  
  325. div.modules_bas h3 {
  326. line-height: 35px;
  327. }
  328.  
  329. /*** topmenu ***/
  330. #topmenu li {
  331. background: #000000;
  332. height: 50px;
  333. padding: 0 10px;
  334. float: left;
  335. margin: 0 2px;
  336. width: auto;
  337. line-height: 45px;
  338. text-transform: uppercase;
  339. font-size: 14px;
  340. font-weight: bold;
  341. }
  342.  
  343. #topmenu li a {
  344. color: #fff;
  345. padding: 0;
  346. margin: 0;
  347. line-height: 45px;
  348. }
  349.  
  350. #topmenu li a:hover, #topmenu li.current {
  351. color: #9e9e9e;
  352. }
  353.  
  354. /*** menu colonne ***/
  355. h3 {
  356. color: #9e9e9e;
  357. font-size: 14px;
  358. font-weight: bold;
  359. padding-left: 20px;
  360. }
  361.  
  362. ul.menu li {
  363. background: #9e9e9e;
  364. border-bottom: 1px solid #fff;
  365. line-height: 30px;
  366. margin: 0 5px;
  367. }
  368.  
  369. ul.menu li ul li{
  370. margin-left: 10px;
  371. background: #666;
  372. }
  373.  
  374. ul.menu li a {
  375. color: #fff;
  376. text-decoration: none;
  377. line-height: 25px;
  378. padding-left: 10px;
  379. }
  380.  
  381. ul.menu li a:hover {
  382. color: #000;
  383. }
  384.  
  385.  
  386. /*** module gris ***/
  387. div.moduletable_gris h3 {
  388. height: 36px;
  389. background: url(../images/titre_modulegris.png) left top repeat-x;
  390. line-height: 30px;
  391. color: #fff;
  392. font-weight: normal;
  393. }
  394.  
  395. div.moduletable_gris {
  396. background: #9e9e9e url(../images/bas_modulegris.png) left bottom repeat-x;
  397. padding-bottom: 35px;
  398. color: #fff;
  399. margin-top: 10px;
  400. }
  401.  
  402. div.moduletable_gris a {
  403. color: #fff;
  404. padding-left : 10px;
  405. line-height: 20px;
  406. }
  407.  
  408. /*** formulaires ***/
  409. input#modlgn-username, input#modlgn-passwd {
  410. width: 153px;
  411. height: 28px;
  412. line-height: 25px;
  413. background: url(../images/login_form.png) left top no-repeat;
  414. border: none;
  415. margin: 0;
  416. padding: 0px 0 5px 10px;
  417. }
  418.  
  419. #login-form fieldset{
  420. border: none;
  421. }
  422.  
  423. #login-form li{
  424. line-height: 20px;
  425. }
  426.  
  427. input.button {
  428. background: #333;
  429. color: #fff;
  430. border: none;
  431. padding: 7px;
  432. cursor: pointer;
  433. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement