Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Make ol.linenums use display:inline-block #589

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion styles/desert.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pre .atv { color: #ffa0a0 } /* attribute value - pink */
pre .dec { color: #98fb98 } /* decimal - lightgreen */

/* Specify class=linenums on a pre to get line numbering */
ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE } /* IE indents via margin-left */
ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; display: inline-block; } /* IE indents via margin-left */
li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
/* Alternate shading for lines */
li.L1,li.L3,li.L5,li.L7,li.L9 { }
Expand Down
2 changes: 1 addition & 1 deletion styles/doxy.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pre.prettyprint a, code.prettyprint a {
text-decoration:none;
}
/* Specify class=linenums on a pre to get line numbering; line numbers themselves are the same color as punctuation */
ol.linenums { margin-top: 0; margin-bottom: 0; color: #8B8970; } /* IE indents via margin-left */
ol.linenums { margin-top: 0; margin-bottom: 0; color: #8B8970; display: inline-block; } /* IE indents via margin-left */
li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
/* Alternate shading for lines */
li.L1,li.L3,li.L5,li.L7,li.L9 { }
Expand Down
1 change: 1 addition & 0 deletions styles/sons-of-obsidian.css
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ ol.linenums
{
margin-top: 0;
margin-bottom: 0;
display: inline-block;
}
.prettyprint {
background: #000;
Expand Down
2 changes: 1 addition & 1 deletion styles/sunburst.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pre.prettyprint {


/* Specify class=linenums on a pre to get line numbering */
ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; } /* IE indents via margin-left */
ol.linenums { margin-top: 0; margin-bottom: 0; color: #AEAEAE; display: inline-block; } /* IE indents via margin-left */
li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8 { list-style-type: none }
/* Alternate shading for lines */
li.L1,li.L3,li.L5,li.L7,li.L9 { }
Expand Down