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 289 290 291 292
| @charset "utf-8";
/* CSS Document */
body
{
background-image:url(images/fondDuSite5.jpg);
background-repeat:repeat;
background-attachment:fixed;
background-size:cover;
color:white;
text-align:center;
width:100%;
height:100%;
}
footer
{
background-color:#333;
position:relative;
width:1050px;
height:68px;
color:white;
margin-left:auto;
margin-right:auto;
border-radius: 5px 5px 5px 5px;
position: relative;
box-shadow: 0px 4px 4px rgb(28, 26, 25);
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
}
.banière
{
margin-top:15px;
height:200px;
width:1050px;
border-radius: 5px 5px 5px 5px;
position: relative;
box-shadow: 0px 4px 4px rgb(28, 26, 25);
}
.contact
{
position:relative;
margin-left:120px;
text-align:left;
font-size:x-large;
}
.service
{
position:relative;
margin-left:20px;
text-align:left;
font-size:x-large;
}
.diaporama
{
position:relative;
left:12%;
right:10%;
}
/* > Les liens */
a:link
{
text-decoration:none;
}
a
{
color:navy;
}
/* ************* */
.photo
{
border-radius: 5px 5px 5px 5px;
position: relative;
box-shadow: 0px 4px 4px rgb(28, 26, 25);
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-khtml-border-radius: 4px;
border-radius: 4px;
margin-bottom:6px;
text-align:center;
}
.ecriture
{
text-align:left;
position:relative;
margin-left:18px;
}
.galerie
{
border: 1px solid #333;
border-top-color: #707070;
background:#333 repeat ;
margin-top:auto;
margin-left:auto;
margin-right:auto;
margin-bottom:auto;
}
.article
{
color: white;
width: 1050px;
height: 1600px;
border: 1px solid #333;
border-top-color: #707070;
background: -moz-linear-gradient(bottom , #666666 0pt, #5E5E5E 50%, #707070 51%, #808080 100%) repeat scroll 0 0 transparent;
background: -webkit-linear-gradient(bottom , #666666 0pt, #5E5E5E 50%, #707070 51%, #808080 100%) repeat scroll 0 0 transparent;
background: -ms-linear-gradient(bottom , #666666 0pt, #5E5E5E 50%, #707070 51%, #808080 100%) repeat scroll 0 0 transparent;
background: -o-linear-gradient(bottom , #666666 0pt, #5E5E5E 50%, #707070 51%, #808080 100%) repeat scroll 0 0 transparent;
-webkit-box-shadow: 0 1px 3px #999;
-moz-box-shadow: 0 1px 3px #999;
box-shadow: 0 1px 3px #999;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
margin-right: auto;
margin-left: auto;
font-size: large;
background-attachment: scroll;
background-color: #999;
background-repeat: repeat;
background-position: bottom;
}
/* MEEEEEEEEENNUUU EN CSS ****************************/
#menu ul {
margin:2.5em;
padding:0;
list-style-type:none;
}
#menu ul li {
float:left;
margin:auto;
padding:-25px;
border: 1px solid #333;
border-top-color: #707070;
background: -moz-linear-gradient(bottom , #666666 0pt, #5E5E5E 50%, #707070 51%, #808080 100%) repeat scroll 0 0 transparent;
background: -webkit-linear-gradient(bottom , #666666 0pt, #5E5E5E 50%, #707070 51%, #808080 100%) repeat scroll 0 0 transparent;
background: -ms-linear-gradient(bottom , #666666 0pt, #5E5E5E 50%, #707070 51%, #808080 100%) repeat scroll 0 0 transparent;
background: -o-linear-gradient(bottom , #666666 0pt, #5E5E5E 50%, #707070 51%, #808080 100%) repeat scroll 0 0 transparent;
background: linear-gradient(bottom , #666666 0pt, #5E5E5E 50%, #707070 51%, #808080 100%) repeat scroll 0 0 transparent;
text-align: center;
-webkit-box-shadow: 0 1px 3px #999;
-moz-box-shadow: 0 1px 3px #999;
box-shadow: 0 1px 3px #999;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
list-style:none;
width:260.5px;
}
#menu, #menu ul
{
margin : 0px; /* ni extérieure */
list-style : none; /* on supprime le style par défaut de la liste */
line-height : 21px; /* on définit une hauteur pour chaque élément */
text-align : center; /* on centre le texte qui se trouve dans la liste */
padding:0px; /* pas de marge intérieure */
position:relative;
}
#menu ul
{
margin:0;
padding:0;
list-style-type:none;
text-align:center;
display:inline-block;
}
#menu /* Ensemble du menu */
{
/*font-weight : bold; /* on met le texte en gras */
font-family : Arial; /* on utilise Arial, c'est plus beau ^^ */
font-size : 16px; /* hauteur du texte : 12 pixels */
position:relative;
margin:auto;
padding:1px;
z-index:10;
width:1050px;
height:60px;
/* width:100%;
margin:0;
padding:10px , 0 , 0 , 0 ; */
}
#menu a /* Contenu des listes */
{
display : block; /* on change le type d'élément, les liens deviennent des balises de type block */
padding : 0; /* aucune marge intérieure */
text-decoration : none; /* on supprime le style par défaut des liens (la plupart du temps = souligné) */
/* width : 144px; /* largeur */
color:white;
text-align:center;
}
#menu li /* Elements des listes */
{
white-space:nnowrap;
float : left;
margin:auto;
padding:0;
/* pour IE qui ne reconnaît pas "transparent" */
border-right : 1px solid #fff; /* on met une bordure blanche à droite de chaque élément */
}
/* IE ne reconnaissant pas le sélecteur ">" */
html>body #menu li
{
border-right: 1px solid transparent ; /* on met une bordure transparente à droite de chaque élément */
}
#menu li ul /* Sous-listes */
{
position: absolute; /* Position absolue */
width: 144px; /* Largeur des sous-listes */
left: -999em; /* Hop, on envoie loin du champ de vision */
}
#menu li ul li /* Éléments de sous-listes */
{
/* pour IE qui ne reconnaît pas "transparent" (comme précédemment) */
border-top : 1px solid #fff; /* on met une bordure blanche en haut de chaque élément d'une sous liste */
}
/* IE ne reconnaissant pas le sélecteur ">" */
html>body #menu li ul li
{
border-top : 1px solid transparent; /* on met une bordure transparente en haut de chaque élément */
}
#menu li ul ul
{
margin : -22px 0 0 144px ; /* On décale les sous-sous-listes pour qu'elles ne soient pas au dessus des sous-listes */
/* pour IE qui ne reconnaît pas "transparent" (comme précédemment) */
border-left : 1px solid #fff ; /* Petite bordure à gauche pour ne pas coller ... */
}
/* IE ne reconnaissant pas le sélecteur ">" ... je me répète ;-) */
html>body #menu li ul ul
{
border-left : 1px solid transparent ; /* on met une bordure transparente sur la gauche de chaque élément */
}
#menu a:hover /* Lorsque la souris passe sur un des liens */
{
color: #4D8E99; /* On passe le texte en noir... */
background:white; /* ... et au contraire, le fond en blanc */
}
#menu li:hover ul ul, #menu li.sfhover ul ul /* Sous-sous-listes lorsque la souris passe sur un élément de liste */
{
left: -999em; /* On expédie les sous-sous-listes hors du champ de vision */
}
#menu li:hover ul, #menu li li:hover ul, #menu li.sfhover ul, #menu li li.sfhover ul /* Sous-listes lorsque la souris passe sur un élément de liste ET sous-sous-lites lorsque la souris passe sur un élément de sous-liste */
{
left: auto; /* Repositionnement normal */
min-height: 0; /* Corrige un bug sous IE */
}
/* FIN MEEEEEEEEENNUUU EN CSS ****************************/
/* TESTS DEROULANT */ |
Partager