Add play page

This commit is contained in:
Laurent
2024-10-13 22:14:58 +02:00
parent 9e07f00899
commit cf2234e704
7 changed files with 140 additions and 37 deletions

123
static/style/app.css Normal file
View File

@@ -0,0 +1,123 @@
:root
{
--font-size : 1.25vmax;
}
*
{
color: #F5F5F5;
text-decoration: none;
font-size: var(--font-size, 1vw);
transition: 0.3s;
}
h1
{
font-size: calc(var(--font-size, 1vw) * 2.5);
}
html
{
background: linear-gradient(45deg, #b9b9c9, #d2379b);
}
body
{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
height: 98vh;
}
.container
{
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
width: 75vw;
height: 75vh;
}
hr {
height: 1px;
width: 100%;
background-color: #A1674A;
border: none;
}
nav
{
display: flex;
flex-direction: column;
align-self: start;
justify-content: center;
align-items: center;
gap: 3vh;
height: fit-content;
margin-top: 10vh;
margin-bottom: 2vh;
}
nav a
{
margin-right: 2.5vw;
margin-left: 2.5vw;
}
.nav_delimiter
{
margin-bottom: 5vh;
}
form
{
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
margin-bottom: 10vh;
}
input
{
color: #424242;
font-size: 2.5vh;
width: 20vw;
height: 4.5vh;
padding: 1vh;
margin: 1.5vh;
text-align: center;
}
.bordered
{
border-radius: 10px;
}
footer
{
display: flex;
justify-content: end;
align-items: center;
position: absolute;
bottom: 0.25vh;
margin-bottom: 0.25vh;
width: 100vw;
height: 5vh;
}
footer a {
margin-right: 2vh;
}

View File

@@ -1,4 +1,4 @@
.b-a, .burger:after, .burger:before, .burger {
.burger:after, .burger:before, .burger {
transition: all 0.25s;
content: "";
position: absolute;
@@ -9,22 +9,6 @@
background-color: rgba(255, 255, 255, 0.95);
}
.menu-collapsed {
transition: all 0.25s;
position: fixed;
top: 10px;
left: 9px;
height: 36px;
width: 36px;
z-index: 1;
cursor: pointer;
}
.menu-collapsed a {
transition: all 0s;
position: fixed;
left: -9000px;
}
.burger {
position: fixed;
left: 12px;
@@ -39,18 +23,38 @@
top: 8px;
}
.b-a-expanded, .menu-expanded .burger:after, .menu-expanded .burger:before {
.menu-expanded .burger:after, .menu-expanded .burger:before {
transition: all 0.25s;
top: 0px;
}
.menu-collapsed {
transition: all 0.25s;
position: fixed;
top: 10px;
left: 9px;
height: 36px;
width: 36px;
z-index: 1;
cursor: pointer;
}
.menu-collapsed a {
transition: all 0s;
position: fixed;
left: -9000px;
}
.menu-expanded {
transition: all 0.25s;
text-align: center;
line-height: 200px;
height: 100%;
width: 100%;
border-radius: 0px;
top: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.85);
@@ -59,6 +63,8 @@
.menu-expanded a {
transition: all 0s;
position: relative;
width: 100vw;
height: 25vh;
left: 0;
z-index: 2;
}