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: 164mm 237mm; /* Size of the printed DB06 book */
@top-center{
content: string(sectiontitle);
font-size: 8pt;
text-transform: uppercase;
margin-top: 5mm;
}
@bottom-center{
content: counter(page);
font-size: 9.5pt;
@ -68,9 +62,23 @@ html, body{
}
@page:right{
margin: 15mm 20mm 17mm 30mm;
@top-center{
content: string(contributiontitle);
font-size: 8pt;
text-transform: uppercase;
margin-top: 5mm;
}
}
@page:left{
margin: 15mm 30mm 17mm 20mm;
@top-center{
content: string(sectiontitle);
font-size: 8pt;
text-transform: uppercase;
margin-top: 5mm;
}
}
@page:first{
background-color: #b89ee6;
@ -181,8 +189,10 @@ div.index{
div.introduction,
div.contribution{
}
/* author names */
div.contribution h2 + p > b{
font-weight: normal;
margin-left: var(--second-indent);
}
ol.references,
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;
margin: 1em 0 0 var(--second-indent);
hyphens: none;
font-style: italic;
/*font-style: italic;*/
font-weight: normal;
text-decoration: underline;
}
h5, h6{
margin: 0 0 1em 0;
@ -269,8 +280,9 @@ p{
img{
position: relative;
display: block;
min-width: 100%;
height: auto;
width: 115mm; /* estimation of the full text width */
/*height: auto;*/
max-height: 220mm;
margin: 0 0 1em 0;
}
.thumb{
@ -299,6 +311,16 @@ table{
}
sup{
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:visited,

Loading…
Cancel
Save