-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
171 lines (152 loc) · 4.51 KB
/
index.html
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>William</title>
<link rel="icon" href="https://img.icons8.com/?size=100&id=0KLeTkP5UwuU&format=png&color=000000">
<style>
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,500;1,500&family=Saira:ital,wght@0,500;1,500&display=swap');
html, body {
height: 25%;
margin: 0;
padding: 0;
}
body {
background-color: #383e47;
color: #ffffff;
font-family: 'Montserrat', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.container {
display: flex;
flex-direction: column;
min-height: 90vh;
width: 100%;
max-width: 800px;
margin: 10vh auto;
padding: 20px;
box-sizing: border-box;
}
header {
width: 100%;
background-color: #383e47;
border-bottom: 2px solid #60f6b5;
padding-bottom: 20px;
}
header img {
width: 40%;
height: auto;
border-radius:120%;
}
main {
flex-grow: 1;
display: flex;
flex-direction: column;
align-items: center;
padding-top: 20px;
}
p {
font-size: 1.2em;
line-height: 1.6;
margin: 0.5em 0;
}
a {
color: #60f6b5;
text-decoration: none;
font-weight: bold;
}
a:hover {
opacity: 0.8;
}
.github-link, .email-link {
margin-top: 20px;
display: inline-block;
margin-right: 10px;
}
.title {
font-size: 2em;
transition: color 0.5s;
color: #60f6b5;
}
.title:hover {
color: #ffffff;
}
.github-link img {
width: 40px;
height: 40px;
vertical-align: middle;
background-color: #383e47;
border-radius: 50%;
}
.email-link img {
width: 40px;
height: 40px;
vertical-align: middle;
background-color: #383e47;
}
footer {
margin-top: auto;
padding: 20px 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
}
footer p {
margin-top: 10px;
font-size: 0.9em;
}
footer .icon-container {
display: flex;
margin-bottom: 10px;
}
footer p {
margin-top: 10px;
}
@media (max-width: 600px) {
header img {
width: 70%;
}
p {
font-size: 1em;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<img src="./img/a-avatar (2).jpg" alt="Avatar">
</header>
<main>
<p class="title">William Felix</p>
<p>I am a young developer.</p>
<p>I have 3 years of experience in Python, C# and PHP</p>
</main>
<footer>
<div class="icon-container">
<div class="email-link">
<a href="mailto:[email protected]" target="email">
<img src="https://img.icons8.com/?size=100&id=pJJmXPomYuPv&format=png&color=FFFFFF" alt="Email Icon">
</a>
</div>
<div class="github-link">
<a href="https://facebook.com/taucoe0">
<img src="https://img.icons8.com/?size=100&id=118497&format=png&color=FFFFFF" alt="Email Icon">
</a>
</div>
</div>
<p>© <span id="currentYear"></span> wfh.thedev.me | By <a href="https://github.com/willi-felix">William</a></p>
</footer>
</div>
<script>
const currentYear = new Date().getFullYear();
document.getElementById("currentYear").textContent = currentYear;
</script>
</body>
</html>