TitleScreen.uss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /* Title Screen Styles - Unity Compatible */
  2. .title-screen-root {
  3. width: 100%;
  4. height: 100%;
  5. }
  6. .background {
  7. width: 100%;
  8. height: 100%;
  9. position: absolute;
  10. background-color: rgb(20, 20, 30);
  11. }
  12. .main-content {
  13. width: 100%;
  14. height: 100%;
  15. align-items: center;
  16. justify-content: center;
  17. flex-direction: column;
  18. padding-top: 50px;
  19. padding-bottom: 50px;
  20. padding-left: 50px;
  21. padding-right: 50px;
  22. }
  23. /* Title Section */
  24. .title-section {
  25. align-items: center;
  26. justify-content: center;
  27. margin-bottom: 80px;
  28. flex-direction: column;
  29. }
  30. .game-title {
  31. font-size: 48px;
  32. color: rgb(255, 215, 100);
  33. -unity-font-style: bold;
  34. -unity-text-align: middle-center;
  35. margin-bottom: 10px;
  36. }
  37. .game-subtitle {
  38. font-size: 18px;
  39. color: rgb(200, 200, 200);
  40. -unity-font-style: italic;
  41. -unity-text-align: middle-center;
  42. opacity: 0.8;
  43. }
  44. /* Menu Section */
  45. .menu-section {
  46. align-items: center;
  47. justify-content: center;
  48. flex-direction: column;
  49. margin-bottom: 60px;
  50. }
  51. .menu-button {
  52. width: 200px;
  53. height: 50px;
  54. margin-top: 8px;
  55. margin-bottom: 8px;
  56. margin-left: 8px;
  57. margin-right: 8px;
  58. border-top-left-radius: 8px;
  59. border-top-right-radius: 8px;
  60. border-bottom-left-radius: 8px;
  61. border-bottom-right-radius: 8px;
  62. border-left-width: 2px;
  63. border-right-width: 2px;
  64. border-top-width: 2px;
  65. border-bottom-width: 2px;
  66. font-size: 16px;
  67. -unity-font-style: bold;
  68. }
  69. .new-game-button {
  70. background-color: rgb(60, 120, 60);
  71. border-color: rgb(80, 160, 80);
  72. color: white;
  73. }
  74. .new-game-button:hover {
  75. background-color: rgb(80, 160, 80);
  76. border-color: rgb(100, 200, 100);
  77. }
  78. .new-game-button:active {
  79. background-color: rgb(40, 100, 40);
  80. }
  81. .load-game-button {
  82. background-color: rgb(60, 60, 120);
  83. border-color: rgb(80, 80, 160);
  84. color: white;
  85. }
  86. .load-game-button:hover {
  87. background-color: rgb(80, 80, 160);
  88. border-color: rgb(100, 100, 200);
  89. }
  90. .load-game-button:active {
  91. background-color: rgb(40, 40, 100);
  92. }
  93. .load-game-button:disabled,
  94. .disabled-button {
  95. background-color: rgb(40, 40, 40);
  96. border-color: rgb(60, 60, 60);
  97. color: rgb(120, 120, 120);
  98. opacity: 0.5;
  99. }
  100. .load-game-button:disabled:hover,
  101. .disabled-button:hover {
  102. background-color: rgb(40, 40, 40);
  103. border-color: rgb(60, 60, 60);
  104. color: rgb(120, 120, 120);
  105. }
  106. .quit-button {
  107. background-color: rgb(120, 60, 60);
  108. border-color: rgb(160, 80, 80);
  109. color: white;
  110. }
  111. .quit-button:hover {
  112. background-color: rgb(160, 80, 80);
  113. border-color: rgb(200, 100, 100);
  114. }
  115. .quit-button:active {
  116. background-color: rgb(100, 40, 40);
  117. }
  118. /* Version Section */
  119. .version-section {
  120. position: absolute;
  121. bottom: 20px;
  122. right: 20px;
  123. }
  124. .version-label {
  125. font-size: 12px;
  126. color: rgb(120, 120, 120);
  127. opacity: 0.7;
  128. }