From 8a6b4a97ff3a602ea8dd335192158d52773333fc Mon Sep 17 00:00:00 2001 From: Benjamin Constant Date: Mon, 29 Jul 2024 15:18:00 +0200 Subject: [PATCH] Web: New search highlighting and clean index --- docs/doc/_static/basic.css | 18 ++++++++++++++---- docs/index.html | 19 ++++++++----------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/docs/doc/_static/basic.css b/docs/doc/_static/basic.css index b3eec3e05..f17b176be 100644 --- a/docs/doc/_static/basic.css +++ b/docs/doc/_static/basic.css @@ -271,12 +271,14 @@ table.modindextable td { div.body { min-width: 1%; - max-width: 80%; + /* max-width: 100%; */ + width: 80%; } div.bodywrapper { min-width: 1%; - max-width: 80%; + /* max-width: 100%; */ + width: 80%; } div.body p, div.body dd, div.body li, div.body blockquote { @@ -742,8 +744,16 @@ dl > dd:last-child > :last-child { margin-bottom: 0; } -dt:target, span.highlighted { - background-color: #fbe54e; +dt:target { + background-color: rgb(255, 221, 0, 0.2); + border: 2px solid rgb(255, 221, 0); + border-radius: var(--border-radius); + color: black; + padding: 5px; +} + +span.highlighted { + color: rgb(255, 221, 0); } rect.highlighted { diff --git a/docs/index.html b/docs/index.html index fc07bf751..18cd03aa9 100644 --- a/docs/index.html +++ b/docs/index.html @@ -25,12 +25,17 @@ - Purpose: a set of python modules for pre- and post-processing of CFD computations [more].
+ Purpose: A set of python modules for pre- and post-processing of CFD computations.
- Authors: ONERA [more].
+ Authors: The office national d'études et de recherches aérospatiales (ONERA).
+
+ + + + Citations: List of publications related to Cassiopee.
@@ -45,7 +50,7 @@ - Questions or bug report: go to the GitHub repository.
+ Questions, bug report or support: go to the GitHub repository.
-