-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
114 lines (94 loc) · 1.7 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
:root {
--red: #dc4266;
--blue: #3072e6;
--background: #00032c;
--white: #ffffff;
--profile-photo-size: 120px;
font-family: 'Roboto', sans-serif;
}
h1,
p,
body,
button {
margin: 0;
}
i {
font-size: 24px;
}
body {
background: var(--background);
color: var(--white)
}
main {
margin: 0 auto;
max-width: 500px;
padding: 0 15px;
}
header {
margin-top: 50px;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
color: var(--red);
font-size: 24px;
margin-top: 15px;
}
.occupation {
margin-top: 5px;
}
.photo-container {
overflow: hidden;
width: var(--profile-photo-size);
height: var(--profile-photo-size);
border-radius: 100%;
border: 4px solid var(--blue);
}
.profile-photo {
margin-top: -10px;
width: var(--profile-photo-size);
}
section {
margin-top: 30px;
display: flex;
flex-direction: column;
align-items: center;
}
.link {
background: var(--red);
text-decoration: none;
color: var(--white);
margin-top: 30px;
height: 50px;
width: 100%;
max-width: 270px;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
transition: all 250ms;
}
.linl:first-child {
margin-top: 0;
}
.link:hover {
filter: brightness(1.2);
transform: translateY(-2px);
}
.link i {
margin: 7px;
}
footer {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 30px;
}
.call-me {
text-align: center;
}
footer i {
margin-top: 15px;
color: var(--blue);
}