remote/base.css

105 lines
2.2 KiB
CSS
Executable File

/* --- Base Style for CSS --- */
/* Stylesheet to standardize the display of standard tags - Courtesy of Alsacreations ( http://www.alsacreations.com/astuce/lire/654-feuille-de-styles-de-base.html ) */
/* Feuille de style pour uniformiser l'affichage fournie par Alsacreations ( http://www.alsacreations.com/astuce/lire/654-feuille-de-styles-de-base.html ) */
/* Page */
html {
font-size: 100%; /* Évite un bug d'IE 6-7. (1) */
}
body {
margin: 0;
padding: 0; /* Remettre à zéro si nécessaire. */
font-family: Helvetica, sans-serif;
font-size: .8em;
line-height: 1.4; /* À adapter au design. (4) */
color: black;
background: white;
}
/* Titres */
h1, h2, h3, h4, h5, h6 {
margin: 1em 0 .5em 0; /* Rapproche le titre du texte.*/
line-height: 1.2;
font-weight: bold; /* Valeur par défaut.*/
font-style: normal;
}
h1 {
font-size: 1.75em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.25em;
}
h4 {
font-size: 1em;
}
hr {
height: 1px;
margin: 0;
margin-right: 1em;
padding: 0;
margin-bottom: 10px;
color: #000;
background-color: #000;
border: 0;
}
/* Listes */
ul, ol {
margin: .75em 0 .75em 0;
padding: 0;
}
/* Paragraphes */
p {
margin: .75em 0; /* Marges plus faibles que par défaut.*/
}
address {
margin: .75em 0;
font-style: normal;
}
/* Divers éléments de type en-ligne*/
em {
font-style: italic;
}
strong {
font-weight: bold;
}
/* Formulaires */
form, fieldset {
margin: 0;
padding: 0;
}
form
{
border: none;
}
input, button, select {
vertical-align: top; /* Solution pb. d'alignement. (9) */
font-size: 1em;
}
.center
{
text-align: center;
}
/* Mise en forme simple pour les tableaux */
table {
margin: 0;
border: 1px solid gray; /* Pas de bordure = "none". */
border-collapse: collapse; /* Valeur par défaut: "separate". */
border-spacing: 0;
margin: auto;
}
table td, table th {
padding: 4px; /* Pas de retrait autour du texte = "0". */
border: 1px solid #ccc; /* Pas de bordure = "none". */
vertical-align: top; /* Valeur par défaut: "middle" */
text-align: left;
}