Refactor code block styles (#516)

* Refactor code block styles

Code block bg adopts to custom user bg color instead of using
hardcoded color, preserving original design as much as possible.

* Revert to linear-gradient(), exchange strip order

repeating-linear-gradient() doesn't generate necessary stripping near
code block borders
This commit is contained in:
Abel Cheung 2019-07-08 23:17:55 +08:00 committed by Dean Attali
parent 2f4147c008
commit 375e16d085
2 changed files with 29 additions and 28 deletions

View file

@ -59,8 +59,3 @@
.highlight .vg { color: #008080 } /* Name.Variable.Global */
.highlight .vi { color: #008080 } /* Name.Variable.Instance */
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
/* Make line numbers unselectable: excludes line numbers from copy-paste user ops */
.highlight .lineno {color:rgba(0,0,0,0.3);padding: 0 10px;-webkit-user-select: none;-moz-user-select: none; -o-user-select: none;}
.lineno::-moz-selection {background-color: transparent;} /* Mozilla specific */
.lineno::selection {background-color: transparent;} /* Other major browsers */