forked from Nandaka/PixivUtil2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.html
More file actions
22 lines (22 loc) · 767 Bytes
/
template.html
File metadata and controls
22 lines (22 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html lang="ja">
<head>
<title>%artistName% - %imageTitle%</title>
<meta charset="utf-8">
<style type="text/css">
body{text-align:center;} div{overflow:auto; margin:auto; text-align:center;} h1{text-align:left;} h5{text-align:left;} p{text-align:left; padding-left:5%; padding-right:5%;} img{max-width:100%;} a{margin:auto;} .root{display:inline-block; padding:10px;} .non-article.root{position:fixed; height:85%; top:0px; bottom:15%; left:0px; right:0px;} .non-article.text{position:fixed; height:15%; bottom:0px; left:0px; right:0px;}
</style>
</head>
<body>
<div class="root">
%coverImage%
<div class="title">
<h1>%imageTitle%</h1>
<h5>%worksDate%</h5>
</div>
%body_text(article)%
%images(non-article)%
%text(non-article)%
</div>
</body>
</html>