Skip to content

Commit c0d5bf7

Browse files
committed
Add styles to join us section
1 parent 734c6f7 commit c0d5bf7

File tree

1 file changed

+60
-3
lines changed

1 file changed

+60
-3
lines changed

assets/css/styles.css

Lines changed: 60 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,15 @@ img {
237237
margin-bottom: 2.5rem;
238238
}
239239

240-
.home__button {
240+
.button {
241241
display: inline-block;
242242
background-color: var(--first-color-dark);
243243
color: var(--white-color);
244244
padding: 1.125rem 2rem;
245245
border-radius: .5rem;
246246
}
247247

248-
.home__button:hover {
248+
.button:hover {
249249
background-color: var(--first-color-darken);
250250
}
251251

@@ -282,12 +282,13 @@ img {
282282
.about__text {
283283
margin-bottom: var(--mb-4);
284284
color: var(--first-color);
285+
color: var(--text-color);
285286
}
286287

287288
.about__profession {
288289
display: block;
289290
margin-bottom: var(--mb-4);
290-
color: var(--first-color);
291+
color: var(--text-color);
291292
}
292293

293294
.about__social-icon {
@@ -301,6 +302,62 @@ img {
301302
}
302303

303304

305+
/* ===== JOIN US====== */
306+
.join__container{
307+
display: flex;
308+
align-items: center;
309+
justify-content: center;
310+
}
311+
312+
.join__content {
313+
background-color: var(--white-color);
314+
border-radius: 10px;
315+
box-shadow: 0 50px 50px rgba(0, 0, 0, 0.2);
316+
display: flex;
317+
max-width: 100%;
318+
margin: 20px;
319+
overflow: hidden;
320+
width: 1000px;
321+
height: 400px;
322+
}
323+
324+
.course h2 {
325+
letter-spacing: 1px;
326+
margin: 10px 0;
327+
font-size: 9.6em;
328+
}
329+
330+
li{
331+
font-size: 1.1rem;
332+
margin-top: 20px;
333+
color: var(--text-color);
334+
}
335+
336+
.course__preview {
337+
background-color:var(--first-color);
338+
color: var(--white-color);
339+
padding: 100px;
340+
max-width: 350px;
341+
}
342+
343+
.course__preview a {
344+
display: inline-block;
345+
background-color: var(--first-color-dark);
346+
color: var(--white-color);
347+
margin-top: 45px;
348+
padding: 1.125rem;
349+
border-radius: .5rem;
350+
}
351+
352+
.course__info {
353+
position: relative;
354+
width: 100%;
355+
padding: 30px;
356+
margin-top: 40px;
357+
text-align: center;
358+
}
359+
360+
304361
/* ===== MEDIA QUERIES =====*/
305362

306363
@media screen and (min-width: 768px) {

0 commit comments

Comments
 (0)