Merge pull request #1089 from zachgersh/cobyism_style
Adds margin to code highlights. Tweaks colorscheme of notes.
This commit is contained in:
commit
a85f7c1cf2
|
@ -519,7 +519,7 @@ pre, code {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.highlight, p > pre, p > code, p > nobr > code, li > code {
|
.highlight, p > pre, p > code, p > nobr > code, li > code, h5 > code, .note > code {
|
||||||
background: #333;
|
background: #333;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
@ -528,6 +528,13 @@ pre, code {
|
||||||
0 -1px 0 rgba(0,0,0,.5);
|
0 -1px 0 rgba(0,0,0,.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.note code {
|
||||||
|
background-color: rgba(0,0,0,0.2);
|
||||||
|
margin-left: 2.5px;
|
||||||
|
margin-right: 2.5px;
|
||||||
|
font-size: 0.8em;
|
||||||
|
}
|
||||||
|
|
||||||
.highlight {
|
.highlight {
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
Loading…
Reference in New Issue