-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (80 loc) · 2.31 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
<!DOCTYPE html>
<html>
<head>
<title>Unai Martínez Barredo</title>
<!-- https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs -->
<link rel="icon" href="/favicon.ico"><!-- 32×32 -->
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png"><!-- 180×180 -->
<link rel="manifest" href="/manifest.webmanifest">
<style>
@font-face {
font-family: 'TeX Gyre Heros';
src: url('normal.woff') format('woff');
}
@font-face {
font-family: 'TeX Gyre Heros';
src: url('bold.woff') format('woff');
font-weight: bold;
}
body {
background-color: black;
color: white;
filter: grayscale(100%);
font-family: 'TeX Gyre Heros', Helvetica, 'Helvetica Neue', 'Nimbus Sans L', 'Nimbus Sans', FreeSans, Arial, sans-serif;
font-size: 2vw;
font-weight: bold;
image-rendering: high-quality;
margin: 0 4.5em;
text-align: center;
text-rendering: geometricPrecision;
}
body.vertical {
font-weight: normal;
}
img {
margin-bottom: 2em;
width: 100%;
}
section {
display: flex;
justify-content: space-around;
}
.vertical section {
flex-direction: column;
font-size: 3em;
}
a {
color: white;
padding: 0.2em 0.4em;
text-decoration: none;
}
a:focus, a:hover, a:active {
background-color: white;
color: black;
outline: none;
}
</style>
</head>
<body>
<img src=logo.svg alt='Unai Martínez Barredo'>
<section>
<a href=https://github.com/unaim>GitHub</a>
<a href=https://linkedin.com/in/unaimb>LinkedIn</a>
<a href=https://tiktok.com/@unai_m>TikTok</a>
<a href=https://twitter.com/unai_m>Twitter</a>
<a href=https://youtube.com/unai1m>YouTube</a>
</section>
<script>
function resize() {
if (window.innerWidth/window.innerHeight < 1.15) {
document.body.classList.add('vertical')
} else {
document.body.classList.remove('vertical')
}
}
window.addEventListener('resize', resize)
resize()
</script>
</body>
</html>