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 committed Feb 7, 2024
1 parent 4f0ba68 commit c551c01
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
18 changes: 15 additions & 3 deletions My-Website.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ img, .custom-menu {

.section2 {

margin: 0px 10px 60px 90px;
margin: 0px 10px 65px 90px;
position: relative;
top: 15px;

Expand Down Expand Up @@ -149,7 +149,6 @@ img, .custom-menu {

}


.nav.active {

width: 240px;
Expand Down Expand Up @@ -248,6 +247,12 @@ img, .custom-menu {

}

.list:last-child {

margin-bottom: 150px;

}

.nav.active .list {

width: 220px;
Expand Down Expand Up @@ -832,6 +837,12 @@ img, .custom-menu {

}

.list:last-child {

margin-bottom: 0px;

}

.list:hover {

background-color: transparent;
Expand Down Expand Up @@ -864,6 +875,7 @@ img, .custom-menu {
.containerRecherche {

display: block;
overflow: auto;

}

Expand All @@ -885,7 +897,7 @@ img, .custom-menu {

.category:last-child {

margin-bottom: 80px;
margin-bottom: 65px;

}

Expand Down
5 changes: 4 additions & 1 deletion My-Website.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
if (window.location.protocol != "https:") {
window.location.protocol="https:";
}

//------Element html------\\

const btn1 = document.getElementById('btn1');
Expand Down Expand Up @@ -107,7 +108,9 @@ btnActualiser.onclick = function() {
//------Menu contextuel Dark mode------\\

btnLienTheme.onclick = function ajouterClassBody() {
toggleModeSombre();
isDarkMode = !isDarkMode;
localStorage.setItem('isDarkMode', isDarkMode);
updateDarkMode();
};

//------Menu contextuel Ecran------\\
Expand Down

0 comments on commit c551c01

Please sign in to comment.