Site
- Add multi local game - Some minor changes in html/css Django - add path for /game and /multiLocalGamePage - add template for multiLocalGame
This commit is contained in:
@ -0,0 +1,99 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* games.css :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: edbernar <edbernar@student.42angouleme. +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/08/20 11:23:41 by edbernar #+# #+# */
|
||||
/* Updated: 2024/09/14 01:56:23 by edbernar ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@keyframes fadeInGames {
|
||||
from {
|
||||
filter: brightness(1);
|
||||
}
|
||||
to {
|
||||
filter: brightness(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeOutGames {
|
||||
from {
|
||||
filter: brightness(0);
|
||||
}
|
||||
to {
|
||||
filter: brightness(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeOutStartGames {
|
||||
0% {
|
||||
filter: brightness(0);
|
||||
}
|
||||
70% {
|
||||
filter: brightness(0);
|
||||
}
|
||||
100% {
|
||||
filter: brightness(1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeInTextGames {
|
||||
from {
|
||||
color: rgb(255, 255, 255, 0.1);
|
||||
}
|
||||
to {
|
||||
color: rgb(255, 255, 255, 1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fadeOutTextGames {
|
||||
from {
|
||||
color: rgb(255, 255, 255, 1);
|
||||
}
|
||||
to {
|
||||
color: rgb(255, 255, 255, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes end {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
75% {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#score {
|
||||
line-height: 1.75;
|
||||
vertical-align: top;
|
||||
font-family: 'Poppins';
|
||||
position: absolute;
|
||||
font-size: 30vh;
|
||||
top: 0;
|
||||
bottom : 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 50%);
|
||||
z-index: 800;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
/* font-weight: 900; */
|
||||
color: rgb(255, 255, 255, 0.1);
|
||||
}
|
Reference in New Issue
Block a user