-
Notifications
You must be signed in to change notification settings - Fork 0
/
_steps.scss
42 lines (40 loc) · 1.06 KB
/
_steps.scss
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
/*=============== STEPS ===============*/
.steps{
&__bg{
background-color: var(--first-color);
padding: 3rem 2rem 2rem;
border-radius: 1rem;
}
&__container{
gap: 2rem;
padding-top: 1rem;
}
&__title{
color: #FFF;
}
&__card{
background-color: var(--container-color);
padding: 2.5rem 3rem 2rem 1.5rem;
border-radius: 1rem;
&:hover .steps__card-number{
transform: translateY(-.25rem);
}
&-number{
display: inline-block;
background-color: var(--first-color-alt);
color: #FFF;
padding: .5rem .75rem;
border-radius: .25rem;
font-size: var(--h2-font-size);
margin-bottom: var(--mb-1-5);
transition: .3s;
}
&-title{
font-size: var(--h3-font-size);
margin-bottom: var(--mb-0-5);
}
&-description{
font-size: var(--small-font-size);
}
}
}