fix: remove unnecessary selector, fix inline code and other issues

This commit is contained in:
Oliver Eyton-Williams
2019-05-03 10:47:03 +02:00
committed by mrugesh mohapatra
parent 93e5554615
commit 1ca15d75b8

View File

@@ -2,28 +2,26 @@
font-size: 16px;
}
.challenge-instructions blockquote, .challenge-instructions pre, .challenge-instructions pre[class*="language-"] {
.challenge-instructions blockquote, .challenge-instructions pre {
background-color: #eee;
color: #c7254e;
padding: 10px 10px 10px 15px;
width: 100%;
margin: 0;
margin-bottom: 1.45rem;
font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono', 'Liberation Mono', Menlo, Courier, monospace;
font-family: monospace;
font-size: 16px;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
word-wrap: break-word;
border: unset;
}
.challenge-instructions code {
text-shadow: initial;
font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono', 'Liberation Mono', Menlo, Courier, monospace;
color: #c7254e;
}
.challenge-instructions pre code {
white-space: pre-wrap;
line-height: 1.42;
word-wrap: break-word;
line-height: 1.42857143;
text-shadow: initial;
font-family: monospace;
color: #c7254e;
}