fix: Make code blocks look more conventional
This commit is contained in:
committed by
mrugesh mohapatra
parent
1ca15d75b8
commit
0e24bffe22
@ -44,8 +44,8 @@
|
||||
|
||||
.night .challenge-instructions pre,
|
||||
.night .challenge-instructions pre code {
|
||||
color: #c7254e;
|
||||
background: #222;
|
||||
background-color: #242424;
|
||||
color: #02a902;
|
||||
}
|
||||
|
||||
.night code {
|
||||
|
@ -2,7 +2,8 @@
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.challenge-instructions blockquote, .challenge-instructions pre {
|
||||
.challenge-instructions blockquote,
|
||||
.challenge-instructions pre {
|
||||
background-color: #eee;
|
||||
color: #c7254e;
|
||||
padding: 10px 10px 10px 15px;
|
||||
@ -11,17 +12,12 @@
|
||||
margin-bottom: 1.45rem;
|
||||
font-family: monospace;
|
||||
font-size: 16px;
|
||||
word-spacing: normal;
|
||||
word-break: normal;
|
||||
word-wrap: break-word;
|
||||
border: unset;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.challenge-instructions pre code {
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
line-height: 1.42857143;
|
||||
text-shadow: initial;
|
||||
font-family: monospace;
|
||||
line-height: 1.42;
|
||||
text-shadow: none;
|
||||
font-family: 'SFMono-Regular', Consolas, 'Roboto Mono', 'Droid Sans Mono', 'Liberation Mono', Menlo, Courier, monospace;
|
||||
color: #c7254e;
|
||||
}
|
||||
|
Reference in New Issue
Block a user