Hi Guys,
What do you think, it is possible to set up custom pdf export style for only one page in space pdf style sheet if the space already has a custom style set?
Code for the whole space:
body,p,li,td,table,tr,.bodytext,.stepfield
{
font-size: 10pt;
/* was 8 */
/*line-height: 1.1;*/
color: #000;
font-weight: normal;
}
.print-only
{
display: none;
}
.monospaceInput
{
font: 12pt monospace;
/* was 10 */
}
h1
{
font-size: 28px;
/* was 26 */
margin: 36px 0 4px 0;
text-align:center;
}
h2
{
font-size: 24px;
/* was 20 */
margin: 27px 0 4px 0;
}
h3
{
font-size: 22px;
/* was 18 */
margin: 21px 0 4px 0;
}
h4
{
font-size: 20px;
/* was 16 */
margin: 18px 0 4px 0;
}
h5
{
font-size: 17px;
/* was 14 */
margin: 14px 0 4px 0;
}
h6
{
font-size: 12px;
margin: 14px 0 4px 0;
display: block;
}
h7
{
font-size: 12px;
margin: 14px 0 4px 0;
display: block;
font-style: italic;
}
h8
{
font-size: 12px;
/* was 8 */
margin: 14px 0 4px 0;
display: block;
}
h9
{
font-size: 12px;
/* was 10 */
font-style: italic;
margin: 14px 0 4px 0;
display: block;
}
/* block quote */
blockquote
{
font-style: italic;
border-left-width: 1px;
border-left-style: solid;
padding: 0 20px;
margin: 10px 20px;
}
div.small
{
font-size: 10px;
/* was 9 */
}
h1.pagetitle
{
page-break-before: always;
}
h1.pagename
{
margin-top: 0;
}
.panelMacro td
{
font-size: 1em;
padding: 14px 7px;
}
.panelContent
{
color:#000000;
font-size:0.95em;
margin:0;
padding:0 12px;
text-align:left;
}
.code, .preformatted
{
background-color:#FFFFFF;
}
.preformattedHeader, .codeContent, .preformattedContent
{
background:#FFFFFF none repeat scroll 0 0;
}
.code pre, .preformatted pre
{
font-family:"Courier New",Courier,monospace;
line-height:1.3;
}
pre
{
margin:10px 0;
overflow:auto;
padding:0;
text-align:left;
page-break-inside: avoid;
}
.code
{
border-style:dashed;
border-width:1px;
overflow:auto;
page-break-inside: avoid;
}
@page
{
/*The A4 paper size is 210 mm wide by 297mm long*/
size: 210mm 297mm;
font-size: 10pt;
padding-top: 100px ;
padding-bottom: 100px;
background-image: url('https://confluence.giganet.hu/download/attachments/327739/bg1.jpg?api=v2');
background-repeat: no-repeat;
background-position: bottom right; /*adapt position to your liking*/
@bottom-center
{
content: "Oldal " counter(page);
font-family: ConfluenceInstalledFont, Helvetica, Arial, sans-serif;
font-size: 10pt;
}
}
Code for the single page in the style sheet (how can add this to the one above without crash? Is there any page ID somewhere?)
@page
{
/*A4-sized pages in landscape orientation are 297 mm wide by 210 mm long*/
size: 297mm 210mm;
margin: 0mm;
}
body {
font-family:
font-size: 14px;
}
.wiki-content b,
Thanks in advance!
Robert