mirror of
https://github.com/NixOS/nix-pills
synced 2024-09-18 03:50:12 -04:00
make prompts unselectable
This commit is contained in:
parent
a2210a8712
commit
faab265365
12
custom.css
12
custom.css
|
@ -15,4 +15,14 @@
|
|||
color: var(--links);
|
||||
font-weight: bold;
|
||||
font-size: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Make prompts unselectable in console sections.
|
||||
This relies on highlight.js applying certain classes on the prompts.
|
||||
For more details, see https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html#stylable-scopes
|
||||
*/
|
||||
.hljs-meta.prompt_ {
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue