Skip to content

Commit e9128a5

Browse files
committed
cleanup & replace Ctrl to Alt key
1 parent 5402b92 commit e9128a5

File tree

6 files changed

+303
-265
lines changed

6 files changed

+303
-265
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ build
22
tools/package-lock.json
33
tools/node_modules
44
tools/lunr_index.js
5+
tools/lunr_index_edps.js
56
source/sphinx-extensions/__pycache__

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
[![Build Status](https://app.travis-ci.com/FreeFem/FreeFem-doc.svg?branch=master)](https://travis-ci.com/FreeFem/FreeFem-doc)
1+
[![Doc build (HTML & PDF)](https://github.com/FreeFem/FreeFem-doc/actions/workflows/sphinx.yml/badge.svg?branch=master)](https://github.com/FreeFem/FreeFem-doc/actions/workflows/sphinx.yml)
22

33
# FreeFEM documentation
44

55
The [FreeFEM](https://freefem.org/) documentation is a collaborative effort. We welcome all contributions, do not hesitate to submit a pull request.
66

77
## View the documentation
8+
89
Visit the [Documentation website](https://doc.freefem.org) or download the [PDF](https://doc.freefem.org/pdf/FreeFEM-documentation.pdf). The PDF is re-generated automatically after each GitHub commit.
910

1011
## Install the documentation
12+
1113
FreeFEM-doc uses [Sphinx](http://www.sphinx-doc.org/en/master/), have a look at the [sphinx installation](sphinx.md)
1214

1315
## How to contribute
16+
1417
Have a look at the [contributing file](CONTRIBUTING.md)

source/_static/css/search.css

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
.search-toggle {
2-
background-color: #fff;
3-
color: rgb(255, 0, 0);
42
position: absolute;
53
top: 3rem;
6-
margin: 0;
7-
height: 19px;
8-
min-width: 100%;
94
z-index: 2;
10-
border: 1px solid rgb(255, 0, 0);
11-
/*overflow: auto;*/
12-
/*border-radius: 0 0 .27rem .27rem;*/
13-
/*box-shadow: .27rem .55rem 1rem #888888;*/
5+
display: flex;
6+
flex-direction: column;
7+
padding: 5px;
8+
color: red;
9+
background-color: #fff;
1410
}
1511

1612
.search-container {
@@ -24,22 +20,22 @@
2420
}
2521

2622
#search-icon {
27-
padding: .5625rem 0 .5625rem .5625rem;
28-
background-color: #00007F;
23+
padding: 0.5625rem 0 0.5625rem 0.5625rem;
24+
background-color: #00007f;
2925
z-index: 2;
3026
}
3127

3228
#search-icon i {
33-
color: #FFF;
29+
color: #fff;
3430
line-height: 19px;
3531
}
3632

3733
#searchInput {
3834
margin: 0;
39-
padding: .5625rem;
35+
padding: 0.5625rem;
4036
border: none;
41-
background-color: #00007F;
42-
color: #FFF;
37+
background-color: #00007f;
38+
color: #fff;
4339
font-size: 1rem;
4440
width: 230px;
4541
height: 38px;
@@ -61,8 +57,8 @@
6157
left: 0;
6258
width: 100%;
6359
height: 100%;
64-
transition: width 0s .25s, height 0s .25s, opacity .25s;
65-
background-color: rgba(0, 0, 0, .54);
60+
transition: width 0s 0.25s, height 0s 0.25s, opacity 0.25s;
61+
background-color: rgba(0, 0, 0, 0.54);
6662
cursor: pointer;
6763
z-index: 1;
6864
display: none;
@@ -78,34 +74,34 @@
7874
min-width: 100%;
7975
z-index: 2;
8076
overflow: auto;
81-
border-radius: 0 0 .27rem .27rem;
82-
box-shadow: .27rem .55rem 1rem #888888;
77+
border-radius: 0 0 0.27rem 0.27rem;
78+
box-shadow: 0.27rem 0.55rem 1rem #888888;
8379
}
8480

8581
#searchResults > p {
86-
text-align: center;
82+
text-align: center;
8783
}
8884

8985
#searchResults .search-result {
90-
border-bottom: 1px solid #EFEFEF;
86+
border-bottom: 1px solid #efefef;
9187
}
9288

9389
#searchResults .search-result-main-title {
9490
font-size: 1.2rem;
95-
color: #00007F;
91+
color: #00007f;
9692
display: block;
9793
outline: 0;
9894
overflow: hidden;
9995
}
10096

10197
#searchResults .search-result-main-title i {
102-
color: #0000FF;
103-
padding: .8rem 1rem;
98+
color: #0000ff;
99+
padding: 0.8rem 1rem;
104100
font-size: 1.5rem;
105101
}
106102

107103
#searchResults .search-result-sub {
108-
border-bottom: 1px solid #EFEFEF;
104+
border-bottom: 1px solid #efefef;
109105
}
110106

111107
#searchResults .search-result-title {
@@ -126,9 +122,9 @@
126122
}
127123

128124
#searchResults a:hover {
129-
background-color: rgba(83, 109, 254, .1);
125+
background-color: rgba(83, 109, 254, 0.1);
130126
}
131127

132128
#searchResults a:hover p {
133-
background-color: rgba(83, 109, 254, .1);
129+
background-color: rgba(83, 109, 254, 0.1);
134130
}

0 commit comments

Comments
 (0)