P.help / src /index.css
Momoxiao111's picture
feat: init patent assistant for HF Spaces
91cc354
Raw History Blame Contribute Delete
1.06 kB
@import "tailwindcss";
@media print {
/* Hide every part of the web application */
body * {
visibility: hidden;
}
/* Make sure our target report module and its children are visible */
#self-review-report-module,
#self-review-report-module * {
visibility: visible;
}
/* Absolute position at top-left of printable page, clear layouts, take full width */
#self-review-report-module {
position: absolute;
left: 0;
top: 0;
width: 100% !important;
max-width: 100% !important;
margin: 0 !important;
padding: 20px !important;
border: none !important;
box-shadow: none !important;
background: white !important;
overflow: visible !important;
}
/* Ensure backgrounds and graphics are printed */
body {
-webkit-print-color-adjust: exact !important;
print-color-adjust: exact !important;
background-color: white !important;
color: black !important;
}
/* Force page breaks on major sections if they get long */
.page-break {
page-break-before: always;
}
}