ui.css 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983
  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. }
  572. @media screen and (max-width : 990px){
  573. div.monster_panel{
  574. height: 6em;
  575. width: 6em;
  576. margin: 0.2em;
  577. }
  578. }
  579. div.monster_panel span.stars{
  580. position: absolute;
  581. top: 0.4em;
  582. right: 0.5em;
  583. pointer-events: none;
  584. }
  585. @media screen and (max-width : 990px){
  586. div.monster_panel span.stars{
  587. top: 0.3em;
  588. right: 0.4em;
  589. }
  590. }
  591. div.monster_panel span.stars img.star{
  592. width: 1.3em;
  593. height: 1.3em;
  594. margin-left: -0.65em;
  595. pointer-events: none;
  596. }
  597. @media screen and (max-width : 990px){
  598. div.monster_panel span.stars img.star{
  599. width: 0.9em;
  600. height: 0.9em;
  601. margin-left: -0.5em;
  602. }
  603. }
  604. div.monster_panel img.monster{
  605. width: 6.5em;
  606. height: 6.5em;
  607. border-style: solid;
  608. border-width: 0.3em;
  609. border-radius: 15%;
  610. }
  611. @media screen and (max-width : 990px){
  612. div.monster_panel img.monster{
  613. width: 5.6em;
  614. height: 5.6em;
  615. border-width: 0.2em;
  616. border-radius: 10%;
  617. }
  618. }
  619. div.monster_panel span.level{
  620. position: relative;
  621. font-weight: bold;
  622. color: #000;
  623. 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;
  624. font-size: 2em;
  625. width: 90%;
  626. text-align: right;
  627. bottom: 1.3em;
  628. z-index: 1;
  629. pointer-events: none;
  630. display: block;
  631. }
  632. div.monster_panel span.badges{
  633. position: absolute;
  634. width: 1.6em;
  635. text-align: left;
  636. top: 1.5em;
  637. bottom: 0.6em;
  638. left: 0.1em;
  639. z-index: 1;
  640. display: block;
  641. transform: rotate(180deg);
  642. }
  643. div.monster_panel span.badges img{
  644. width: 1em;
  645. height: 1em;
  646. border-radius: 50%;
  647. border: 0.15em solid #000000;
  648. background-color: #ffffff;
  649. transform: rotate(180deg);
  650. margin: -0.11em 0 -0.11em 0;
  651. }
  652. /**
  653. * /Monster panel
  654. */
  655. /**
  656. * Monster transformation panel
  657. */
  658. div.monster_transformation_panel{
  659. display: inline-block;
  660. width: 4em;
  661. height: 4em;
  662. margin: 0.5em 0.5em 0.5em -0.5em;
  663. position: relative;
  664. border-radius: 15%;
  665. }
  666. @media screen and (max-width : 990px){
  667. div.monster_transformation_panel{
  668. height: 3em;
  669. width: 3em;
  670. margin: 0.2em 0.2em 0.2em -0.2em;
  671. }
  672. }
  673. div.monster_transformation_panel img.monster_transformation{
  674. width: 3.5em;
  675. height: 3.5em;
  676. border-style: solid;
  677. border-width: 0.2em;
  678. border-radius: 35%;
  679. }
  680. @media screen and (max-width : 990px){
  681. div.monster_transformation_panel img.monster_transformation{
  682. width: 2.6em;
  683. height: 2.6em;
  684. border-width: 0.1em;
  685. border-radius: 20%;
  686. }
  687. }
  688. /**
  689. * /Monster transformation panel
  690. */
  691. /**
  692. * Rune table
  693. */
  694. table.rune{
  695. border-collapse: collapse;
  696. display: inline-block;
  697. vertical-align: top;
  698. font-size: 80%;
  699. position: relative;
  700. border-radius: 1em;
  701. margin: 0.5em;
  702. background-color: #7d6640;
  703. font-size: 70%;
  704. border: 0.3em solid #3c2929;
  705. }
  706. table.rune td.icon{
  707. vertical-align: top;
  708. padding-top: 0.3em;
  709. }
  710. table.rune td.icon div.assigned{
  711. max-width: 2.5em;
  712. max-height: 2.5em;
  713. position: absolute;
  714. left: 0.2em;
  715. top: 3.6em;
  716. }
  717. table.rune td.icon div.assigned img.monster_image{
  718. width: 2.5em;
  719. height: 2.5em;
  720. border-style: solid;
  721. border-width: 0.2em;
  722. border-radius: 15%;
  723. }
  724. table.rune td.icon div.rune_panel{font-size: 70%;}
  725. table.rune td.stats{width: 8em;}
  726. table.rune td.stats table{font-size: 90%;}
  727. table.rune td.stats table tr.main_stat{
  728. font-weight: bold;
  729. font-size: 110%;
  730. }
  731. table.rune td.stats table tr.innate_stat{font-style: italic;}
  732. table.rune td.stats table td.stat{text-align: right;}
  733. table.rune td.stats table td.value{
  734. text-align: left;
  735. padding-left: 0.2em;
  736. vertical-align: middle;
  737. white-space: nowrap;
  738. }
  739. table.rune td.stats table td.value span.grind{
  740. color: #ff7700;
  741. vertical-align: middle;
  742. font-size: 90%;
  743. font-weight: bold;
  744. margin-left: -0.4em;
  745. }
  746. table.rune td.stats table td.value span.grind_{display: none;}
  747. table.rune td.stats table td.value img{
  748. width: 1em;
  749. height: 1em;
  750. margin: 0;
  751. vertical-align: middle;
  752. }
  753. table.rune td.details{
  754. padding-left: 0.5em;
  755. width: 16em;
  756. font-size: 80%;
  757. }
  758. table.rune td.details table.table_details td.title{text-align: right;}
  759. table.rune td.details table.table_details td.value{
  760. text-align: left;
  761. padding-left: 1em;
  762. }
  763. table.rune td.details table.table_details span.quality{
  764. border: 0.1em solid #000000;
  765. border-radius: 0.2em;
  766. font-weight: bold;
  767. text-shadow: 0 0 0.1em #000000;
  768. padding: 0 0.3em;
  769. width: 5em;
  770. }
  771. table.rune td.details table.table_details span.quality.quality_normal{background-color: #cccccc;}
  772. table.rune td.details table.table_details span.quality.quality_magic{background-color: #55ff55;}
  773. table.rune td.details table.table_details span.quality.quality_rare{background-color: #15c6e1;}
  774. table.rune td.details table.table_details span.quality.quality_hero{background-color: #ad7fa8;}
  775. table.rune td.details table.table_details span.quality.quality_legend{background-color: #f57900;}
  776. /**
  777. * /Rune table
  778. */
  779. /**
  780. * Artifact table
  781. */
  782. table.artifact{
  783. border-collapse: collapse;
  784. display: inline-block;
  785. vertical-align: top;
  786. font-size: 80%;
  787. position: relative;
  788. border-radius: 1em;
  789. margin: 0.5em;
  790. background-color: #7d6640;
  791. font-size: 70%;
  792. border: 0.3em solid #3c2929;
  793. }
  794. table.artifact td.icon{
  795. vertical-align: top;
  796. padding-top: 0.3em;
  797. }
  798. table.artifact td.icon div.assigned{
  799. max-width: 2.5em;
  800. max-height: 2.5em;
  801. position: absolute;
  802. left: 0.2em;
  803. top: 3.6em;
  804. }
  805. table.artifact td.icon div.assigned img.monster_image{
  806. width: 2.5em;
  807. height: 2.5em;
  808. border-style: solid;
  809. border-width: 0.2em;
  810. border-radius: 15%;
  811. }
  812. table.artifact td.icon div.artifact_panel{font-size: 70%;}
  813. /* TODO: While no details panel, stats can be wider. Normaly is 8em*/
  814. table.artifact td.effects{
  815. width: 21.5em;
  816. text-align: left;
  817. }
  818. table.artifact td.effects table{font-size: 90%;}
  819. table.artifact td.effects table tr.main_stat{
  820. font-weight: bold;
  821. font-size: 110%;
  822. }
  823. table.artifact td.details{
  824. padding-left: 0.5em;
  825. width: 16em;
  826. font-size: 80%;
  827. }
  828. table.artifact td.details table.table_details td.title{text-align: right;}
  829. table.artifact td.details table.table_details td.value{
  830. text-align: left;
  831. padding-left: 1em;
  832. }
  833. table.artifact td.details table.table_details span.quality{
  834. border: 0.1em solid #000000;
  835. border-radius: 0.2em;
  836. font-weight: bold;
  837. text-shadow: 0 0 0.1em #000000;
  838. padding: 0 0.3em;
  839. width: 5em;
  840. }
  841. table.artifact td.details table.table_details span.quality.quality_normal{background-color: #cccccc;}
  842. table.artifact td.details table.table_details span.quality.quality_magic{background-color: #55ff55;}
  843. table.artifact td.details table.table_details span.quality.quality_rare{background-color: #15c6e1;}
  844. table.artifact td.details table.table_details span.quality.quality_hero{background-color: #ad7fa8;}
  845. table.artifact td.details table.table_details span.quality.quality_legend{background-color: #f57900;}
  846. /**
  847. * /Artifact table
  848. */
  849. /**
  850. * Craft item panel
  851. */
  852. div.craft_panel{
  853. width: 4em;
  854. height: 4em;
  855. border: 0.1em solid #3c2929;
  856. border-radius: 0.5em;
  857. position: relative;
  858. text-align: center;
  859. display: inline-block;
  860. }
  861. div.craft_panel.craft_quality_normal{ /* Normal */
  862. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  863. }
  864. div.craft_panel.craft_quality_magic{ /* Magic */
  865. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  866. }
  867. div.craft_panel.craft_quality_rare{ /* Rare */
  868. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  869. }
  870. div.craft_panel.craft_quality_hero{ /* Hero */
  871. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  872. }
  873. div.craft_panel.craft_quality_legend{ /* Legend */
  874. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  875. }
  876. div.craft_panel img.craft_base{
  877. position: absolute;
  878. width: 4em;
  879. height: 4em;
  880. margin: -0.5em;
  881. top: 0.1em;
  882. left: 0.5em;
  883. }
  884. div.craft_panel img.craft_icon{
  885. position: absolute;
  886. width: 1.5em;
  887. height: 1.5em;
  888. top: 0.8em;
  889. left: 1.25em;
  890. }
  891. 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);}
  892. div.craft_panel.craft_quality_normal img.craft_base{filter: sepia(100%) saturate(500%) grayscale(100%);}
  893. div.craft_panel.craft_quality_magic img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  894. div.craft_panel.craft_quality_rare img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  895. div.craft_panel.craft_quality_hero img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  896. div.craft_panel.craft_quality_legend img.craft_base{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  897. div.craft_panel span.craft_stat{
  898. display: block;
  899. width: 100%;
  900. text-align: center;
  901. font-size: 80%;
  902. 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;
  903. position: absolute;
  904. top: 2.7em;
  905. }
  906. div.craft_panel span.craft_stat span.craft_stat_name{
  907. display: block;
  908. margin: 0;
  909. }
  910. div.craft_panel span.craft_stat span.craft_stat_value{
  911. display: block;
  912. font-weight: bold;
  913. margin: 0;
  914. }
  915. div.craft_panel span.craft_amount{
  916. display: block;
  917. position: absolute;
  918. top: 0;
  919. right: 0.2em;
  920. text-align: right;
  921. font-size: 90%;
  922. font-weight: bold;
  923. 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;