fix minime

This commit is contained in:
Loris BALOCCHI 2024-06-11 11:27:08 +02:00
parent b4a541eb8c
commit d8eb319082
5 changed files with 24 additions and 8 deletions

View File

@ -19,9 +19,9 @@ if (isset($_COOKIE['userData'])) {
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles/main.css" /> <link rel="stylesheet" href="/styles/main.css" />
<link rel="stylesheet" href="styles/header.css" /> <link rel="stylesheet" href="/styles/header.css" />
<link rel="stylesheet" href="styles/footer.css" /> <link rel="stylesheet" href="/styles/footer.css" />
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet" /> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet" />
<link rel="icon" type="image/png" sizes="32x32" <link rel="icon" type="image/png" sizes="32x32"

14
assets/scripts/tonTruc.js Normal file
View File

@ -0,0 +1,14 @@
// JavaScript code
function rechercher_evenement() {
let input = document.getElementById("searchbar").value;
input = input.toLowerCase();
let x = document.getElementsByClassName("animals");
for (i = 0; i < x.length; i++) {
if (!x[i].innerHTML.toLowerCase().includes(input)) {
x[i].style.display = "none";
} else {
x[i].style.display = "list-item";
}
}
}

View File

@ -17,9 +17,9 @@ if (isset($_COOKIE['userData'])) {
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles/main.css" /> <link rel="stylesheet" href="/styles/main.css" />
<link rel="stylesheet" href="styles/header.css" /> <link rel="stylesheet" href="/styles/header.css" />
<link rel="stylesheet" href="styles/footer.css" /> <link rel="stylesheet" href="/styles/footer.css" />
<link <link
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
rel="stylesheet" rel="stylesheet"

View File

@ -3,7 +3,9 @@
src: url(../assets/fonts/RobotoFlex.ttf); src: url(../assets/fonts/RobotoFlex.ttf);
font-display: swap; font-display: swap;
} }
body {
overflow-x: hidden;
}
.menu-container { .menu-container {
opacity: 0.97; opacity: 0.97;
position: relative; position: relative;

View File

@ -11,7 +11,7 @@
box-sizing: border-box; box-sizing: border-box;
} }
body { body {
background-image: url("../assets/images/background.jpg"); background-image: url("/assets/images/background.jpg");
/* backdrop-filter: blur(5px); */ /* backdrop-filter: blur(5px); */
background-size: cover; background-size: cover;
overflow-x: hidden; overflow-x: hidden;