-
Notifications
You must be signed in to change notification settings - Fork 1
/
Portfolio.css
66 lines (58 loc) · 902 Bytes
/
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
*{
margin:0;
padding:0;
font-family: century gothic;
}
header{
background-image: url("img.jpg");
height: 100vh;
background-size: cover;
background-position: center;
}
ul{
float: right;
list-style: none;
margin-top: 5px;
}
ul li{
display:inline-block;
}
ul li a{
text-decoration: none;
color: #fff;
padding: 5px 20px;
border: 1px solid transparent;
transition: 0.5s ease;
}
ul li a:hover{
background-color: #fff;
color: #000;
}
.logo img{
float: left;
width: 150px;
height: auto;
}
.main{
max-width: 1200px;
margin: auto;
}
ul li.active a{
background-color: #fff;
color: #000;
}
.container {
position: relative;
text-align: center;
color: white;
}
.center {
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
}
.main .title{
color: #fff;
font-size: 30px;
}