Benutzerdefinierte Fehlerseiten für die Statuscodes 404 und 500 im HomeController hinzugefügt, um verschiedene Benutzerfälle zu behandeln.

This commit is contained in:
Developer 02
2024-04-26 12:22:09 +02:00
parent 966b7de3c4
commit 6b3c90c618
13 changed files with 137 additions and 51 deletions

View File

@@ -6,11 +6,16 @@ body {
background: linear-gradient(90deg, rgba(47, 54, 64, 1) 23%, rgba(24, 27, 32, 1) 100%);
}
:root {
--moon-left-position: 0px;
}
.moon {
background: linear-gradient(90deg, rgba(208, 208, 208, 1) 48%, rgba(145, 145, 145, 1) 100%);
position: absolute;
top: -100px;
left: -300px;
left: var(--moon-left-position);
width: 900px;
height: 900px;
content: '';
@@ -28,14 +33,14 @@ body {
.moon__crater1 {
top: 250px;
left: 500px;
left: calc(var(--moon-left-position) + 800px);
width: 60px;
height: 180px;
}
.moon__crater2 {
top: 650px;
left: 340px;
left: calc(var(--moon-left-position) + 640px);
width: 40px;
height: 80px;
transform: rotate(55deg);
@@ -43,7 +48,7 @@ body {
.moon__crater3 {
top: -20px;
left: 40px;
left: calc(var(--moon-left-position) + 340px);
width: 65px;
height: 120px;
transform: rotate(250deg);