mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
Merge pull request #32 from dangerdan/lineheight1
Added line-height rule for .comments to stop line numbering going out of sync
This commit is contained in:
commit
49f56888f2
@ -33,7 +33,7 @@
|
|||||||
font-size: 1em !important;
|
font-size: 1em !important;
|
||||||
min-height: inherit !important;
|
min-height: inherit !important;
|
||||||
min-height: auto !important;
|
min-height: auto !important;
|
||||||
font-family: Monaco, 'Courier New', monospace !important;
|
font-family: Monaco, 'Courier New', monospace !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter {
|
.syntaxhighlighter {
|
||||||
@ -240,7 +240,7 @@
|
|||||||
color: #000 !important;
|
color: #000 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter.printing .line .content
|
.syntaxhighlighter.printing .line .content
|
||||||
{
|
{
|
||||||
border: 0 !important;
|
border: 0 !important;
|
||||||
}
|
}
|
||||||
@ -291,25 +291,26 @@
|
|||||||
|
|
||||||
.syntaxhighlighter .comments,
|
.syntaxhighlighter .comments,
|
||||||
.syntaxhighlighter .comments a
|
.syntaxhighlighter .comments a
|
||||||
{
|
{
|
||||||
color: #999988 !important;
|
color: #999988 !important;
|
||||||
font-style: italic !important;
|
font-style: italic !important;
|
||||||
|
line-height: 13px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .string,
|
.syntaxhighlighter .string,
|
||||||
.syntaxhighlighter .string a
|
.syntaxhighlighter .string a
|
||||||
{
|
{
|
||||||
color: #D81745 !important;
|
color: #D81745 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .keyword
|
.syntaxhighlighter .keyword
|
||||||
{
|
{
|
||||||
font-weight: bold !important;
|
font-weight: bold !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .preprocessor
|
.syntaxhighlighter .preprocessor
|
||||||
{
|
{
|
||||||
color: gray !important;
|
color: gray !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .regex
|
.syntaxhighlighter .regex
|
||||||
@ -332,48 +333,48 @@
|
|||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .variable
|
.syntaxhighlighter .variable
|
||||||
{
|
{
|
||||||
color: #177F80 !important;
|
color: #177F80 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .value
|
.syntaxhighlighter .value
|
||||||
{
|
{
|
||||||
color: red !important;
|
color: red !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .functions
|
.syntaxhighlighter .functions
|
||||||
{
|
{
|
||||||
color: #990000 !important;
|
color: #990000 !important;
|
||||||
font-weight:bold !important;
|
font-weight:bold !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .constants
|
.syntaxhighlighter .constants
|
||||||
{
|
{
|
||||||
color: #177F80 !important;
|
color: #177F80 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .script
|
.syntaxhighlighter .script
|
||||||
{
|
{
|
||||||
background-color: yellow !important;
|
background-color: yellow !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .color1,
|
.syntaxhighlighter .color1,
|
||||||
.syntaxhighlighter .color1 a
|
.syntaxhighlighter .color1 a
|
||||||
{
|
{
|
||||||
color: #177F80 !important;
|
color: #177F80 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .color2,
|
.syntaxhighlighter .color2,
|
||||||
.syntaxhighlighter .color2 a
|
.syntaxhighlighter .color2 a
|
||||||
{
|
{
|
||||||
color: #960B73 !important;
|
color: #960B73 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.syntaxhighlighter .color3,
|
.syntaxhighlighter .color3,
|
||||||
.syntaxhighlighter .color3 a
|
.syntaxhighlighter .color3 a
|
||||||
{
|
{
|
||||||
color: red !important;
|
color: red !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** end ugliness */
|
/** end ugliness */
|
||||||
|
Loading…
Reference in New Issue
Block a user