1
0
mirror of synced 2024-12-15 23:56:02 +03:00
doctrine2/manual/new/styles/print.css

130 lines
1.7 KiB
CSS
Raw Normal View History

@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-08-02 00:17:49 +04:00
font-family: "Helvetica", "Arial", sans-serif;
2007-06-13 02:18:21 +04:00
font-size: 11pt;
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 {
page-break-after: avoid;
2007-06-13 02:18:21 +04:00
}
h1 {
text-align: center;
}
p, ul, ol, dl {
2007-06-13 02:18:21 +04:00
text-align: justify;
line-height: 1.2em;
hyphens: auto;
2007-06-13 02:18:21 +04:00
}
ul {
2007-06-13 02:18:21 +04:00
list-style-type: square;
}
2007-08-02 00:17:49 +04:00
tt {
2007-06-13 02:18:21 +04:00
font-family: "Bitstream Vera Sans Mono", monospace;
font-size: 10pt;
}
2007-08-02 00:17:49 +04:00
pre {
background-color: #eeeeee;
}
2007-06-13 02:18:21 +04:00
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;
}
2007-08-02 00:17:49 +04:00
#toc-toggles {
display: none;
2007-06-13 02:18:21 +04:00
}
#table-of-contents ul {
list-style-type: none;
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
}