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
| @import url('https://fonts.googleapis.com/css?family=Advent+Pro|Dancing+Script&display=swap');
/******************GLOBAL********************/
body {
/* police du corps de la page*/
font-family: 'Advent Pro', sans-serif;
/*marge... */
padding: 0;
margin: 0;
}
ul {
/*marge... */
padding: 0;
margin: 0;
}
li{
/* enlève tout style ou points à nos listes */
list-style-type: none;
}
h2 {
/* mettre tout nos H2 en majuscule */
text-transform: uppercase;
/*centrer tout nos H2 dans la page */
text-align: center;
padding-top: 30px;
/* mettre une taille */
font-size: 2em;
}
a {
text-decoration: none;
color: black;
}
/* ***********************NAVBAR**************************/
nav{
/*Tout cequi dépassera de la page sera cacher*/
overflow: hidden;
background-color: #FFFAE1;
position: fixed;
/*largeur*/
width: 100%;
opacity: 0,9;
}
/*On va chercher les <li> dans le header*/
header li{
/*mettre l'élément à droite*/
float: right;
font-size: 1,2em;
}
header li a {
text-decoration: none;
/*Transforme en un bloc*/
display: block;
text-align: center;
padding: 18px 16px;
}
#logo {
font-family: 'Dancing Script', cursive;
/*mettre en gras */
font-weight: bold;
float: left;
}
/*********************IMAGE PRINCIPALE ***********************/
/*appeler un id*/
#img_principale {
padding-top: 60px;
/*utilise l'image comme background. no-repeat fait quelle sera que une fois... et 50%50% qu'elle sera centré*/
background: url(media/image\ pincipale.jpg) no-repeat 50% 50% fixed;
/*l'image background couvrira toute la page*/
background-size: cover;
height: 450px;
}
h1 {
font-family: 'Dancing Script', cursive;
text-align: center;
color: antiquewhite;
font-size: 6em;
margin-top: 110px;
/*ajouter une ombre au texte (profondeur,décalage,opacité,)*/
text-shadow: 1px 3px 2px black;
}
#premier_trait {
height: 1px;
width: 25%;
/*pour raprocher (marge négative en vertical)*/
margin: -3px auto;
background-color: #FFFAE1;
box-shadow: 1px 3px 2px black;
}
h3 {
text-align: center;
color: antiquewhite;
font-size: 3em;
text-shadow: 1px 3px 2px black;
}
/*********************SECTION PRESENTATION**********************/
#presentation {
background-color: gainsboro;
padding: 10px 0px 100px 0px;
}
#texte_intro {
padding: 0px 20%;
}
#prestation {
/*mettre tout aligné*/
display: flex;
/*Enrouler les images*/
flex-wrap: wrap;
/*s'étendre sur toute la largeur*/
justify-content: space-between;
padding: 30px 10%;
}
/*appeler une classe*/
.img_prestations h4 {
font-family: 'Dancing Script', cursive;
text-align: center;
font-size: 1,8em;
margin: 15px;
font-weight: 300;
}
.img_prestations img {
border-radius: 40px;
width: 200px;
height: 120px;
box-shadow: 3px 4px 5px 4px rgba(0, 0, 0, 0,7);
}
/* quand on survole l'élément : hover*/
.img_prestations img:hover {
opacity: 0,5;
transform: scale(1,1);
transition: 0,6s ease-in-out;
} |
Partager