54 lines
1.6 KiB
CSS
54 lines
1.6 KiB
CSS
/* Estilo de impresión del manual de usuario de recordaLexia. */
|
|
@page {
|
|
size: A4;
|
|
margin: 2cm 1.8cm;
|
|
@bottom-center { content: "recordaLexia · Manual de usuario"; font-size: 8pt; color: #9aa0ad; }
|
|
@bottom-right { content: counter(page) " / " counter(pages); font-size: 8pt; color: #9aa0ad; }
|
|
}
|
|
|
|
body {
|
|
font-family: "Nunito", "Helvetica Neue", Arial, sans-serif;
|
|
color: #2A3142;
|
|
font-size: 10.5pt;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-family: "Fredoka", "Nunito", Arial, sans-serif;
|
|
color: #2A3142;
|
|
line-height: 1.2;
|
|
}
|
|
h1 { font-size: 22pt; color: #5B8DEF; border-bottom: 3px solid #F2A65A; padding-bottom: 6px; }
|
|
h2 { font-size: 15pt; margin-top: 1.4em; border-left: 5px solid #A78BD0; padding-left: 10px; }
|
|
h3 { font-size: 12.5pt; color: #5B8DEF; margin-top: 1.1em; }
|
|
|
|
/* Cada sección de primer nivel (## n.) empieza en página nueva, salvo la primera. */
|
|
h2 { break-before: page; }
|
|
h2:first-of-type { break-before: avoid; }
|
|
|
|
img {
|
|
max-width: 78%;
|
|
display: block;
|
|
margin: 12px auto;
|
|
border: 1px solid #e6e8ee;
|
|
border-radius: 12px;
|
|
box-shadow: 0 2px 8px rgba(42,49,66,0.08);
|
|
}
|
|
|
|
blockquote {
|
|
background: #FFF6E0;
|
|
border-left: 4px solid #F4C95D;
|
|
margin: 12px 0;
|
|
padding: 8px 14px;
|
|
border-radius: 6px;
|
|
color: #5a4a1f;
|
|
}
|
|
|
|
table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 9.5pt; }
|
|
th, td { border: 1px solid #e0e3ea; padding: 6px 10px; text-align: left; }
|
|
th { background: #5B8DEF; color: #fff; }
|
|
tr:nth-child(even) td { background: #f6f8fc; }
|
|
|
|
code { background: #f0f2f6; padding: 1px 5px; border-radius: 4px; font-size: 9.5pt; }
|
|
a { color: #5B8DEF; text-decoration: none; }
|