index.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. html, body {
  2. color: lightgray;
  3. background-color: #181818;
  4. margin: 0px;
  5. padding: 0px;
  6. font-family: sans-serif;
  7. text-align: center;
  8. }
  9. .spacer{
  10. width: 100%;
  11. height: 33%;
  12. display: block;
  13. }
  14. .three-column {
  15. display: flex;
  16. }
  17. .column {
  18. flex: 1;
  19. }
  20. .container {
  21. text-align: center;
  22. }
  23. .container h1 {
  24. padding: 0px;
  25. margin: 0px;
  26. }
  27. .noselect {
  28. -webkit-touch-callout: none; /* iOS Safari */
  29. -webkit-user-select: none; /* Safari */
  30. -khtml-user-select: none; /* Konqueror HTML */
  31. -moz-user-select: none; /* Old versions of Firefox */
  32. -ms-user-select: none; /* Internet Explorer & Edge */
  33. user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
  34. }
  35. .clickable {
  36. cursor: pointer;
  37. }
  38. .animate-visibility {
  39. -webkit-transition: opacity 0.5s ease-in;
  40. -moz-transition: opacity 0.5s ease-in;
  41. -o-transition: opacity 0.5s ease-in;
  42. -ms-transition: opacity 0.5s ease-in;
  43. transition: opacity 0.5s ease-in;
  44. }
  45. .message {
  46. display: block;
  47. cursor: pointer;
  48. -webkit-transition: opacity 0.5s ease-in;
  49. -moz-transition: opacity 0.5s ease-in;
  50. -o-transition: opacity 0.5s ease-in;
  51. -ms-transition: opacity 0.5s ease-in;
  52. transition: opacity 0.5s ease-in;
  53. opacity: 0;
  54. }
  55. .error-message {
  56. color: crimson;
  57. }
  58. #spacerpg {
  59. position: fixed;
  60. top: 0;
  61. left: 0;
  62. width: 100%;
  63. height: 33%;
  64. margin-left: auto;
  65. margin-right: auto;
  66. background-color: #060606;
  67. image-rendering: crisp-edges; /* Older versions of FF */
  68. image-rendering: -moz-crisp-edges; /* FF 6.0+ */
  69. image-rendering: -webkit-optimize-contrast; /* Safari */
  70. image-rendering: -o-crisp-edges; /* OS X & Windows Opera (12.02+) */
  71. /*image-rendering: pixelated; // Awesome future-browsers */
  72. image-rendering: optimize-contrast;
  73. -ms-interpolation-mode: nearest-neighbor; /*IE*/
  74. }
  75. #main--progress progress {
  76. background-color: transparent;
  77. }
  78. #player-hud {
  79. text-align: center;
  80. }
  81. #main-container {
  82. padding-bottom: 8px;
  83. }
  84. #ship-container {
  85. }
  86. #inventory-container{
  87. padding-bottom: 8px;
  88. }
  89. #navigation-container {
  90. padding-bottom: 8px;
  91. }
  92. #navigation--system {
  93. width: 100%;
  94. min-width: 256px;
  95. height: 256px;
  96. background-color: #060606;
  97. cursor: none;
  98. }
  99. #ship--board {
  100. display: none;
  101. }
  102. #ship--undock {
  103. display: none;
  104. }
  105. #crafting-container {
  106. padding-bottom: 8px;
  107. }
  108. #dialog-container-left {
  109. /* background-color: rgba(200, 20, 20, 0.5); */
  110. position: fixed;
  111. display: block;
  112. width: 40%;
  113. height: 30%;
  114. top: 0;
  115. left: 0;
  116. text-align: left;
  117. padding: 8px;
  118. overflow: hidden;
  119. }
  120. #dialog-container-right {
  121. /* background-color: rgba(20, 200, 200, 0.5); */
  122. position: fixed;
  123. display: block;
  124. width: 40%;
  125. height: 30%;
  126. top: 0;
  127. right: 0;
  128. text-align: right;
  129. padding: 8px;
  130. overflow: hidden;
  131. }
  132. @media (max-width: 768px) {
  133. .three-column {
  134. flex-direction: column;
  135. }
  136. .left-column {
  137. order: 2;
  138. }
  139. .center-column {
  140. order: 0;
  141. }
  142. .right-column {
  143. order: 1;
  144. }
  145. #dialog-container-left {
  146. width: 100%;
  147. height: 10%;
  148. top: 0;
  149. left: 0;
  150. padding: 0;
  151. padding-right: 16px;
  152. font-size: 12px;
  153. }
  154. #dialog-container-right {
  155. width: 100%;
  156. height: 10%;
  157. top: 20%;
  158. left: 0;
  159. padding: 0;
  160. padding-right: 16px;
  161. font-size: 12px;
  162. }
  163. }