Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Vital-Vuillaume committed Mar 24, 2024
1 parent 00a9bd9 commit c09a32c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
16 changes: 14 additions & 2 deletions Site/Css/My-Website.css
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ img, .custom-menu {
align-items: center;
position: relative;
margin-top: 10px;
height: 200px;

}

Expand Down Expand Up @@ -402,7 +403,7 @@ img, .custom-menu {

font-size: 1em;
color: red;
margin-top: 35px;
margin-top: 60px;
position: absolute;
left: 50%;
transform: translate(-50%,-50%);
Expand All @@ -415,11 +416,13 @@ img, .custom-menu {
.txtRecherche {

position: relative;
top: 100px;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
position: absolute;
left: 50%;
transform: translate(-50%, -0%);

}

Expand Down Expand Up @@ -884,6 +887,15 @@ img, .custom-menu {

}

.txtRecherche {

position: absolute;
left: 50%;
transform: translate(-50%, -50%);
width: max-content;

}

.category:last-child {

margin-bottom: 65px;
Expand Down
Binary file added Site/Css/recherche.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions Site/Js/My-Website.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//------Pour que le site soit securise------\\

/*if (window.location.protocol != "https:") {
if (window.location.protocol != "https:") {
window.location.protocol="https:";
}*/
}

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

Expand Down Expand Up @@ -42,7 +42,7 @@ const annuler = document.querySelector('.annuler');
//-----Afficher la section 1 par defaut----\\

window.addEventListener('load', function() {
showSection(section2);
showSection(section1);
});

//------Sauvgarde du Menu contextuel------\\
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<script defer src="Site/Js/My-Website.js"></script>
<link rel="icon" href="Site/ImageSite/icone.ico" type="image/x-icon">
<link rel="icon" href="Site/ImageSite/icone.png" type="image/png">
<link rel="icon" type="Site/ImageSite/image/svg+xml" href="icone.svg">
<link rel="icon" type="Site/ImageSite/image/svg+xml" href="Site/ImageSite/icone.svg">
<title>Vital</title>
</head>

Expand Down

0 comments on commit c09a32c

Please sign in to comment.