1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-05-13 19:56:03 +02:00

Update epub/ templates

This commit is contained in:
Lise Henry 2023-08-09 19:59:18 +02:00
parent ee8f84d13b
commit 6e211925e8
4 changed files with 12 additions and 12 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{{lang}}}">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{lang}}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
@ -10,7 +10,7 @@
</head>
<body>
<div id="cover">
<img src="{{{cover}}}" alt="{{{loc_cover}}}" />
<img src="{{cover}}" alt="{{loc_cover}}" />
</div>
</body>
</html>

View File

@ -188,13 +188,13 @@ table.notes tr td p {
font-variant: small-caps;
}
{{#lang_fr}}
{% if lang_fr %}
/* Make list displays '' instead of bullets */
ul li {
list-style-type: '';
padding-left: .5em;
}
{{/lang_fr}}
{% endif %}
span.initial {
float: left;
@ -217,4 +217,4 @@ p.first-para {
padding: 0;
}
{{{additional_code}}}
{{additional_code}}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{{lang}}}" lang="{{{lang}}}">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{lang}}" lang="{{lang}}">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
@ -8,9 +8,9 @@
<title>{{chapter_title_raw}}</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
</head>
<body xml:lang="{{{lang}}}" lang="{{{lang}}}">
<body xml:lang="{{lang}}" lang="{{lang}}">
<div id = "page">
{{{content}}}
{{content}}
</div>
</body>
</html>

View File

@ -9,12 +9,12 @@
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
</head>
<body>
<h2 class="author">{{{author}}}</h2>
<h1 class="title">{{{title}}}</h1>
{{#has_subtitle}}<h2 class="subtitle">{{{subtitle}}}</h2>{{/has_subtitle}}
<h2 class="author">{{author}}</h2>
<h1 class="title">{{title}}</h1>
{{#has_subtitle}}<h2 class="subtitle">{{subtitle}}</h2>{{/has_subtitle}}
{{#has_autograph}}
<div id = "autograph">
{{{autograph}}}
{{autograph}}
</div>
{{/has_autograph}}
</body>