mirror of
https://github.com/celogeek/go-comic-converter.git
synced 2025-06-23 21:59:57 +02:00
Merge 48816aee2d1b00f746eb9e48a18396fd88b7f222 into bf172e0d78fa08060176fd0014499692230200ba
This commit is contained in:
commit
63e53bf6f6
internal/epub/templates
@ -6,8 +6,6 @@
|
||||
body {
|
||||
color: #{{ .View.Color.Foreground }};
|
||||
background: #{{ .View.Color.Background }};
|
||||
width: {{ .View.Width }}px;
|
||||
height: {{ .View.Height }}px;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
@ -23,4 +21,6 @@ div {
|
||||
img {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: {{ .View.Width }}px;
|
||||
height: {{ .View.Height }}px;
|
||||
}
|
@ -8,8 +8,8 @@
|
||||
<meta name="viewport" content="{{ .ViewPort }}"/>
|
||||
</head>
|
||||
<body>
|
||||
<div style="top:{{ .Image.Top }}%">
|
||||
<img src="../{{ .Image.Path }}" alt="{{ .Title }}" width="{{ .Image.Width }}" height="{{ .Image.Height }}"/>
|
||||
<div >
|
||||
<img src="../{{ .Image.Path }}" alt="{{ .Title }}" width="{{ .Image.Width }}" height="{{ .Image.Height }}" />
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user