1
0
Fork 0
forked from 0x2620/oxjs

make SyntaxHighlighter and SourceViewer more useful by allowing replacements; remove index.json and source/Ox/png; plus some other small and/or cosmetic changes

This commit is contained in:
rolux 2012-04-06 14:10:21 +02:00
commit 03f4f77ce6
16 changed files with 213 additions and 230 deletions

View file

@ -24,21 +24,24 @@ body {
-o-user-select: none;
-webkit-user-select: none;
}
code, pre {
font-family: Menlo, Monaco, DejaVu Sans Mono, Lucida Console, Consolas, Bitstream Vera Sans Mono, monospace;
}
div {
-moz-user-select: -moz-none;
-o-user-select: none;
-webkit-user-select: none;
}
div, input, textarea {
font-family: Lucida Grande, Segoe UI, DejaVu Sans, Arial;
font-family: Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif;
font-size: 11px;
}
h1,h2,h3,h4,h5,h6 {
h1, h2, h3, h4, h5, h6 {
margin: 0;
font-size: 16px;
font-weight: normal;
}
h2,h3,h4,h5,h6 {
h2, h3, h4, h5, h6 {
font-size: 14px;
}
img {
@ -63,6 +66,17 @@ td {
padding: 0;
vertical-align: top;
}
.OxSerif {
font-family: Georgia, Palatino, DejaVu Serif, Book Antiqua, Palatino Linotype, Times New Roman, serif;
}
.OxSansSerif {
font-family: Lucida Grande, Segoe UI, DejaVu Sans, Lucida Sans Unicode, Helvetica, Arial, sans-serif;
}
.OxMonospace {
font-family: Menlo, Monaco, DejaVu Sans Mono, Lucida Console, Consolas, Bitstream Vera Sans Mono, monospace;
}
.OxSelectable {
-moz-user-select: text;
-o-user-select: text;
@ -461,9 +475,6 @@ Document
-o-user-select: text;
-webkit-user-select: text;
}
.OxDocument code {
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
}
.OxDocument h1 {
font-weight: bold;
font-size: 16px;
@ -875,8 +886,8 @@ OxLabel
white-space: nowrap;
}
.OxLabel.OxSquare {
padding: 0 2px 0 2px;
border-radius: 0;
padding: 0 3px 0 3px;
border-radius: 4px;
}
/*
@ -1915,16 +1926,16 @@ SourceViewer
padding: 4px 8px 4px 8px;
border-right-width: 1px;
border-right-style: solid;
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
line-height: 16px;
//white-space: pre;
font-size: 14px;
line-height: 20px;
-moz-user-select: text;
-webkit-user-select: text;
}
.OxSourceViewer .OxComment pre {
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console, monospace;
font-size: 11px;
line-height: 16px;
margin: 0;
margin: 4px 0 4px 0;
}
@ -1937,7 +1948,7 @@ SyntaxHightlighter
.OxSyntaxHighlighter > div {
display: table-cell;
padding: 4px;
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console;
font-family: Menlo, Monaco, DejaVu Sans Mono, Lucida Console, Consolas, Bitstream Vera Sans Mono, monospace;
line-height: 16px;
}
.OxSyntaxHighlighter > .OxLineNumbers {