Browse Source

backup print.css

master
manetta 3 years ago
parent
commit
1cfb17f232
  1. 40
      command-line/css/print.css

40
command-line/css/print.css

@ -54,12 +54,6 @@ html, body{
/*size: 152mm 229mm;*/ /* Size listed in cover generator of Lightning Source */ /*size: 152mm 229mm;*/ /* Size listed in cover generator of Lightning Source */
size: 164mm 237mm; /* Size of the printed DB06 book */ size: 164mm 237mm; /* Size of the printed DB06 book */
@top-center{
content: string(sectiontitle);
font-size: 8pt;
text-transform: uppercase;
margin-top: 5mm;
}
@bottom-center{ @bottom-center{
content: counter(page); content: counter(page);
font-size: 9.5pt; font-size: 9.5pt;
@ -68,9 +62,23 @@ html, body{
} }
@page:right{ @page:right{
margin: 15mm 20mm 17mm 30mm; margin: 15mm 20mm 17mm 30mm;
@top-center{
content: string(contributiontitle);
font-size: 8pt;
text-transform: uppercase;
margin-top: 5mm;
}
} }
@page:left{ @page:left{
margin: 15mm 30mm 17mm 20mm; margin: 15mm 30mm 17mm 20mm;
@top-center{
content: string(sectiontitle);
font-size: 8pt;
text-transform: uppercase;
margin-top: 5mm;
}
} }
@page:first{ @page:first{
background-color: #b89ee6; background-color: #b89ee6;
@ -181,8 +189,10 @@ div.index{
div.introduction, div.introduction,
div.contribution{ div.contribution{
} }
/* author names */
div.contribution h2 + p > b{ div.contribution h2 + p > b{
font-weight: normal; font-weight: normal;
margin-left: var(--second-indent);
} }
ol.references, ol.references,
ul /* This is tricky as it has no class, so these styles are applied to ALL ul elements */{ ul /* This is tricky as it has no class, so these styles are applied to ALL ul elements */{
@ -245,8 +255,9 @@ h4{
page-break-after: avoid; page-break-after: avoid;
margin: 1em 0 0 var(--second-indent); margin: 1em 0 0 var(--second-indent);
hyphens: none; hyphens: none;
font-style: italic; /*font-style: italic;*/
font-weight: normal; font-weight: normal;
text-decoration: underline;
} }
h5, h6{ h5, h6{
margin: 0 0 1em 0; margin: 0 0 1em 0;
@ -269,8 +280,9 @@ p{
img{ img{
position: relative; position: relative;
display: block; display: block;
min-width: 100%; width: 115mm; /* estimation of the full text width */
height: auto; /*height: auto;*/
max-height: 220mm;
margin: 0 0 1em 0; margin: 0 0 1em 0;
} }
.thumb{ .thumb{
@ -299,6 +311,16 @@ table{
} }
sup{ sup{
line-height: 0; line-height: 0;
font-size: 7pt;
padding-left: 0.5mm;
}
canvas{
position: absolute;
top: -15mm; /* invert the main margin */
left: -30mm; /* invert the main margin */
border: 1px solid magenta;
width: 164mm;
height: 237mm;
} }
a, a,
a:visited, a:visited,

Loading…
Cancel
Save