ui.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  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: 1.2em;
  212. margin: 0.2em 0.5em;
  213. display: block;
  214. }
  215. header nav a:hover{
  216. text-shadow: 0 0 0 #000000;
  217. }
  218. }
  219. footer{
  220. font-size: 80%;
  221. text-align: center;
  222. border-top: var(--header-border);
  223. /*border-left: var(--header-border);
  224. border-right: var(--header-border);*/
  225. border-top-right-radius: var(--header-border-radius);
  226. border-top-left-radius: var(--header-border-radius);
  227. margin: 2em 0 0 0;
  228. background-color: var(--header-background);
  229. padding: 1em 2em 1em 2em;
  230. }
  231. footer table#footer_table{
  232. margin-left: auto;
  233. margin-right: auto;
  234. width: 95%;
  235. table-layout: fixed;
  236. }
  237. footer table#footer_table td{
  238. width: 45%;
  239. padding: 0.5em;
  240. }
  241. @media screen and (max-width : 990px){
  242. footer table#footer_table td{
  243. width: auto;
  244. padding: 0.2em;
  245. font-size: 70%;
  246. line-height: 0.9em;
  247. }
  248. }
  249. input, select, a.a_button{
  250. font-size: 100%;
  251. text-transform: capitalize;
  252. font-variant: small-caps;
  253. cursor: pointer;
  254. color: var(--input-color);
  255. font-weight: var(--input-font-weight);
  256. padding: var(--input-padding);
  257. background: var(--input-background);
  258. border: var(--input-border);
  259. border-radius: var(--input-border-radius);
  260. text-shadow: var(--input-text-shadow);
  261. box-shadow: var(--input-box-shadow);
  262. }
  263. input[type=button], input[type=submit]{padding: var(--input-button-padding);}
  264. input[type=text], input[type=number], input[type=date], select{font-size: 80%;}
  265. input[type=number]{width: 3em;}
  266. select[multiple]{scrollbar-width: none;}
  267. input[type=checkbox]{
  268. display: none;
  269. margin-left: -2em;
  270. overflow: hidden;
  271. }
  272. input[type=checkbox] + label{
  273. display: inline-block;
  274. vertical-align: middle;
  275. cursor: pointer;
  276. }
  277. input[type=checkbox]:not(:checked) + label:before{
  278. content: " ";
  279. text-align: center;
  280. font-weight: bold;
  281. color: var(--input-color);
  282. text-shadow: var(--input-text-shadow);
  283. line-height: 0.8em;
  284. padding-top: 0.1em;
  285. display: inline-block;
  286. vertical-align: middle;
  287. width: 0.8em;
  288. height: 0.8em;
  289. margin-right: 0.5em;
  290. border: 0.2em solid var(--ui-color-border);
  291. border-radius: var(--input-border-radius);
  292. box-shadow: var(--input-box-shadow);
  293. background: var(--input-background-unchecked);
  294. }
  295. input[type=checkbox]:checked + label:before{
  296. content: "+";
  297. text-align: center;
  298. font-weight: bold;
  299. color: var(--input-color);
  300. text-shadow: var(--input-text-shadow);
  301. line-height: 0.8em;
  302. padding-top: 0.1em;
  303. display: inline-block;
  304. vertical-align: middle;
  305. width: 0.8em;
  306. height: 0.8em;
  307. margin-right: 0.5em;
  308. border: 0.2em solid var(--ui-color-border);
  309. border-radius: var(--input-border-radius);
  310. box-shadow: var(--input-box-shadow);
  311. background: var(--input-background-checked);
  312. }
  313. ::placeholder {color: var(--input-color-placeholder);}
  314. section{
  315. text-align: left;
  316. border: var(--section-border);
  317. border-radius: var(--section-border-radius);
  318. padding: var(--section-padding);
  319. margin: var(--section-margin);
  320. }
  321. section h2{
  322. margin: var(--section-title-margin);
  323. border-bottom: var(--section-border);
  324. background-color: var(--section-title-background);
  325. border-top-left-radius: var(--section-title-border-radius);
  326. border-top-right-radius: var(--section-title-border-radius);
  327. padding: var(--section-title-padding);
  328. font-size: var(--section-title-font-size);
  329. font-weight: var(--section-title-font-weight);
  330. text-align: left;
  331. text-transform: capitalize;
  332. font-variant: small-caps;
  333. }
  334. @media screen and (max-width : 990px){
  335. section h2{
  336. padding: 0.15em 0 0.15em 1em;
  337. }
  338. }
  339. /* Main content, when it is a list of monsters, runes... */
  340. section.list{
  341. display: block;
  342. text-align: center;
  343. background-color: var(--section-background-list);
  344. }
  345. /* Main content, when it a single monster, rune... */
  346. section.content{
  347. text-align: center;
  348. background-color: var(--section-background-content);
  349. }
  350. /**
  351. * Rune boxes
  352. */
  353. div.rune_panel{
  354. width: 8em;
  355. height: 8em;
  356. border: 0.2em solid #000000;
  357. border-radius: 1em;
  358. position: relative;
  359. text-align: center;
  360. }
  361. div.rune_panel.rune_quality_normal{ /* Normal */
  362. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  363. }
  364. div.rune_panel.rune_quality_magic{ /* Magic */
  365. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  366. }
  367. div.rune_panel.rune_quality_rare{ /* Rare */
  368. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  369. }
  370. div.rune_panel.rune_quality_hero{ /* Hero */
  371. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  372. }
  373. div.rune_panel.rune_quality_legend{ /* Legend */
  374. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  375. }
  376. div.rune_panel img.rune_base{
  377. position: absolute;
  378. width: 9em;
  379. height: 9em;
  380. margin: -0.5em;
  381. top: 0;
  382. left: 0;
  383. }
  384. 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);}
  385. div.rune_panel.rune_slot_1 img.rune_base{transform: rotate(0deg);}
  386. div.rune_panel.rune_slot_2 img.rune_base{transform: rotate(57deg);}
  387. div.rune_panel.rune_slot_3 img.rune_base{transform: rotate(123deg);}
  388. div.rune_panel.rune_slot_4 img.rune_base{transform: rotate(180deg);}
  389. div.rune_panel.rune_slot_5 img.rune_base{transform: rotate(237deg);}
  390. div.rune_panel.rune_slot_6 img.rune_base{transform: rotate(303deg);}
  391. div.rune_panel img.rune_icon{
  392. position: absolute;
  393. height: 3em;
  394. }
  395. div.rune_panel.rune_slot_1 img.rune_icon{
  396. top: 3.0em;
  397. left: 2.7em;
  398. }
  399. div.rune_panel.rune_slot_2 img.rune_icon{
  400. top: 2.9em;
  401. left: 2.3em;
  402. }
  403. div.rune_panel.rune_slot_3 img.rune_icon{
  404. top: 2.2em;
  405. left: 2.3em;
  406. }
  407. div.rune_panel.rune_slot_4 img.rune_icon{
  408. top: 2em;
  409. left: 2.8em;
  410. }
  411. div.rune_panel.rune_slot_5 img.rune_icon{
  412. top: 2.2em;
  413. left: 3.3em;
  414. }
  415. div.rune_panel.rune_slot_6 img.rune_icon{
  416. top: 2.9em;
  417. left: 3.3em;
  418. }
  419. div.rune_panel.rune_original_quality_normal img.rune_icon{filter: sepia(100%) saturate(500%) grayscale(100%);}
  420. div.rune_panel.rune_original_quality_magic img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  421. div.rune_panel.rune_original_quality_rare img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  422. div.rune_panel.rune_original_quality_hero img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  423. div.rune_panel.rune_original_quality_legend img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  424. div.rune_panel span.rune_stars{
  425. position: absolute;
  426. width: 9em;
  427. left: 0.9em;
  428. top: 0.2em;
  429. text-align: left;
  430. }
  431. div.rune_panel span.rune_stars img.star{
  432. width: 1.2em;
  433. height: 1.2em;
  434. margin-left: -0.4em;
  435. filter: drop-shadow(0 0 0.1em #000000) drop-shadow(0 0 0.1em #000000);
  436. }
  437. 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);}
  438. div.rune_panel span.rune_level{
  439. font-size: 130%;
  440. font-weight: bold;
  441. 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;
  442. position: relative;
  443. top: 4.7em;
  444. left: 1.5em;
  445. }
  446. div.rune_panel span.rune_level::before {
  447. content: "+";
  448. }
  449. div.rune_panel.rune_level_15 span.rune_level{color: #ff6f2d;}
  450. /**
  451. * /Rune boxes
  452. */
  453. /**
  454. * Monster panel
  455. */
  456. div.monster_panel{
  457. display: inline-block;
  458. width: 7em;
  459. height: 7em;
  460. margin: 0.5em;
  461. position: relative;
  462. border-radius: 15%;
  463. }
  464. @media screen and (max-width : 990px){
  465. div.monster_panel{
  466. height: 6em;
  467. width: 6em;
  468. margin: 0.2em;
  469. }
  470. }
  471. div.monster_panel span.stars{
  472. position: absolute;
  473. top: 0.4em;
  474. right: 0.5em;
  475. pointer-events: none;
  476. }
  477. @media screen and (max-width : 990px){
  478. div.monster_panel span.stars{
  479. top: 0.3em;
  480. right: 0.4em;
  481. }
  482. }
  483. div.monster_panel span.stars img.star{
  484. width: 1.3em;
  485. height: 1.3em;
  486. margin-left: -0.65em;
  487. pointer-events: none;
  488. }
  489. @media screen and (max-width : 990px){
  490. div.monster_panel span.stars img.star{
  491. width: 0.9em;
  492. height: 0.9em;
  493. margin-left: -0.5em;
  494. }
  495. }
  496. div.monster_panel img.monster{
  497. width: 6.5em;
  498. height: 6.5em;
  499. border-style: solid;
  500. border-width: 0.3em;
  501. border-radius: 15%;
  502. }
  503. @media screen and (max-width : 990px){
  504. div.monster_panel img.monster{
  505. width: 5.6em;
  506. height: 5.6em;
  507. border-width: 0.2em;
  508. border-radius: 10%;
  509. }
  510. }
  511. div.monster_panel span.level{
  512. position: relative;
  513. font-weight: bold;
  514. color: #000;
  515. 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;
  516. font-size: 2.5em;
  517. width: 90%;
  518. text-align: right;
  519. bottom: 1.3em;
  520. z-index: 1;
  521. pointer-events: none;
  522. display: block;
  523. }
  524. /**
  525. * /Monster panel
  526. */
  527. /**
  528. * Rune table
  529. */
  530. table.rune{
  531. border-collapse: collapse;
  532. display: inline-block;
  533. vertical-align: top;
  534. font-size: 80%;
  535. position: relative;
  536. border-radius: 1em;
  537. margin: 0.5em;
  538. background-color: #7d6640;
  539. font-size: 70%;
  540. border: 0.3em solid #3c2929;
  541. }
  542. table.rune td.icon div.assigned{
  543. max-width: 2.5em;
  544. max-height: 2.5em;
  545. position: absolute;
  546. left: 0.5em;
  547. bottom: 1em;
  548. }
  549. table.rune td.icon div.assigned img.monster_image{
  550. width: 2.5em;
  551. height: 2.5em;
  552. border-style: solid;
  553. border-width: 0.2em;
  554. border-radius: 15%;
  555. }
  556. table.rune td.icon div.rune_panel{font-size: 70%;}
  557. table.rune td.stats{width: 8em;}
  558. table.rune td.stats table{font-size: 90%;}
  559. table.rune td.stats table tr.main_stat{
  560. font-weight: bold;
  561. font-size: 110%;
  562. }
  563. table.rune td.stats table tr.innate_stat{font-style: italic;}
  564. table.rune td.stats table td.stat{text-align: right;}
  565. table.rune td.stats table td.value{
  566. text-align: left;
  567. padding-left: 0.2em;
  568. vertical-align: middle;
  569. white-space: nowrap;
  570. }
  571. table.rune td.stats table td.value span.grind{
  572. color: #ff7700;
  573. vertical-align: middle;
  574. font-size: 90%;
  575. font-weight: bold;
  576. margin-left: -0.4em;
  577. }
  578. table.rune td.stats table td.value span.grind_{display: none;}
  579. table.rune td.stats table td.value img{
  580. width: 1em;
  581. height: 1em;
  582. margin: 0;
  583. vertical-align: middle;
  584. }
  585. table.rune td.details{
  586. padding-left: 0.5em;
  587. width: 16em;
  588. font-size: 80%;
  589. }
  590. table.rune td.details table.table_details td.title{text-align: right;}
  591. table.rune td.details table.table_details td.value{
  592. text-align: left;
  593. padding-left: 1em;
  594. }
  595. table.rune td.details table.table_details span.quality{
  596. border: 0.1em solid #000000;
  597. border-radius: 0.2em;
  598. font-weight: bold;
  599. text-shadow: 0 0 0.1em #000000;
  600. padding: 0 0.3em;
  601. width: 5em;
  602. }
  603. table.rune td.details table.table_details span.quality.quality_normal{background-color: #cccccc;}
  604. table.rune td.details table.table_details span.quality.quality_magic{background-color: #55ff55;}
  605. table.rune td.details table.table_details span.quality.quality_rare{background-color: #15c6e1;}
  606. table.rune td.details table.table_details span.quality.quality_hero{background-color: #ad7fa8;}
  607. table.rune td.details table.table_details span.quality.quality_legend{background-color: #f57900;}
  608. /**
  609. * /Rune table
  610. */
  611. /**
  612. * Craft item panel
  613. */
  614. div.craft_panel{
  615. width: 3em;
  616. height: 3em;
  617. border: 0.1em solid #3c2929;
  618. border-radius: 0.5em;
  619. position: relative;
  620. text-align: center;
  621. display: inline-block;
  622. }
  623. div.craft_panel.craft_quality_normal{ /* Normal */
  624. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  625. }
  626. div.craft_panel.craft_quality_magic{ /* Magic */
  627. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  628. }
  629. div.craft_panel.craft_quality_rare{ /* Rare */
  630. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  631. }
  632. div.craft_panel.craft_quality_hero{ /* Hero */
  633. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  634. }
  635. div.craft_panel.craft_quality_legend{ /* Legend */
  636. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  637. }
  638. div.craft_panel img.craft_base{
  639. position: absolute;
  640. width: 3em;
  641. height: 3em;
  642. margin: -0.5em;
  643. top: 0.1em;
  644. left: 0.5em;
  645. }
  646. div.craft_panel img.craft_icon{
  647. position: absolute;
  648. width: 1em;
  649. height: 1em;
  650. top: 0.6em;
  651. left: 1em;
  652. }
  653. 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);}
  654. div.craft_panel.craft_quality_normal img.craft_base{filter: sepia(100%) saturate(500%) grayscale(100%);}
  655. div.craft_panel.craft_quality_magic img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  656. div.craft_panel.craft_quality_rare img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  657. div.craft_panel.craft_quality_hero img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  658. div.craft_panel.craft_quality_legend img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  659. div.craft_panel span.craft_stat{
  660. display: block;
  661. width: 100%;
  662. text-align: center;
  663. font-size: 60%;
  664. 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;
  665. position: absolute;
  666. top: 2.7em;
  667. }
  668. div.craft_panel span.craft_stat span.craft_stat_name{
  669. display: block;
  670. margin: 0;
  671. }
  672. div.craft_panel span.craft_stat span.craft_stat_value{
  673. display: block;
  674. font-weight: bold;
  675. margin: 0;
  676. }