diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-05-29 16:45:56 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-06-03 14:32:34 +0200 |
commit | ebbd4ee99be8172c6c62b8d6963feb7f7b72bfa1 (patch) | |
tree | 7d91af4eb85749fbe90d2950ffdd2ff0dcf182a9 /help3xsl/prism.css | |
parent | 1369142eae32576f15bc82c59406850a32576fb1 (diff) |
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 <olivier.hallot@libreoffice.org>
(cherry picked from commit 0c721f4ecf55911d125e33e3afea534d1ffe42b2)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/95129
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'help3xsl/prism.css')
-rw-r--r-- | help3xsl/prism.css | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |