-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
75 lines (63 loc) · 1.24 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
body{
font-family: 'Droid Serif', serif;
}
.header {
background-image: url(img/background-bg.jpg);
background-size: cover;
padding: 200px 0;
text-align: center;
background-position: center;
position: relative;
}
.header h1 {
color: white;
font-size: 5em;
}
.header nav {
position: absolute;
top: 0;
right: 0;
left: 0;
background-color: transparent;
box-shadow: none;
}
.header ul li a {
color: rgba(255, 255, 255, 0.7);
transition: 0.5s;
}
.header nav ul li a:hover {
color: #fff;
}
.header .profile {
background-image: url(img/box7.jpg);
width: 200px;
height: 200px;
border-radius: 50%;
background-size: 400%;
position: absolute;
bottom: -100px;
right: 0;
left: 0;
margin: auto;
border: 3px solid white;
box-shadow: #aaa 0px 2px 2px;
}
.contents {
padding-top: 110px;
text-align: center;
}
.contents .infoName {
font-size: 3em;
}
.contents .sectionImg {
height: 500px;
}
.contents .grid:nth-child(1) .sectionImg {
background-image: url(box11.jpg);
}
.contents .grid:nth-child(2) .sectionImg {
background-image: url(box10.jpg);
}
.contents .grid:nth-child(3) .sectionImg {
background-image: url(box12.jpg);
}