blob: 9a6e1b831d63a76a5175fb78d13762044025c499 (
plain)
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title><%@ string/new_tab %></title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; user-scalable=0" />
<style type="text/css">
* {
padding: 0;
margin: 0;
}
body {
text-align: center;
margin: 0px auto;
padding: 0 8px 0 8px;
max-width: <%@ dimen/mv_max_width %>px;
}
h3 {
text-align: center;
margin: 5px 0 5px 0;
}
.thumbwrap li {
display: inline-block;
margin: 0 7px 12px 7px;
padding: 0;
}
@media all and (orientation:portrait) {
.thumbwrap li {
width: <%@ dimen/mv_item_width_portrait %>px;
}
}
@media all and (orientation:landscape) {
.thumbwrap li {
width: <%@ dimen/mv_item_width %>px;
}
}
.thumbwrap a {
display: block;
text-decoration: none;
color: #000;
}
.thumbwrap img {
border: <%@ dimen/mv_border_width %>px solid #e0e0e0;
border-radius: 5px;
width: 100%;
}
.thumbwrap .caption {
margin-top: 2px;
margin-left: 4px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
font-size: .8em;
text-align: left;
}
</style>
</head>
<body>
<h3><%@ string/tab_most_visited %></h3>
<ul class="thumbwrap">
<%{ most_visited %>
<li>
<a href="<%= url %>">
<img class="wrimg" src="<%= thumbnail %>" />
<span class="caption"><%= title %></span>
</a>
</li>
<%} most_visited %>
</ul>
</body>
</html>
|