forked from 0x2620/oxjs
Ox.tokenize, Ox.SyntaxHighlighter (+demo)
This commit is contained in:
parent
ee9f698b29
commit
74b9a25387
8 changed files with 632 additions and 0 deletions
|
|
@ -1437,6 +1437,34 @@ Scrollbars
|
|||
-webkit-border-radius: 6px;
|
||||
}
|
||||
|
||||
/*
|
||||
================================================================================
|
||||
SyntaxHightlighter
|
||||
================================================================================
|
||||
*/
|
||||
|
||||
.OxSyntaxHighlighter {
|
||||
position: absolute;
|
||||
overflow: auto;
|
||||
}
|
||||
.OxSyntaxHighlighter > div {
|
||||
position: absolute;
|
||||
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
|
||||
line-height: 14px;
|
||||
}
|
||||
.OxSyntaxHighlighter > .OxLineNumbers {
|
||||
text-align: right;
|
||||
}
|
||||
.OxSyntaxHighlighter > .OxSourceCode {
|
||||
//display: table-cell;
|
||||
-moz-user-select: text;
|
||||
-webkit-user-select: text;
|
||||
}
|
||||
.OxSyntaxHighlighter > .OxSourceCode .OxLinebreak {
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
||||
/*
|
||||
================================================================================
|
||||
Video
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue