1+ /* ----------------------- */
2+ /* ------- RESET ---------*/
3+ /* ----------------------- */
4+ * {
5+ margin : 0 ;
6+ padding : 0 ;
7+ box-sizing : border-box;
8+ }
9+ /* ------------------------------------------------------------- */
10+ /* ----------------------------- HOME PAGE-----------------------*/
11+ /* ------------------------------------------------------------- */
12+ /* ------- BODY ---------*/
13+ body {
14+ background-color : # 000000 ;
15+ }
16+ /* ------- HEADER ---------*/
17+ header {
18+ display : flex;
19+ justify-content : space-evenly;
20+ align-items : center;
21+ height : 6rem ;
22+ border-bottom : solid 1px # ffffff60 ;
23+ }
24+
25+ header img {
26+ height : 5rem ;
27+ width : 5rem ;
28+ }
29+
30+ header .title {
31+ display : flex;
32+ flex-direction : column;
33+ align-items : center;
34+ color : # ffffff ;
35+ font-size : 20px ;
36+ gap : 0.3rem ;
37+ }
38+
39+ header nav ul {
40+ display : flex;
41+ list-style : none;
42+ gap : 3rem ;
43+ }
44+
45+ header ul a {
46+ text-decoration : none;
47+ color : # ffffff ;
48+ font-size : 20px ;
49+ }
50+ /* --------------------------------------------------- */
51+ /* ----------------------- */
52+ /* ------- MAIN ---------*/
53+ /* ----------------------- */
54+ .titre-principal {
55+ display : flex;
56+ flex-direction : column;
57+ align-items : center;
58+ color : # ffffff ;
59+ height : 100vh ;
60+ padding-top : 3rem ;
61+ }
62+ /* ------- CLASS JS CSS ---------*/
63+ .titre-principal .title {
64+ display : flex;
65+ flex-direction : column;
66+ align-items : center;
67+ font-size : 20px ;
68+ width : 100% ;
69+ color : # ffffff ;
70+ gap : 0.5rem ;
71+ background-color : # 000000a9 ;
72+ border-radius : 2% ;
73+ padding : 2rem ;
74+ }
75+
76+ .title h1 {
77+ color : # ff0000 ;
78+ padding-bottom : 0.4rem ;
79+ }
80+
81+ .titre-principal .title p {
82+ padding-bottom : 2rem ;
83+ }
84+
85+ .title a {
86+ color : # ffffff ;
87+ font-size : 17px ;
88+ padding : 0.5rem 0.5rem ;
89+ background-color : # 000000 ;
90+ border-radius : 3% ;
91+ border : solid 1px # ffffff ;
92+ text-decoration : none;
93+ }
94+ /* --------------------------------------------------- */
95+ /* ------- STATS ---------*/
96+ .stats {
97+ color : # ffffff ;
98+ display : flex;
99+ flex-direction : row;
100+ align-items : center;
101+ justify-content : center;
102+ gap : 10% ;
103+ width : 100% ;
104+ min-height : 5rem ;
105+ border-top : solid 1px # ffffff60 ;
106+ }
107+ .stats p : last-child {
108+ color : red;
109+ font-weight : 700 ;
110+ font-size : 2.5rem ;
111+ }
112+ /* ------- TESTIMONIALS ---------*/
113+ .testimonials {
114+ width : 100% ;
115+ min-height : 7rem ;
116+ color : # ffffff ;
117+ display : flex;
118+ flex-direction : row;
119+ align-items : center;
120+ justify-content : center;
121+ gap : 3rem ;
122+ font-size : 17px ;
123+ border-bottom : solid 1px # ffffff60 ;
124+ border-top : solid 1px # ffffff60 ;
125+ }
126+ .testimonials p : nth-child (2 ){
127+ color : # ff0000 ;
128+ }
129+ /* ----------------------- */
130+ /* ------- FOOTER ---------*/
131+ /* ----------------------- */
132+ footer {
133+ padding-top : 8rem ;
134+ }
135+ footer .container-footer {
136+ border-bottom : solid 1px # ffffff60 ;
137+ color : # ffffff ;
138+ display : flex;
139+ justify-content : center;
140+ align-items : center;
141+ height : 3rem ;
142+ }
143+ footer .container-footer .socials {
144+ display : flex;
145+ flex-direction : row;
146+ gap : 1rem ;
147+ font-size : 17px ;
148+ }
149+ footer .container-footer .socials a {
150+ color : # ffffff ;
151+ text-decoration : none;
152+ list-style : none;
153+ }
154+ /* -------------------------------------------------------------- */
155+ /* ---------------------- PAGE CATALOGUE ------------------------*/
156+ /* -------------------------------------------------------------- */
157+ .container-catalogue {
158+ display : flex;
159+ flex-direction : column;
160+ align-items : center;
161+ width : 100% ;
162+ color : # ffffff ;
163+ margin-top : 3rem ;
164+ }
165+ .container-catalogue h1 {
166+ margin-top : 1rem ;
167+ font-size : 25px ;
168+ }
169+ /* ------- CONTAINER CARDS ---------*/
170+ .container-catalogue .cards {
171+ display : flex;
172+ flex-direction : column;
173+ border : solid 1px # 000000 ;
174+ margin-top : 1rem ;
175+ gap : 2rem ;
176+ padding : 2rem ;
177+ border : solid 1px # ffffff5b ;
178+ }
179+ .container-catalogue .cards .item {
180+ border : solid 1px # ffffff81 ;
181+ background-color : # 000000 ;
182+ height : 27rem ;
183+ width : 25rem ;
184+ display : flex;
185+ flex-direction : column;
186+ align-items : center;
187+ color : # ffffff ;
188+ padding : 0.5rem ;
189+ }
190+ /* ------- LINE ITEM ---------*/
191+ .container-catalogue .cards .cars-line1 {
192+ display : flex;
193+ flex-direction : row;
194+ justify-content : center;
195+ align-items : center;
196+ gap : 2rem ;
197+ }
198+ .container-catalogue .cards .cars-line2 {
199+ display : flex;
200+ flex-direction : row;
201+ justify-content : center;
202+ align-items : center;
203+ gap : 2rem ;
204+ }
205+ .container-catalogue .cards .cars-line3 {
206+ display : flex;
207+ flex-direction : row;
208+ justify-content : center;
209+ align-items : center;
210+ gap : 2rem ;
211+ }
212+ /* ------- IMAGES ---------*/
213+ .container-catalogue .cards .item img {
214+ width : 23rem ;
215+ height : 15rem ;
216+ margin-top : 1rem ;
217+ margin-bottom : 1rem ;
218+ }
219+ /* ------- NOM VOITURES ---------*/
220+ .container-catalogue .cards .item p : nth-child (2 ){
221+ margin-bottom : 1rem ;
222+ }
223+ /* ------- DESCRIPTION VOITURES ---------*/
224+ .container-catalogue .cards .item p : nth-child (3 ){
225+ text-align : left;
226+ margin-bottom : 1rem ;
227+ }
228+ /* ------- PRIX VOITURES ---------*/
229+ .container-catalogue .cards .item p : nth-child (4 ){
230+ color : # ff0000 ;
231+ text-align : left;
232+ font-size : 20px ;
233+ margin-bottom : 1rem ;
234+ }
235+ /* ------- DETAILS VOITURES BUTTON ---------*/
236+ .container-catalogue .cards .item button {
237+ color : # ffffff ;
238+ background-color : # 000000 ;
239+ }
240+ /* ---------------------------------------- */
0 commit comments