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
|
#conteneur1
{
display: flex;
background-color: #FFFFFF;
width: 97%;
border: 2px solid black;
height: 170px;
justify-content: center;
margin-left:20px;
margin-right: 0px;
}
#conteneur1 img
{
width :115px;
height: 170px;
}
#conteneur1 h1
{
text-align: center;
font-size: 15px;
color: #FFFFFF;
}
#conteneur1 h2
{
text-align: right;
margin-right: 150px;
font-size: 15px;
color: #66FF00;
}
.element:nth-child(2)
{
flex: 2;
height: 170px;
max-width: 100%;
text-align: center;
font-size: 28px;
font-style: bold;
color: #FFFF00;
background-image: url(Bandeau-2.jpg);
background-position: top;
background-size:cover;
}
menu {font: normal .8em/1.5em Arial, Helvetica, sans-serif;background: #ebebeb;width: 97%;margin: 5px auto;color: #666;font-size: 10px;}
#menu {margin: 5px;padding: 7px 6px 0;background: #CC0000 url(../images/gradient.png) repeat-x 0 -110px;line-height: 100%;margin-left:20px;
border-radius: 2em;
-webkit-border-radius: 2em;
-moz-border-radius: 2em;
-webkit-box-shadow: 0 1px 3px #66FFCC;
-moz-box-shadow: 0 1px 3px #66FFCC;}
#menu li {margin: 0 5px;padding: 0 0 8px;float: left;position: relative;list-style: none;}
/* main level link */
#menu a {font-weight: bold;color: #e7e5e5;text-decoration: none;display: block;padding: 8px 20px;margin: 0; font-size: 10px;
<! -webkit-border-radius: 1.6em; !>
<! -moz-border-radius: 1.6em; !>
text-shadow: 0 1px 1px rgba(0,0,0, .3);}
#menu a:hover {background: #000;color: #fff;}
/* main level link hover */
#menu .current a, #menu li:hover > a {background: #66FFCC url(../images/gradient.png) repeat-x 0 -40px;color: #444;border-top: solid 1px #f8f8f8;
-webkit-box-shadow: 0 1px 1px rgba(0,0,0, .2);
-moz-box-shadow: 0 1px 1px rgba(0,0,0, .2);
box-shadow: 0 1px 1px rgba(0,0,0, .2);
text-shadow: 0 1px 0 rgba(255,255,255, 1);}
/* sub levels link hover */
#menu ul li:hover a, #menu li:hover li a {background: #FFFF00;border: solid 1px #b4b4b4; color: #000000;
font-size: 9px;
-webkit-box-shadow: none;
-moz-box-shadow: none;}
#menu ul a:hover {background: #000000 url(../images/gradient.png) repeat-x 0 -100px !important;
color: #fff !important;
-webkit-border-radius: 0;
-moz-border-radius: 0;
text-shadow: 0 1px 1px rgba(0,0,0, .1);}
/* dropdown */
#menu li:hover > ul {display: block;}
/* level 2 list */
#menu ul {display: none;margin: 0;padding: 0;width: 250px;position: absolute;top: 35px;left: 0;z-index: 1;
background: #ddd url(../images/gradient.png) repeat-x 0 0;
border: solid 1px #b4b4b4;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
-moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
box-shadow: 0 1px 3px rgba(0,0,0, .3);}
#menu ul li {float: none;margin: 0;padding: 0;}
#menu ul a {font-weight: normal;text-shadow: 0 1px 0 #fff;}
/* level 3+ list */
#menu ul ul {left: 246px;top: -3px;}
/* rounded corners of first and last link */
#menu ul li:first-child > a {
-webkit-border-top-left-radius: 9px;
-moz-border-radius-topleft: 9px;
-webkit-border-top-right-radius: 9px;
-moz-border-radius-topright: 9px;
}
#menu ul li:last-child > a {
-webkit-border-bottom-left-radius: 9px;
-moz-border-radius-bottomleft: 9px;
-webkit-border-bottom-right-radius: 9px;
-moz-border-radius-bottomright: 9px;
}
/* clearfix */
#menu:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}
#menu {display: inline-block;}
html[xmlns] #menu {display: block;}
* html #menu {height: 1%;}
#conteneur2
{
display: flex;
background-color: #00FFCC;
width: 97%;
border: 2px solid black;
height: 700px;
margin-left:20px;
margin-right: 0px;
margin-top: 0px;
}
#conteneur2a
{
display: flex;
background-color: #00FFCC;
width: 100%;
height: 400px;
margin-left:0px;
margin-right: 0px;
margin-top: 0px;
}
div#presentation
{
float:rigth;
width:60%;
height:370px;
background-color:#FFFFFF;
border: 2px solid black;
margin-left:10px;
margin-right: 0px;
margin-top: 10px;
order: 1;
}
div#presentation h1
{
font-size: 15px;
color: #33FF00;
text-align: center;
font-weight: bold;
}
div#presentation h2
{
font-size: 10px;
color: #990000;
text-align: center;
}
div#presentation h3
{
font-size: 12px;
text-align: center;
}
div#presentation h4
{
font-size: 11px;
text-align: left;
margin-left: 15px;
}
div#presentation h5
{
font-size: 9px;
text-align: left;
margin-left: 40px;
font-weight: normal;
line-height: 12px;
}
table
{
border-collapse: collapse;
border: 1px solid black;
font-size: 11px;
margin: 0 auto;
justify-content: center;
}
div#infos
{
float: right;
width:40%;
height:370px;
background-color:#FFFFFF;
border: 2px solid black;
margin-left:10px;
margin-right: 0px;
margin-top: 10px;
order: 2;
}
div#infos h1
{
font-size: 15px;
color: #66ff00;
text-align: center;
font-weight:bold;
}
div#infos h2
{
font-size: 10px;
text-align: left;
margin-left: 15px;
font-weight: normal;
}
div#infos h3
{
font-size: 8px;
text-align: left;
margin-left: 30px;
line-height: 4px;
}
div#galene
{
float:right;
width:25%;
height:370px;
background-color:#FFFFFF;
border: 2px solid black;
margin-left:10px;
margin-right: 0px;
margin-top: 10px;
order: 3;
z-index: 9;
}
div#galene h1
{
font-size: 10px;
text-align: center
}
div#galene img
{
width: 230px;
height: 310px;
margin-top: 0px;
}
div#galene img:hover
{
width : 400px;
height: 600px;
}
div#compteur
{
float: right;
width:35%;
height:370px;
max-width: 100%;
background-color:#FFFFCC;
border: 2px solid black;
margin-left:10px;
margin-right: 10px;
margin-top: 10px;
text-align: center;
font-size: 10px;
z-index: 10;
order: 4;
}
div#compteur h1
{
font-size: 12px;
text-align:center;
}
div#compteur img
{
width:100px;
height: 30px;
z-index: 10;
}
Jespère que celui vous permettra de mieux comprendre doù vient mon problème de chevauchement.
Avec mes remerciements anticipés,
Cordialement |
Partager