-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
159 lines (159 loc) · 4.16 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>OnlinePPT</title>
<style>
*, *:before, *:after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
background-color: #000;
height: 100%;
}
header {
position: relative;
padding: 220px 60px 20px 60px;
text-align: center;
color: #eee;
}
.container {
width: 800px;
margin: 0 auto;
}
.logo {
width: 160px;
height: 160px;
border: 5px solid #fff;
border-radius: 50%;
box-shadow: 0 0 5px 0 #fff;
background-color: #000;
position: absolute;
left: 50%;
top: 40px;
transform: translate3d(-50%, 0, 0);
padding: 60px 0;
}
.wrapper p {
padding: 20px 100px;
color: #999;
font-size: 14px;
border-bottom: 1px solid #eee;
text-align: center;
white-space: pre;
}
.wrapper {
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .3);
}
ul {
padding: 30px;
list-style: none;
}
li {
margin-bottom: 20px;
}
li:after {
display: block;
content: '';
visibility: hidden;
height: 0;
clear: both;
}
a {
position: relative;
display: inline-block;
color: #fff;
line-height: 1;
text-decoration: none;
border-radius: 12px;
cursor: pointer;
vertical-align: middle;
}
a.author {
width: 60px;
height: 60px;
margin-right: 40px;
border: 4px solid #fff;
font-size: 50px;
background: -moz-linear-gradient(hsl(200, 100%, 40%), hsl(200, 100%, 20%));
background: -webkit-gradient(linear, 0 0, 0 100%, from(hsl(200, 100%, 40%)), to(hsl(200, 100%, 20%)));
}
a.author span {
position: absolute;
left: 50%;
top: 50%;
transform: translate3d(-50%, -50%, 0);
}
a.content {
padding: 16px 24px;
font-size: 16px;
border: 4px solid #fff;
background: linear-gradient(to bottom, #cec5c3 0, #a39a9c 50%, #857981 51%, #797175 100%);
}
a.content .arrow:before {
content: '';
display: block;
width: 22px;
height: 14px;
background: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2263%22%20viewBox%3D%220%200%2024%2063%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M2.294%2039.046H24V33.22L12.737%2025.1H24v-9H12.737L24%207.975v-6.04l-21.706-.01v37.12z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M19.947-.072v6.567L2.365%2020.035H19.97v1.094H2.406L20.04%2034.59l-.047%204.504H-.03V-.072h19.977z%22%20fill%3D%22%230A0A0A%22%2F%3E%3Cpath%20d%3D%22M2.246%2042h21.882v5.74L12.564%2052l11.564%203.986V62H2.246V42z%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M.083%2041H20v4.29L2.483%2052%2020%2058.523V63H.083V41z%22%20fill%3D%22%230A0A0A%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E) -2px -4px no-repeat;
background-position: -2px -45px;
}
a.content .arrow {
content: '';
display: block;
position: absolute;
left: 0;
top: 50%;
width: 22px;
height: 14px;
transform: translate3d(-22px, -50%, 0);
background-size: 60px;
background: linear-gradient(to bottom, #cec5c3 0, #a39a9c 50%, #857981 51%, #797175 100%);
background-position: 0 -28px;
}
li:hover .icon {
transform: scale(1, 1);
}
.info-wrapper {
float: right;
transition: all .2s ease-out;
overflow: hidden;
}
.icon {
transform: scale(0, 0);
transform-origin: 50% 50%;
display: inline-block;
width: 32px;
height: 32px;
background-size: 100% 100%;
transition: all .2s ease-out;
}
.icon-github {
background-image: url('./tools/img/github.png');
}
.icon-weibo {
background-image: url('./tools/img/weibo.png');
}
</style>
</head>
<body>
<div class="container">
<header>
<h1 class="logo">
PPT
</h1>
</header>
<div class="wrapper">
<p>
This is a share online document.<br>
I just make it for fun:)
</p>
<ul id="list">
</ul>
</div>
</div>
</body>
<script src="./index.js"></script>
</html>