1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #33371 from lanzhiheng/change-the-text-color-which-wrapped-by-code-tag

[ci skip] Change the text color which wrapped by code tag.
This commit is contained in:
Eileen M. Uchitelle 2018-07-23 15:14:28 -04:00 committed by GitHub
commit bd139a5940
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,13 @@ pre, code {
overflow: auto;
color: #222;
}
p code {
background: #eee;
border-radius: 2px;
padding: 1px 3px;
}
pre, tt, code {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
@ -632,7 +639,9 @@ div.code_container {
margin: 0.25em 0 1.5em 0;
}
.note code, .info code, .todo code {border:none; background: none; padding: 0;}
.note code, .info code, .todo code {
background: #fff;
}
#mainCol ul li {
list-style:none;