Init back project
This commit is contained in:
123
front/static/style/app.css
Normal file
123
front/static/style/app.css
Normal 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;
|
||||
}
|
||||
100
front/static/style/menu.css
Normal file
100
front/static/style/menu.css
Normal file
@@ -0,0 +1,100 @@
|
||||
.burger:after, .burger:before, .burger {
|
||||
transition: all 0.25s;
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
height: 6px;
|
||||
width: 30px;
|
||||
border-radius: 15px;
|
||||
background-color: rgba(255, 255, 255, 0.95);
|
||||
}
|
||||
|
||||
.burger {
|
||||
position: fixed;
|
||||
left: 12px;
|
||||
top: 24px;
|
||||
}
|
||||
|
||||
.burger:before {
|
||||
top: -8px;
|
||||
}
|
||||
|
||||
.burger:after {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
.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);
|
||||
}
|
||||
|
||||
.menu-expanded a {
|
||||
transition: all 0s;
|
||||
position: relative;
|
||||
width: 100vw;
|
||||
height: 25vh;
|
||||
left: 0;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.menu-expanded a {
|
||||
transition: all 0.15s;
|
||||
text-decoration: none;
|
||||
font-size: 2em;
|
||||
padding: 5px;
|
||||
color: #fff;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.menu-expanded a:hover {
|
||||
background-color: rgba(255, 255, 255, 0.8);
|
||||
transition: all 0.15s;
|
||||
letter-spacing: 2px;
|
||||
color: #333;
|
||||
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.menu-expanded .burger {
|
||||
background-color: transparent;
|
||||
transition: all 0.25s;
|
||||
}
|
||||
|
||||
.menu-expanded .burger:before {
|
||||
transform: rotate(45deg);
|
||||
}
|
||||
|
||||
.menu-expanded .burger:after {
|
||||
transform: rotate(-45deg);
|
||||
}
|
||||
Reference in New Issue
Block a user