ui.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576
  1. .desktop{ /* Elements to be shown only in large screens. */
  2. display: initial;
  3. }
  4. @media screen and (max-width : 990px){
  5. .desktop{
  6. display: none;
  7. }
  8. }
  9. .mobile{ /* Elements to be shown only in small screens. */
  10. display: none;
  11. }
  12. @media screen and (max-width : 990px){
  13. .mobile{
  14. display: initial !important;
  15. }
  16. }
  17. .bold{
  18. font-weight: bold;
  19. }
  20. .italic{
  21. font-style: italic;
  22. }
  23. .pointer {
  24. cursor: pointer;
  25. }
  26. .hidden{
  27. display: none;
  28. }
  29. .pointer{
  30. cursor: pointer;
  31. }
  32. .error{
  33. border-color: #ffaaaa;
  34. }
  35. .color_Fire{
  36. color: #f72302;
  37. }
  38. .color_Wind{
  39. color: #fcc923;
  40. }
  41. .color_Water{
  42. color: #0285f7;
  43. }
  44. .color_Light{
  45. color: #f2f7aa;
  46. }
  47. .color_Dark{
  48. color: #4a0282;
  49. }
  50. .color_Magic{
  51. color: #e21af4;
  52. }
  53. .border_Fire{
  54. border-color: #f72302;
  55. }
  56. .border_Wind{
  57. border-color: #fcc923;
  58. }
  59. .border_Water{
  60. border-color: #0285f7;
  61. }
  62. .border_Light{
  63. border-color: #f2f7aa;
  64. }
  65. .border_Dark{
  66. border-color: #4a0282;
  67. }
  68. .border_Magic{
  69. border-color: #e21af4;
  70. }
  71. .background_Fire{
  72. background-color: #f72302;
  73. }
  74. .background_Wind{
  75. background-color: #fcc923;
  76. }
  77. .background_Water{
  78. background-color: #0285f7;
  79. }
  80. .background_Light{
  81. background-color: #f2f7aa;
  82. }
  83. .background_Dark{
  84. background-color: #4a0282;
  85. }
  86. .background_Magic{
  87. background-color: #e21af4;
  88. }
  89. /* Star colors. */
  90. img.star{
  91. }
  92. img.star.star_silver{
  93. filter: sepia(100%) saturate(500%) grayscale(100%) drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000);
  94. }
  95. img.star.star_gold{
  96. filter: sepia(100%) saturate(500%) hue-rotate(10deg) saturate(200%) drop-shadow(0 0 0.1em #000) drop-shadow(0 0 0.1em #000) drop-shadow(0 0 0.1em #000);
  97. }
  98. img.star.star_purple{
  99. filter: sepia(100%) saturate(500%) hue-rotate(250deg) saturate(1500%) drop-shadow(0 0 0.1em #000) drop-shadow(0 0 0.1em #000) drop-shadow(0 0 0.1em #000);
  100. }
  101. img.star.star_red{
  102. filter: sepia(100%) saturate(500%) hue-rotate(320deg) saturate(500%) drop-shadow(0 0 0.1em #000) drop-shadow(0 0 0.1em #000) drop-shadow(0 0 0.1em #000);
  103. }
  104. html {
  105. height: 100%;
  106. }
  107. body{
  108. height: 100%;
  109. padding: 0;
  110. margin: 0;
  111. background-color: #000000;
  112. text-align: center;
  113. }
  114. a{
  115. color: #08fff6;
  116. text-shadow: 0 0 0.5em #000000;
  117. text-decoration: none;
  118. transition: all .3s ease-in-out;
  119. }
  120. a:hover{
  121. color: #cccccc;
  122. text-shadow: 0 0 0.1em #000000;
  123. }
  124. .fake_a{ /* Elements that look and act as links. */
  125. color: #08fff6;
  126. text-shadow: 0 0 0.5em #000000;
  127. text-decoration: none;
  128. cursor: pointer;
  129. transition: all .3s ease-in-out;
  130. }
  131. .fake_a:hover{
  132. color: #cccccc;
  133. text-shadow: 0 0 0.1em #000000;
  134. }
  135. header{
  136. border-bottom: 0.2em solid #f2c920;
  137. border-left: 0.2em solid #f2c920;
  138. border-right: 0.2em solid #f2c920;
  139. border-bottom-right-radius: 1.5em;
  140. border-bottom-left-radius: 1.5em;
  141. margin: 0 0 1em 0;
  142. background-color: #884444;
  143. text-align: left;
  144. }
  145. header div#logo{
  146. margin: auto;
  147. display: inline-block;
  148. vertical-align: middle;
  149. width: 20em;
  150. text-align: center;
  151. }
  152. header div#logo h1#logo_text{
  153. font-style: italic;
  154. margin: -2em auto -0.7em auto;
  155. color: #ffffff;
  156. text-shadow: 0 0 0.3em #000000, 0 0 0.3em #000000, 0 0 0.3em #000000, 0 0 0.3em #000000, 0 0 0.4em #000000, 0 0 0.4em #000000, 0 0 0.4em #000000, 0 0 1em #000000, 0 0 1em #000000;
  157. }
  158. header div#logo h1#logo_text span.large{
  159. font-size: 150%;
  160. }
  161. header div#logo h1#logo_text span.small{
  162. font-size: 70%;
  163. margin-left: -0.5em;
  164. }
  165. header nav{
  166. display: inline-block;
  167. vertical-align: middle;
  168. }
  169. header nav a{
  170. font-size: 2em;
  171. font-weight: bold;
  172. margin: 0.5em;
  173. color: #ffffff;
  174. text-decoration: none;
  175. position: relative;
  176. transition: all .4s ease-in-out;
  177. }
  178. header nav a:hover{
  179. color: #333333;
  180. text-shadow: 0 0 0.7em #ffffff;
  181. }
  182. @media screen and (max-width : 990px){
  183. header nav a{
  184. font-size: 1.2em;
  185. margin: 0.2em 0.5em;
  186. display: block;
  187. }
  188. header nav a:hover{
  189. color: #ffffff;
  190. text-shadow: 0 0 0 #000000;
  191. }
  192. }
  193. footer{
  194. color: #ffffff;
  195. font-size: 80%;
  196. text-align: center;
  197. border-top: 0.2em solid #f2c920;
  198. border-left: 0.2em solid #f2c920;
  199. border-right: 0.2em solid #f2c920;
  200. border-top-right-radius: 1.5em;
  201. border-top-left-radius: 1.5em;
  202. margin: 2em 0 0 0;
  203. background-color: #884444;
  204. padding: 1em 2em 1em 2em;
  205. }
  206. footer table#footer_table{
  207. margin-left: auto;
  208. margin-right: auto;
  209. width: 95%;
  210. table-layout: fixed;
  211. }
  212. footer table#footer_table td{
  213. width: 33%;
  214. padding: 0.5em;
  215. }
  216. @media screen and (max-width : 990px){
  217. footer table#footer_table td{
  218. width: auto;
  219. padding: 0.2em;
  220. font-size: 70%;
  221. }
  222. }
  223. input[type=button], input[type=submit]{
  224. font-size: 100%;
  225. font-weight: bold;
  226. color: #ffffff;
  227. padding: 0.3em 1em 0.3em 1em;
  228. background-color: #351e0b;
  229. border: 0.2em solid #f2c920;
  230. border-radius: 0.5em;
  231. text-shadow: 0 0 0.2em #000000;
  232. cursor: pointer;
  233. box-shadow: 0 0 0.3em #000000;
  234. }
  235. input[type=text], input[type=number]{
  236. font-size: 80%;
  237. font-weight: bold;
  238. color: #ffffff;
  239. padding: 0 0.3em;
  240. background-color: #351e0b;
  241. border: 0.2em solid #f2c920;
  242. border-radius: 0.5em;
  243. box-shadow: 0 0 0.3em #000000;
  244. }
  245. input[type=number]{
  246. width: 3em;
  247. }
  248. input[type=checkbox]{
  249. font-weight: bold;
  250. color: #ffffff;
  251. background-color: #351e0b;
  252. border: 0.2em solid #f2c920;
  253. border-radius: 0.5em;
  254. text-shadow: 0 0 0.2em #000000;
  255. cursor: pointer;
  256. box-shadow: 0 0 0.3em #000000;
  257. }
  258. select{
  259. font-size: 80%;
  260. font-weight: bold;
  261. color: #ffffff;
  262. padding: 0 0.1em;
  263. background-color: #351e0b;
  264. border: 0.2em solid #f2c920;
  265. border-radius: 0.5em;
  266. text-shadow: 0 0 0.2em #000000;
  267. cursor: pointer;
  268. box-shadow: 0 0 0.3em #000000;
  269. }
  270. a.a_button{ /* Links that look like buttons. */
  271. font-size: 100%;
  272. font-weight: bold;
  273. color: #ffffff;
  274. padding: 0.3em 1em 0.3em 1em;
  275. background-color: #351e0b;
  276. border: 0.2em solid #f2c920;;
  277. border-radius: 0.5em;
  278. text-shadow: 0 0 0.2em #000000;
  279. cursor: pointer;
  280. box-shadow: 0 0 0.3em #000000;
  281. display: inline-block;
  282. }
  283. ::placeholder {
  284. color: #777777;
  285. }
  286. section{
  287. text-align: left;
  288. border: 0.2em solid #f2c920;
  289. border-radius: 0.5em;
  290. padding: 0.5em;
  291. margin: 0.2em 2em 0.5em 2em;
  292. }
  293. section h2{
  294. margin: -0.25em -0.25em 0.5em -0.25em;
  295. border-bottom: 0.1em solid #f2c920;
  296. background-color: #000000bb;
  297. color: #ffffff;
  298. text-align: left;
  299. border-top-left-radius: 0.25em;
  300. border-top-right-radius: 0.25em;
  301. padding: 0.25em 0 0.25em 2em;
  302. font-size: 200%;
  303. font-weight: bold;
  304. }
  305. /* Filters section, for lists. */
  306. section.filters{
  307. text-align:center;
  308. background-color: #775533;
  309. display: inline-block;
  310. min-width: 40%;
  311. }
  312. @media screen and (max-width : 990px){
  313. section.filters{
  314. font-size: 80%;
  315. }
  316. }
  317. section.filters table{
  318. margin: auto;
  319. }
  320. section.filters table td.filter{
  321. vertical-align: top;
  322. padding: 0.2em;
  323. text-align: center;
  324. color: #ffffff;
  325. }
  326. section.filters table td.filter span{
  327. display: block;
  328. margin: 0.1em;
  329. font-size: 80%;
  330. }
  331. section.filters div#filter_apply{
  332. text-align: center;
  333. margin: 0.5em auto 1em auto;
  334. }
  335. /* Main content, when it is a list of monsters, runes... */
  336. section.list{
  337. display: block;
  338. text-align: center;
  339. background-color: #331100;
  340. }
  341. /* Main content, when it a single monster, rune... */
  342. section.content{
  343. text-align: center;
  344. background-color: #553311;
  345. }
  346. /**
  347. * Rune boxes
  348. */
  349. div.rune_panel{
  350. width: 8em;
  351. height: 8em;
  352. border: 0.2em solid #000000;
  353. border-radius: 1em;
  354. position: relative;
  355. text-align: center;
  356. }
  357. div.rune_panel.rune_quality_0{ /* Normal */
  358. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  359. }
  360. div.rune_panel.rune_quality_1{ /* Magic */
  361. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  362. }
  363. div.rune_panel.rune_quality_2{ /* Rare */
  364. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  365. }
  366. div.rune_panel.rune_quality_3{ /* Hero */
  367. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  368. }
  369. div.rune_panel.rune_quality_4{ /* Legend */
  370. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  371. }
  372. div.rune_panel img.rune_base{
  373. position: absolute;
  374. width: 9em;
  375. height: 9em;
  376. margin: -0.5em;
  377. top: 0;
  378. left: 0;
  379. }
  380. div.rune_panel.rune_slot_1 img.rune_base{
  381. transform: rotate(0deg);
  382. }
  383. div.rune_panel.rune_slot_2 img.rune_base{
  384. transform: rotate(57deg);
  385. }
  386. div.rune_panel.rune_slot_3 img.rune_base{
  387. transform: rotate(123deg);
  388. }
  389. div.rune_panel.rune_slot_4 img.rune_base{
  390. transform: rotate(180deg);
  391. }
  392. div.rune_panel.rune_slot_5 img.rune_base{
  393. transform: rotate(237deg);
  394. }
  395. div.rune_panel.rune_slot_6 img.rune_base{
  396. transform: rotate(303deg);
  397. }
  398. div.rune_panel img.rune_icon{
  399. position: absolute;
  400. height: 3em;
  401. }
  402. div.rune_panel.rune_slot_1 img.rune_icon{
  403. top: 3.4em;
  404. left: 3.1em;
  405. }
  406. div.rune_panel.rune_slot_2 img.rune_icon{
  407. top: 2.9em;
  408. left: 2.5em;
  409. }
  410. div.rune_panel.rune_slot_3 img.rune_icon{
  411. top: 2.2em;
  412. left: 2.5em;
  413. }
  414. div.rune_panel.rune_slot_4 img.rune_icon{
  415. top: 2em;
  416. left: 3.1em;
  417. }
  418. div.rune_panel.rune_slot_5 img.rune_icon{
  419. top: 2.2em;
  420. left: 3.5em;
  421. }
  422. div.rune_panel.rune_slot_6 img.rune_icon{
  423. top: 2.9em;
  424. left: 3.5em;
  425. }
  426. div.rune_panel.rune_original_quality_0 img.rune_icon{
  427. filter: sepia(100%) saturate(500%) grayscale(100%);
  428. }
  429. div.rune_panel.rune_original_quality_1 img.rune_icon{
  430. filter: sepia(100%) saturate(500%) hue-rotate(60deg);
  431. }
  432. div.rune_panel.rune_original_quality_2 img.rune_icon{
  433. filter: sepia(100%) saturate(500%) hue-rotate(120deg);
  434. }
  435. div.rune_panel.rune_original_quality_3 img.rune_icon{
  436. filter: sepia(100%) saturate(500%) hue-rotate(230deg);
  437. }
  438. div.rune_panel.rune_original_quality_4 img.rune_icon{
  439. filter: sepia(100%) saturate(500%) hue-rotate(330deg);
  440. }
  441. div.rune_panel span.rune_stars{
  442. position: absolute;
  443. width: 9em;
  444. left: 0.9em;
  445. top: 0.2em;
  446. text-align: left;
  447. }
  448. div.rune_panel span.rune_stars img.star{
  449. /* z-index: 4; */
  450. width: 1.2em;
  451. height: 1.2em;
  452. margin-left: -0.4em;
  453. filter: drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000);
  454. }
  455. div.rune_panel.rune_level_15 span.rune_stars img.star{
  456. filter: sepia(100%) saturate(300%) hue-rotate(320deg) saturate(400%) drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000);
  457. }
  458. div.rune_panel span.rune_level{
  459. font-size: 130%;
  460. font-weight: bold;
  461. color: #ffffff;
  462. text-shadow: 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000, 0 0 0.2em #000000;
  463. position: relative;
  464. top: 4.7em;
  465. left: 1.5em;
  466. }
  467. div.rune_panel span.rune_level::before {
  468. content: "+";
  469. }
  470. div.rune_panel.rune_level_15 span.rune_level{
  471. color: #ff6f2d;
  472. }
  473. /**
  474. * /Rune boxes
  475. */
  476. /**
  477. * Monster panel
  478. */
  479. div.monster_panel{
  480. display: inline-block;
  481. width: 7em;
  482. height: 7em;
  483. margin: 0.5em;
  484. position: relative;
  485. border-radius: 15%;
  486. }
  487. @media screen and (max-width : 990px){
  488. div.monster_panel{
  489. height: 6em;
  490. width: 6em;
  491. margin: 0.2em;
  492. }
  493. }
  494. div.monster_panel span.stars{
  495. position: absolute;
  496. top: 0.4em;
  497. right: 0.5em;
  498. }
  499. @media screen and (max-width : 990px){
  500. div.monster_panel span.stars{
  501. top: 0.3em;
  502. right: 0.4em;
  503. }
  504. }
  505. div.monster_panel span.stars img.star{
  506. width: 1em;
  507. height: 1em;
  508. margin-left: -0.4em;
  509. }
  510. @media screen and (max-width : 990px){
  511. div.monster_panel span.stars img.star{
  512. width: 0.9em;
  513. height: 0.9em;
  514. margin-left: -0.5em;
  515. }
  516. }
  517. div.monster_panel img.monster{
  518. width: 6.5em;
  519. height: 6.5em;
  520. border-style: solid;
  521. border-width: 0.3em;
  522. border-radius: 15%;
  523. }
  524. @media screen and (max-width : 990px){
  525. div.monster_panel img.monster{
  526. width: 5.6em;
  527. height: 5.6em;
  528. border-width: 0.2em;
  529. border-radius: 10%;
  530. }
  531. }
  532. div.monster_panel span.level{
  533. position: relative;
  534. bottom: 1.6em;
  535. font-weight: bold;
  536. color: #000;
  537. text-shadow: 0 0 0.1em #fff, 0 0 0.1em #fff, 0 0 0.2em #fff, 0 0 0.2em #fff;
  538. font-size: 100%;
  539. right: -1.5em;
  540. bottom: 1.5em;
  541. z-index: 1;
  542. }
  543. div.monster_panel span.level::before {
  544. content: "Lv. ";
  545. }
  546. /**
  547. * /Monster panel
  548. **