wiki:fix_css_sendpdf

Version 1 (modified by Domenico De Zio, 10 years ago) ( diff )

--

fix della visualizzazione del print css - collective.sendaspdf

Nella creazione del pdf, generato dalle pagine plone, c'é un problema di visualizzazione dei tag html "h*", in quanto risultano "accorpati :)".

Come fixare il problema:

  • creare un file .css nella custom
  • registrarlo nel portal_css,
    • important!: specificare media:print
  • inserire il seguente codice nel file .css
body {
  font-family:"Times New Roman", Times, serif;
  font-size: 60%;
}

.documentFirstHeading {
  font-size: 2em;
  font-weight: bold;
} 

h1 {
  font-size: 2em;
  font-weight: bold;
  letter-spacing:-0.05em;
}

h2 {
  font-size: 1,75em;
  font-weight: bold;
}

h3 {
  font-size: 1,25em;
  font-weight: bold;
}

h4 {
  font-size: 1,25em;
  font-weight: bold;
}

h5 {
  font-size: 1em;
  font-weight: bold;
}

h6 {
  font-size: 0,8em;
  font-weight: bold;
}
Note: See TracWiki for help on using the wiki.