From 7b5fe18bbcca0811ae386c9230bf5f3d9da88acb Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Fri, 29 May 2020 16:45:56 -0300 Subject: Update prism.js to latest version Update prism.js and companion css to latest version Fixes the Currency and Type keyword highlight Fixes line numbering interference with a11y-toggle.js Change-Id: Ibbb5c95790e1366f0a1dbc497d8741e69a0a3957 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/95173 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- help3xsl/prism.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'help3xsl/prism.css') diff --git a/help3xsl/prism.css b/help3xsl/prism.css index 6e31d4d8fa..8bd96d9cc3 100644 --- a/help3xsl/prism.css +++ b/help3xsl/prism.css @@ -1,4 +1,4 @@ -/* PrismJS 1.15.0 +/* PrismJS 1.20.0 https://prismjs.com/download.html#themes=prism-coy&languages=markup+css+clike+javascript+python+visual-basic&plugins=line-numbers+normalize-whitespace */ /** * prism.js Coy theme for JavaScript, CoffeeScript, CSS and HTML @@ -11,6 +11,7 @@ pre[class*="language-"] { color: black; background: none; font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + font-size: 1em; text-align: left; white-space: pre; word-spacing: normal; @@ -179,7 +180,7 @@ pre[class*="language-"]:after { cursor: help; } -.namespace { +.token.namespace { opacity: .7; } @@ -255,7 +256,6 @@ pre[class*="language-"].line-numbers > code { } .line-numbers-rows > span { - pointer-events: none; display: block; counter-increment: linenumber; } -- cgit