Skip to content

Commit

Permalink
Merge pull request #111 from BconstantMMK/main
Browse files Browse the repository at this point in the history
Web: New search highlighting and clean index
  • Loading branch information
vincentcasseau authored Jul 29, 2024
2 parents bf86ca8 + 8a6b4a9 commit 5da16d8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 15 deletions.
18 changes: 14 additions & 4 deletions docs/doc/_static/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down
19 changes: 8 additions & 11 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,17 @@
<td>
<img src="Images/icon5_new.png" class="icon">
<TEXTcenter>
<strong>Purpose:</strong> a set of python modules for pre- and post-processing of CFD computations <a href="More.html">[more]</a>.<br>
<strong>Purpose:</strong> A set of python modules for pre- and post-processing of CFD computations.<br>
</TEXTcenter>

<img src="Images/icon4_new.png" class="icon">
<TEXTcenter>
<strong>Authors: </strong>ONERA <a href="Authors.html">[more]</a>.<br>
<strong>Authors: </strong> <a href="Authors.html">The office national d'études et de recherches aérospatiales (ONERA)</a>.<br>
</TEXTcenter>

<img src="Images/icon8_new.png" class="icon">
<TEXTcenter>
<strong>Citations: </strong> <a href="Citations.html">List of publications related to Cassiopee</a>.<br>
</TEXTcenter>

<img src="Images/icon1_2_new.png" class="icon">
Expand All @@ -45,7 +50,7 @@

<img src="Images/icon3_new.png" class="icon"></a>
<TEXTcenter>
<strong>Questions or bug report: </strong> <a href="https://github.com/onera/Cassiopee/tree/main">go to the GitHub repository</a>.<br>
<strong>Questions, bug report or support: </strong> <a href="https://github.com/onera/Cassiopee/tree/main">go to the GitHub repository</a>.<br>
</TEXTcenter>

<!-- <img src="Images/icon0_new.png" class="icon"></a>
Expand Down Expand Up @@ -130,14 +135,6 @@
<table class="darkBar">
<tr>
<td>
<strong>More:</strong>
<a href="https://github.com/onera/Cassiopee/issues" >Get support</a> -
<a href="Gallery/Gallery.html" >Gallery</a> -
<a href="Tutorials/Tutorials.html" >Tutorials</a> -
<a href="https://github.com/onera/Cassiopee/tags" >Download</a> -
<a href="Citations.html" >Citations</a>
<!-- <a href="Contribute.html" >Contribute</a> - -->
<!-- <a href="Extra.html" >Other non open source modules</a> -->
<br>
</td>
</tr>
Expand Down

0 comments on commit 5da16d8

Please sign in to comment.