1
0
Fork 0
forked from 0x2620/oxjs

better layout for documentation pages, use syntax highlighter

This commit is contained in:
rolux 2011-05-07 23:07:53 +02:00
commit a1ed6a44c5
7 changed files with 121 additions and 115 deletions

View file

@ -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;
}