Added some style.css

This commit is contained in:
besbota 2024-10-17 16:37:01 +02:00
parent 922834da8a
commit 2782b154ed
2 changed files with 76 additions and 2 deletions

76
assets/styles/style.css Normal file
View File

@ -0,0 +1,76 @@
body {
background: linear-gradient(to right, #5CE1E6, #C1FF72, #cb6ce6);
}
h1 {
text-align: center;
font-family: "Fredoka", sans-serif;
font-optical-sizing: auto;
font-style: normal;
font-variation-settings: "wdth" 100;
}
img {
width: 60%;
height: auto;
float: right;
margin: 0;
}
.container {
display: flex;
justify-content: center;
align-items: center;
height: auto;
margin: auto 0 auto;
}
form {
margin-right: 20px;
background: rgba(255, 255, 255, 0.15);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
justify-content: center;
align-items: center;
padding: 50px;
}
form div {
margin-bottom: 10px;
}
.logo{
margin-bottom: 65%;
margin-right: 30%;
}
label {
display: block;
margin-bottom: 5px;
font-family: "Fredoka", sans-serif;
font-style: normal;
}
input[type="text"],
input[type="password"] {
width: 90%;
padding: 5px;
}
button {
padding: 10px 20px;
background-color: #5CE1E6;
color: black;
border: none;
cursor: pointer;
}
button:hover {
background-color: #CB6CE6;
}
.submit {
margin-left: 15%;
}

View File

@ -10,12 +10,10 @@ class MissionCategory
{ {
#[ORM\Id] #[ORM\Id]
#[ORM\OneToMany(targetEntity: Mission::class, mappedBy: 'MissionCategory')] #[ORM\OneToMany(targetEntity: Mission::class, mappedBy: 'MissionCategory')]
#[ORM\JoinColumn(nullable: false)]
private ?Mission $mission = null; private ?Mission $mission = null;
#[ORM\Id] #[ORM\Id]
#[ORM\OneToMany(targetEntity: Category::class, mappedBy: 'MissionCategory')] #[ORM\OneToMany(targetEntity: Category::class, mappedBy: 'MissionCategory')]
#[ORM\JoinColumn(nullable: false)]
private ?Category $category = null; private ?Category $category = null;
public function getMission(): ?Mission public function getMission(): ?Mission