forked from 0x2620/oxjs
better layout for documentation pages, use syntax highlighter
This commit is contained in:
parent
f5f19c1c11
commit
a1ed6a44c5
7 changed files with 121 additions and 115 deletions
|
|
@ -1442,20 +1442,18 @@ 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;
|
||||
//line-height: 14px;
|
||||
}
|
||||
.OxSyntaxHighlighter > .OxLineNumbers {
|
||||
padding: 4px;
|
||||
text-align: right;
|
||||
-moz-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
.OxSyntaxHighlighter > .OxSourceCode {
|
||||
//display: table-cell;
|
||||
padding: 4px;
|
||||
-moz-user-select: text;
|
||||
-webkit-user-select: text;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue