ui.css 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027
  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(295deg) saturate(1200%) 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-disabled: linear-gradient(0deg, rgba(93,61,32,1) 0%, rgba(100,86,60,1) 97%, rgba(104,84,71,1) 100%);
  66. --input-background-unchecked: rgb(96, 71, 40);
  67. --input-background-checked: rgba(209,169,143,1);
  68. --input-border: 0;/*0.2em solid var(--ui-color-border);*/
  69. --input-border-radius: 0.2em;
  70. --input-text-shadow: 0 0 0.1em #000000;
  71. --input-box-shadow: 0 0 0.2em #000000;
  72. --input-button-padding: 0.3em 1em 0.3em 1em;
  73. }
  74. .desktop{ /* Elements to be shown only in large screens. */
  75. display: initial;
  76. }
  77. @media screen and (max-width : 990px){
  78. .desktop{
  79. display: none;
  80. }
  81. }
  82. .mobile{ /* Elements to be shown only in small screens. */
  83. display: none;
  84. }
  85. @media screen and (max-width : 990px){
  86. .mobile{
  87. display: initial !important;
  88. }
  89. }
  90. .bold{font-weight: bold;}
  91. .italic{font-style: italic;}
  92. .pointer {cursor: pointer;}
  93. .hidden{display: none;}
  94. .pointer{cursor: pointer;}
  95. .error{border-color: #ffaaaa;}
  96. .color_Fire{color: var(--element-color-fire);}
  97. .color_Wind{color: var(--element-color-wind);}
  98. .color_Water{color: var(--element-color-water);}
  99. .color_Light{color: var(--element-color-light);}
  100. .color_Dark{color: var(--element-color-dark);}
  101. .color_Magic{color: var(--element-color-magic);}
  102. .border_Fire{border-color: var(--element-color-fire);}
  103. .border_Wind{border-color: var(--element-color-wind);}
  104. .border_Water{border-color: var(--element-color-water);}
  105. .border_Light{border-color: var(--element-color-light);}
  106. .border_Dark{border-color: var(--element-color-dark);}
  107. .border_Magic{border-color: var(--element-color-magic);}
  108. .background_Fire{background-color: var(--element-color-fire);}
  109. .background_Wind{background-color: var(--element-color-wind);}
  110. .background_Water{background-color: var(--element-color-water);}
  111. .background_Light{background-color: var(--element-color-light);}
  112. .background_Dark{background-color: var(--element-color-dark);}
  113. .background_Magic{background-color: var(--element-color-magic);}
  114. /* Star colors. */
  115. img.star.star_silver{filter: var(--star-filter-silver);}
  116. img.star.star_gold{filter: var(--star-filter-gold);}
  117. img.star.star_purple{filter: var(--star-filter-purple);}
  118. img.star.star_red{filter: var(--star-filter-red);}
  119. html {height: 100%;}
  120. body{
  121. background-color: var(--global-background);
  122. color: var(--global-color);
  123. height: 100%;
  124. padding: 0;
  125. margin: 0;
  126. text-align: center;
  127. }
  128. a{
  129. color: var(--ui-color-a);
  130. text-shadow: 0 0 0.5em var(--ui-color-a-shadow);
  131. text-decoration: none;
  132. transition: all .3s ease-in-out;
  133. }
  134. a:hover{
  135. color: var(--ui-color-a-hover);
  136. text-shadow: 0 0 0.1em var(--ui-color-a-shadow);
  137. }
  138. .fake_a{ /* Elements that look and act as links. */
  139. color: var(--ui-color-a);
  140. text-shadow: 0 0 0.5em var(--ui-color-a-shadow);
  141. text-decoration: none;
  142. cursor: pointer;
  143. transition: all .3s ease-in-out;
  144. }
  145. .fake_a:hover{
  146. color: var(--ui-color-a-hover);
  147. text-shadow: 0 0 0.1em var(--ui-color-a-shadow);
  148. }
  149. header{
  150. border-bottom: var(--header-border);
  151. /*border-left: var(--header-border);
  152. border-right: var(--header-border);*/
  153. border-bottom-right-radius: var(--header-border-radius);
  154. border-bottom-left-radius: var(--header-border-radius);
  155. margin: 0 0 1em 0;
  156. background-color: var(--header-background);
  157. text-align: left;
  158. position: relative;
  159. }
  160. header div#logo{
  161. font-size: 70%;
  162. margin: auto;
  163. display: inline-block;
  164. vertical-align: middle;
  165. width: 10em;
  166. text-align: center;
  167. float: left;
  168. }
  169. header div#logo img#logo_img{
  170. max-width: 8em;
  171. max-height: 4em;
  172. }
  173. header div#logo h1#logo_text{
  174. font-style: italic;
  175. margin: -1.2em auto -0.7em auto;
  176. text-shadow: 0 0 0.1em var(--ui-color-a-shadow), 0 0 0.1em var(--ui-color-a-shadow);
  177. }
  178. header div#logo h1#logo_text span.large{font-size: 90%;}
  179. header div#logo h1#logo_text span.small{
  180. font-size: 60%;
  181. margin-left: -0.5em;
  182. }
  183. @media screen and (max-width : 990px){
  184. header div#logo{
  185. position: absolute;
  186. top: 1em;
  187. }
  188. header div#logo img#logo_img{
  189. max-width: 5em;
  190. max-height: 3em;
  191. }
  192. header div#logo h1#logo_text span.large{
  193. /*font-size: 50%;
  194. margin: -0.2em;*/
  195. }
  196. header div#logo h1#logo_text span.small{/*display: none;*/}
  197. }
  198. header nav#menu{
  199. display: inline-block;
  200. height: 2em;
  201. }
  202. header nav#menu a{
  203. font-size: 100%;
  204. font-weight: bold;
  205. text-transform: capitalize;
  206. font-variant: small-caps;
  207. margin: 0 -0.2em 0 0; /* -0.2 to compensate for strange space. */
  208. text-decoration: none;
  209. position: relative;
  210. transition: all .4s ease-in-out;
  211. color: var(--nav-color);
  212. border-left: var(--nav-separator);
  213. padding: 0.3em;
  214. text-align: center;
  215. display: inline-block;
  216. vertical-align: middle;
  217. text-shadow: var(--nav-shadow);
  218. }
  219. header nav#menu a:last-of-type{border-right: var(--nav-separator)}
  220. header nav#menu a:hover{
  221. background-color: var(--nav-background-hover);
  222. color: var(--nav-color-hover);
  223. text-shadow: var(--nav-shadow-hover);
  224. }
  225. @media screen and (max-width : 990px){
  226. header nav#menu{
  227. height: initial;
  228. display: block;
  229. text-align: center;
  230. }
  231. header nav#menu a{
  232. padding: 0.6em 0.2em;
  233. margin: 0em -0.2em;
  234. display: inline-block;
  235. text-align: center;
  236. border-top: var(--nav-separator);
  237. border-bottom: var(--nav-separator);
  238. border-right: var(--nav-separator);
  239. }
  240. header nav#menu a:hover{
  241. text-shadow: 0 0 0 #000000;
  242. }
  243. }
  244. header nav#profile{
  245. float: right;
  246. margin-right: 0.5em;
  247. position: absolute;
  248. right: 0;
  249. top: 0em;
  250. }
  251. @media screen and (max-width : 990px){
  252. header nav#profile{
  253. margin-right: 0.5em;
  254. position: absolute;
  255. top: 1em;
  256. right: 0.5em;
  257. }
  258. }
  259. header nav#profile a{
  260. border-left: 0;
  261. font-size: 110%;
  262. font-weight: bold;
  263. text-transform: capitalize;
  264. font-variant: small-caps;
  265. margin: 0;
  266. text-decoration: none;
  267. position: relative;
  268. transition: all .4s ease-in-out;
  269. color: var(--nav-color);
  270. padding: 0.3em;
  271. text-align: center;
  272. display: inline-block;
  273. vertical-align: middle;
  274. text-shadow: var(--nav-shadow);
  275. }
  276. header nav#profile a:hover{
  277. color: var(--nav-color-hover);
  278. text-shadow: var(--nav-shadow-hover);
  279. }
  280. footer{
  281. font-size: 80%;
  282. text-align: center;
  283. border-top: var(--header-border);
  284. /*border-left: var(--header-border);
  285. border-right: var(--header-border);*/
  286. border-top-right-radius: var(--header-border-radius);
  287. border-top-left-radius: var(--header-border-radius);
  288. margin: 2em 0 0 0;
  289. background-color: var(--header-background);
  290. padding: 1em 2em 1em 2em;
  291. position: relative;
  292. }
  293. footer table#footer_table{
  294. margin-left: auto;
  295. margin-right: auto;
  296. width: 95%;
  297. table-layout: fixed;
  298. }
  299. footer table#footer_table td{
  300. width: 45%;
  301. padding: 0.5em;
  302. }
  303. @media screen and (max-width : 990px){
  304. footer table#footer_table td{
  305. width: auto;
  306. padding: 0.2em;
  307. font-size: 70%;
  308. line-height: 0.9em;
  309. }
  310. }
  311. input, select, a.a_button, textarea{
  312. font-size: 100%;
  313. text-transform: capitalize;
  314. font-variant: small-caps;
  315. color: var(--input-color);
  316. font-weight: var(--input-font-weight);
  317. padding: var(--input-padding);
  318. background: var(--input-background);
  319. border: var(--input-border);
  320. border-radius: var(--input-border-radius);
  321. text-shadow: var(--input-text-shadow);
  322. box-shadow: var(--input-box-shadow);
  323. }
  324. a.a_button, input[type=button]{
  325. cursor: pointer;
  326. transition: all .3s ease-in-out;
  327. padding: var(--input-button-padding);
  328. }
  329. input:disabled{
  330. background: var(--input-background-disabled);
  331. }
  332. input[type=text], textarea{
  333. text-transform: initial;
  334. font-variant: initial;
  335. }
  336. input[type=button], input[type=submit]{padding: var(--input-button-padding);}
  337. input[type=text], input[type=number], input[type=date], input[type=password], select{font-size: 80%;}
  338. input[type=number]{width: 3em;}
  339. select[multiple]{scrollbar-width: none;}
  340. input[type=checkbox]{
  341. display: none;
  342. margin-left: -2em;
  343. overflow: hidden;
  344. }
  345. input[type=checkbox] + label{
  346. display: inline-block;
  347. vertical-align: middle;
  348. cursor: pointer;
  349. }
  350. input[type=checkbox]:not(:checked) + label:before{
  351. content: " ";
  352. text-align: center;
  353. font-weight: bold;
  354. color: var(--input-color);
  355. text-shadow: var(--input-text-shadow);
  356. line-height: 0.8em;
  357. padding-top: 0.1em;
  358. display: inline-block;
  359. vertical-align: middle;
  360. width: 0.8em;
  361. height: 0.8em;
  362. margin-right: 0.5em;
  363. border: 0.2em solid var(--ui-color-border);
  364. border-radius: var(--input-border-radius);
  365. box-shadow: var(--input-box-shadow);
  366. background: var(--input-background-unchecked);
  367. }
  368. input[type=checkbox]:checked + label:before{
  369. content: "+";
  370. text-align: center;
  371. font-weight: bold;
  372. color: var(--input-color);
  373. text-shadow: var(--input-text-shadow);
  374. line-height: 0.8em;
  375. padding-top: 0.1em;
  376. display: inline-block;
  377. vertical-align: middle;
  378. width: 0.8em;
  379. height: 0.8em;
  380. margin-right: 0.5em;
  381. border: 0.2em solid var(--ui-color-border);
  382. border-radius: var(--input-border-radius);
  383. box-shadow: var(--input-box-shadow);
  384. background: var(--input-background-checked);
  385. }
  386. ::placeholder {color: var(--input-color-placeholder);}
  387. section{
  388. text-align: left;
  389. border: var(--section-border);
  390. border-radius: var(--section-border-radius);
  391. padding: var(--section-padding);
  392. margin: var(--section-margin);
  393. }
  394. section h2{
  395. margin: var(--section-title-margin);
  396. border-bottom: var(--section-border);
  397. background-color: var(--section-title-background);
  398. border-top-left-radius: var(--section-title-border-radius);
  399. border-top-right-radius: var(--section-title-border-radius);
  400. padding: var(--section-title-padding);
  401. font-size: var(--section-title-font-size);
  402. font-weight: var(--section-title-font-weight);
  403. text-align: left;
  404. text-transform: capitalize;
  405. font-variant: small-caps;
  406. height: 1.2em;
  407. }
  408. @media screen and (max-width : 990px){
  409. section h2{
  410. padding: 0.15em 0 0.15em 1em;
  411. }
  412. }
  413. /* Main content, when it is a list of monsters, runes... */
  414. section.list{
  415. display: block;
  416. text-align: center;
  417. background-color: var(--section-background-list);
  418. }
  419. /* Main content, when it a single monster, rune... */
  420. section.content{
  421. text-align: center;
  422. background-color: var(--section-background-content);
  423. }
  424. /**
  425. * Rune boxes
  426. */
  427. div.rune_panel{
  428. width: 8em;
  429. height: 8em;
  430. border: 0.2em solid #000000;
  431. border-radius: 1em;
  432. position: relative;
  433. text-align: center;
  434. }
  435. div.rune_panel.rune_original_quality_normal{ /* Normal */
  436. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  437. }
  438. div.rune_panel.rune_original_quality_magic{ /* Magic */
  439. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  440. }
  441. div.rune_panel.rune_original_quality_rare{ /* Rare */
  442. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  443. }
  444. div.rune_panel.rune_original_quality_hero{ /* Hero */
  445. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  446. }
  447. div.rune_panel.rune_original_quality_legend{ /* Legend */
  448. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  449. }
  450. div.rune_panel img.rune_base{
  451. position: absolute;
  452. width: 9em;
  453. height: 9em;
  454. margin: -0.5em;
  455. top: 0;
  456. left: 0;
  457. }
  458. 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);}
  459. div.rune_panel.rune_slot_1 img.rune_base{transform: rotate(0deg);}
  460. div.rune_panel.rune_slot_2 img.rune_base{transform: rotate(57deg);}
  461. div.rune_panel.rune_slot_3 img.rune_base{transform: rotate(123deg);}
  462. div.rune_panel.rune_slot_4 img.rune_base{transform: rotate(180deg);}
  463. div.rune_panel.rune_slot_5 img.rune_base{transform: rotate(237deg);}
  464. div.rune_panel.rune_slot_6 img.rune_base{transform: rotate(303deg);}
  465. div.rune_panel img.rune_icon{
  466. position: absolute;
  467. height: 3em;
  468. }
  469. div.rune_panel.rune_slot_1 img.rune_icon{
  470. top: 3.0em;
  471. left: 2.7em;
  472. }
  473. div.rune_panel.rune_slot_2 img.rune_icon{
  474. top: 2.9em;
  475. left: 2.3em;
  476. }
  477. div.rune_panel.rune_slot_3 img.rune_icon{
  478. top: 2.2em;
  479. left: 2.3em;
  480. }
  481. div.rune_panel.rune_slot_4 img.rune_icon{
  482. top: 2em;
  483. left: 2.8em;
  484. }
  485. div.rune_panel.rune_slot_5 img.rune_icon{
  486. top: 2.2em;
  487. left: 3.3em;
  488. }
  489. div.rune_panel.rune_slot_6 img.rune_icon{
  490. top: 2.9em;
  491. left: 3.3em;
  492. }
  493. div.rune_panel.rune_quality_normal img.rune_icon{filter: sepia(100%) saturate(500%) grayscale(100%);}
  494. div.rune_panel.rune_quality_magic img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  495. div.rune_panel.rune_quality_rare img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  496. div.rune_panel.rune_quality_hero img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  497. div.rune_panel.rune_quality_legend img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  498. div.rune_panel span.rune_stars{
  499. position: absolute;
  500. width: 9em;
  501. left: 0.9em;
  502. top: 0.2em;
  503. text-align: left;
  504. }
  505. div.rune_panel span.rune_stars img.star{
  506. width: 1.2em;
  507. height: 1.2em;
  508. margin-left: -0.6em;
  509. }
  510. div.rune_panel span.rune_level{
  511. font-size: 130%;
  512. font-weight: bold;
  513. 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;
  514. position: relative;
  515. top: 4.7em;
  516. left: 1.5em;
  517. }
  518. div.rune_panel span.rune_level::before {
  519. content: "+";
  520. }
  521. div.rune_panel.rune_level_15 span.rune_level{color: #ff6f2d;}
  522. /**
  523. * /Rune boxes
  524. */
  525. /**
  526. * Artifact boxes
  527. */
  528. div.artifact_panel{
  529. width: 8em;
  530. height: 8em;
  531. border: 0.2em solid #000000;
  532. border-radius: 1em;
  533. position: relative;
  534. text-align: center;
  535. }
  536. div.artifact_panel.artifact_original_quality_normal{ /* Normal */
  537. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  538. }
  539. div.artifact_panel.artifact_original_quality_magic{ /* Magic */
  540. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  541. }
  542. div.artifact_panel.artifact_original_quality_rare{ /* Rare */
  543. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  544. }
  545. div.artifact_panel.artifact_original_quality_hero{ /* Hero */
  546. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  547. }
  548. div.artifact_panel.artifact_original_quality_legend{ /* Legend */
  549. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  550. }
  551. div.artifact_panel img.artifact_base{
  552. position: absolute;
  553. width: 8em;
  554. height: 8em;
  555. margin: 0;
  556. top: 0.1em;
  557. left: 0;
  558. }
  559. div.artifact_panel img.artifact_icon{
  560. position: absolute;
  561. height: 4em;
  562. top: 2em;
  563. left: 2em;
  564. }
  565. div.artifact_panel.artifact_level_15 span.artifact_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);}
  566. div.artifact_panel span.artifact_level{
  567. font-size: 130%;
  568. font-weight: bold;
  569. 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;
  570. position: relative;
  571. top: 4.7em;
  572. left: 1.5em;
  573. }
  574. div.artifact_panel span.artifact_level::before {
  575. content: "+";
  576. }
  577. div.artifact_panel.artifact_level_15 span.artifact_level{color: #ff6f2d;}
  578. /**
  579. * /Artifact boxes
  580. */
  581. /**
  582. * Monster panel
  583. */
  584. div.monster_panel{
  585. display: inline-block;
  586. width: 7em;
  587. height: 7em;
  588. margin: 0.5em;
  589. position: relative;
  590. border-radius: 15%;
  591. overflow: hidden;
  592. }
  593. @media screen and (max-width : 990px){
  594. div.monster_panel{
  595. height: 6em;
  596. width: 6em;
  597. margin: 0.2em;
  598. }
  599. }
  600. div.monster_panel span.stars{
  601. position: absolute;
  602. top: 0.4em;
  603. right: 0.5em;
  604. pointer-events: none;
  605. }
  606. @media screen and (max-width : 990px){
  607. div.monster_panel span.stars{
  608. top: 0.3em;
  609. right: 0.4em;
  610. }
  611. }
  612. div.monster_panel span.stars img.star{
  613. width: 1.3em;
  614. height: 1.3em;
  615. margin-left: -0.65em;
  616. pointer-events: none;
  617. }
  618. @media screen and (max-width : 990px){
  619. div.monster_panel span.stars img.star{
  620. width: 0.9em;
  621. height: 0.9em;
  622. margin-left: -0.5em;
  623. }
  624. }
  625. div.monster_panel img.monster{
  626. width: 6.5em;
  627. height: 6.5em;
  628. border-style: solid;
  629. border-width: 0.3em;
  630. border-radius: 15%;
  631. }
  632. @media screen and (max-width : 990px){
  633. div.monster_panel img.monster{
  634. width: 5.6em;
  635. height: 5.6em;
  636. border-width: 0.2em;
  637. border-radius: 10%;
  638. }
  639. }
  640. div.monster_panel span.level{
  641. position: relative;
  642. font-weight: bold;
  643. color: #000;
  644. 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;
  645. font-size: 2em;
  646. width: 90%;
  647. text-align: right;
  648. bottom: 1.3em;
  649. z-index: 1;
  650. pointer-events: none;
  651. display: block;
  652. }
  653. div.monster_panel span.badges{
  654. position: absolute;
  655. width: 1.6em;
  656. text-align: left;
  657. top: 1.5em;
  658. bottom: 0.6em;
  659. left: 0.1em;
  660. z-index: 1;
  661. display: block;
  662. transform: rotate(180deg);
  663. }
  664. div.monster_panel span.badges img{
  665. width: 1em;
  666. height: 1em;
  667. border-radius: 50%;
  668. border: 0.15em solid #000000;
  669. background-color: #ffffff;
  670. transform: rotate(180deg);
  671. margin: -0.11em 0 -0.11em 0;
  672. }
  673. /**
  674. * /Monster panel
  675. */
  676. /**
  677. * Monster transformation panel
  678. */
  679. div.monster_transformation_panel{
  680. display: inline-block;
  681. width: 4em;
  682. height: 4em;
  683. margin: 0.5em 0.5em 0.5em -0.5em;
  684. position: relative;
  685. border-radius: 15%;
  686. }
  687. @media screen and (max-width : 990px){
  688. div.monster_transformation_panel{
  689. height: 3em;
  690. width: 3em;
  691. margin: 0.2em 0.2em 0.2em -0.2em;
  692. }
  693. }
  694. div.monster_transformation_panel img.monster_transformation{
  695. width: 3.5em;
  696. height: 3.5em;
  697. border-style: solid;
  698. border-width: 0.2em;
  699. border-radius: 35%;
  700. }
  701. @media screen and (max-width : 990px){
  702. div.monster_transformation_panel img.monster_transformation{
  703. width: 2.6em;
  704. height: 2.6em;
  705. border-width: 0.1em;
  706. border-radius: 20%;
  707. }
  708. }
  709. /**
  710. * /Monster transformation panel
  711. */
  712. /**
  713. * Rune table
  714. */
  715. table.rune{
  716. width: 28em;
  717. border-collapse: collapse;
  718. display: inline-block;
  719. vertical-align: top;
  720. font-size: 80%;
  721. position: relative;
  722. border-radius: 1em;
  723. margin: 0.5em;
  724. background-color: #7d6640;
  725. font-size: 90%;
  726. border: 0.3em solid #3c2929;
  727. font-family: monospace;
  728. }
  729. table.rune td.icon{
  730. vertical-align: top;
  731. padding-top: 0.3em;
  732. }
  733. table.rune td.icon div.assigned{
  734. max-width: 2.5em;
  735. max-height: 2.5em;
  736. position: absolute;
  737. left: 0.2em;
  738. top: 3.6em;
  739. }
  740. table.rune td.icon div.assigned img.monster_image{
  741. width: 2.5em;
  742. height: 2.5em;
  743. border-style: solid;
  744. border-width: 0.2em;
  745. border-radius: 15%;
  746. }
  747. table.rune td.icon div.rune_panel{font-size: 70%;}
  748. table.rune td.stats{width: 6em;}
  749. table.rune td.stats table{
  750. font-size: 90%;
  751. border-collapse: collapse;
  752. }
  753. table.rune td.stats table td{
  754. line-height: 100%;
  755. }
  756. table.rune td.stats table tr.main_stat{
  757. font-weight: bold;
  758. font-size: 110%;
  759. }
  760. table.rune td.stats table tr.innate_stat{font-style: italic;}
  761. table.rune td.stats table td.stat{text-align: right;}
  762. table.rune td.stats table td.value{
  763. text-align: right;
  764. vertical-align: middle;
  765. white-space: nowrap;
  766. }
  767. table.rune td.stats table td.value span.grind{
  768. color: #ff7700;
  769. vertical-align: middle;
  770. font-size: 90%;
  771. font-weight: bold;
  772. margin-left: -0.4em;
  773. }
  774. table.rune td.stats table td.value span.grind_{display: none;}
  775. table.rune td.stats table td.value img{
  776. width: 1em;
  777. height: 1em;
  778. margin: 0;
  779. vertical-align: middle;
  780. }
  781. table.rune td.details{
  782. padding-left: 0.5em;
  783. width: 16em;
  784. font-size: 80%;
  785. }
  786. table.rune td.details table.table_details{
  787. border-collapse: collapse;
  788. }
  789. table.rune td.details table.table_details td{
  790. line-height: 100%;
  791. }
  792. table.rune td.details table.table_details td.title{text-align: right;}
  793. table.rune td.details table.table_details td.value{
  794. text-align: right;
  795. }
  796. table.rune td.details table.table_details span.quality{
  797. border: 0.1em solid #000000;
  798. border-radius: 0.2em;
  799. font-weight: bold;
  800. text-shadow: 0 0 0.1em #000000;
  801. padding: 0 0.3em;
  802. width: 5em;
  803. height: 1em;
  804. font-size: 90%;
  805. display: inline-block;
  806. }
  807. table.rune td.details table.table_details span.quality.quality_normal{background-color: #cccccc;}
  808. table.rune td.details table.table_details span.quality.quality_magic{background-color: #55ff55;}
  809. table.rune td.details table.table_details span.quality.quality_rare{background-color: #15c6e1;}
  810. table.rune td.details table.table_details span.quality.quality_hero{background-color: #ad7fa8;}
  811. table.rune td.details table.table_details span.quality.quality_legend{background-color: #f57900;}
  812. /**
  813. * /Rune table
  814. */
  815. /**
  816. * Artifact table
  817. */
  818. table.artifact{
  819. width: 28em;
  820. border-collapse: collapse;
  821. display: inline-block;
  822. vertical-align: top;
  823. font-size: 80%;
  824. position: relative;
  825. border-radius: 1em;
  826. margin: 0.5em;
  827. background-color: #7d6640;
  828. font-size: 90%;
  829. border: 0.3em solid #3c2929;
  830. font-family: monospace;
  831. }
  832. table.artifact td.icon{
  833. vertical-align: top;
  834. padding-top: 0.3em;
  835. }
  836. table.artifact td.icon div.assigned{
  837. max-width: 2.5em;
  838. max-height: 2.5em;
  839. position: absolute;
  840. left: 0.2em;
  841. top: 3.6em;
  842. }
  843. table.artifact td.icon div.assigned img.monster_image{
  844. width: 2.5em;
  845. height: 2.5em;
  846. border-style: solid;
  847. border-width: 0.2em;
  848. border-radius: 15%;
  849. }
  850. table.artifact td.icon div.artifact_panel{font-size: 70%;}
  851. /* TODO: While no details panel, stats can be wider. Normaly is 8em*/
  852. table.artifact td.effects{
  853. width: 21.5em;
  854. text-align: left;
  855. }
  856. table.artifact td.effects table{font-size: 90%;}
  857. table.artifact td.effects table tr.main_stat{
  858. font-weight: bold;
  859. font-size: 110%;
  860. }
  861. table.artifact td.details{
  862. padding-left: 0.5em;
  863. width: 16em;
  864. font-size: 80%;
  865. border-collapse: collapse;
  866. }
  867. table.artifact td.details table.table_details td.title{text-align: right;}
  868. table.artifact td.details table.table_details td.value{
  869. text-align: left;
  870. padding-left: 1em;
  871. }
  872. table.artifact td.details table.table_details span.quality{
  873. border: 0.1em solid #000000;
  874. border-radius: 0.2em;
  875. font-weight: bold;
  876. text-shadow: 0 0 0.1em #000000;
  877. padding: 0 0.3em;
  878. width: 5em;
  879. }
  880. table.artifact td.details table.table_details span.quality.quality_normal{background-color: #cccccc;}
  881. table.artifact td.details table.table_details span.quality.quality_magic{background-color: #55ff55;}
  882. table.artifact td.details table.table_details span.quality.quality_rare{background-color: #15c6e1;}
  883. table.artifact td.details table.table_details span.quality.quality_hero{background-color: #ad7fa8;}
  884. table.artifact td.details table.table_details span.quality.quality_legend{background-color: #f57900;}
  885. /**
  886. * /Artifact table
  887. */
  888. /**
  889. * Craft item panel
  890. */
  891. div.craft_panel{
  892. width: 4em;
  893. height: 4em;
  894. border: 0.1em solid #3c2929;
  895. border-radius: 0.5em;
  896. position: relative;
  897. text-align: center;
  898. display: inline-block;
  899. }
  900. div.craft_panel.craft_quality_normal{ /* Normal */
  901. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  902. }
  903. div.craft_panel.craft_quality_magic{ /* Magic */
  904. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  905. }
  906. div.craft_panel.craft_quality_rare{ /* Rare */
  907. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  908. }
  909. div.craft_panel.craft_quality_hero{ /* Hero */
  910. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  911. }
  912. div.craft_panel.craft_quality_legend{ /* Legend */
  913. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  914. }
  915. div.craft_panel img.craft_base{
  916. position: absolute;
  917. width: 4em;
  918. height: 4em;
  919. margin: -0.5em;
  920. top: 0.1em;
  921. left: 0.5em;
  922. }
  923. div.craft_panel img.craft_icon{
  924. position: absolute;
  925. width: 1.5em;
  926. height: 1.5em
  927. top: 0.8em;
  928. left: 1.25em;
  929. }
  930. 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);}
  931. div.craft_panel.craft_quality_normal img.craft_base{filter: sepia(100%) saturate(500%) grayscale(100%);}
  932. div.craft_panel.craft_quality_magic img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  933. div.craft_panel.craft_quality_rare img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  934. div.craft_panel.craft_quality_hero img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  935. div.craft_panel.craft_quality_legend img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  936. div.craft_panel span.craft_stat{
  937. display: block;
  938. width: 100%;
  939. text-align: center;
  940. font-size: 80%;
  941. 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;
  942. position: absolute;
  943. bottom: 0;
  944. font-family: monospace;
  945. }
  946. div.craft_panel span.craft_stat span.craft_stat_name{
  947. display: block;
  948. margin: 0;
  949. }
  950. div.craft_panel span.craft_stat span.craft_stat_value{
  951. display: block;
  952. font-weight: bold;
  953. margin: 0;
  954. }
  955. div.craft_panel span.craft_amount{
  956. display: block;
  957. position: absolute;
  958. top: 0;
  959. right: 0.2em;
  960. text-align: right;
  961. font-size: 90%;
  962. font-weight: bold;
  963. 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;