View Single Post
Old 02-09-2024, 12:55 PM   #3
tgiladi
Enthusiast
tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.tgiladi can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
Posts: 35
Karma: 30486
Join Date: Dec 2023
Device: Kindle Oasis
Thanks for your suggestion. Here's the code of my jacket.xhtml. The book and it's metadata are in Hebrew, which is written from right to left, that's why I am using dir="RTL".
The parts of the code which I changed are in the first table, where I removed the word "Tags" and centered the remaining text. And of course, below the book comments section, I added a table with the author's name and information about the author.
When this book is opened in Calibre/Sigil or any e-reading app, it shows just fine. But as I wrote earlier, on Kindle the picture becomes tiny and the tables show an expand button for some reason.

Spoiler:


<?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">
<head>
<title>בארץ הרובוטים</title>
<meta name="calibre-content" content="jacket"/>
<style type="text/css">


.cbj_banner {
background: #eee;
color: black;
border: thin solid black;
margin: 1em;
padding: 1em;
border-radius:8px;
}


table.cbj_header td.cbj_title {
font-size: 1.5em;
font-style: italic;
text-align: center;
}


table.cbj_header td.cbj_series {
text-align: center;
}


table.cbj_header td.cbj_author {
text-align: center;
}


table.cbj_header td.cbj_pubdata {
text-align: center;
}


table.cbj_header {
width: 100%;
}


table.cbj_header td.cbj_label {
font-family: sans-serif;
text-align: right;
width: 33%;
}


table.cbj_header td.cbj_content {
font-family: sans-serif;
text-align: left;
width:67%;
}


hr.metadata_divider {
width:90%;
margin-left:5%;
border-top: solid white 0px;
border-right: solid white 0px;
border-bottom: solid black 1px;
border-left: solid white 0px;
}

















hr {

border-top: 0px solid white;
border-right: 0px solid white;
border-bottom: 2px solid black;
border-left: 0px solid white;
margin-left: 10%;
width: 80%;
}

.cbj_footer {
font-family: sans-serif;
font-size: 0.8em;
margin-top: 8px;
text-align: center;
}

.cbj_comments {
font-family: sans-serif;
}
</style>
</head>

<body>
<div class="cbj_banner"><table class="cbj_header" style="text-align: center;">

<tbody>

<tr>
<td class="cbj_title" colspan="2"><span class="title">בארץ הרובוטים</span></td>
</tr>

<tr>


</tr>

<tr>
<td class="cbj_author" colspan="2">אייזיק אסימוב</td>
</tr>

<tr>
<td class="cbj_pubdata" colspan="2">מסדה (ינואר 1975)</td>
</tr>

<tr>
<td class="cbj_author" colspan="2"><hr class="metadata_divider"/>
</td>
</tr>
</tbody>

</table>
<span style="text-align: center;"><p style="text-align: center;">מד"ב ופנטזיה, פרוזה תרגום</p></span><div class="cbj_footer"></div>

</div>

<div class="cbj_comments">

<div>

<p align="right" dir="rtl">בארץ הרובוטים*(באנגלית:*The Rest of the Robots) הוא קובץ של שמונה*סיפורי*מדע בדיוני*שנכתבו על ידי*אייזיק אסימוב*וקובצו יחד ב-1964. בחלק מהמהדורות באנגלית הקובץ כלל גם את הספרים*מערות הפלדה*ושמש עירומה. הספר תורגם לעברית*על ידי*הוצאת מסדה*ב-1975. הסיפורים בקובץ זה עוסקים ברובם ברובוטים*פוזיטרונים*הכפופים לשלושת חוקי הרובוטיקה, וקשורים לסדרת הרובוטים*של אסימוב.</p>
<p align="center" >* * *</p>
<table align="right" dir="rtl">
<tbody>
<tr>
<td valign="top"><img alt="אייזק אסימוב - Isaac Asimov" src="אייזק%20אסימוב%20-%20Isaac%20Asimov.jpg"/></td>
<td style="width:1%"></td>
<td valign="top">אייזק אסימוב (רוסית: Айзек Азимов; אנגלית: Isaac Asimov‏; 2 בינואר 1920- 6 באפריל 1992) היה ביוכימאי וסופר יהודי אמריקאי, יליד ברית המועצות. במשך שנות פעילותו כתב למעלה מ־500 ספרים בתחומים שונים, אולם את עיקר פרסומו קנה ככותב ספרי מדע בדיוני. כמחווה לפועלו נקרא אסטרואיד על שמו (5020 Asimov). זכה בפרסי הוגו ונבולה פעמים אחדות, כמו גם פרסים נוספים ו-14 תוארי דוקטור לשם כבוד. ב-1987 היה הסופר השמיני שזכה בפרס ה"גרנד מאסטר" (הקרוי החל מ-2002 פרס דיימון נייט), פרס מפעל חיים המחולק לסופר מדע בדיוני אחד, פעם בשנה, לצדו של טקס חלוקת פרס נבולה.</td>
<td style="width:2%"></td>
</tr>
</tbody>
</table>
</div>

</div>
</body>
</html>

Last edited by BetterRed; 02-09-2024 at 04:53 PM. Reason: add spoiler tags
tgiladi is offline   Reply With Quote