main.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. @font-face {
  2. font-family: Tillana;
  3. src: url(tillana-regular.ttf);
  4. }
  5. @font-face {
  6. font-family: Neucha;
  7. src: url(Neucha.ttf);
  8. }
  9. :root {
  10. --image-overlay: url("/images/shared/Accessories/computer/games/dungeonhunter/overlay.png");
  11. --bg-main-color: #161311;
  12. --bg-main-value: 100%;
  13. --bg-secondary-color: #661311;
  14. --bg-secondary-value: 100%;
  15. --color-num: #51bae8;
  16. --color-gain: #e8b93a;
  17. --color-lost: #7c3d26;
  18. --color-stat-health: #b75654;
  19. --color-stat-stamina: #5c844b;
  20. --color-stat-mana: #384a72;
  21. --color-stat-rage: #892e2e;
  22. --color-stat-energy: #e0d476;
  23. --color-stat-agi: #5fbf5b;
  24. --color-stat-cha: #d68bb5;
  25. --color-stat-int: #684dc1;
  26. --color-stat-lor: #7c27b5;
  27. --color-stat-luc: #cbf4e0;
  28. --color-stat-per: #eaedc7;
  29. --color-stat-str: #c1844f;
  30. }
  31. body {
  32. pointer-events: none;
  33. }
  34. #screen {
  35. background-color: transparent !important;
  36. background-image: var(--image-overlay),
  37. linear-gradient(
  38. var(--bg-main-color, #161311) var(--bg-main-value, 100%),
  39. var(--bg-secondary-color, #661311) var(--bg-secondary-value, 100%)
  40. );
  41. background-attachment: fixed;
  42. background-blend-mode: screen;
  43. pointer-events: initial;
  44. padding: 0 !important;
  45. }
  46. #header {
  47. position: fixed;
  48. width: 100%;
  49. max-height: 500px;
  50. overflow: hidden;
  51. top: 0;
  52. left: 0;
  53. pointer-events: none;
  54. }
  55. #headerImage {
  56. position: relative;
  57. top: 0;
  58. vertical-align: middle;
  59. width: 100%;
  60. -webkit-mask-image: linear-gradient(
  61. to bottom,
  62. rgba(0, 0, 0, 1) 40px,
  63. rgba(0, 0, 0, 0) 90%
  64. );
  65. pointer-events: none;
  66. }
  67. #titleContainer {
  68. position: absolute;
  69. left: 50%;
  70. top: 20px;
  71. }
  72. #title {
  73. position: relative;
  74. color: white;
  75. left: -50%;
  76. padding: 5px 25px;
  77. }
  78. #storyContainer {
  79. width: 70%;
  80. margin: auto;
  81. padding: 15px;
  82. padding-top: 400px;
  83. padding-bottom: 60vmin;
  84. text-align: justify;
  85. }
  86. #storyText {
  87. color: #dedede;
  88. font-family: Neucha;
  89. font-size: 1.2em;
  90. border-radius: 1.5em;
  91. }
  92. #actions {
  93. display: flex;
  94. flex-direction: row;
  95. flex-flow: row wrap;
  96. align-items: center;
  97. margin-top: 50px;
  98. user-select: none;
  99. }
  100. .action {
  101. flex-grow: 1;
  102. position: relative;
  103. padding: 15px;
  104. color: white !important;
  105. text-decoration: none;
  106. text-align: center;
  107. background-image: var(--image-overlay);
  108. border: solid 3px gray;
  109. margin: 3px;
  110. user-select: none;
  111. }
  112. .action:hover {
  113. border-color: lightgray;
  114. cursor: pointer;
  115. }
  116. .action:active {
  117. border-color: slategray;
  118. }
  119. #storyHUD {
  120. width: 100%;
  121. position: fixed;
  122. bottom: 0;
  123. left: 0;
  124. font-family: Neucha;
  125. }
  126. #storyCard {
  127. position: relative;
  128. display: block;
  129. margin: auto;
  130. width: 70vw;
  131. background: blue;
  132. }
  133. #storyCardInfo {
  134. display: flex;
  135. flex-flow: row wrap;
  136. align-items: center;
  137. justify-content: space-between;
  138. color: white;
  139. background-color: slategray;
  140. border-top: 3px solid darkslategray;
  141. border-left: 3px solid darkslategray;
  142. border-right: 3px solid darkslategray;
  143. padding: 0 15px;
  144. }
  145. #storyCardInfo > div {
  146. flex: 1 0 0;
  147. margin: 5px 10px;
  148. font-size: 0.8em;
  149. padding-top: 0.2em;
  150. text-align: center;
  151. }
  152. #storyHUDExp {
  153. border-top: 3px solid darkslategray;
  154. height: 5px;
  155. left: 0;
  156. position: relative;
  157. }
  158. .tooltip { cursor: help; }
  159. .tooltip_templates { display: none; }