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

Change the background color which wrapped by code tag. [ci skip]

This commit is contained in:
lanzhiheng 2018-07-16 20:13:59 +08:00
parent 08813dd62a
commit 6ad58676ec

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;