Files
FueraDeEscala/Assets/Game/Menus/LoadingScreen/LoadingScreen.uss

69 lines
1.3 KiB
Plaintext
Raw Normal View History

/* === Base (16:9, ej. 1920x1080) === */
.loading-container {
flex-grow: 1;
background-color: rgb(0, 0, 0);
flex-direction: row;
align-items: flex-end;
justify-content: flex-end;
padding-right: 5%;
padding-bottom: 5%;
overflow: hidden;
}
.spaceship-icon {
width: 10%;
min-width: 100px;
max-width: 200px;
aspect-ratio: 1;
margin-right: 3%;
margin-bottom: 0;
-unity-background-scale-mode: scale-to-fit;
}
.loading-text {
font-size: 50px;
color: rgb(255, 255, 255);
-unity-font-style: bold;
-unity-text-align: middle-left;
white-space: nowrap;
width: 280px;
margin-right: 0;
margin-bottom: 0;
}
/* === Responsive: 19:9 (ultra ancho, ej. 2280x1080, 3040x1440) === */
@media (min-width: 2200px) {
.loading-container {
padding-right: 4.5%;
padding-bottom: 5%;
}
.spaceship-icon {
width: 9%;
max-width: 260px;
}
.loading-text {
font-size: 65px;
width: 360px;
}
}
/* === Responsive: 16:10 (ej. 1920x1200, 2560x1600) === */
@media (min-height: 1150px) and (max-width: 2199px) {
.loading-container {
padding-right: 5%;
padding-bottom: 5.5%;
}
.spaceship-icon {
width: 10%;
max-width: 215px;
}
.loading-text {
font-size: 52px;
width: 290px;
}
}