ui.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. :root {
  2. /**
  3. * Global elements
  4. */
  5. --global-color: #ffffff;
  6. --global-background: #000000;
  7. /**
  8. * Links.
  9. */
  10. --ui-color-a: #08fff6;
  11. --ui-color-a-hover: #cccccc;
  12. --ui-color-a-shadow: #000000;
  13. --ui-color-border: #c8ad78;
  14. /**
  15. * Header and footer.
  16. */
  17. --header-background: #79683c;
  18. --header-border: 0.15em solid var(--ui-color-border);
  19. --header-border-radius: 0.2em;
  20. --nav-color: var(--global-color);
  21. --nav-color-hover: #333333;
  22. --nav-background-hover: #ffffff33;
  23. --nav-separator: 0.1em solid #ffffff44;
  24. --nav-shadow: 0 0 0 #ffffff;
  25. --nav-shadow-hover: 0 0 0.2em #ffffff;
  26. /**
  27. * Sections.
  28. */
  29. --section-border: 0.15em solid var(--ui-color-border);
  30. --section-border-radius: 0.5em;
  31. --section-padding: 0.5em;
  32. --section-margin: 0.2em 2em 0.5em 2em;
  33. --section-title-margin: -0.5em -0.5em 0.5em -0.5em;
  34. --section-title-background: #6c2d0d;
  35. --section-title-border-radius: 0.35em;
  36. --section-title-padding: 0.2em 0 0.2em 2em;
  37. --section-title-font-size: 100%;
  38. --section-title-font-weight: bold;
  39. --section-background-list: #331100;
  40. --section-background-content: #755739;
  41. /**
  42. * Star filters.
  43. */
  44. --star-filter-silver: 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);
  45. --star-filter-gold: 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);
  46. --star-filter-purple: sepia(100%) saturate(500%) hue-rotate(250deg) saturate(500%) drop-shadow(0 0 0.1em #000) drop-shadow(0 0 0.1em #000) drop-shadow(0 0 0.1em #000);
  47. --star-filter-red: 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);
  48. /**
  49. * Elemental colors.
  50. */
  51. --element-color-water: #0285f7;
  52. --element-color-fire: #f72302;
  53. --element-color-wind: #fcc923;
  54. --element-color-light: #f2f7aa;
  55. --element-color-dark: #4a0282;
  56. --element-color-magic: #e21af4;
  57. /**
  58. * Input elments
  59. */
  60. --input-color: #ffffff;
  61. --input-color-placeholder: #777777;
  62. --input-font-weight: normal;
  63. --input-padding: 0;
  64. --input-background: linear-gradient(0deg, rgba(187,132,64,1) 0%, rgba(200,173,120,1) 97%, rgba(209,169,143,1) 100%);
  65. --input-background-unchecked: rgb(96, 71, 40);
  66. --input-background-checked: rgba(209,169,143,1);
  67. --input-border: 0;/*0.2em solid var(--ui-color-border);*/
  68. --input-border-radius: 0.2em;
  69. --input-text-shadow: 0 0 0.1em #000000;
  70. --input-box-shadow: 0 0 0.2em #000000;
  71. --input-button-padding: 0.3em 1em 0.3em 1em;
  72. }
  73. .desktop{ /* Elements to be shown only in large screens. */
  74. display: initial;
  75. }
  76. @media screen and (max-width : 990px){
  77. .desktop{
  78. display: none;
  79. }
  80. }
  81. .mobile{ /* Elements to be shown only in small screens. */
  82. display: none;
  83. }
  84. @media screen and (max-width : 990px){
  85. .mobile{
  86. display: initial !important;
  87. }
  88. }
  89. .bold{font-weight: bold;}
  90. .italic{font-style: italic;}
  91. .pointer {cursor: pointer;}
  92. .hidden{display: none;}
  93. .pointer{cursor: pointer;}
  94. .error{border-color: #ffaaaa;}
  95. .color_Fire{color: var(--element-color-fire);}
  96. .color_Wind{color: var(--element-color-wind);}
  97. .color_Water{color: var(--element-color-water);}
  98. .color_Light{color: var(--element-color-light);}
  99. .color_Dark{color: var(--element-color-dark);}
  100. .color_Magic{color: var(--element-color-magic);}
  101. .border_Fire{border-color: var(--element-color-fire);}
  102. .border_Wind{border-color: var(--element-color-wind);}
  103. .border_Water{border-color: var(--element-color-water);}
  104. .border_Light{border-color: var(--element-color-light);}
  105. .border_Dark{border-color: var(--element-color-dark);}
  106. .border_Magic{border-color: var(--element-color-magic);}
  107. .background_Fire{background-color: var(--element-color-fire);}
  108. .background_Wind{background-color: var(--element-color-wind);}
  109. .background_Water{background-color: var(--element-color-water);}
  110. .background_Light{background-color: var(--element-color-light);}
  111. .background_Dark{background-color: var(--element-color-dark);}
  112. .background_Magic{background-color: var(--element-color-magic);}
  113. /* Star colors. */
  114. img.star.star_silver{filter: var(--star-filter-silver);}
  115. img.star.star_gold{filter: var(--star-filter-gold);}
  116. img.star.star_purple{filter: var(--star-filter-purple);}
  117. img.star.star_red{filter: var(--star-filter-red);}
  118. html {height: 100%;}
  119. body{
  120. background-color: var(--global-background);
  121. color: var(--global-color);
  122. height: 100%;
  123. padding: 0;
  124. margin: 0;
  125. text-align: center;
  126. }
  127. a{
  128. color: var(--ui-color-a);
  129. text-shadow: 0 0 0.5em var(--ui-color-a-shadow);
  130. text-decoration: none;
  131. transition: all .3s ease-in-out;
  132. }
  133. a:hover{
  134. color: var(--ui-color-a-hover);
  135. text-shadow: 0 0 0.1em var(--ui-color-a-shadow);
  136. }
  137. .fake_a{ /* Elements that look and act as links. */
  138. color: var(--ui-color-a);
  139. text-shadow: 0 0 0.5em var(--ui-color-a-shadow);
  140. text-decoration: none;
  141. cursor: pointer;
  142. transition: all .3s ease-in-out;
  143. }
  144. .fake_a:hover{
  145. color: var(--ui-color-a-hover);
  146. text-shadow: 0 0 0.1em var(--ui-color-a-shadow);
  147. }
  148. header{
  149. border-bottom: var(--header-border);
  150. /*border-left: var(--header-border);
  151. border-right: var(--header-border);*/
  152. border-bottom-right-radius: var(--header-border-radius);
  153. border-bottom-left-radius: var(--header-border-radius);
  154. margin: 0 0 1em 0;
  155. background-color: var(--header-background);
  156. text-align: left;
  157. }
  158. header div#logo{
  159. font-size: 70%;
  160. margin: auto;
  161. display: inline-block;
  162. vertical-align: middle;
  163. width: 10em;
  164. text-align: center;
  165. float: left;
  166. }
  167. header div#logo img#logo_img{
  168. max-width: 8em;
  169. max-height: 4em;
  170. }
  171. header div#logo h1#logo_text{
  172. font-style: italic;
  173. margin: -1.2em auto -0.7em auto;
  174. text-shadow: 0 0 0.1em var(--ui-color-a-shadow), 0 0 0.1em var(--ui-color-a-shadow);
  175. }
  176. header div#logo h1#logo_text span.large{font-size: 90%;}
  177. header div#logo h1#logo_text span.small{
  178. font-size: 60%;
  179. margin-left: -0.5em;
  180. }
  181. header nav{
  182. display: block;
  183. height: 2em;
  184. margin-left: 8em;
  185. }
  186. header nav a{
  187. font-size: 110%;
  188. font-weight: bold;
  189. text-transform: capitalize;
  190. font-variant: small-caps;
  191. margin: 0 -0.2em 0 0; /* -0.2 to compensate for strange space. */
  192. text-decoration: none;
  193. position: relative;
  194. transition: all .4s ease-in-out;
  195. color: var(--nav-color);
  196. border-left: var(--nav-separator);
  197. padding: 0.3em;
  198. text-align: center;
  199. display: inline-block;
  200. vertical-align: middle;
  201. text-shadow: var(--nav-shadow);
  202. }
  203. header nav a:last-of-type{border-right: var(--nav-separator)}
  204. header nav a:hover{
  205. background-color: var(--nav-background-hover);
  206. color: var(--nav-color-hover);
  207. text-shadow: var(--nav-shadow-hover);
  208. }
  209. @media screen and (max-width : 990px){
  210. header nav a{
  211. font-size: 0.6em;
  212. margin: 0.2em 0.2em;
  213. display: inline-block;
  214. text-align: center;
  215. }
  216. header nav a:hover{
  217. text-shadow: 0 0 0 #000000;
  218. }
  219. }
  220. footer{
  221. font-size: 80%;
  222. text-align: center;
  223. border-top: var(--header-border);
  224. /*border-left: var(--header-border);
  225. border-right: var(--header-border);*/
  226. border-top-right-radius: var(--header-border-radius);
  227. border-top-left-radius: var(--header-border-radius);
  228. margin: 2em 0 0 0;
  229. background-color: var(--header-background);
  230. padding: 1em 2em 1em 2em;
  231. }
  232. footer table#footer_table{
  233. margin-left: auto;
  234. margin-right: auto;
  235. width: 95%;
  236. table-layout: fixed;
  237. }
  238. footer table#footer_table td{
  239. width: 45%;
  240. padding: 0.5em;
  241. }
  242. @media screen and (max-width : 990px){
  243. footer table#footer_table td{
  244. width: auto;
  245. padding: 0.2em;
  246. font-size: 70%;
  247. line-height: 0.9em;
  248. }
  249. }
  250. input, select, a.a_button{
  251. font-size: 100%;
  252. text-transform: capitalize;
  253. font-variant: small-caps;
  254. cursor: pointer;
  255. color: var(--input-color);
  256. font-weight: var(--input-font-weight);
  257. padding: var(--input-padding);
  258. background: var(--input-background);
  259. border: var(--input-border);
  260. border-radius: var(--input-border-radius);
  261. text-shadow: var(--input-text-shadow);
  262. box-shadow: var(--input-box-shadow);
  263. }
  264. input[type=button], input[type=submit]{padding: var(--input-button-padding);}
  265. input[type=text], input[type=number], input[type=date], select{font-size: 80%;}
  266. input[type=number]{width: 3em;}
  267. select[multiple]{scrollbar-width: none;}
  268. input[type=checkbox]{
  269. display: none;
  270. margin-left: -2em;
  271. overflow: hidden;
  272. }
  273. input[type=checkbox] + label{
  274. display: inline-block;
  275. vertical-align: middle;
  276. cursor: pointer;
  277. }
  278. input[type=checkbox]:not(:checked) + label:before{
  279. content: " ";
  280. text-align: center;
  281. font-weight: bold;
  282. color: var(--input-color);
  283. text-shadow: var(--input-text-shadow);
  284. line-height: 0.8em;
  285. padding-top: 0.1em;
  286. display: inline-block;
  287. vertical-align: middle;
  288. width: 0.8em;
  289. height: 0.8em;
  290. margin-right: 0.5em;
  291. border: 0.2em solid var(--ui-color-border);
  292. border-radius: var(--input-border-radius);
  293. box-shadow: var(--input-box-shadow);
  294. background: var(--input-background-unchecked);
  295. }
  296. input[type=checkbox]:checked + label:before{
  297. content: "+";
  298. text-align: center;
  299. font-weight: bold;
  300. color: var(--input-color);
  301. text-shadow: var(--input-text-shadow);
  302. line-height: 0.8em;
  303. padding-top: 0.1em;
  304. display: inline-block;
  305. vertical-align: middle;
  306. width: 0.8em;
  307. height: 0.8em;
  308. margin-right: 0.5em;
  309. border: 0.2em solid var(--ui-color-border);
  310. border-radius: var(--input-border-radius);
  311. box-shadow: var(--input-box-shadow);
  312. background: var(--input-background-checked);
  313. }
  314. ::placeholder {color: var(--input-color-placeholder);}
  315. section{
  316. text-align: left;
  317. border: var(--section-border);
  318. border-radius: var(--section-border-radius);
  319. padding: var(--section-padding);
  320. margin: var(--section-margin);
  321. }
  322. section h2{
  323. margin: var(--section-title-margin);
  324. border-bottom: var(--section-border);
  325. background-color: var(--section-title-background);
  326. border-top-left-radius: var(--section-title-border-radius);
  327. border-top-right-radius: var(--section-title-border-radius);
  328. padding: var(--section-title-padding);
  329. font-size: var(--section-title-font-size);
  330. font-weight: var(--section-title-font-weight);
  331. text-align: left;
  332. text-transform: capitalize;
  333. font-variant: small-caps;
  334. }
  335. @media screen and (max-width : 990px){
  336. section h2{
  337. padding: 0.15em 0 0.15em 1em;
  338. }
  339. }
  340. /* Main content, when it is a list of monsters, runes... */
  341. section.list{
  342. display: block;
  343. text-align: center;
  344. background-color: var(--section-background-list);
  345. }
  346. /* Main content, when it a single monster, rune... */
  347. section.content{
  348. text-align: center;
  349. background-color: var(--section-background-content);
  350. }
  351. /**
  352. * Rune boxes
  353. */
  354. div.rune_panel{
  355. width: 8em;
  356. height: 8em;
  357. border: 0.2em solid #000000;
  358. border-radius: 1em;
  359. position: relative;
  360. text-align: center;
  361. }
  362. div.rune_panel.rune_quality_normal{ /* Normal */
  363. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  364. }
  365. div.rune_panel.rune_quality_magic{ /* Magic */
  366. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  367. }
  368. div.rune_panel.rune_quality_rare{ /* Rare */
  369. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  370. }
  371. div.rune_panel.rune_quality_hero{ /* Hero */
  372. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  373. }
  374. div.rune_panel.rune_quality_legend{ /* Legend */
  375. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  376. }
  377. div.rune_panel img.rune_base{
  378. position: absolute;
  379. width: 9em;
  380. height: 9em;
  381. margin: -0.5em;
  382. top: 0;
  383. left: 0;
  384. }
  385. div.rune_panel.rune_ancient_1 img.rune_base{filter: brightness(150%) contrast(90%) saturate(100%) drop-shadow(0 0 0.3em #ffffff) drop-shadow(0 0 0.1em #ffffff);}
  386. div.rune_panel.rune_slot_1 img.rune_base{transform: rotate(0deg);}
  387. div.rune_panel.rune_slot_2 img.rune_base{transform: rotate(57deg);}
  388. div.rune_panel.rune_slot_3 img.rune_base{transform: rotate(123deg);}
  389. div.rune_panel.rune_slot_4 img.rune_base{transform: rotate(180deg);}
  390. div.rune_panel.rune_slot_5 img.rune_base{transform: rotate(237deg);}
  391. div.rune_panel.rune_slot_6 img.rune_base{transform: rotate(303deg);}
  392. div.rune_panel img.rune_icon{
  393. position: absolute;
  394. height: 3em;
  395. }
  396. div.rune_panel.rune_slot_1 img.rune_icon{
  397. top: 3.0em;
  398. left: 2.7em;
  399. }
  400. div.rune_panel.rune_slot_2 img.rune_icon{
  401. top: 2.9em;
  402. left: 2.3em;
  403. }
  404. div.rune_panel.rune_slot_3 img.rune_icon{
  405. top: 2.2em;
  406. left: 2.3em;
  407. }
  408. div.rune_panel.rune_slot_4 img.rune_icon{
  409. top: 2em;
  410. left: 2.8em;
  411. }
  412. div.rune_panel.rune_slot_5 img.rune_icon{
  413. top: 2.2em;
  414. left: 3.3em;
  415. }
  416. div.rune_panel.rune_slot_6 img.rune_icon{
  417. top: 2.9em;
  418. left: 3.3em;
  419. }
  420. div.rune_panel.rune_original_quality_normal img.rune_icon{filter: sepia(100%) saturate(500%) grayscale(100%);}
  421. div.rune_panel.rune_original_quality_magic img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  422. div.rune_panel.rune_original_quality_rare img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  423. div.rune_panel.rune_original_quality_hero img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  424. div.rune_panel.rune_original_quality_legend img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  425. div.rune_panel span.rune_stars{
  426. position: absolute;
  427. width: 9em;
  428. left: 0.9em;
  429. top: 0.2em;
  430. text-align: left;
  431. }
  432. div.rune_panel span.rune_stars img.star{
  433. width: 1.2em;
  434. height: 1.2em;
  435. margin-left: -0.4em;
  436. filter: drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000);
  437. }
  438. div.rune_panel.rune_level_15 span.rune_stars img.star{filter: sepia(100%) saturate(300%) hue-rotate(320deg) saturate(400%) drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000);}
  439. div.rune_panel span.rune_level{
  440. font-size: 130%;
  441. font-weight: bold;
  442. 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;
  443. position: relative;
  444. top: 4.7em;
  445. left: 1.5em;
  446. }
  447. div.rune_panel span.rune_level::before {
  448. content: "+";
  449. }
  450. div.rune_panel.rune_level_15 span.rune_level{color: #ff6f2d;}
  451. /**
  452. * /Rune boxes
  453. */
  454. /**
  455. * Monster panel
  456. */
  457. div.monster_panel{
  458. display: inline-block;
  459. width: 7em;
  460. height: 7em;
  461. margin: 0.5em;
  462. position: relative;
  463. border-radius: 15%;
  464. }
  465. @media screen and (max-width : 990px){
  466. div.monster_panel{
  467. height: 6em;
  468. width: 6em;
  469. margin: 0.2em;
  470. }
  471. }
  472. div.monster_panel span.stars{
  473. position: absolute;
  474. top: 0.4em;
  475. right: 0.5em;
  476. pointer-events: none;
  477. }
  478. @media screen and (max-width : 990px){
  479. div.monster_panel span.stars{
  480. top: 0.3em;
  481. right: 0.4em;
  482. }
  483. }
  484. div.monster_panel span.stars img.star{
  485. width: 1.3em;
  486. height: 1.3em;
  487. margin-left: -0.65em;
  488. pointer-events: none;
  489. }
  490. @media screen and (max-width : 990px){
  491. div.monster_panel span.stars img.star{
  492. width: 0.9em;
  493. height: 0.9em;
  494. margin-left: -0.5em;
  495. }
  496. }
  497. div.monster_panel img.monster{
  498. width: 6.5em;
  499. height: 6.5em;
  500. border-style: solid;
  501. border-width: 0.3em;
  502. border-radius: 15%;
  503. }
  504. @media screen and (max-width : 990px){
  505. div.monster_panel img.monster{
  506. width: 5.6em;
  507. height: 5.6em;
  508. border-width: 0.2em;
  509. border-radius: 10%;
  510. }
  511. }
  512. div.monster_panel span.level{
  513. position: relative;
  514. font-weight: bold;
  515. color: #000;
  516. text-shadow: 0 0 0.1em #fff, 0 0 0.1em #fff, 0 0 0.2em #fff, 0 0 0.2em #fff, 0 0 0.5em #fff, 0 0 0.5em #fff;
  517. font-size: 2.5em;
  518. width: 90%;
  519. text-align: right;
  520. bottom: 1.3em;
  521. z-index: 1;
  522. pointer-events: none;
  523. display: block;
  524. }
  525. /**
  526. * /Monster panel
  527. */
  528. /**
  529. * Rune table
  530. */
  531. table.rune{
  532. border-collapse: collapse;
  533. display: inline-block;
  534. vertical-align: top;
  535. font-size: 80%;
  536. position: relative;
  537. border-radius: 1em;
  538. margin: 0.5em;
  539. background-color: #7d6640;
  540. font-size: 70%;
  541. border: 0.3em solid #3c2929;
  542. }
  543. table.rune td.icon div.assigned{
  544. max-width: 2.5em;
  545. max-height: 2.5em;
  546. position: absolute;
  547. left: 0.5em;
  548. bottom: 1em;
  549. }
  550. table.rune td.icon div.assigned img.monster_image{
  551. width: 2.5em;
  552. height: 2.5em;
  553. border-style: solid;
  554. border-width: 0.2em;
  555. border-radius: 15%;
  556. }
  557. table.rune td.icon div.rune_panel{font-size: 70%;}
  558. table.rune td.stats{width: 8em;}
  559. table.rune td.stats table{font-size: 90%;}
  560. table.rune td.stats table tr.main_stat{
  561. font-weight: bold;
  562. font-size: 110%;
  563. }
  564. table.rune td.stats table tr.innate_stat{font-style: italic;}
  565. table.rune td.stats table td.stat{text-align: right;}
  566. table.rune td.stats table td.value{
  567. text-align: left;
  568. padding-left: 0.2em;
  569. vertical-align: middle;
  570. white-space: nowrap;
  571. }
  572. table.rune td.stats table td.value span.grind{
  573. color: #ff7700;
  574. vertical-align: middle;
  575. font-size: 90%;
  576. font-weight: bold;
  577. margin-left: -0.4em;
  578. }
  579. table.rune td.stats table td.value span.grind_{display: none;}
  580. table.rune td.stats table td.value img{
  581. width: 1em;
  582. height: 1em;
  583. margin: 0;
  584. vertical-align: middle;
  585. }
  586. table.rune td.details{
  587. padding-left: 0.5em;
  588. width: 16em;
  589. font-size: 80%;
  590. }
  591. table.rune td.details table.table_details td.title{text-align: right;}
  592. table.rune td.details table.table_details td.value{
  593. text-align: left;
  594. padding-left: 1em;
  595. }
  596. table.rune td.details table.table_details span.quality{
  597. border: 0.1em solid #000000;
  598. border-radius: 0.2em;
  599. font-weight: bold;
  600. text-shadow: 0 0 0.1em #000000;
  601. padding: 0 0.3em;
  602. width: 5em;
  603. }
  604. table.rune td.details table.table_details span.quality.quality_normal{background-color: #cccccc;}
  605. table.rune td.details table.table_details span.quality.quality_magic{background-color: #55ff55;}
  606. table.rune td.details table.table_details span.quality.quality_rare{background-color: #15c6e1;}
  607. table.rune td.details table.table_details span.quality.quality_hero{background-color: #ad7fa8;}
  608. table.rune td.details table.table_details span.quality.quality_legend{background-color: #f57900;}
  609. /**
  610. * /Rune table
  611. */
  612. /**
  613. * Craft item panel
  614. */
  615. div.craft_panel{
  616. width: 3em;
  617. height: 3em;
  618. border: 0.1em solid #3c2929;
  619. border-radius: 0.5em;
  620. position: relative;
  621. text-align: center;
  622. display: inline-block;
  623. }
  624. div.craft_panel.craft_quality_normal{ /* Normal */
  625. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  626. }
  627. div.craft_panel.craft_quality_magic{ /* Magic */
  628. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  629. }
  630. div.craft_panel.craft_quality_rare{ /* Rare */
  631. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  632. }
  633. div.craft_panel.craft_quality_hero{ /* Hero */
  634. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  635. }
  636. div.craft_panel.craft_quality_legend{ /* Legend */
  637. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  638. }
  639. div.craft_panel img.craft_base{
  640. position: absolute;
  641. width: 3em;
  642. height: 3em;
  643. margin: -0.5em;
  644. top: 0.1em;
  645. left: 0.5em;
  646. }
  647. div.craft_panel img.craft_icon{
  648. position: absolute;
  649. width: 1em;
  650. height: 1em;
  651. top: 0.6em;
  652. left: 1em;
  653. }
  654. div.craft_panel.craft_ancient_1 img.craft_base{filter: brightness(150%) contrast(90%) saturate(100%) drop-shadow(0 0 0.3em #ffffff) drop-shadow(0 0 0.1em #ffffff);}
  655. div.craft_panel.craft_quality_normal img.craft_base{filter: sepia(100%) saturate(500%) grayscale(100%);}
  656. div.craft_panel.craft_quality_magic img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  657. div.craft_panel.craft_quality_rare img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  658. div.craft_panel.craft_quality_hero img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  659. div.craft_panel.craft_quality_legend img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  660. div.craft_panel span.craft_stat{
  661. display: block;
  662. width: 100%;
  663. text-align: center;
  664. font-size: 60%;
  665. 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;
  666. position: absolute;
  667. top: 2.7em;
  668. }
  669. div.craft_panel span.craft_stat span.craft_stat_name{
  670. display: block;
  671. margin: 0;
  672. }
  673. div.craft_panel span.craft_stat span.craft_stat_value{
  674. display: block;
  675. font-weight: bold;
  676. margin: 0;
  677. }