-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.page
103 lines (86 loc) · 2.41 KB
/
template.page
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>专治脖子</title>
</head>
<style type="text/css">
body {
font-family: "Hiragino Sans GB","Microsoft YaHei",Arial,sans-serif;
font-size: 14px;
color: #503e2c;
background-color: #ece5d8;
padding-top: 0;
width: 600px;
margin-left: auto;
margin-right: auto;
margin-bottom: auto;
margin-top: auto;
height: 100%;
}
div {
display: block;
}
img {
border: 0;
}
.block {
border-radius: 2px;
background: white;
float: relative;
}
.author {
font-size: 16px;
line-height: 100%;
color: #9b8878;
text-decoration: none;
}
.article {
font-size: 20px;
word-break: break-all;
line-height: 160%;
}
.thumb {
margin: 10px 0;
}
.blank {
padding-left: 20px;
padding-top: 10px;
padding-right: 20px;
padding-bottom: 10px;
position: relative;
}
.right {
transform: rotate(90deg) translate(50%, -50%);
-ms-transform: rotate(90deg) translate(50%, -50%);
-moz-transform: rotate(90deg) translate(50%, -50%);
-webkit-transform: rotate(90deg) translate(50%, -50%);
transform-origin: center top 0px;
-ms-transform-origin: center top 0px;
-moz-transform-origin: center top 0px;
-webkit-transform-origin: center top 0px;
}
.left {
transform: rotate(-90deg) translate(-50%, -50%);
-ms-transform: rotate(-90deg) translate(-50%, -50%);
-moz-transform: rotate(-90deg) translate(-50%, -50%);
-webkit-transform: rotate(-90deg) translate(-50%, -50%);
transform-origin: center top 0px;
-ms-transform-origin: center top 0px;
-moz-transform-origin: center top 0px;
-webkit-transform-origin: center top 0px;
}
</style>
<body>
<div id="main" class="block TAG_DIRECTION" onclick="change()">
<div class="author blank">TAG_AUTHOR</div>
<div class="article blank">TAG_CONTENT</div>
<div class="thumb blank"><img src="TAG_PICTURE"></div>
</div>
<script type="text/javascript">
function change() {
location.replace("http://TAG_DST_DOMAIN/TAG_IDX.html");
}
</script>
</body>
</html>