mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Better visual highlighted line
This commit is contained in:
parent
1d8cff1dde
commit
3fb5ca9598
1 changed files with 4 additions and 3 deletions
|
@ -166,7 +166,7 @@ div.tree div.submit input{
|
||||||
|
|
||||||
|
|
||||||
ol.linenums {
|
ol.linenums {
|
||||||
margin: 0 0 0 45px; /* IE indents via margin-left */
|
margin: 0 0 0 45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol.linenums li {
|
ol.linenums li {
|
||||||
|
@ -174,10 +174,12 @@ ol.linenums li {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
padding-left: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ol.linenums li.marked {
|
ol.linenums li.marked {
|
||||||
background-color: #5e6152;
|
color: #f4e009;
|
||||||
|
background-color: #4f4800;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------------
|
/* ----------------------------------------------------------------------------
|
||||||
|
@ -195,7 +197,6 @@ pre {
|
||||||
pre .gd { background-color: rgba(226, 12, 19, .3); color: #fff; display: block; }
|
pre .gd { background-color: rgba(226, 12, 19, .3); color: #fff; display: block; }
|
||||||
pre .gi { background-color: rgba(23, 189, 10, .2); color: #fff; display: block; }
|
pre .gi { background-color: rgba(23, 189, 10, .2); color: #fff; display: block; }
|
||||||
|
|
||||||
|
|
||||||
pre .hll { background-color: #49483e }
|
pre .hll { background-color: #49483e }
|
||||||
pre .c { color: #75715e } /* Comment */
|
pre .c { color: #75715e } /* Comment */
|
||||||
pre .err { color: #960050; background-color: #1e0010 } /* Error */
|
pre .err { color: #960050; background-color: #1e0010 } /* Error */
|
||||||
|
|
Loading…
Reference in a new issue