- some change in css
This commit is contained in:
Kum1ta
2024-09-18 14:26:48 +02:00
parent f3bbf498ca
commit a93e713f44
4 changed files with 11 additions and 11 deletions

View File

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* main.js :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: marvin <marvin@student.42.fr> +#+ +:+ +#+ */
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/22 17:08:46 by madegryc #+# #+# */
/* Updated: 2024/09/18 10:59:57 by marvin ### ########.fr */
/* Updated: 2024/09/18 13:52:39 by edbernar ### ########.fr */
/* */
/* ************************************************************************** */
@ -106,7 +106,7 @@ function searchUser(event)
{
timeout = setTimeout(() => {
sendRequest("search_user", {username: event.target.value});
}, 300);
}, 10);
}
}

View File

@ -3,10 +3,10 @@
/* ::: :::::::: */
/* multiOnlineGamePage.js :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: hubourge <hubourge@student.42.fr> +#+ +:+ +#+ */
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/18 00:53:53 by edbernar #+# #+# */
/* Updated: 2024/09/17 18:02:20 by hubourge ### ########.fr */
/* Updated: 2024/09/18 14:24:40 by edbernar ### ########.fr */
/* */
/* ************************************************************************** */
@ -56,11 +56,11 @@ let spotLight = null;
let ambiantLight = null;
let opponent = null;
let interval = null;
let debug = false;
// ------------------- (need to be remove) -------------------- //
const stats = new Stats();
stats.showPanel(0);
document.body.appendChild(stats.dom);
const cameraTmp = new THREE.PerspectiveCamera(90, window.innerWidth / window.innerHeight);
let controls = null;
@ -70,6 +70,8 @@ class MultiOnlineGamePage
{
static create()
{
document.body.appendChild(stats.dom);
const bar1 = createBarPlayer(0xed56ea);
const bar2 = createBarPlayer(0xf3e11e);

View File

@ -6,7 +6,7 @@
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/07 12:00:55 by edbernar #+# #+# */
/* Updated: 2024/09/17 22:34:12 by edbernar ### ########.fr */
/* Updated: 2024/09/18 13:47:10 by edbernar ### ########.fr */
/* */
/* ************************************************************************** */
@ -201,7 +201,7 @@ label {
font-size: 1rem;
}
input {
form input {
border: none;
padding: 20px;
margin-bottom: 20px;

View File

@ -188,7 +188,7 @@ body {
padding-inline: 50px;
gap: 5rem;
align-items: center;
justify-content: center;
justify-content: space-between;
inset-inline: 0;
top: 0;
z-index: 500;
@ -228,7 +228,6 @@ body {
.search-container {
display: flex;
align-items: flex-start;
justify-content: center;
width: 40%;
}
@ -314,7 +313,6 @@ body {
color: black;
text-align: center;
line-height: 40px;
margin-left: auto;
transition: background-color 0.3s ease;
}