1
0
Fork 0
mirror of https://github.com/lise-henry/crowbook synced 2024-06-07 15:46:15 +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"?> <?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"> <!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> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Style-Type" content="text/css" />
@ -10,7 +10,7 @@
</head> </head>
<body> <body>
<div id="cover"> <div id="cover">
<img src="{{{cover}}}" alt="{{{loc_cover}}}" /> <img src="{{cover}}" alt="{{loc_cover}}" />
</div> </div>
</body> </body>
</html> </html>

View File

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

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <!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> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Style-Type" content="text/css" />
@ -8,9 +8,9 @@
<title>{{chapter_title_raw}}</title> <title>{{chapter_title_raw}}</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" /> <link rel="stylesheet" type="text/css" href="stylesheet.css" />
</head> </head>
<body xml:lang="{{{lang}}}" lang="{{{lang}}}"> <body xml:lang="{{lang}}" lang="{{lang}}">
<div id = "page"> <div id = "page">
{{{content}}} {{content}}
</div> </div>
</body> </body>
</html> </html>

View File

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