forked from solygambas/html-css-javascript-projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_home.scss
83 lines (73 loc) · 1.28 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
.home {
background: var(--gradient);
}
.nav-container {
background: var(--black);
position: sticky;
top: 0;
z-index: 2;
}
nav {
width: 80%;
margin: auto;
min-height: 10vh;
padding: 3rem 0rem;
display: flex;
justify-content: space-between;
align-items: center;
ul {
display: flex;
justify-content: space-between;
list-style: none;
flex: 1;
}
#logo {
flex: 3;
position: relative;
&::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 6rem;
height: 6rem;
background: var(--primary-color);
border-radius: 50%;
transform: translate(-10%, -20%);
mix-blend-mode: screen;
}
}
.order {
background: var(--primary-color);
padding: 1rem 2rem;
border-radius: 0.625rem;
}
}
.showcase {
display: grid;
min-height: 90vh;
grid-template-columns: 10% repeat(3, minmax(5rem, 1fr)) 10%;
grid-template-rows: 1fr 2fr 1fr;
h2 {
grid-column: 2/3;
align-self: flex-end;
}
img {
grid-row: 2/3;
grid-column: 3/4;
height: 110%;
object-fit: cover;
align-self: center;
justify-self: center;
}
.info {
grid-row: 3/4;
grid-column: 4/5;
h3 {
padding-bottom: 3rem;
}
p {
color: #c4c4c4;
}
}
}