Site
- some change in css
This commit is contained in:
@ -3,10 +3,10 @@
|
|||||||
/* ::: :::::::: */
|
/* ::: :::::::: */
|
||||||
/* main.js :+: :+: :+: */
|
/* main.js :+: :+: :+: */
|
||||||
/* +:+ +:+ +:+ */
|
/* +:+ +:+ +:+ */
|
||||||
/* By: marvin <marvin@student.42.fr> +#+ +:+ +#+ */
|
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/08/22 17:08:46 by madegryc #+# #+# */
|
/* 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(() => {
|
timeout = setTimeout(() => {
|
||||||
sendRequest("search_user", {username: event.target.value});
|
sendRequest("search_user", {username: event.target.value});
|
||||||
}, 300);
|
}, 10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3,10 +3,10 @@
|
|||||||
/* ::: :::::::: */
|
/* ::: :::::::: */
|
||||||
/* multiOnlineGamePage.js :+: :+: :+: */
|
/* multiOnlineGamePage.js :+: :+: :+: */
|
||||||
/* +:+ +:+ +:+ */
|
/* +:+ +:+ +:+ */
|
||||||
/* By: hubourge <hubourge@student.42.fr> +#+ +:+ +#+ */
|
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/08/18 00:53:53 by edbernar #+# #+# */
|
/* 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 ambiantLight = null;
|
||||||
let opponent = null;
|
let opponent = null;
|
||||||
let interval = null;
|
let interval = null;
|
||||||
|
let debug = false;
|
||||||
|
|
||||||
// ------------------- (need to be remove) -------------------- //
|
// ------------------- (need to be remove) -------------------- //
|
||||||
const stats = new Stats();
|
const stats = new Stats();
|
||||||
stats.showPanel(0);
|
stats.showPanel(0);
|
||||||
document.body.appendChild(stats.dom);
|
|
||||||
|
|
||||||
const cameraTmp = new THREE.PerspectiveCamera(90, window.innerWidth / window.innerHeight);
|
const cameraTmp = new THREE.PerspectiveCamera(90, window.innerWidth / window.innerHeight);
|
||||||
let controls = null;
|
let controls = null;
|
||||||
@ -70,6 +70,8 @@ class MultiOnlineGamePage
|
|||||||
{
|
{
|
||||||
static create()
|
static create()
|
||||||
{
|
{
|
||||||
|
document.body.appendChild(stats.dom);
|
||||||
|
|
||||||
const bar1 = createBarPlayer(0xed56ea);
|
const bar1 = createBarPlayer(0xed56ea);
|
||||||
const bar2 = createBarPlayer(0xf3e11e);
|
const bar2 = createBarPlayer(0xf3e11e);
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2024/08/07 12:00:55 by edbernar #+# #+# */
|
/* 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;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
form input {
|
||||||
border: none;
|
border: none;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
|
@ -188,7 +188,7 @@ body {
|
|||||||
padding-inline: 50px;
|
padding-inline: 50px;
|
||||||
gap: 5rem;
|
gap: 5rem;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: space-between;
|
||||||
inset-inline: 0;
|
inset-inline: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
z-index: 500;
|
z-index: 500;
|
||||||
@ -228,7 +228,6 @@ body {
|
|||||||
.search-container {
|
.search-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
justify-content: center;
|
|
||||||
width: 40%;
|
width: 40%;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -314,7 +313,6 @@ body {
|
|||||||
color: black;
|
color: black;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 40px;
|
line-height: 40px;
|
||||||
margin-left: auto;
|
|
||||||
transition: background-color 0.3s ease;
|
transition: background-color 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user