summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sam Chen <chenxsan@gmail.com> 2021-09-05 23:22:46 +0800
committerGravatar GitHub <noreply@github.com> 2021-09-05 10:22:46 -0500
commitab661c575d142e4f0976c98374cb3c6d56faf945 (patch)
tree2c0e6e98379b71dd87e4e8190a58b507d4c758b1
parent8c69275f035c3ddf2d8770b4a16ea47718d97c29 (diff)
downloadastro-ab661c575d142e4f0976c98374cb3c6d56faf945.tar.gz
astro-ab661c575d142e4f0976c98374cb3c6d56faf945.tar.zst
astro-ab661c575d142e4f0976c98374cb3c6d56faf945.zip
docs: set +/- prefix to non-selectable (#1316)
Diffstat (limited to '')
-rw-r--r--docs/public/code.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/public/code.css b/docs/public/code.css
index 3fbb26626..354851970 100644
--- a/docs/public/code.css
+++ b/docs/public/code.css
@@ -4,6 +4,10 @@
color: #fd9170;
}
+.language-diff .token.prefix.deleted,.language-diff .token.prefix.inserted {
+ user-select: none
+}
+
[class*='language-'] .namespace {
opacity: 0.7;
}