From e6095165acb81b895d5671a4414faf7885a622ff Mon Sep 17 00:00:00 2001 From: Olivier Hallot Date: Wed, 26 Dec 2018 12:54:58 -0200 Subject: Review code in help page and mute l10n when OK + Added "smathcode" role to render smath code paragraphs + let smath code samples be copied to clipboard. Change-Id: I580c162d0c77f51d0de817ca143a845abf56eca9 Reviewed-on: https://gerrit.libreoffice.org/65621 Tested-by: Jenkins Reviewed-by: Olivier Hallot --- help3xsl/default.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'help3xsl/default.css') diff --git a/help3xsl/default.css b/help3xsl/default.css index 6cb76ce384..0870b7a1ba 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -39,14 +39,15 @@ h5, h6, .listitem, .listitemintable, -.tablecontent, -.input { +.tablecontent { font-family: -apple-system, system-ui, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "DejaVu Sans", "Lucida Grande", "Helvetica Neue", Helvetica, Arial, sans-serif, FreeSerif, NanumGothic, "Noto Sans Tibetan", Taprom; } .input { + background-color: rgba(0,0,0,0.04); transition-property: background-color; transition-duration: 150ms; border-bottom: 1px dashed rgba(0,0,0,0.1); + font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace; } [data-tooltip]{ position:relative; @@ -115,6 +116,11 @@ pre, padding: 1px 3px; font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace; } +.smathcode { + border-radius: 2px; + padding: 1px 3px; + font-family: Menlo, Consolas, "DejaVu Sans Mono", "Nimbus Mono L", "Lucida Sans Typewriter", "Courier New", Courier, Monaco, monospace; +} .acronym { font-weight: bold; } -- cgit