-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (84 loc) · 1.46 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
<!DOCTYPE html>
<html>
<head>
<title>Sqyphen</title>
<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
<style>
html,
body {
background: #fefefe;
color: #333;
font-family: 'Ubuntu', sans-serif;
margin: 0;
padding: 0;
}
h1, ul {
margin: 0;
padding: 0;
}
h1 {
font-size: 8em;
font-weight: bold;
padding: 20px 15px;
}
main {
text-align: center;
position: absolute;
top: 50%;
left: 0;
right: 0;
transform: translateY(-50%);
}
ul {
list-style: none;
}
li {
display: inline-block;
margin: 0 10px;
overflow: hidden;
}
li a {
display: block;
text-indent: -9999px;
width: 50px;
height: 50px;
background: url("./icons.png");
}
.twitter {
background-position: 0 0;
}
.twitter:hover {
background-position: 0 -50px;
}
.github {
background-position: 50px 0;
}
.github:hover {
background-position: 50px -50px;
}
@media (max-width: 640px){
h1 {
font-size: 4em;
}
}
@media (max-width: 320px){
h1 {
font-size: 3em;
}
}
</style>
</head>
<body>
<main>
<h1>Sqyphen</h1>
<ul>
<li>
<a class="twitter" href="https://twitter.com/sqyphen" target="_blank" title="Twitter">Twitter</a>
</li>
<li>
<a class="github" href="https://github.com/Sqyphen" target="_blank" title="Github">Github</a>
</li>
</ul>
</main>
</body>
</html>