Turgen

TestF4CSS

Dec 8th, 2021 (edited)
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 12.77 KB | None | 0 0
  1. @font-face {
  2. font-family: "LunarSans";
  3.  
  4. src: url("https://pipe.miroware.io/5d82255bb72a043564fd78a6/LunarSans.otf");
  5. color:  rgb(0, 0, 0);
  6. }
  7.  
  8. #game {
  9.     text-shadow: 0px 0px 0px rgb(0 0 0 / 100%);
  10.     height: 100% !important;
  11.     /*overflow-y: hidden !important;*/
  12.    
  13. }
  14. .upgrade {
  15.     background-color: rgb(128, 128, 128);
  16.     cursor: pointer;
  17.     width: 100%;
  18.    
  19. font-size: 18px;
  20.  
  21. display: inline-block;
  22. }
  23. .box{
  24.  
  25. }
  26.  
  27.  
  28. body, html, div {
  29. font-family: "LunarSans";
  30. }
  31.  
  32. .thing {
  33. padding: 5px;
  34.     background-color: rgb(128, 128, 128);
  35. color:  rgb(0, 0, 0);
  36. width: 100%;
  37. font-family: "LunarSans";
  38. font-size: 18px;
  39. /*height: 10%;*/
  40. text-align: center !important;
  41. line-height: 1.0 !important;
  42. /*display: inline-block !important;*/
  43.  
  44. }
  45. .thing:hover {
  46. background-color: rgb(190, 190, 190); /* The light grey hover color of the buttons */
  47.  
  48. }
  49.  
  50. .thing-costs{
  51. padding: 0px !important;
  52. }
  53.  
  54. /* These things below has to do with the scaling of the ability icons, so they are quadratic and not stretched.
  55.  
  56. If more abilities are added their "#thing-X" tag should be added in the same way */
  57.  
  58. #thing-0 {
  59.  
  60. left: 0% !important;
  61. top: 0% !important;
  62.   width: 100% !important;
  63.   height: 100% !important;
  64. position: absolute !important; /* This enables you to freely place the object on the screen */
  65. z-index: 2000; /* This is how much in front the things are, in this case the ability icons should be in front of the headers */
  66. }
  67. #thing-1 {
  68. left: 0% !important;
  69. top: 0% !important;
  70.   width: 100% !important;
  71.   height: 100% !important;
  72. position: absolute !important;
  73. z-index: 2000;
  74. }
  75. #thing-2 {
  76. left: 0% !important;
  77. top: 0% !important;
  78.   width: 100% !important;
  79.   height: 100% !important;
  80. position: absolute !important;
  81. z-index: 2000;
  82. }
  83. #thing-3 {
  84. left: 0% !important;
  85. top: 0% !important;
  86.   width: 100% !important;
  87.   height: 100% !important;
  88. position: absolute !important;
  89. z-index: 2001;
  90. }
  91. #thing-4 {
  92. left: 0% !important;
  93. top: 0% !important;
  94.   width: 100% !important;
  95.   height: 100% !important;
  96. position: absolute !important;
  97. z-index: 2000;
  98. }
  99. #thing-5 {
  100. left: 0% !important;
  101. top: 0% !important;
  102.   width: 100% !important;
  103.   height: 100% !important;
  104. position: absolute !important;
  105. z-index: 2000;
  106. }
  107. #thing-6 {
  108. left: 0% !important;
  109. top: 0% !important;
  110.   width: 100% !important;
  111.   height: 100% !important;
  112. position: absolute !important;
  113. z-index: 2000;
  114. }
  115. #thing-7 {
  116. left: 0% !important;
  117. top: 0% !important;
  118.   width: 100% !important;
  119.   height: 100% !important;
  120. position: absolute !important;
  121. z-index: 2000;
  122. }
  123. #thing-8 {
  124.  
  125. left: 0%;
  126.   top: 0%;
  127.   width: 100% !important;
  128.  height: 100% !important;
  129.  
  130. position: absolute !important;
  131. background-size: contain !important;
  132. background-repeat: no-repeat !important;
  133. z-index: 2000;
  134. }
  135. #thing-9 {
  136. left: 0% !important;
  137. top: 0% !important;
  138.   width: 100% !important;
  139.   height: 100% !important;
  140. position: absolute !important;
  141. background-repeat: no-repeat !important;
  142. z-index: 2000;
  143. }
  144. #thing-10 {
  145. left: 0% !important;
  146. top: 0% !important;
  147.   width: 100% !important;
  148.   height: 100% !important;
  149. position: absolute !important;
  150. background-repeat: no-repeat !important;
  151. z-index: 2000;
  152. }
  153. #thing-11 {
  154. left: 0% !important;
  155. top: 0% !important;
  156.   width: 100% !important;
  157.   height: 100% !important;
  158. position: absolute !important;
  159. background-repeat: no-repeat !important;
  160. z-index: 2000;
  161. }
  162. #thing-12 {
  163. left: 0% !important;
  164. top: 0% !important;
  165.   width: 100% !important;
  166.   height: 100% !important;
  167. position: absolute !important;
  168. background-repeat: no-repeat !important;
  169. z-index: 2000;
  170. }
  171.  
  172.  
  173.  
  174. .thing.bigButton{
  175. left: 0% !important;
  176. top: 0% !important;
  177. margin-left: auto !important;
  178.     margin-top: auto !important;
  179. position: absolute !important;
  180. opacity: 1;
  181. z-index: 900;
  182. }
  183.  
  184. .thing.bigButton:hover{
  185.     opacity: 1;
  186.  
  187. z-index: 3000 !important;
  188. }
  189. .bigButton:hover, .thing-icon:hover {
  190.     transform: scale(1.05) !important; /* this is how big the ability icons get when hovered */
  191.     transition: transform 0.15s ease-out !important; /* this adds a nice ease effect to the animation */
  192.  
  193. z-index: 3000 !important; /* this makes the currently hovered ability in front of the other abilities */
  194. }
  195.  
  196.  
  197. .menu1css {
  198.   left: 20% !important; /* this is how far from the left edge of the window the menu is (percentage of screen width) */
  199.   top: 0% !important; /* this is how far from the top the menu is in percentage of screen height */
  200.   width: 25% !important; /* this is the width of the menu in percentage of screen width */
  201.   height: 55% !important; /* the height of the menu in percentage of screen height */
  202. overflow-x: hidden; /* the menu can't scroll horizontally */
  203. overflow-y: scroll; /* the menu can scroll vertically */
  204. position: absolute !important; /* freely place the menu on the screen */
  205. border-style: solid; /* the black border of the menu is solid */
  206. border-width: 2px; /* the border is 2 pixels wide */
  207. border-color: #000000FF; /* the border is black and not transparent */
  208. }
  209.  
  210. /* below is the log header ("Forez's Dream" text) see above for explanations */
  211.  
  212. .logHeader {
  213.    left: 45%;
  214.   top: 0%;
  215.   width: 30%;
  216.   height: 5% !important;
  217.     position: absolute !important;
  218. overflow-x: hidden;
  219. overflow-y: hidden;
  220.  
  221. display: inline-block !important; /* this makes the text separate in more lines when it can't fit into the header (zoomed in) */
  222.  
  223. border-style: solid;
  224. border-width: 2px;
  225. border-color: #000;
  226. }
  227.  
  228. /* this is the log. See above for explanations */
  229. .logcss {
  230.   left: 45%;
  231.   top: 5%;
  232.   width: 30%;
  233.   height: 50%;
  234. font-family: "LunarSans";
  235. position: absolute !important;
  236.     background-color: rgb(128, 128, 128);
  237. color: #000000;
  238. font-size: 18px;
  239. padding: 8px !important; /* this makes the text appear at a distance from the log edge, so the text isn't touching the border */
  240. border-style: solid;
  241. border-width: 2px;
  242. border-color: #000000FF;
  243. }
  244.  
  245. #logInner {
  246.     display: table-cell;
  247.     vertical-align: top;
  248. }
  249.  
  250. .scroll1 {
  251.   height: 200px;
  252. overflow-x: hidden;
  253. overflow-y: scroll;
  254. }
  255.  
  256. /* this is the player HP and Damage boxes. See above for explanations */
  257. .playerhpposition {
  258.   left: 0%;
  259.   top: 30%;
  260.   width: 20%;
  261. font-size: 160%;
  262. position: absolute !important;
  263. border-style: solid;
  264. border-width: 2px;
  265. border-color: #000000FF;
  266. }
  267. /* this is the enemy HP boxes. See above for explanations */
  268. .enemyhpposition {
  269.   right: 0%;
  270.   top: 74%;
  271.   width: 25%;
  272.   height: 20%;
  273. font-size: 160%;
  274. position: absolute !important;
  275. border-style: solid;
  276. border-width: 2px;
  277. border-color: #000000FF;
  278.  
  279. }
  280.  
  281. /* this is the header for the inventory. See above for explanations */
  282. .inventoryHeader{
  283.   right: 0px;
  284.   top: 0%;
  285.   width: 25%;
  286.   height: 5% !important;
  287.     position: absolute !important;
  288. overflow-x: hidden;
  289. overflow-y: hidden;
  290.  
  291. display: inline-block !important;
  292. min-height: 30px !important; /* the height of the header should be minimum 30px to contain the text when zoomed */
  293. border-style: solid;
  294. border-width: 2px;
  295. border-color: #000;
  296. z-index: 1000 !important;
  297. }
  298.  
  299.  
  300. /* this is the inventory. See above for explanations */
  301. .inventory1css {
  302.   right: 0%;
  303.   top: 5%;
  304.   width: 25%;
  305.   height: 40%;
  306.     position: absolute !important;
  307. overflow-x: hidden;
  308. overflow-y: scroll;
  309. }
  310.  
  311. /* this is the sell items header. See above for explanations */
  312. .sellitemsHeader {
  313.   right: 0px;
  314.   top: 47%;
  315.   width: 25%;
  316.   height: 5% !important;
  317.     position: absolute !important;
  318. overflow-x: hidden;
  319. overflow-y: hidden;
  320.  
  321.  
  322. display: inline-block !important;
  323.  
  324. border-style: solid;
  325. border-width: 2px;
  326. border-color: #000;
  327. }
  328.  
  329. /* this is the sell items menu. See above for explanations */
  330. .sellitemsCss {
  331.   right: 0px;
  332.   top: 52%;
  333.   width: 25%;
  334.   height: 20%;
  335.     position: absolute !important;
  336. overflow-x: hidden;
  337. overflow-y: scroll;
  338.  
  339.  
  340. }
  341.  
  342. /* these properties are the common ones for all box-headers. See above for explanations */
  343. .box-header {
  344. background-color: rgb(128, 128, 128) !important; /* the background color */
  345. right: 0% !important;
  346.   top: 0% !important;
  347. width: 100% !important;
  348. height: 100% !important;
  349. position: absolute !important;
  350.  
  351. padding: 10px; /* this makes the text in the center so it doesn't touch the edges of the border */
  352. margin-bottom 0px;
  353. z-index: 1000;
  354. color: #000000; /* the font color */
  355. font-size: 18px;
  356. text-align:center; /* center the text */
  357. display: inline-block; /* this separates the text in multiple lines if it is zoomed and can't be contained in one line */
  358.  
  359. }
  360. #box-things-Upgrades{
  361. right: 0%;
  362.  
  363.   width: 100%;
  364.   height: 90%;
  365.     position: absolute !important;
  366.  
  367. }
  368.  
  369. /* This is the position and scale of "Hard Swing" */
  370. .ability1css {
  371.  
  372.   left: 0%;
  373.   top: 61%;
  374.   width: 10%;
  375.     height: 100% !important;
  376.  
  377.   padding-top: 100%; /* this makes the icons quadratic and not scaling in the same way as the text in the game */
  378.  
  379. position: absolute !important;
  380.  
  381. }
  382.  
  383. /* This is the position and scale of "Charge" */
  384. .ability2css {
  385.   left: 10%;
  386.   top: 61%;
  387.   width: 10%;
  388.   padding-top: 100%;
  389. position: absolute !important;
  390.  
  391. }
  392.  
  393. /* This is the position and scale of "Empower" when not activated */
  394. .ability3css {
  395.   left: 20%;
  396.   top: 61%;
  397.   width: 10%;
  398.  
  399.   padding-top: 100%;
  400. position: absolute !important;
  401.  
  402.  
  403. }
  404.  
  405. /* Below is the position and scale of "Destruction"
  406. (Notice that it is 79.3% from the top - This is the height of second row of skills) */
  407.  
  408. .ability8css {
  409.   left: 0%;
  410.   top: 79.3%;
  411.   width: 10%;
  412.   padding-top: 100%;
  413. position: absolute !important;
  414.  
  415. }
  416.  
  417. /* Some skill text were visible which should not be there. If more are added, they can be hidden like this */
  418. #thing-text-4, #thing-text-6, #thing-text-7, #thing-text-5{
  419. display: none !important;
  420.  
  421. }
  422.  
  423. /* This is the position and scale of "Focus" */
  424. .ability4css {
  425.   left: 30%;
  426.   top: 61%;
  427.   width: 10%;
  428.   padding-top: 100%;
  429.  
  430. position: absolute !important;
  431.  
  432. }
  433.  
  434. /* This is the position and scale of another defensive skill, made to be future proof */
  435. .ability5css {
  436.   left: 40%;
  437.   top: 61%;
  438.   width: 10%;
  439.   padding-top: 100%;
  440. position: absolute !important;
  441.  
  442. }
  443.  
  444. /* This is the position and scale of always crit */
  445. .acritcss {
  446.       left: 13%;
  447.       top: 45%;
  448.       width: 6%;
  449.   height: 10%;
  450. position: absolute !important;
  451. z-index: 2500 !important; /* This is in front of the menus and headers */
  452. }
  453.  
  454. /* This is the position and scale of "Regeneration" */
  455. .ability6css {
  456.   left: 50%;
  457.   top: 61%;
  458.   width: 10%;
  459.   padding-top: 100%;
  460. position: absolute !important;
  461.  
  462. }
  463.  
  464. /* This is the position and scale of another regen skill, made to be future proof */
  465. .ability7css {
  466.   left: 60%;
  467.   top: 61%;
  468.   width: 10%;
  469.   padding-top: 100%;
  470. position: absolute !important;
  471.  
  472. }
  473.  
  474. /* This is the header of the melee skills */
  475. .abilitymeleecss {
  476.     background-color: rgb(128, 128, 128);
  477.   left: 0%;
  478.   top: 55%;
  479.   width: 30%;
  480.   height: 6%;
  481.     position: absolute !important;
  482. color:  rgb(0, 0, 0);
  483. font-size: 18px;
  484.  
  485. border-style: solid;
  486. border-width: 2px;
  487. border-color: #000000FF;
  488. }
  489.  
  490. /* This is the header of the defensive skills */
  491. .abilitydefcss {
  492.     background-color: rgb(128, 128, 128);
  493.   left: 30%;
  494.    top: 55%;
  495.   width: 20%;
  496.   height: 6%;
  497. position: absolute !important;
  498. color:  rgb(0, 0, 0);
  499. font-size: 18px;
  500.  
  501. border-style: solid;
  502. border-width: 2px;
  503. border-color: #000000FF;
  504. }
  505.  
  506.  
  507. /* This is the header of the regen skills */
  508. .abilityregencss {
  509.     background-color: rgb(128, 128, 128);
  510.   left: 50%;
  511.  top: 55%;
  512.   width: 25%;
  513.   height: 6%;
  514. position: absolute !important;
  515. color:  rgb(0, 0, 0);
  516. font-size: 18px;
  517.  
  518. border-style: solid;
  519. border-width: 2px;
  520. border-color: #000000FF;
  521. }
  522.  
  523. /* This is common for all skills and some other of the buttons */
  524. .box-things{
  525. left: 0% !important;
  526. top: 0% !important;
  527. position: absolute !important;
  528. width: 100% !important;
  529. height: 10% !important;
  530.  
  531. }
  532.  
  533. /* This is makes sure the skill icons quadratic and have a black border that fits the rest of the layout.
  534. If more skills are added there icons (e.g. "#thing-icon-XX") should be on this list too */
  535.  
  536. #thing-icon-0, #thing-icon-1, #thing-icon-2, #thing-icon-3, #thing-icon-4, #thing-icon-5, #thing-icon-6, #thing-icon-7, #thing-icon-8, #thing-icon-9, #thing-icon-10, #thing-icon-11, #thing-icon-12 {
  537.  
  538. background-repeat: no-repeat !important; /* The images should not repeat if the boxes containing them are stretched */
  539.  display: inline-block !important;
  540. width: 100% !important;
  541. height: 100% !important;
  542.  
  543. background-size: 100% auto !important;
  544.  
  545. z-index: 2000 !important;
  546. border-style: solid;
  547. border-width: 2px;
  548. border-color: #000000FF;
  549. }
  550.  
  551.  
  552. /* This is the position of the stats and levels of the player */
  553. .statscss {
  554.   left: 0%;
  555.   top: 5%;
  556.   width: 20%;
  557.  
  558. position: absolute !important;
  559. border-style: solid;
  560. border-width: 2px;
  561. border-color: #000000FF;
  562. }
  563.  
  564. /* this makes sure that the images don't repeat in general */
  565. .thing-icon{
  566. background-repeat: no-repeat !important;
  567.  
  568. }
  569.  
  570.  
  571.  
Add Comment
Please, Sign In to add comment