-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (74 loc) · 1.9 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 lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-119233774-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag("js", new Date());
gtag("config", "UA-119233774-1");
</script>
<title>Qingya Shu</title>
</head>
<body>
<div class="bg"></div>
<div class="empty-content"></div>
<div class="entrance-wrapper">
<div class="entrance-content">
<img class="avatar" src="./icon.jpg" alt="avatar" />
<p class="intro-text">
<a href="/blog">Qingya Shu</a>
</p>
</div>
</div>
</body>
<style>
html,
body,
.empty-content {
height: 100%;
margin: 0;
}
.bg {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-image: url(./bg.jpg);
background-size: cover;
background-position: bottom;
}
.entrance-wrapper {
position: relative;
height: 50%;
background-color: rgba(255, 255, 255, 1);
}
.entrance-content .avatar {
width: 120px;
height: 120px;
left: calc(50% - 60px);
top: -60px;
border-radius: 50%;
position: relative;
box-shadow: 0px 0px 6px #dddddd;
}
.entrance-content .intro-text {
font-family: helvetica;
font-size: 1.5rem;
text-align: center;
margin-top: -1rem;
color: #333333;
}
.entrance-content .intro-text:hover {
opacity: .9;
}
.entrance-content .intro-text a {
text-decoration: none;
color: inherit;
}
</style>
</html>