|
Présentation
Annak
|
Vous créez le bloc
/* --------------- Module Présentation------------------ */
Si vous désirez effectuer plusieurs changements, vous ne créez qu'un seule fois cette ligne et dans les parenthèses, vous rajoutez les valeurs voulues.
Vous rajoutez la ligne suivante :
POUR CHANGER LA TAILLE
.presentation .box-titre h2 span {font-size: 20px; }
POUR LE SOULIGNER
.presentation .box-titre h2 span {text-decoration:underline ;}
POUR CHANGER SA COULEUR
.presentation .box-titre h2 span {color:red; }
POUR LE METTRE EN ITALIQUE
.presentation .box-titre h2 span {font-style: italic; }
POUR LE CENTRER
.presentation .box-titre h2 span { text-align:center; }
POUR LE METTRE EN GRAS
Les titres des modules sont, au départ, tous en gras.
Admettons que vous ayez enlevé le gras et que souhaitiez le remettre, rajoutez
.presentation .box-titre h2 span {font-weight:bold;}
POUR ENLEVER LE GRAS
.presentation .box-titre h2 span {font-weight:none;}
POUR CHANGER LA POLICE
.presentation .box-titre h2 span {font-family: Comic Sans MS ;}
Commentaires