diff --git a/assets/styles/style.css b/assets/styles/style.css new file mode 100644 index 0000000..4f52014 --- /dev/null +++ b/assets/styles/style.css @@ -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%; +} \ No newline at end of file diff --git a/src/Entity/MissionCategory.php b/src/Entity/MissionCategory.php index 862d5a8..dc6f1fd 100644 --- a/src/Entity/MissionCategory.php +++ b/src/Entity/MissionCategory.php @@ -10,12 +10,10 @@ class MissionCategory { #[ORM\Id] #[ORM\OneToMany(targetEntity: Mission::class, mappedBy: 'MissionCategory')] - #[ORM\JoinColumn(nullable: false)] private ?Mission $mission = null; #[ORM\Id] #[ORM\OneToMany(targetEntity: Category::class, mappedBy: 'MissionCategory')] - #[ORM\JoinColumn(nullable: false)] private ?Category $category = null; public function getMission(): ?Mission