diff --git a/custom.css b/custom.css index 9a336ae..7d19409 100644 --- a/custom.css +++ b/custom.css @@ -15,4 +15,14 @@ color: var(--links); font-weight: bold; font-size: 2rem; -} \ No newline at end of file +} + +/* + 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; +}