ui.css 27 KB

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