Truco para imprimir el logo en negro desde Google Chrome usando una imagen doble del logotpo en el mismo archivo

This commit is contained in:
Manuel Cillero 2018-12-10 02:49:39 +01:00
parent 494983367c
commit 3a4028bdbc
3 changed files with 10 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

View file

@ -12,7 +12,7 @@
* 6. MAIN-MENU * 6. MAIN-MENU
* 7. SIDEBAR * 7. SIDEBAR
* 8. FOOTER * 8. FOOTER
* 9. WIKI * 9. WIKI
* 10. FLASH MESSAGES * 10. FLASH MESSAGES
* 11. LOGIN FORM * 11. LOGIN FORM
* 12. TAGS * 12. TAGS
@ -27,7 +27,7 @@
* 21. OBJECTS * 21. OBJECTS
* 22. RESPONSIVE * 22. RESPONSIVE
* 23. SELECT2 * 23. SELECT2
* 24. PRINTING * 24. PRINTING
* *
* Based on Circle Theme by Kirill Bezrukov. * Based on Circle Theme by Kirill Bezrukov.
*/ */
@ -1587,7 +1587,7 @@ div.details { padding: 20px !important; }
@media print { @media print {
@page { @page {
size: A4; size: A4;
margin: 1cm; margin: 1.6cm 1cm;
} }
html, body { html, body {
margin: 0; margin: 0;
@ -1600,8 +1600,10 @@ div.details { padding: 20px !important; }
page-break-inside: avoid; page-break-inside: avoid;
} }
#wrapper3, #wrapper3,
#header,
#main, #main,
#header { #wrapper-main {
margin: 0;
background: #fff; background: #fff;
} }
#header { #header {
@ -1612,8 +1614,10 @@ div.details { padding: 20px !important; }
padding-left: 0; padding-left: 0;
} }
#wrapper-header { #wrapper-header {
background: url(../images/logo_print.png) no-repeat 0 0; margin: 0;
} background: #fff url(../images/logo.png) no-repeat 0 -100px;
}
#quick-search { #quick-search {
display: none; display: none;
} }