-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathThe Rock portfolio.css
120 lines (102 loc) · 1.92 KB
/
The Rock portfolio.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
118
119
120
*{
box-sizing: border-box;
}
body{
margin: 0px;
padding: 0px;
font: poppins;
}
#main{
width:100%;
height: 60vh;
position: relative;
}
nav{
display: flex;
justify-content: space-around;
align-items: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
background-color: white;
box-shadow: 5px 10px 30px rgba(0,0,0,0.02);
z-index:1;
}
.logo img{
height : 45px;
}
.menu{
list-style: none;
display: flex;
}
.menu li a{
height:40px;
line-height: 43px;
margin:3px;
padding: 0px 22px;
display:flex;
font-size: 0.8em;
text-transform: uppercase;
font-weight: 500;
letter-spacing: 1px;
color:grey;
}
a{
text-decoration: none;
}
.hey{
color:#39bfbd;
font-weight:500;
font-size:0.9em;
border-bottom:2px solid #39bfbd;
}
.image img{
object-fit: contain;
}
/* I haven't set the width and height as for my photo there is no requirement*/
.content{
display:flex;
width: 90%;
justify-content: space-around;
align-items:center;
position: absolute;
left:50%;
right:50%;
transform: translate(-50%,-50%);
}
.main-text{
width:500px;
}
.main-text h1{
font-size:3.5em;
color:#1C3548;
margin: 0px 0px 10px 0px ;
line-height: 60px;
}
.main-text p{
color:grey;
}
.resume-btn{
width: 190px;
height: 44px;
display:flex;
justify-content: center;
align-items: center;
color:white;
background-color: #1db096;
border-radius:20px;
box-shadow: 5px 10px 30px rgba(24,139,119,0.2)
}
.resume-btn:hover{
background-color: #23cdaf;
transition: all ease 0.2 s;
}
.menu li a{
transition: all ease 0.2s
}
.menu li a:hover {
background-color: #23cdaf;
color:white;
box-shadow: 5px 10px 30px rgba(24,139,119,0.2)
}