Skip to content

Text in code block unreadable when printed #1068

Description

@Rijswijker

Describe the bug
When a page is printed the text in the code block section is almost unreadable due shadow.

To Reproduce
Put a text in a code block and click on the printer icon and print to paper or pdf

Expected behavior
Black or color coded text without shadow

Screenshots
2019-09-27_14-19-30

CSS override does not help, the override is ignored

code[class*=language-],
pre[class*=language-] {
	color: #fff;
	background: 0 0;
	font-family: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace;
	font-size: 1em;
	text-align: left;
	text-shadow: none;     <-------- CHANGED VALUE
	white-space: pre;
	word-spacing: normal;
	word-break: normal;
	word-wrap: normal;
	line-height: 1.5;
	-moz-tab-size: 4;
	-o-tab-size: 4;
	tab-size: 4;
	-webkit-hyphens: none;
	-ms-hyphens: none;
	hyphens: none
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions