ui.css 32 KB

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