Files
FueraDeEscala/Assets/Game/Menus/MainMenu/MainMenu.uss
Robii Aragon cc84a2b73d Remove menu background; add perf test resources
Remove hardcoded background-color from MainMenu.uss. Add PerformanceTestRunInfo.json and PerformanceTestRunSettings.json (plus their .meta files) to store performance test metadata and settings. Update ProjectSettings.asset LFS oid/size to reflect project metadata change.
2026-03-09 19:20:54 -07:00

110 lines
2.2 KiB
Plaintext

.main-container {
flex-grow: 1;
flex-direction: column;
align-items: flex-start;
justify-content: center;
overflow: hidden;
padding-left: 6%;
right: 0;
bottom: 0;
top: 0;
left: 0;
}
.game-title {
font-size: 120px;
color: rgb(255, 255, 255);
-unity-font-style: bold;
text-shadow: 5px 5px 0 rgb(0, 0, 0);
margin-bottom: 40px;
rotate: -5deg;
-unity-text-align: upper-left;
white-space: normal;
}
.menu-button {
width: 20%;
min-width: 220px;
height: 80px;
margin-top: 12px;
margin-bottom: 12px;
background-color: rgb(255, 255, 255);
border-radius: 40px;
border-width: 6px;
border-color: rgb(0, 0, 0);
font-size: 30px;
-unity-font-style: bold;
color: rgb(0, 0, 0);
transition-property: scale, rotate, background-color;
transition-duration: 0.2s;
transition-timing-function: ease-out-back;
align-self: flex-start;
align-items: center;
justify-content: center;
-unity-text-align: middle-center;
}
.menu-button:hover {
scale: 1.1 1.1;
rotate: 3deg;
background-color: rgb(255, 236, 0);
color: rgb(43, 0, 87);
}
.menu-button:active {
scale: 0.95 0.95;
background-color: rgb(255, 136, 0);
}
.button-exit {
border-color: rgb(255, 0, 68);
}
.button-exit:hover {
background-color: rgb(255, 204, 204);
}
/* === Responsive: 19:9 (ultra ancho, ej. 2280x1080, 3040x1440) === */
@media (min-width: 2200px) {
.game-title {
font-size: 150px;
margin-bottom: 50px;
}
.menu-button {
width: 18%;
min-width: 280px;
height: 95px;
font-size: 36px;
border-radius: 48px;
margin-top: 15px;
margin-bottom: 15px;
}
.main-container {
padding-left: 5%;
}
}
/* === Responsive: 16:10 (ej. 1920x1200, 2560x1600) === */
@media (min-height: 1150px) and (max-width: 2199px) {
.game-title {
font-size: 125px;
margin-bottom: 45px;
}
.menu-button {
width: 20%;
min-width: 230px;
height: 85px;
font-size: 32px;
border-radius: 42px;
margin-top: 14px;
margin-bottom: 14px;
}
.main-container {
padding-left: 6%;
}
}