base.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. body {
  2. width: 100%;
  3. height: 100%;
  4. position: absolute;
  5. background: #000000;
  6. margin: 0;
  7. padding: 0;
  8. overscroll-behavior: none;
  9. }
  10. .container {
  11. width: 100%;
  12. height: 100%;
  13. position: relative;
  14. }
  15. .ui {
  16. width: 100%;
  17. height: 100%;
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. font-family: 'IM Fell French Canon', serif;
  22. }
  23. .quest-ui-layout {
  24. display: flex;
  25. height: 100%;
  26. width: 100%;
  27. flex-direction: column;
  28. justify-content: center;
  29. align-items: center;
  30. }
  31. .quest-ui {
  32. background: rgba(1.0, 1.0, 1.0, 0.75);
  33. padding: 20px 20px;
  34. width: 700px;
  35. z-index: 2;
  36. }
  37. .quest-title {
  38. font-size: 3em;
  39. color: white;
  40. text-shadow: 4px 4px black;
  41. }
  42. .quest-text-title {
  43. font-size: 3em;
  44. color: white;
  45. padding-bottom: 10px;
  46. }
  47. .quest-text {
  48. font-size: 1em;
  49. color: white;
  50. }
  51. .quest-journal-layout {
  52. display: flex;
  53. flex-direction: row;
  54. justify-content: flex-end;
  55. align-items: flex-end;
  56. }
  57. .quest-journal {
  58. display: flex;
  59. flex-direction: column;
  60. background: rgba(1.0, 1.0, 1.0, 0.75);
  61. margin: 30px;
  62. padding: 20px 20px;
  63. padding-top: 5px;
  64. width: 300px;
  65. height: 600px;
  66. z-index: 1;
  67. }
  68. .quest-entry {
  69. font-size: 2em;
  70. color: white;
  71. border: black;
  72. border-style: solid;
  73. border-width: thick;
  74. padding: 5px;
  75. }
  76. .icon-ui {
  77. display: flex;
  78. height: 100%;
  79. flex-direction: column;
  80. justify-content: flex-end;
  81. }
  82. .icon-bar {
  83. display: flex;
  84. justify-content: center;
  85. margin-bottom: 10px;
  86. z-index: 1;
  87. }
  88. .icon-bar-item {
  89. background-size: cover;
  90. width: 75px;
  91. height: 75px;
  92. margin: 2px;
  93. }
  94. .health-ui {
  95. background-image: url('./resources/icons/ui/health-bar.png');
  96. width: 500px;
  97. height: 300px;
  98. z-index: 1;
  99. }
  100. .health-bar {
  101. background: greenyellow;
  102. width: 200px;
  103. max-width: 200px;
  104. height: 40px;
  105. position: relative;
  106. top: 215px;
  107. left: 260px;
  108. border-style: solid;
  109. border-width: 2px;
  110. border-color: black;
  111. border-radius: 5px;
  112. }
  113. .stats-tooltip {
  114. position: relative;
  115. display: inline-block;
  116. z-index: 100;
  117. }
  118. .stats-tooltip .stats-tooltiptext {
  119. visibility: hidden;
  120. width: 200px;
  121. background-color: black;
  122. opacity: 0.75;
  123. text-align: center;
  124. padding: 1em;
  125. border-radius: 6px;
  126. color: white;
  127. font-size: medium;
  128. position: absolute;
  129. z-index: 1;
  130. top: -5px;
  131. right: 105%;
  132. }
  133. .stats-tooltip:hover .stats-tooltiptext {
  134. visibility: visible;
  135. }
  136. .stats-title {
  137. font-size: 3em;
  138. color: white;
  139. text-shadow: 4px 4px black;
  140. }
  141. .stats {
  142. display: flex;
  143. flex-direction: row;
  144. justify-content: flex-end;
  145. margin: 30px;
  146. z-index: 1;
  147. }
  148. .stats-inner {
  149. display: flex;
  150. flex-direction: column;
  151. background: rgba(1.0, 1.0, 1.0, 0.75);
  152. padding: 20px 20px;
  153. width: 250px;
  154. padding-top: 5px;
  155. }
  156. .stats-row {
  157. display: flex;
  158. flex-direction: row;
  159. justify-content: space-between;
  160. font-size: 2em;
  161. color: white;
  162. text-shadow: 4px 4px black;
  163. }
  164. .inventory-title {
  165. font-size: 3em;
  166. color: white;
  167. text-shadow: 4px 4px black;
  168. }
  169. .inventory {
  170. display: flex;
  171. flex-direction: row;
  172. justify-content: flex-end;
  173. margin: 30px;
  174. z-index: 1;
  175. }
  176. .inventory-inner {
  177. display: flex;
  178. flex-direction: column;
  179. background: rgba(1.0, 1.0, 1.0, 0.75);
  180. padding: 20px 20px;
  181. padding-top: 5px;
  182. }
  183. .inventory-row {
  184. display: flex;
  185. flex-direction: row;
  186. justify-content: space-evenly;
  187. }
  188. .inventory-column {
  189. display: flex;
  190. flex-direction: column;
  191. justify-content: space-evenly;
  192. }
  193. .inventory-character {
  194. background-image: url('./resources/icons/ui/inventory-character.png');
  195. background-size: cover;
  196. width: 200px;
  197. height: 350px;
  198. }
  199. .inventory-item {
  200. border: black;
  201. border-style: solid;
  202. border-radius: 10%;
  203. background-color: black;
  204. width: 50px;
  205. height: 50px;
  206. margin: 2px;
  207. background-size: cover;
  208. }