ui.css 21 KB

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