forked from code-differently/RR-JS-HTML-Resume
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (69 loc) · 1.26 KB
/
style.css
File metadata and controls
84 lines (69 loc) · 1.26 KB
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
body {
margin-top: 50px;
margin: 0;
font-family: Helvetica Neue;
background-color: rgb(183, 240, 240);
}
header {
display: flex;
position: fixed;
top: 0;
left: 0;
right: 0;
height: 50px;
line-height: 50px;
background-color: rgb(137, 223, 223);
font-size: 2em;
}
header * {
display: inline;
height: 50px;
}
header ul {
padding: 0;
}
header li {
margin-left: 20px;
}
section {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
background-size: cover; /* Add this line */
background-position: center center; /* Add this line */
background-repeat: no-repeat; /* Add this line */
background-attachment: fixed; /* Add this line */
}
#hero .profile-img {
width: 200px;
height: 200px;
border-radius: 50%;
padding: 100px;
margin-top: 100px;
}
footer {
text-align: center;
padding: 50px;
}
#hero h1 {
font-size: 3em;
font-family: Helvetica Neue;
font-weight: 350;
}
#hero h2 {
font-size: 25px;
font-family: Helvetica Neue;
font-weight: 300;
}
section h2 {
font-size: 2.5em;
}
section h3 {
font-size: 1.5em;
}
header a {
text-decoration: none;
color: black;
}