crunch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

244 lines
2.8 KiB

  1. body {
  2. background: #111;
  3. color: #eee;
  4. height: 100%;
  5. width: 100%;
  6. font-family: Arial;
  7. }
  8. hr {
  9. display: block;
  10. height: 1px;
  11. border: 0;
  12. border-top: 1px solid #ccc;
  13. margin: 1em 0;
  14. padding: 0;
  15. }
  16. a {
  17. color: #7777FF;
  18. text-decoration: none;
  19. }
  20. body.combat {
  21. background: #311;
  22. }
  23. body.explore {
  24. background: #111;
  25. }
  26. body.eaten {
  27. background: #500;
  28. }
  29. button {
  30. background: #222;
  31. color: #eee;
  32. }
  33. #selector-combat {
  34. display: none;
  35. }
  36. .active-button {
  37. }
  38. .inactive-button {
  39. background: #111;
  40. }
  41. .disabled-button {
  42. background: repeating-linear-gradient(
  43. 45deg,
  44. #111,
  45. #111 10px,
  46. #622 10px,
  47. #622 20px
  48. );
  49. }
  50. .stat-button {
  51. width: 100px;
  52. height: 50px;
  53. font-size: 18px;
  54. user-select: none;
  55. }
  56. #compass {
  57. padding: 10px;
  58. }
  59. .compass-button {
  60. width: 100px;
  61. height: 100px;
  62. font-size: 18px;
  63. user-select: none;
  64. }
  65. #actions {
  66. display: flex;
  67. flex-wrap: wrap;
  68. width: 40%;
  69. padding: 15px;
  70. }
  71. .action-button {
  72. flex: 1 0 200px;
  73. height: 50px;
  74. font-size: 18px;
  75. user-select: none;
  76. }
  77. .combat-button {
  78. width: 200px;
  79. height: 50px;
  80. font-size: 18px;
  81. user-select: none;
  82. }
  83. .eaten-button {
  84. width: 200px;
  85. height: 50px;
  86. font-size: 18px;
  87. user-select: none;
  88. }
  89. #combat-desc {
  90. width: 200px;
  91. height: 400px;
  92. background: #222;
  93. }
  94. .dialog-button {
  95. width: 300px;
  96. height: 75px;
  97. font-size: 18px;
  98. user-select: none;
  99. }
  100. #dialog {
  101. list-style-type: none;
  102. }
  103. #combat {
  104. list-style-type: none;
  105. }
  106. #eaten {
  107. list-style-type: none;
  108. }
  109. #log {
  110. background: #222;
  111. width: 100%;
  112. height: 100%;
  113. flex: 3;
  114. overflow: auto;
  115. }
  116. .stats {
  117. float: right;
  118. flex: 1;
  119. }
  120. #player-stats {
  121. height: 75%;
  122. }
  123. #foe-stats {
  124. display: none;
  125. height: 50%;
  126. }
  127. .stat-line {
  128. }
  129. #game-and-stats {
  130. margin: auto;
  131. height: 500px;
  132. max-width: 1000px;
  133. padding: 15px;
  134. display: flex;
  135. }
  136. #footer {
  137. max-width: 800px;
  138. margin: auto;
  139. }
  140. .selector {
  141. display: flex;
  142. }
  143. #game {
  144. display: none;
  145. }
  146. #create {
  147. color: #eee;
  148. padding: 25px;
  149. text-align: center;
  150. }
  151. #character-form-list {
  152. margin: auto;
  153. list-style-type: none;
  154. }
  155. #character-form {
  156. font-size: 20pt;
  157. }
  158. .pref-radio {
  159. display: none;
  160. }
  161. .pref-radio + label {
  162. color: #666;
  163. width: 150px;
  164. }
  165. .pref-gray {
  166. background: #111 !important;
  167. color: #333 !important;
  168. }
  169. .pref-radio:checked + label.pref-disable {
  170. background: #711;
  171. color: #eee;
  172. }
  173. .pref-radio:checked + label.pref-avoid {
  174. background: #a41;
  175. color: #eee;
  176. }
  177. .pref-radio:checked + label.pref-enable {
  178. background: #3a3;
  179. color: #eee;
  180. }
  181. .pref-radio:checked + label.pref-prefer {
  182. background: #44a2c7;
  183. color: #eee;
  184. }
  185. .pref-select {
  186. display: flex;
  187. align-items: center;
  188. justify-content: center;
  189. }
  190. .pref-list {
  191. text-align: center;
  192. margin: auto;
  193. user-select: none;
  194. }
  195. .pref-type {
  196. width: 150px;
  197. }