2007-06-19 23:20:33 +04:00
|
|
|
@page {
|
|
|
|
size: a4 portrait;
|
|
|
|
margin: 20mm;
|
|
|
|
padding: 5mm 0;
|
|
|
|
border-top: thin solid black;
|
|
|
|
border-bottom: thin solid black;
|
|
|
|
@top-left {
|
|
|
|
font-size: 10pt;
|
|
|
|
vertical-align: bottom;
|
|
|
|
margin: 2mm
|
|
|
|
}
|
|
|
|
@top-right {
|
|
|
|
font-size: 10pt;
|
|
|
|
vertical-align: bottom;
|
|
|
|
margin: 2mm
|
|
|
|
}
|
|
|
|
@bottom {
|
|
|
|
font-size: 10pt;
|
|
|
|
content: counter(page);
|
|
|
|
vertical-align: top;
|
|
|
|
text-align: outside;
|
|
|
|
margin: 2mm
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@page :left {
|
|
|
|
@top-left {
|
|
|
|
content: "Doctrine Manual";
|
|
|
|
}
|
|
|
|
@top-right {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@page :right {
|
|
|
|
@top-right {
|
|
|
|
content: "Doctrine Manual";
|
|
|
|
}
|
|
|
|
@top-left {
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
2007-06-13 02:18:21 +04:00
|
|
|
font-family: "Arial", sans-serif;
|
|
|
|
font-size: 11pt;
|
2007-06-19 23:20:33 +04:00
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2007-06-13 02:18:21 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.chapter, #table-of-contents {
|
|
|
|
page-break-after: always;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-family: "Lucida Bright", serif;
|
2007-06-19 23:20:33 +04:00
|
|
|
page-break-after: avoid;
|
2007-06-13 02:18:21 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2007-06-19 23:20:33 +04:00
|
|
|
p, ul, ol, dl {
|
2007-06-13 02:18:21 +04:00
|
|
|
text-align: justify;
|
|
|
|
line-height: 1.2em;
|
2007-06-19 23:20:33 +04:00
|
|
|
hyphens: auto;
|
2007-06-13 02:18:21 +04:00
|
|
|
}
|
|
|
|
|
2007-06-19 23:20:33 +04:00
|
|
|
ul {
|
2007-06-13 02:18:21 +04:00
|
|
|
list-style-type: square;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre, tt {
|
|
|
|
font-family: "Bitstream Vera Sans Mono", monospace;
|
|
|
|
font-size: 10pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border: thin solid black;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
td, th {
|
|
|
|
border: thin solid black;
|
|
|
|
padding: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.expander {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
font: inherit;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
#table-of-contents {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.one-page#table-of-contents {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#table-of-contents ul {
|
|
|
|
list-style-type: none;
|
2007-06-19 23:20:33 +04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#table-of-contents ul, #table-of-contents li {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#table-of-contents ul ul {
|
|
|
|
margin-left: 1em;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* add page numbers to TOC */
|
|
|
|
|
|
|
|
#table-of-contents ul a::after {
|
|
|
|
content: leader('.') target-counter(attr(href), page);
|
2007-06-13 02:18:21 +04:00
|
|
|
}
|
|
|
|
|