Advertisement
Turgen

TestF3CSS

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