add: credits layer

This commit is contained in:
ramollia
2025-10-04 20:25:59 +02:00
parent e7d606f08e
commit 39fa2edb3a
4 changed files with 78 additions and 13 deletions

View File

@@ -2,11 +2,9 @@
-fx-background-color: linear-gradient(to bottom right, #21a7b2, #8f32b9);
}
.vertical_container, .horizontal_container {
.stack_container, .vertical_container, .horizontal_container {
-fx-padding: 10;
-fx-alignment: center;
-fx-text-alignment: center;
-fx-background-color: linear-gradient(to bottom right, orange, indigo), #1d1d1d;
-fx-background-insets: 0, 2;

View File

@@ -6,13 +6,7 @@
-fx-effect: dropshadow(gaussian, rgba(0,0,0,0.7), 4, 0, 2, 2);
}
.button.exit-button {
-fx-background-color: #3498db;
-fx-text-fill: white;
-fx-font-size: 72px;
-fx-padding: 10 20 10 20;
-fx-background-radius: 5;
}
.button.exit-button:hover {
-fx-background-color: #2980b9;
}
.animated_credits_container {
-fx-padding: 10;
-fx-alignment: center;
}