Skip to content

Commit aaf8e69

Browse files
committed
Css clean up
1 parent 746826f commit aaf8e69

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

assets/css/styles.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ img {
315315
/* width: 70%; */
316316
}
317317

318-
.team__container .team__card{
318+
.team__card{
319319
position: relative;
320320
width: 300px;
321321
height: 400px;
@@ -329,7 +329,7 @@ img {
329329
backdrop-filter: blur(10px);
330330
}
331331

332-
.team__container .team__card .team__content{
332+
.team__content{
333333
position: relative;
334334
display: flex;
335335
justify-content: center;
@@ -339,12 +339,12 @@ img {
339339
transition: 0.5s;
340340
}
341341

342-
.team__container .team__card:hover .team__content{
342+
.team__card:hover .team__content{
343343
opacity: 1;
344344
transform: translateY(-20px);
345345
}
346346

347-
.team__container .team__card .team__content .team__img{
347+
.team__img{
348348
position: relative;
349349
width: 150px;
350350
height: 150px;
@@ -353,7 +353,7 @@ img {
353353
border: 10px solid rgba(0, 0, 0, 0.25);
354354
}
355355

356-
.team__img img{
356+
.team__img > img{
357357
position: absolute;
358358
top: 0;
359359
left: 0;
@@ -362,7 +362,7 @@ img {
362362
object-fit: cover;
363363
}
364364

365-
.team__text h3{
365+
.team__text > h3{
366366
color: var(--text-color);
367367
text-transform: uppercase;
368368
letter-spacing: 2px;
@@ -372,7 +372,7 @@ img {
372372
line-height: 1.1em;
373373
}
374374

375-
.team__text span{
375+
.team__text > span{
376376
font-size: 12px;
377377
font-weight: 300;
378378
text-transform: initial;
@@ -384,7 +384,7 @@ img {
384384
display: flex;
385385
}
386386

387-
.team__icon li{
387+
.team__icon > li{
388388
list-style: none;
389389
margin: 0 10px;
390390
transform: translateY(40px);

0 commit comments

Comments
 (0)