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
| @charset "utf-8";
/* CSS Document */
/* -------------------------------------- */
* { margin:0; padding:0; border:0; font-size:100%; }
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary, time, mark, audio, video
{ vertical-align:baseline; box-sizing:border-box; background:transparent; }
table, caption, tbody, tfoot, thead, tr, th, td { vertical-align:middle; box-sizing:border-box; background:transparent; }
html { width:100%; height:100%; font-size:100%; -ms-text-size-adjust:100%; -webkit-text-size-adjust:100%; }
/* Correction block display (non défini dans IE6/7/8/9 & FF3) */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, address { display:block; } /* balises HTML5 (IE) */
/* viewport */
@-webkit-viewport { width:device-width; }
@-moz-viewport { width:device-width; }
@-ms-viewport { width:device-width; }
@-o-viewport { width:device-width; }
/* fixer une largeur maximale de 100% aux éléments potentiellement problématiques */
table, td, blockquote, code, pre, textarea, input, iframe,
img, object, embed, canvas, video, audio, picture { max-width:100%; min-height:auto; }
/* conserver le ratio des images et empêcher les débordements de boîtes dûs aux border ou padding */
img { box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box; }
/* gestion des mots longs */
textarea, table, td, th, code, pre, samp { word-wrap:break-word;/* passage à la ligne forcé */
hyphens:auto; -moz-hyphens:auto; -webkit-hyphens:auto;/* césure propre */ }
/* passage à la ligne spécifique pour les éléments à châsse fixe */
code, pre, samp { white-space:pre-wrap; }
address { font-style:normal; /* (italic par defaut) */ }
/* ------------div englobant le contenu du site ------------*/
html, body {}
body { background:#eee; /* fond gris clair */
font-family:Arial, Helvetica, sans-serif;
}
#main_wrap {
max-width:1200px; /* largeur maxi de l'affichage */
margin:0 auto;
}
/* ------------ STRUCTURE DU SITE ------------*/
#header, #bloc_centre, #footer {
position:relative;
clear:both;
background:#999966; /* fond vieil or */
padding:10px;
margin:1% 0;
border-radius:5px;
box-shadow: 0px 2px 5px #999;
}
#bloc_centre {
display:table;
}
#colonne_gauche, #colonne_centre, #colonne_droite {
position:relative;
display:table-cell; /* permet d avoir les 3 colonnes de la même hauteur */
vertical-align:top;
padding:10px;
border-radius:5px;
}
#colonne_gauche, #colonne_droite {
width:10%;
min-width:200px;
}
#colonne_centre {
background:#eee;
} |
Partager