forked from 0x2620/oxjs
some improvements to syntax highlighter
This commit is contained in:
parent
0b629a1b40
commit
30ebbee085
5 changed files with 76 additions and 64 deletions
|
|
@ -1455,23 +1455,24 @@ SyntaxHightlighter
|
|||
*/
|
||||
|
||||
.OxSyntaxHighlighter > div {
|
||||
display: table-cell;
|
||||
padding: 4px;
|
||||
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
|
||||
//line-height: 14px;
|
||||
}
|
||||
.OxSyntaxHighlighter > .OxLineNumbers {
|
||||
padding: 4px;
|
||||
text-align: right;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.OxSyntaxHighlighter > .OxSourceCode {
|
||||
padding: 4px;
|
||||
white-space: nowrap;
|
||||
-moz-user-select: text;
|
||||
-webkit-user-select: text;
|
||||
}
|
||||
.OxSyntaxHighlighter > .OxSourceCode .OxLinebreak {
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
//-moz-user-select: none;
|
||||
//-webkit-user-select: none;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue