ui.css 27 KB

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