trying to fix SourceViewer code block CSS

This commit is contained in:
rolux 2012-05-30 19:23:23 +02:00
parent 721989b67b
commit 3e6e938596

View file

@ -1964,13 +1964,13 @@ SourceViewer
-moz-user-select: text; -moz-user-select: text;
-webkit-user-select: text; -webkit-user-select: text;
} }
.OxSourceViewer td.OxComment code { .OxSourceViewer td.OxComment > code {
padding: 1px 3px 1px 3px; padding: 1px 3px 1px 3px;
border-radius: 2px; border-radius: 2px;
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console, monospace; font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console, monospace;
font-size: 11px; font-size: 11px;
} }
.OxSourceViewer td.OxComment pre { .OxSourceViewer td.OxComment > pre > code {
line-height: 16px; line-height: 16px;
margin: 4px 0 4px 0; margin: 4px 0 4px 0;
font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console, monospace; font-family: Menlo, Monaco, DejaVu Sans Mono, Bitstream Vera Sans Mono, Consolas, Lucida Console, monospace;