mediawiki-skins-Citizen/resources/skins.citizen.styles/common/print.less

76 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-07-14 21:43:34 +00:00
@page {
margin: 1cm;
}
:root {
--font-size-base: 12pt;
&.citizen-feature-custom-font-size-clientpref-small {
--font-size-base: 11pt;
}
&.citizen-feature-custom-font-size-clientpref-large {
--font-size-base: 13pt;
}
2024-07-14 21:43:34 +00:00
}
// Hide unnessecary elements for printing
.noprint,
.citizen-header,
.citizen-sitenotice-container,
2021-03-07 18:11:15 +00:00
.page-actions,
2024-07-14 21:43:34 +00:00
#citizen-page-header-sticky-sentinel,
#citizen-page-header-sticky-placeholder,
.citizen-page-footer,
2024-07-14 21:43:34 +00:00
.citizen-page-sidebar,
2023-02-28 21:58:35 +00:00
#footer-desc,
2021-03-07 19:03:10 +00:00
#footer-places,
2024-07-14 21:43:34 +00:00
.citizen-overflow-nav {
2021-03-07 18:11:15 +00:00
display: none;
2019-12-02 21:55:35 +00:00
}
2021-03-07 18:11:15 +00:00
a {
color: #000;
border-bottom: 1px solid #aaa;
2019-12-02 21:55:35 +00:00
}
2024-07-14 21:43:34 +00:00
table,
img,
svg {
2024-07-14 21:43:34 +00:00
break-inside: avoid;
2019-12-02 22:33:39 +00:00
}
2024-07-14 21:43:34 +00:00
/* HACK: Move footer to the top */
.citizen-page-container {
display: flex;
flex-direction: column;
}
.citizen-footer {
order: -1;
padding-top: var( --space-md );
padding-bottom: var( --space-md );
margin-bottom: var( --space-md );
border-bottom: 1px solid #aaa;
}
.citizen-footer__container {
display: flex;
align-items: center;
justify-content: space-between;
}
#footer-tagline {
font-size: 9pt;
}
#firstHeading {
margin: 0;
2019-12-02 22:23:19 +00:00
}
2023-02-28 21:58:35 +00:00
.printfooter {
2024-07-14 21:43:34 +00:00
margin-top: 1em;
font-size: 9pt;
border-top: 1px solid #aaa;
2019-12-02 22:41:41 +00:00
}