Skip to content

Commit 44666ed

Browse files
committed
Change line number styling (coloring and L/R padding)
1 parent 1981f17 commit 44666ed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/web/www/style/editor.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
left: 0;
2828
position: sticky;
2929
display: flex;
30-
padding: 0 0.7em 0 0.5em;
30+
padding: 0 1em 0 0.2em;
3131
margin: -2px -0.6em -2px 0;
3232
min-width: 31px; /*The width of three digits*/
3333
text-align: right;
@@ -51,13 +51,13 @@
5151

5252
.code .code-text.line-numbers-text :not(.line-numbers-bold){
5353
opacity: 0.5;
54-
color: var(--STONE);
54+
color: var(--BR1);
5555
}
5656

5757
.code .code-text.line-numbers-text .line-numbers-bold{
5858
font-weight: bolder;
5959
opacity: 1;
60-
color: var(--BLACK);
60+
color: var(--BR2);
6161
}
6262

6363
/* This is a hack to compensating for default linebreak handling

0 commit comments

Comments
 (0)