-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_home.scss
61 lines (57 loc) · 1.44 KB
/
_home.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*=============== HOME ===============*/
.home{
padding: 3.5rem 0 2rem;
&__container{
position: relative;
row-gap: 2rem;
}
&__img{
width: 200px;
justify-self: center;
}
&__title{
font-size: var(--big-font-size);
line-height: 140%;
margin-bottom: var(--mb-1);
}
&__description{
margin-bottom: var(--mb-2-5);
}
&__social{
position: absolute;
top: 2rem;
right: -1rem;
display: grid;
justify-items: center;
row-gap: 3.5rem;
&-follow{
font-weight: var(--font-medium);
font-size: var(--smaller-font-size);
color: var(--first-color);
position: relative;
transform: rotate(90deg);
&::after{
content: '';
position: absolute;
width: 1rem;
height: 2px;
background-color: var(--first-color);
right: -45%;
top: 50%;
}
}
&-links{
display: inline-flex;
flex-direction: column;
row-gap: .25rem;
}
&-link{
font-size: 1rem;
color: var(--first-color);
transition: .3s;
&:hover {
transform: translateX(.25rem);
}
}
}
}