From 05a0a49a20a1d42ec9d10975b1f2148cadfddb90 Mon Sep 17 00:00:00 2001 From: "Simon Genin (ges)" Date: Fri, 22 Oct 2021 07:52:46 +0000 Subject: [PATCH] [IMP] js: js domain css customization closes odoo/documentation#1206 Signed-off-by: Simon Genin (ges@odoo) --- conf.py | 2 +- static/css/js.css | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 static/css/js.css diff --git a/conf.py b/conf.py index a9aae02fb..296e98a76 100644 --- a/conf.py +++ b/conf.py @@ -185,7 +185,7 @@ html_permalinks = True # Sphinx >= 3.5 # Additional JS & CSS files that can be imported with the 'custom-js' and 'custom-css' metadata. # Lists are empty because the files are specified in extensions/themes. html_js_files = [] -html_css_files = [] +html_css_files = ["css/js.css"] # PHP lexer option to not require dd > p:before { + content: "-> "; +} + +.js .field-list { + border: none !important; +} + +.js .sig-param, .js .sig-paren { + font-style: normal; + font-size: initial; + color: #4B5563; + font-family: var(--bs-font-monospace); +} + +.js .sig-paren { + color: #212529; +}