-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (113 loc) · 2.11 KB
/
style.css
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
body{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
ul{
list-style: none;
}
a{
text-decoration: none;
}
.main{
padding: 30px 50px;
height: 100vh;
position: relative;
width: 50%;
box-sizing: border-box;
background-size: cover;
background-position: top right;
background-repeat: no-repeat;
background-image: url(img.jpg);
}
nav{
display: flex;
justify-content: space-between;
align-items: center;
text-transform: uppercase;
font-weight: 600;
letter-spacing: 2px;
position: fixed;
top: 0;
left: 0;
width: 100%;
box-sizing: border-box;
padding: 10px 50px;
z-index: 1;
}
.menu{
display: flex;
}
.menu li a{
padding: 10px 15px;
font-size: 12px;
color: #6c707c;
}
.logo{
font-size: 25px;
font-weight: bold;
color: #292929;
}
.menu li a:hover{
background-color: #292929;
color: #fff !important;
font-weight: bold;
transition: all ease 0.4s;
}
.name{
width: 500px;
position: absolute;
right: -3%;
top: 50%;
transform: translate(-20%, -50%);
text-transform: capitalize;
}
.name span{
color: red;
font-weight: bold;
}
.name p:nth-child(1),
.name .detail{
color: #3a3a3d;
font-size: 20px;
text-transform: capitalize;
}
.name h1{
font-size: 40px;
margin: 0;
letter-spacing: 3px;
color: #292929;
text-transform: uppercase;
}
.btn{
width: 200px;
height: 45px;
display: flex;
justify-content: center;
align-items: center;
background-color: #292929;
color: #fff;
}
.btn:hover{
background-color: #fff;
color: #292929;
border:2px solid #292929;
}
.social{
position: absolute;
left: 63%;
bottom: 100px;
display: flex;
}
.social a{
margin: 6px 12px;
}
.social i{
color: rgba(18, 17, 17, 0.40);
font-size: 25px;
}
.social a:hover i{
color: red;
}