1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288
|
<-------------------- GENERAL --------------------> */
body {
margin: 0;
padding: 0;
font-family: Verdana, Bitstream Vera Sans, Lucida Grande, sans-serif;
font-size: .8em;
line-height: 1.25;
color: black;
background: #7FCF2E;
}
html {width: 100%;}
#global {
overflow : auto;
width: 1000px;
padding: 0;
margin:0;
background: white url(../img/global.png) repeat-y;
}
/* <---------------- div PRINCIPALES ---------------> */
/* <-- entete --> */
#entete {
position:relative;
height: 100px;
color: #FFF;
background: #7FCF2E url(../img/header.png) no-repeat;
position: relative;
}
/* <-- menu --> */
#menu {
position:relative;
width: 200px;
height: 500px;
background: #aaf url(../img/menuGP.png) no-repeat;
}
/* <-- contenu --> */
#contenu {
position:relative;
float: left;
width: 800px;
height: 500px;
background:navy url(../img/accueil/bckground.png);
}
/* <-- footer --> */
#footer {
position:relative;
clear:both;
text-align:center;
height: 50px;
width: 100%;
background: #7FCF2E url(../img/footer.png) repeat-x;
color: #FFF;
}
/* <---------------- div SECONDAIRES---------------> */
/* <-- DANS div CONTENU --> */
#contenu > :first-child {margin-top: 10px;}
#contenu .produit {
position: absolute;
top: 25px;
left: 20px;
width: 200px;
height: 166px;
background: #faf url(../img/accueil/produit.png);
}
#contenu .recette {
position: absolute;
top: 220px;
left: 20px;
width: 200px;
height: 164px;
background: #faf url(../img/accueil/recette.png);
}
#contenu .visiter {
position: absolute;
top: 400px;
left: 300px;
width: 218px;
height: 164px;
background: #faf url(../img/accueil/visiter.png);
}
#contenu .acheter {
position: absolute;
top: 375px;
left: 600px;
width: 218px;
height: 164px;
background: #faf url(../img/accueil/acheter.png);
}
/* <-- DANS div ENTETE --> */
#entete h1 {
margin: 0;
position: absolute;
top: 5px;
left: 350px;
font: italic bold 1.2em Verdana, "Bitstream Vera Sans", "Lucida Grande", sans-serif;
}
#entete h2 {
position: absolute;
top: 25px;
left: 650px;
font: italic bold 1.2em Verdana, "Bitstream Vera Sans", "Lucida Grande", sans-serif;
}
/* <-- DANS div MENU --> */
#menu ul {
position: relative;
left: 10px;
top: 25px;
padding: 0;
margin: 0;
border: 0;
}
#menu li a {
color: #FFFFFF;
text-decoration: none;
font-weight: bold;
}
#menu ul li {
position: absolute;
list-style: none;
}
#menu ul a {display: block;}
#menu ul.niveauA2 a {color: #026237;}
#menu ul.niveauA2 a:hover {color: #2EC739;}
#menu ul.niveauA2 ul a {color: #FFFFFF;}
#menu ul.niveauA2 ul a:hover {color: #026237;}
#menu ul ul {
position: absolute;
top: 0;
background-color: #B4E14D;
border: 2px outset #DDF4EC;
display: none;
}
#menu ul ul a:hover,#menu ul ul a:active,#menu ul ul a:focus{
background-color: #2EC739;
color: #026237;
border: 1px inset;
padding: 0 3px;
}
#menu ul ul li {
position: relative;
border: 1px solid #B4E14D; /* Pour empêcher le décalage */
}
#menu ul ul li.sousNiveau {background-color: #9BCF23;}
#menu ul ul li a {
color: #FFFFFF;
font-weight: normal;
}
#menu ul ul ul {
position: absolute;
display: none;
}
#menu ul li.sousNiveau:hover ul.niveauB, #menu ul.niveauB li.sousNiveau:hover ul.niveauC {display: block;}
#menu ul ul.niveauB li.sousNiveau a {font-weight: normal;}
#menu ul ul.niveauB ul.niveauC li a {font-weight: normal;}
#menu_accueil a:hover, #menu_campagne a:hover, #menu_agriculture a:hover, #menu_chambre a:hover {color: #2EC739;}
#menu_affiche a:hover, #menu_presse a:hover, #menu_emploi a:hover, #menu_photo a:hover, #menu_contact a:hover {color: #026237;}
/* <-- menu --> */
#menu_accueil {
position : relative;
width: 185px;
left: 5px;
top: 40px;
}
#menu_accueil ul {
width: 0px;
left: 185px;
}
#menu_affiche {
position : relative;
width: 185px;
left: 5px;
top: 80px;
}
#menu_affiche ul {
width: 150px;
left: 185px;
z-index: 2;
}
#menu_campagne {
position : relative;
width: 185px;
left: 5px;
top: 120px;
}
#menu_campagne ul {
width: 150px;
left: 185px;
z-index: 2;
}
#menu_campagne ul ul {
width: 150px;
left: 145px;
}
#menu_presse {
position : relative;
width: 185px;
top: 160px;
left: 5px;
}
#menu_presse ul {
width: 150px;
left: 185px;
z-index: 2;
}
#menu_photo {
position: absolute;
width: 185px;
top: 200px;
left: 5px;
}
#menu_photo ul {
width: 0;
top: 440px;
left: 185px;
}
#menu_contact {
position : absolute;
width: 185px;
top: 240px;
left: 5px;
}
#menu_contact ul {
width: 150px;
left: 185px;
z-index: 2;
}
#menu_emploi {
position : absolute;
width: 185px;
top: 260px;
left: 5px;
}
#menu_emploi ul {
width: 150px;
left: 185px;
z-index: 2;
}
/* <-- espace pro --> */
.idDiv {
position: relative;
border: 1px solid #026237;
top: 5px;
left: 5px;
width: 190px;
height: 40px;
text-align: center;
font-size: .8em;
color: #026237;
}
.searchDiv {
position: absolute;
top: 105px;
right: 5px;
font-size: .9em;
z-index: 1;
}
#searchBox {
border: 1px solid #026237;
background-color: #2EC739;
font: 1em Verdana, "Bitstream Vera Sans", "Lucida Grande", sans-serif;
color: white;
}
#idBox {
border: 1px solid #026237;
background-color: #2EC739;
font: 1em Verdana, "Bitstream Vera Sans", "Lucida Grande", sans-serif;
color: white;
}
#idButton {
border: 1px solid #026237;
background-color: #026237;
font: 1em Verdana, "Bitstream Vera Sans", "Lucida Grande", sans-serif;
color: white;
font-weight: bold;
}
#searchButton {
border: 1px solid #026237;
background-color: #026237;
font: 1em Verdana, "Bitstream Vera Sans", "Lucida Grande", sans-serif;
color: white;
font-weight: bold;
}
/* <-- --------- --> */ |
Partager