Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Vital-Vuillaume authored Aug 13, 2023
1 parent d8f17ab commit b73415f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions My-Website.css
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ body {

/*-----Bloc des reponses-----*/

.site-category, .collaboration-category, .réseau-category {
.category {

background-color: white;
padding: 15px 15px 15px 22.5px;
Expand Down Expand Up @@ -358,7 +358,7 @@ body.active .btn::after {

}

body.active .recherche, body.active .site-category, body.active .collaboration-category, body.active .réseau-category, body.active .lienRecherche {
body.active .recherche, body.active .category, body.active .lienRecherche {

color: white;
background-color: #292837;
Expand Down Expand Up @@ -418,7 +418,7 @@ body.active ::-moz-placeholder {

}

.site-category, .collaboration-category, .réseau-category {
.category {

width: 450px;
padding: 10px 10px 10px 10px;
Expand Down Expand Up @@ -479,7 +479,7 @@ body.active ::-moz-placeholder {

}

.site-category, .collaboration-category, .réseau-category {
.category {

width: 330px;
padding: 10px 10px 0px 10px;
Expand Down Expand Up @@ -590,7 +590,7 @@ body.active ::-moz-placeholder {

}

.site-category, .collaboration-category, .réseau-category {
.category {

width: 100%;
background-color: rgb(230, 230, 230);
Expand Down
6 changes: 3 additions & 3 deletions My-Website.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@ function displaySearchResults(searchTerm) {
resultElement.innerHTML = `<div class="titreRecherche">${key} :</div>${result}`;

if (key === 'site') {
resultElement.classList.add('site-category');
resultElement.classList.add('category');
} else if (key === 'collaboration') {
resultElement.classList.add('collaboration-category');
resultElement.classList.add('category');
} else if (key === 'réseau') {
resultElement.classList.add('réseau-category');
resultElement.classList.add('category');
}

resultats.appendChild(resultElement);
Expand Down

0 comments on commit b73415f

Please sign in to comment.