Buenos días. Desde hace tiempo he seguido este hilo y os agradezco a todos los que habéis publicado algún archivo css, de los cuales me he estado aprovechando :P . El último que he probado es el que publicó jotas el 08 Oct, 2009 - 20:43, y la verdad es que el texto queda muy bien (utilizo el último firmware de grammata, y le he puesto la fuente Palatino Linotype). A partir de ahí, y dejando de lado el tema de hyphenation (No, no he conseguido que funcione), le he incluido comandos para regular la separación entre las letras de cada palabra (según el tipo de letra, salen más juntas que en otras), y la separación entre palabras. Os lo dejo para que veáis si os gusta (es poca aportación, pero a mí personalmente me ha parecido interesante porque después de verlo con la Palatino y cambiar a la DejaVu, la sensación de aglomeración de fuentes es bestial)
Código:
title {
color: #C00;
background-color: inherit;
text-align: center;
text-indent: 0px;
font-size: 140%;
font-weight: bold;
margin-top: 0.2em;
margin-bottom: 0.1em;
font-family: sans-serif,serif;
page-break-before: always;
page-break-inside: avoid;
page-break-after: avoid;
}
subtitle {
color: #800;
background-color: inherit;
text-align: center;
text-indent: 0px;
font-size: 125%;
font-weight: bold;
font-style: italic;
margin-top: 6px;
margin-bottom: 3px;
}
body {
text-align: justify;
text-indent: 40px;
font-size: 100%;
font-weight: normal;
font-style: normal;
margin-left: 0cm;
margin-right: 0cm;
letter-spacing: 2px;
word-spacing:2px;
}
a { text-decoration: underline; color: blue; background-color: inherit; }
cite {
font-size: 90%;
font-style: italic;
margin-left: 5%;
margin-right: 5%;
text-align: justify;
margin-top: 20px;
margin-bottom: 20px;
font-family: sans-serif,serif;
}
body[name="notes"] { font-size: 85%; }
body[name="notes"] > section > title {
display: run-in;
text-align: left;
font-size: 90%;
font-weight: bold;
page-break-before: auto;
page-break-inside: auto;
page-break-after: auto;
}
body[name="notes"] > section > title > p { display: inline }
h1 { text-align: center;
text-indent: 0px;
font-size: 115%;
}
h2 { text-align: center;
text-indent: 0px;
font-size: 105%;
}
h3 { text-align: center;
text-indent: 0px;
font-size: 100%;
}
h4 { text-align: center;
text-indent: 0px;
font-size: 95%;
}
h5 { text-align: center;
text-indent: 0px;
font-size: 90%;
}
a[type="note"] {
vertical-align: super;
font-size: 85%;
text-decoration: none;
}
epigraph {
margin-left: 25%;
text-align: left;
text-indent: 1px;
font-family: sans-serif,serif;
font-style: italic;
margin-top: 15px;
margin-bottom: 25px
}
text-author {
font-weight: bold;
font-style: italic;
margin-left: 5%;
}
poem {
margin-top: 1em;
margin-bottom: 1em;
text-indent: 0px;
}
code, pre {
display: block;
white-space: pre;
font-family: "Courier New", "Courier", monospace;
}
annotation {
margin-left: 5%;
margin-right: 5%;
font-size: 80%;
font-style: italic;
text-align: justify;
text-indent: 2em
}
stanza {
margin-left: 30%;
text-align: left;
font-family: sans-serif,serif;
font-style: italic;
}
stanza + stanza { margin-top: 1em; }
p { margin-top:0em; margin-bottom:0.3em }
p + p { margin-top:0.0em;}
empty-line { height: 1em; }
image { text-align: center; text-indent: 0px;}
sub { vertical-align: sub; font-size: 85% }
sup { vertical-align: super; font-size: 85% }
strong { font-weight: bold ; font-size: 98% }
emphasis { font-style: italic }
description { display: block; }
title-info { display: block; }
genre { display: none; }
author { display: none; }
book-title { display: none; }
keywords { display: none; }
date {
display: block;
font-size: 80%;
font-style: italic;
text-align: center;
}
lang { display: none; }
src-lang { display: none; }
translator { display: none; }
document-info { display: none; }
publish-info { display: none; }
custom-info { display: none; }
coverpage { display: none }
Sé que podría desactivar la hyphenation pasándome al firmware de Lbook, pero me gusta más el firmware de grammata por la apariencia en los menús, y porque el de Lbook tarda mucho en salir del FB2 por el tema de la reconstrucción interna del índice del libro o algo así.