VS Code Web: larger line numbers
Enlarges line numbers and bolds the current line number for emphasis (works on github.dev too).
Code to copy
/* Larger line numbers, bold for the current line (works on github.dev too) */
.monaco-editor .line-numbers {
font-size: 13px !important;
color: rgba(127,127,127,0.7) !important;
}
.monaco-editor .current-line ~ .line-numbers,
.monaco-editor .line-numbers.active-line-number {
color: #ff8a3d !important;
font-weight: 800 !important;
}
How to use this example
- Copy the code with the button above.
- Install JustZix (2 minutes) and open the extension on the target page.
- Add a new rule matching that page.
- Paste the code into the rule's CSS panel and save — the effect appears instantly.
Rate this example
No ratings yet — be the first.