2017-07-25 21:41:00 +00:00
|
|
|
@import 'variables.less';
|
2017-07-20 21:58:01 +00:00
|
|
|
@footerColor: #eee;
|
2017-07-18 23:19:50 +00:00
|
|
|
|
|
|
|
@media print {
|
|
|
|
|
2017-07-25 21:41:00 +00:00
|
|
|
/* These styles retain the existing typography in screen.less
|
|
|
|
In future (when deploying these styles) we may want to refactor skins.vector.styles
|
|
|
|
to apply certain styles in print as well as screen mode. */
|
|
|
|
#toc,
|
2017-07-24 23:46:46 +00:00
|
|
|
body.vector-experimental-print-styles {
|
|
|
|
padding: 10px;
|
2017-07-25 21:41:00 +00:00
|
|
|
font-family: @font-family-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.printfooter,
|
|
|
|
#footer,
|
|
|
|
// Tables, thumbs and lists are sans-serif in print mode (unlike screen mode) because these will render
|
|
|
|
// more legibly on print media in a smaller font sizes
|
|
|
|
.thumb,
|
|
|
|
table,
|
|
|
|
ol,
|
|
|
|
dl,
|
|
|
|
ul,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-family: @font-family-sans-serif;
|
2017-07-24 23:46:46 +00:00
|
|
|
}
|
|
|
|
|
2017-07-18 23:19:50 +00:00
|
|
|
.vector-experimental-print-styles {
|
|
|
|
|
|
|
|
// Normalize Blue links in the article
|
|
|
|
a {
|
|
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
.firstHeading {
|
|
|
|
font-size: 25pt;
|
|
|
|
line-height: 28pt;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Headings
|
|
|
|
.firstHeading,
|
|
|
|
h2 {
|
|
|
|
border-bottom: 2px solid @pureBlack;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
margin: 30px 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
padding: 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 18pt;
|
|
|
|
line-height: 24pt;
|
|
|
|
margin-bottom: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: 13pt;
|
|
|
|
line-height: 20pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
|
|
|
font-size: 10pt;
|
|
|
|
line-height: 15pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 10pt;
|
|
|
|
line-height: 16pt;
|
|
|
|
margin-top: 5px;
|
|
|
|
text-align: justify;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: 2px solid @pureBlack;
|
|
|
|
padding-left: 20px;
|
|
|
|
}
|
|
|
|
|
2017-07-25 22:02:33 +00:00
|
|
|
ol,
|
2017-07-18 23:19:50 +00:00
|
|
|
ul {
|
|
|
|
margin: 10px 0 0 1.6em;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding: 5px 0;
|
|
|
|
font-size: 10pt;
|
|
|
|
}
|
|
|
|
}
|
2017-07-20 19:23:52 +00:00
|
|
|
|
|
|
|
// Using #toc rather than .toc to override default print style
|
|
|
|
#toc {
|
|
|
|
page-break-before: always;
|
|
|
|
page-break-after: always;
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
a {
|
|
|
|
border: 0;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
> ul {
|
|
|
|
|
|
|
|
> li {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
> ul {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
margin: 0;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-left: 30px;
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding-left: 30px;
|
|
|
|
}
|
|
|
|
.tocnumber {
|
|
|
|
min-width: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li.toclevel-1 {
|
|
|
|
> a {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tocnumber {
|
|
|
|
padding-right: 0;
|
|
|
|
text-align: right;
|
|
|
|
margin-right: 30px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
2017-07-18 23:19:50 +00:00
|
|
|
}
|
2017-07-20 21:58:01 +00:00
|
|
|
|
|
|
|
.printfooter {
|
|
|
|
margin-top: 10px;
|
|
|
|
border-top: 3px solid @pureBlack;
|
|
|
|
padding-top: 10px;
|
|
|
|
font-size: 10pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
#footer {
|
|
|
|
margin-top: 12px;
|
|
|
|
border-top: 1px solid @footerColor;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#footer-info {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
color: @colorGray9;
|
|
|
|
list-style: none;
|
|
|
|
display: block;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
font-size: 10pt;
|
|
|
|
|
|
|
|
a {
|
|
|
|
// override default black print style.
|
|
|
|
color: @colorGray9 !important; /* stylelint-disable-line declaration-no-important */
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Last updated as primary info.
|
|
|
|
#footer-info-lastmod {
|
|
|
|
color: @pureBlack;
|
|
|
|
font-size: 12pt;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2017-07-18 23:19:50 +00:00
|
|
|
}
|