Skip to content

Commit 6c0e09c

Browse files
authored
Merge pull request #49287 from aireilly/add-print.css
adding print.css
2 parents 7437be1 + ade9434 commit 6c0e09c

File tree

2 files changed

+465
-141
lines changed

2 files changed

+465
-141
lines changed

_stylesheets/docs.css

Lines changed: 2 additions & 141 deletions
Original file line numberDiff line numberDiff line change
@@ -2580,145 +2580,6 @@ b.conum * {
25802580
display: none !important;
25812581
}
25822582

2583-
@media print {
2584-
@page {
2585-
margin: 1.25cm 0.75cm;
2586-
}
2587-
2588-
* {
2589-
-webkit-box-shadow: none !important;
2590-
box-shadow: none !important;
2591-
text-shadow: none !important;
2592-
}
2593-
2594-
a, a:visited {
2595-
color: inherit !important;
2596-
text-decoration: underline !important;
2597-
}
2598-
2599-
a[href^="http:"]:after, a[href^="https:"]:after {
2600-
content: " ("attr(href) ")";
2601-
}
2602-
2603-
a[href^="#"], a[href^="#"]:visited, a[href^="mailto:"], a[href^="mailto:"]:visited {
2604-
text-decoration: none !important;
2605-
}
2606-
2607-
abbr[title]:after {
2608-
content: " ("attr(title) ")";
2609-
}
2610-
2611-
pre, blockquote {
2612-
page-break-inside: avoid;
2613-
}
2614-
2615-
code {
2616-
color: #191919;
2617-
}
2618-
2619-
thead {
2620-
display: table-header-group;
2621-
}
2622-
2623-
tr, img {
2624-
page-break-inside: avoid;
2625-
}
2626-
2627-
img {
2628-
max-width: 100% !important;
2629-
}
2630-
2631-
p {
2632-
orphans: 3;
2633-
widows: 3;
2634-
}
2635-
2636-
h2, h3, #toctitle, .sidebarblock>.content>.title, #toctitle, .sidebarblock>.content>.title {
2637-
page-break-after: avoid;
2638-
}
2639-
2640-
#toc, .sidebarblock {
2641-
background: none !important;
2642-
}
2643-
2644-
#toc {
2645-
border-bottom: 1px solid #d8d8d8 !important;
2646-
padding-bottom: 0 !important;
2647-
}
2648-
2649-
#toc {
2650-
display: none !important;
2651-
}
2652-
2653-
.clipboard-button-container {
2654-
display: none !important;
2655-
}
2656-
2657-
.open-btn-sm {
2658-
display: none !important;
2659-
}
2660-
2661-
.sect1 {
2662-
padding-bottom: 0 !important;
2663-
}
2664-
2665-
.sect1+.sect1 {
2666-
border: none !important;
2667-
}
2668-
2669-
body.book #header {
2670-
text-align: center;
2671-
}
2672-
2673-
body.book #header>h1 {
2674-
border: none !important;
2675-
margin: 2.5em 0 1em 0;
2676-
padding: 0;
2677-
}
2678-
2679-
body.book #header span {
2680-
line-height: 1.6;
2681-
}
2682-
2683-
body.book #header br {
2684-
display: block;
2685-
}
2686-
2687-
body.book #header br+span {
2688-
padding-left: 0;
2689-
}
2690-
2691-
body.book #header br+span:before {
2692-
content: none !important;
2693-
}
2694-
2695-
body.book #toc {
2696-
border: none !important;
2697-
text-align: left !important;
2698-
padding: 0 !important;
2699-
}
2700-
2701-
#footer {
2702-
background: none !important;
2703-
}
2704-
2705-
#footer-text {
2706-
color: #333333 !important;
2707-
}
2708-
2709-
.hide-on-print {
2710-
display: none !important;
2711-
}
2712-
2713-
.print-only {
2714-
display: block !important;
2715-
}
2716-
2717-
.hide-for-print {
2718-
display: none !important;
2719-
}
2720-
2721-
.show-for-print {
2722-
display: inherit !important;
2723-
}
2583+
.print-logo {
2584+
display: none;
27242585
}

0 commit comments

Comments
 (0)