ui.css 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237
  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: 100%;
  194. margin: auto;
  195. display: inline-block;
  196. vertical-align: middle;
  197. width: 9em;
  198. text-align: center;
  199. float: left;
  200. }
  201. header div#logo img#logo_img{
  202. max-width: 9em;
  203. max-height: 6em;
  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: block;
  233. height: 4.5em;
  234. }
  235. header nav#menu table td{
  236. font-size: 100%;
  237. font-weight: bold;
  238. text-transform: capitalize;
  239. font-variant: small-caps;
  240. text-decoration: none;
  241. position: relative;
  242. padding: 0;
  243. vertical-align: middle;
  244. }
  245. header nav#menu table td.item{
  246. border: var(--nav-separator);
  247. text-align: center;
  248. }
  249. header nav#menu table td.last{
  250. width: 100%;
  251. text-align: right;
  252. padding-right: 0.5em;
  253. }
  254. header nav#menu table td.item a{
  255. color: var(--nav-color);
  256. text-shadow: var(--nav-shadow);
  257. transition: all .4s ease-in-out;
  258. display: block;
  259. padding: 0.3em 0.1em;
  260. }
  261. header nav#menu table td.item a:hover{
  262. background-color: var(--nav-background-hover);
  263. color: var(--nav-color-hover);
  264. text-shadow: var(--nav-shadow-hover);
  265. }
  266. header table td.profile nav#profile{
  267. float: right;
  268. margin-right: 0.5em;
  269. position: absolute;
  270. right: 0;
  271. top: 0em;
  272. }
  273. @media screen and (max-width : 768px){
  274. header table td.profile nav#profile{
  275. margin-right: 0.5em;
  276. position: absolute;
  277. top: 2em;
  278. right: 0.5em;
  279. }
  280. }
  281. header table td.profile a{
  282. border-left: 0;
  283. font-size: 110%;
  284. font-weight: bold;
  285. text-transform: capitalize;
  286. font-variant: small-caps;
  287. margin: 0;
  288. text-decoration: none;
  289. position: relative;
  290. transition: all .4s ease-in-out;
  291. color: var(--nav-color);
  292. padding: 0.3em;
  293. text-align: center;
  294. display: inline-block;
  295. vertical-align: middle;
  296. text-shadow: var(--nav-shadow);
  297. }
  298. header table td.profile a:hover{
  299. color: var(--nav-color-hover);
  300. text-shadow: var(--nav-shadow-hover);
  301. }
  302. header table td.mode div#mode_switch{
  303. display: inline-block;
  304. font-size: 70%;
  305. }
  306. header table td.mode div#mode_switch .switch {
  307. position: relative;
  308. display: inline-block;
  309. width: 3.5em;
  310. height: 2em;
  311. }
  312. header table td.mode div#mode_switch .switch input {
  313. opacity: 0;
  314. width: 0;
  315. height: 0;
  316. }
  317. header table td.mode div#mode_switch .slider {
  318. position: absolute;
  319. cursor: pointer;
  320. top: 0;
  321. left: 0;
  322. right: 0;
  323. bottom: 0;
  324. background-color: #755739;
  325. -webkit-transition: .4s;
  326. transition: .4s;
  327. }
  328. header table td.mode div#mode_switch .slider:before {
  329. position: absolute;
  330. content: "";
  331. height: 1.5em;
  332. width: 1.5em;
  333. left: 0.25em;
  334. bottom: 0.25em;
  335. background-color: white;
  336. -webkit-transition: .4s;
  337. transition: .4s;
  338. }
  339. header table td.mode div#mode_switch input:checked + .slider {
  340. background-color: #396f75;
  341. }
  342. header table td.mode div#mode_switch input:focus + .slider {
  343. box-shadow: 0 0 1px #2196F3;
  344. }
  345. header table td.mode div#mode_switch input:checked + .slider:before {
  346. -webkit-transform: translateX(1.5em);
  347. -ms-transform: translateX(1.5em);
  348. transform: translateX(1.5em);
  349. }
  350. header table td.mode div#mode_switch .slider.round {
  351. border-radius: 1.5em;
  352. }
  353. header table td.mode div#mode_switch .slider.round:before {
  354. border-radius: 50%;
  355. }
  356. aside{
  357. grid-area: sidebar;
  358. position: fixed;
  359. top: 0;
  360. bottom: 0;
  361. left: 0;
  362. width: calc(var(--sidebar-width) - 1em);
  363. overflow-y: hidden;
  364. text-align: left;
  365. border-right: var(--sidebar-border);
  366. padding: 0.3em;
  367. margin: 0;
  368. background: var(--sidebar-background);
  369. }
  370. @media only screen and (max-width: 788px){
  371. aside{
  372. grid-area: none;
  373. position: relative;
  374. width: 100%;
  375. border-right: 0;
  376. border-bottom: var(--sidebar-border);
  377. top: initial;
  378. bottom: initial;
  379. left: initial;
  380. overflow-y: initial;
  381. margin-bottom: 2em;
  382. }
  383. }
  384. aside h2{
  385. margin: -0.3em -0.3em 0.5em -0.3em;
  386. border-bottom: var(--section-border);
  387. background-color: var(--section-title-background);
  388. padding: var(--section-title-padding);
  389. font-size: var(--section-title-font-size);
  390. font-weight: var(--section-title-font-weight);
  391. text-align: left;
  392. text-transform: capitalize;
  393. font-variant: small-caps;
  394. height: 1.2em;
  395. padding-top: 5em;
  396. }
  397. @media only screen and (max-width: 788px){
  398. aside h2{
  399. margin: 0;
  400. padding-top: 0.3em;
  401. }
  402. }
  403. aside p{
  404. font-style: italic;
  405. margin: 0.5em 1.5em;
  406. }
  407. aside form.filter table{
  408. margin: auto;
  409. display: inline;
  410. border-collapse: collapse;
  411. text-align: left;
  412. }
  413. @media only screen and (max-width: 788px){
  414. aside form.filter {
  415. margin: auto;
  416. display: block;
  417. text-align: center;
  418. }
  419. }
  420. aside form.filter input[type='submit']{
  421. margin: 1em auto;
  422. display: block;
  423. }
  424. main{
  425. grid-area: content;
  426. overflow-y: auto;
  427. }
  428. @media only screen and (max-width: 788px){
  429. main{
  430. grid-area: none;
  431. overflow-y: initial;
  432. }
  433. }
  434. footer{
  435. font-size: 80%;
  436. text-align: center;
  437. border-top: var(--header-border);
  438. border-top-right-radius: var(--header-border-radius);
  439. border-top-left-radius: var(--header-border-radius);
  440. margin: 2em 0 0 0;
  441. background-color: var(--header-background);
  442. padding: 0;
  443. grid-area: footer;
  444. position: sticky;
  445. bottom: 0;
  446. z-index: 1000;
  447. }
  448. @media only screen and (max-width: 788px){
  449. footer{
  450. margin: 2em 0 0 0;
  451. grid-area: none;
  452. position: relative;
  453. }
  454. }
  455. footer table#footer_table{
  456. margin-left: auto;
  457. margin-right: auto;
  458. width: 95%;
  459. table-layout: fixed;
  460. }
  461. footer table#footer_table td{
  462. width: 45%;
  463. padding: 0.5em;
  464. }
  465. @media screen and (max-width : 990px){
  466. footer table#footer_table td{
  467. width: auto;
  468. padding: 0.2em;
  469. font-size: 70%;
  470. line-height: 0.9em;
  471. }
  472. }
  473. input, select, a.a_button, textarea{
  474. font-size: 100%;
  475. text-transform: capitalize;
  476. font-variant: small-caps;
  477. color: var(--input-color);
  478. font-weight: var(--input-font-weight);
  479. padding: var(--input-padding);
  480. background: var(--input-background);
  481. border: var(--input-border);
  482. border-radius: var(--input-border-radius);
  483. text-shadow: var(--input-text-shadow);
  484. box-shadow: var(--input-box-shadow);
  485. }
  486. a.a_button, input[type=button]{
  487. cursor: pointer;
  488. transition: all .3s ease-in-out;
  489. padding: var(--input-button-padding);
  490. }
  491. input:disabled{
  492. background: var(--input-background-disabled);
  493. }
  494. input[type=text], textarea{
  495. text-transform: initial;
  496. font-variant: initial;
  497. }
  498. input[type=button], input[type=submit]{padding: var(--input-button-padding);}
  499. input[type=text], input[type=number], input[type=date], input[type=password], select{font-size: 80%;}
  500. input[type=number]{width: 3em;}
  501. select[multiple]{scrollbar-width: none;}
  502. input[type=checkbox]{
  503. display: none;
  504. margin-left: -2em;
  505. overflow: hidden;
  506. }
  507. input[type=checkbox] + label{
  508. display: inline-block;
  509. vertical-align: middle;
  510. cursor: pointer;
  511. }
  512. input[type=checkbox]:not(:checked) + label:before{
  513. content: " ";
  514. text-align: center;
  515. font-weight: bold;
  516. color: var(--input-color);
  517. text-shadow: var(--input-text-shadow);
  518. line-height: 0.8em;
  519. padding-top: 0.1em;
  520. display: inline-block;
  521. vertical-align: middle;
  522. width: 0.8em;
  523. height: 0.8em;
  524. margin-right: 0.5em;
  525. border: 0.2em solid var(--ui-color-border);
  526. border-radius: var(--input-border-radius);
  527. box-shadow: var(--input-box-shadow);
  528. background: var(--input-background-unchecked);
  529. }
  530. input[type=checkbox]:checked + label:before{
  531. content: "+";
  532. text-align: center;
  533. font-weight: bold;
  534. color: var(--input-color);
  535. text-shadow: var(--input-text-shadow);
  536. line-height: 0.8em;
  537. padding-top: 0.1em;
  538. display: inline-block;
  539. vertical-align: middle;
  540. width: 0.8em;
  541. height: 0.8em;
  542. margin-right: 0.5em;
  543. border: 0.2em solid var(--ui-color-border);
  544. border-radius: var(--input-border-radius);
  545. box-shadow: var(--input-box-shadow);
  546. background: var(--input-background-checked);
  547. }
  548. ::placeholder {color: var(--input-color-placeholder);}
  549. section{
  550. text-align: left;
  551. border: var(--section-border);
  552. border-radius: var(--section-border-radius);
  553. padding: var(--section-padding);
  554. margin: var(--section-margin);
  555. }
  556. section h2{
  557. margin: var(--section-title-margin);
  558. border-bottom: var(--section-border);
  559. background-color: var(--section-title-background);
  560. border-top-left-radius: var(--section-title-border-radius);
  561. border-top-right-radius: var(--section-title-border-radius);
  562. padding: var(--section-title-padding);
  563. font-size: var(--section-title-font-size);
  564. font-weight: var(--section-title-font-weight);
  565. text-align: left;
  566. text-transform: capitalize;
  567. font-variant: small-caps;
  568. height: 1.2em;
  569. }
  570. @media screen and (max-width : 990px){
  571. section h2{
  572. padding: 0.15em 0 0.15em 1em;
  573. }
  574. }
  575. /* Main content, when it is a list of monsters, runes... */
  576. section.list{
  577. display: block;
  578. text-align: center;
  579. background-color: var(--section-background-list);
  580. }
  581. /* Main content, when it a single monster, rune... */
  582. section.content{
  583. text-align: center;
  584. background-color: var(--section-background-content);
  585. }
  586. /**
  587. * Rune boxes
  588. */
  589. div.rune_panel{
  590. width: 8em;
  591. height: 8em;
  592. border: 0.2em solid #000000;
  593. border-radius: 1em;
  594. position: relative;
  595. text-align: center;
  596. }
  597. div.rune_panel.rune_original_quality_normal{ /* Normal */
  598. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  599. }
  600. div.rune_panel.rune_original_quality_magic{ /* Magic */
  601. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  602. }
  603. div.rune_panel.rune_original_quality_rare{ /* Rare */
  604. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  605. }
  606. div.rune_panel.rune_original_quality_hero{ /* Hero */
  607. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  608. }
  609. div.rune_panel.rune_original_quality_legend{ /* Legend */
  610. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  611. }
  612. div.rune_panel img.rune_base{
  613. position: absolute;
  614. width: 9em;
  615. height: 9em;
  616. margin: -0.5em;
  617. top: 0;
  618. left: 0;
  619. }
  620. 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);}
  621. div.rune_panel.rune_slot_1 img.rune_base{transform: rotate(0deg);}
  622. div.rune_panel.rune_slot_2 img.rune_base{transform: rotate(57deg);}
  623. div.rune_panel.rune_slot_3 img.rune_base{transform: rotate(123deg);}
  624. div.rune_panel.rune_slot_4 img.rune_base{transform: rotate(180deg);}
  625. div.rune_panel.rune_slot_5 img.rune_base{transform: rotate(237deg);}
  626. div.rune_panel.rune_slot_6 img.rune_base{transform: rotate(303deg);}
  627. div.rune_panel img.rune_icon{
  628. position: absolute;
  629. height: 3em;
  630. }
  631. div.rune_panel.rune_slot_1 img.rune_icon{
  632. top: 3.0em;
  633. left: 2.7em;
  634. }
  635. div.rune_panel.rune_slot_2 img.rune_icon{
  636. top: 2.9em;
  637. left: 2.3em;
  638. }
  639. div.rune_panel.rune_slot_3 img.rune_icon{
  640. top: 2.2em;
  641. left: 2.3em;
  642. }
  643. div.rune_panel.rune_slot_4 img.rune_icon{
  644. top: 2em;
  645. left: 2.8em;
  646. }
  647. div.rune_panel.rune_slot_5 img.rune_icon{
  648. top: 2.2em;
  649. left: 3.3em;
  650. }
  651. div.rune_panel.rune_slot_6 img.rune_icon{
  652. top: 2.9em;
  653. left: 3.3em;
  654. }
  655. div.rune_panel.rune_quality_normal img.rune_icon{filter: sepia(100%) saturate(500%) grayscale(100%);}
  656. div.rune_panel.rune_quality_magic img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  657. div.rune_panel.rune_quality_rare img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  658. div.rune_panel.rune_quality_hero img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  659. div.rune_panel.rune_quality_legend img.rune_icon{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  660. div.rune_panel span.rune_stars{
  661. position: absolute;
  662. width: 9em;
  663. left: 0.9em;
  664. top: 0.2em;
  665. text-align: left;
  666. }
  667. div.rune_panel span.rune_stars img.star{
  668. width: 1.2em;
  669. height: 1.2em;
  670. margin-left: -0.6em;
  671. }
  672. div.rune_panel span.rune_level{
  673. font-size: 130%;
  674. font-weight: bold;
  675. 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;
  676. position: relative;
  677. top: 4.7em;
  678. left: 1.5em;
  679. }
  680. div.rune_panel span.rune_level::before {
  681. content: "+";
  682. }
  683. div.rune_panel.rune_level_15 span.rune_level{color: #ff6f2d;}
  684. /**
  685. * /Rune boxes
  686. */
  687. /**
  688. * Artifact boxes
  689. */
  690. div.artifact_panel{
  691. width: 8em;
  692. height: 8em;
  693. border: 0.2em solid #000000;
  694. border-radius: 1em;
  695. position: relative;
  696. text-align: center;
  697. }
  698. div.artifact_panel.artifact_original_quality_normal{ /* Normal */
  699. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  700. }
  701. div.artifact_panel.artifact_original_quality_magic{ /* Magic */
  702. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  703. }
  704. div.artifact_panel.artifact_original_quality_rare{ /* Rare */
  705. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  706. }
  707. div.artifact_panel.artifact_original_quality_hero{ /* Hero */
  708. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  709. }
  710. div.artifact_panel.artifact_original_quality_legend{ /* Legend */
  711. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  712. }
  713. div.artifact_panel img.artifact_base{
  714. position: absolute;
  715. width: 8em;
  716. height: 8em;
  717. margin: 0;
  718. top: 0.1em;
  719. left: 0;
  720. }
  721. div.artifact_panel img.artifact_icon{
  722. position: absolute;
  723. height: 4em;
  724. top: 2em;
  725. left: 2em;
  726. }
  727. 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);}
  728. div.artifact_panel span.artifact_level{
  729. font-size: 130%;
  730. font-weight: bold;
  731. 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;
  732. position: relative;
  733. top: 4.7em;
  734. left: 1.5em;
  735. }
  736. div.artifact_panel span.artifact_level::before {
  737. content: "+";
  738. }
  739. div.artifact_panel.artifact_level_15 span.artifact_level{color: #ff6f2d;}
  740. /**
  741. * /Artifact boxes
  742. */
  743. /**
  744. * Monster panel
  745. */
  746. div.monster_panel{
  747. display: inline-block;
  748. width: 7em;
  749. height: 7em;
  750. margin: 0.5em;
  751. position: relative;
  752. border-radius: 15%;
  753. overflow: hidden;
  754. }
  755. @media screen and (max-width : 990px){
  756. div.monster_panel{
  757. height: 6em;
  758. width: 6em;
  759. margin: 0.2em;
  760. }
  761. }
  762. div.monster_panel span.stars{
  763. position: absolute;
  764. top: 0.4em;
  765. right: 0.5em;
  766. pointer-events: none;
  767. }
  768. @media screen and (max-width : 990px){
  769. div.monster_panel span.stars{
  770. top: 0.3em;
  771. right: 0.4em;
  772. }
  773. }
  774. div.monster_panel span.stars img.star{
  775. width: 1.3em;
  776. height: 1.3em;
  777. margin-left: -0.65em;
  778. pointer-events: none;
  779. }
  780. @media screen and (max-width : 990px){
  781. div.monster_panel span.stars img.star{
  782. width: 0.9em;
  783. height: 0.9em;
  784. margin-left: -0.5em;
  785. }
  786. }
  787. div.monster_panel img.monster{
  788. width: 6.5em;
  789. height: 6.5em;
  790. border-style: solid;
  791. border-width: 0.3em;
  792. border-radius: 15%;
  793. }
  794. @media screen and (max-width : 990px){
  795. div.monster_panel img.monster{
  796. width: 5.6em;
  797. height: 5.6em;
  798. border-width: 0.2em;
  799. border-radius: 10%;
  800. }
  801. }
  802. div.monster_panel span.level{
  803. position: relative;
  804. font-weight: bold;
  805. color: #000;
  806. 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;
  807. font-size: 2em;
  808. width: 90%;
  809. text-align: right;
  810. bottom: 1.3em;
  811. z-index: 1;
  812. pointer-events: none;
  813. display: block;
  814. }
  815. div.monster_panel span.badges{
  816. position: absolute;
  817. width: 1.6em;
  818. text-align: left;
  819. top: 1.5em;
  820. bottom: 0.6em;
  821. left: 0.1em;
  822. z-index: 1;
  823. display: block;
  824. transform: rotate(180deg);
  825. }
  826. div.monster_panel span.badges img{
  827. width: 1em;
  828. height: 1em;
  829. border-radius: 50%;
  830. border: 0.15em solid #000000;
  831. background-color: #ffffff;
  832. transform: rotate(180deg);
  833. margin: -0.11em 0 -0.11em 0;
  834. }
  835. /**
  836. * /Monster panel
  837. */
  838. /**
  839. * Monster transformation panel
  840. */
  841. div.monster_transformation_panel{
  842. display: inline-block;
  843. width: 4em;
  844. height: 4em;
  845. margin: 0.5em 0.5em 0.5em -0.5em;
  846. position: relative;
  847. border-radius: 15%;
  848. }
  849. @media screen and (max-width : 990px){
  850. div.monster_transformation_panel{
  851. height: 3em;
  852. width: 3em;
  853. margin: 0.2em 0.2em 0.2em -0.2em;
  854. }
  855. }
  856. div.monster_transformation_panel img.monster_transformation{
  857. width: 3.5em;
  858. height: 3.5em;
  859. border-style: solid;
  860. border-width: 0.2em;
  861. border-radius: 35%;
  862. }
  863. @media screen and (max-width : 990px){
  864. div.monster_transformation_panel img.monster_transformation{
  865. width: 2.6em;
  866. height: 2.6em;
  867. border-width: 0.1em;
  868. border-radius: 20%;
  869. }
  870. }
  871. /**
  872. * /Monster transformation panel
  873. */
  874. /**
  875. * Rune table
  876. */
  877. table.rune{
  878. width: 21em;
  879. height: 7.5em;
  880. border-collapse: collapse;
  881. display: inline-block;
  882. vertical-align: top;
  883. font-size: 80%;
  884. position: relative;
  885. border-radius: 1em;
  886. margin: 0.5em;
  887. background-color: #7d6640;
  888. font-size: 90%;
  889. border: 0.3em solid #3c2929;
  890. font-family: monospace;
  891. }
  892. table.rune td.icon{
  893. vertical-align: top;
  894. padding-top: 0.3em;
  895. }
  896. table.rune td.icon div.assigned{
  897. max-width: 2.5em;
  898. max-height: 2.5em;
  899. position: absolute;
  900. left: 0.2em;
  901. top: 3.6em;
  902. }
  903. table.rune td.icon div.assigned img.monster_image{
  904. width: 2.5em;
  905. height: 2.5em;
  906. border-style: solid;
  907. border-width: 0.2em;
  908. border-radius: 15%;
  909. }
  910. table.rune td.icon div.rune_panel{font-size: 70%;}
  911. table.rune td.stats{width: 6em;}
  912. table.rune td.stats table{
  913. font-size: 90%;
  914. border-collapse: collapse;
  915. }
  916. table.rune td.stats table td{
  917. line-height: 100%;
  918. }
  919. table.rune td.stats table tr.main_stat{
  920. font-weight: bold;
  921. font-size: 110%;
  922. }
  923. table.rune td.stats table tr.innate_stat{font-style: italic;}
  924. table.rune td.stats table td.stat{text-align: right;}
  925. table.rune td.stats table td.value{
  926. text-align: right;
  927. vertical-align: middle;
  928. white-space: nowrap;
  929. }
  930. table.rune td.stats table td.grind{
  931. color: #ff7700;
  932. vertical-align: middle;
  933. font-size: 90%;
  934. font-weight: bold;
  935. margin-left: -0.4em;
  936. position: relative
  937. }
  938. table.rune td.stats table td.grind img{
  939. width: 1em;
  940. height: 1em;
  941. position: absolute;
  942. top: 0.1em;
  943. }
  944. table.rune td.details{
  945. padding-left: 0.5em;
  946. width: 16em;
  947. font-size: 80%;
  948. }
  949. table.rune td.details table.table_details{
  950. border-collapse: collapse;
  951. }
  952. table.rune td.details table.table_details td{
  953. line-height: 100%;
  954. }
  955. table.rune td.details table.table_details td.title{text-align: right;}
  956. table.rune td.details table.table_details td.value{
  957. text-align: right;
  958. }
  959. table.rune td.details table.table_details span.quality{
  960. border: 0.1em solid #000000;
  961. border-radius: 0.2em;
  962. font-weight: bold;
  963. text-shadow: 0 0 0.1em #000000;
  964. padding: 0 0.3em;
  965. width: 3.5em;
  966. text-align: center;
  967. height: 1em;
  968. font-size: 90%;
  969. display: inline-block;
  970. }
  971. table.rune td.details table.table_details span.quality.quality_normal{background-color: #cccccc;}
  972. table.rune td.details table.table_details span.quality.quality_magic{background-color: #55ff55;}
  973. table.rune td.details table.table_details span.quality.quality_rare{background-color: #15c6e1;}
  974. table.rune td.details table.table_details span.quality.quality_hero{background-color: #ad7fa8;}
  975. table.rune td.details table.table_details span.quality.quality_legend{background-color: #f57900;}
  976. /**
  977. * /Rune table
  978. */
  979. /**
  980. * Artifact table
  981. */
  982. table.artifact{
  983. width: 24em;
  984. border-collapse: collapse;
  985. display: inline-block;
  986. vertical-align: top;
  987. font-size: 80%;
  988. position: relative;
  989. border-radius: 1em;
  990. margin: 0.5em;
  991. background-color: #7d6640;
  992. font-size: 90%;
  993. border: 0.3em solid #3c2929;
  994. font-family: monospace;
  995. }
  996. table.artifact td.icon{
  997. vertical-align: top;
  998. padding-top: 0.3em;
  999. }
  1000. table.artifact td.icon div.assigned{
  1001. max-width: 2.5em;
  1002. max-height: 2.5em;
  1003. position: absolute;
  1004. left: 0.2em;
  1005. top: 3.6em;
  1006. }
  1007. table.artifact td.icon div.assigned img.monster_image{
  1008. width: 2.5em;
  1009. height: 2.5em;
  1010. border-style: solid;
  1011. border-width: 0.2em;
  1012. border-radius: 15%;
  1013. }
  1014. table.artifact td.icon div.artifact_panel{font-size: 70%;}
  1015. /* TODO: While no details panel, stats can be wider. Normaly is 8em*/
  1016. table.artifact td.effects{
  1017. width: 21.5em;
  1018. text-align: left;
  1019. }
  1020. table.artifact td.effects table{font-size: 90%;}
  1021. table.artifact td.effects table tr.main_stat{
  1022. font-weight: bold;
  1023. font-size: 110%;
  1024. }
  1025. table.artifact td.details{
  1026. padding-left: 0.5em;
  1027. width: 16em;
  1028. font-size: 80%;
  1029. border-collapse: collapse;
  1030. }
  1031. table.artifact td.details table.table_details td.title{text-align: right;}
  1032. table.artifact td.details table.table_details td.value{
  1033. text-align: left;
  1034. padding-left: 1em;
  1035. }
  1036. table.artifact td.details table.table_details span.quality{
  1037. border: 0.1em solid #000000;
  1038. border-radius: 0.2em;
  1039. font-weight: bold;
  1040. text-shadow: 0 0 0.1em #000000;
  1041. padding: 0 0.3em;
  1042. width: 5em;
  1043. }
  1044. table.artifact td.details table.table_details span.quality.quality_normal{background-color: #cccccc;}
  1045. table.artifact td.details table.table_details span.quality.quality_magic{background-color: #55ff55;}
  1046. table.artifact td.details table.table_details span.quality.quality_rare{background-color: #15c6e1;}
  1047. table.artifact td.details table.table_details span.quality.quality_hero{background-color: #ad7fa8;}
  1048. table.artifact td.details table.table_details span.quality.quality_legend{background-color: #f57900;}
  1049. /**
  1050. * /Artifact table
  1051. */
  1052. /**
  1053. * Enchantment panel
  1054. */
  1055. div.enchantment_panel{
  1056. width: 4em;
  1057. height: 4em;
  1058. border: 0.1em solid #3c2929;
  1059. border-radius: 0.5em;
  1060. position: relative;
  1061. text-align: center;
  1062. display: inline-block;
  1063. }
  1064. div.enchantment_panel.enchantment_quality_normal{ /* Normal */
  1065. background-image: repeating-radial-gradient(#ffffff, #cccccc 30%, #ffffff 60%);
  1066. }
  1067. div.enchantment_panel.enchantment_quality_magic{ /* Magic */
  1068. background-image: repeating-radial-gradient(#aaffaa, #88cc88 30%, #aaffaa 60%);
  1069. }
  1070. div.enchantment_panel.enchantment_quality_rare{ /* Rare */
  1071. background-image: repeating-radial-gradient(#aaaaff, #8888cc 30%, #aaaaff 60%);
  1072. }
  1073. div.enchantment_panel.enchantment_quality_hero{ /* Hero */
  1074. background-image: repeating-radial-gradient(#ffaacc, #cc88aa 30%, #ffaacc 60%);
  1075. }
  1076. div.enchantment_panel.enchantment_quality_legend{ /* Legend */
  1077. background-image: repeating-radial-gradient(#f48200, #b76201 30%, #f48200 60%);
  1078. }
  1079. div.enchantment_panel img.enchantment_base{
  1080. position: absolute;
  1081. width: 4em;
  1082. height: 4em;
  1083. margin: -0.5em;
  1084. top: 0.1em;
  1085. left: 0.5em;
  1086. }
  1087. div.enchantment_panel img.enchantment_icon{
  1088. position: absolute;
  1089. width: 1.5em;
  1090. height: 1.5em;
  1091. top: 0.8em;
  1092. left: 1.25em;
  1093. }
  1094. 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);}
  1095. div.enchantment_panel.enchantment_quality_normal img.enchantment_base{filter: sepia(100%) saturate(500%) grayscale(100%);}
  1096. div.enchantment_panel.enchantment_quality_magic img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(60deg);}
  1097. div.enchantment_panel.enchantment_quality_rare img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(120deg);}
  1098. div.enchantment_panel.enchantment_quality_hero img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(230deg);}
  1099. div.enchantment_panel.enchantment_quality_legend img.enchantment_base{filter: sepia(100%) saturate(500%) hue-rotate(330deg);}
  1100. div.enchantment_panel span.enchantment_stat{
  1101. display: block;
  1102. width: 100%;
  1103. text-align: center;
  1104. font-size: 80%;
  1105. 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;
  1106. position: absolute;
  1107. bottom: 0;
  1108. font-family: monospace;
  1109. }
  1110. div.enchantment_panel span.enchantment_stat span.enchantment_stat_name{
  1111. display: block;
  1112. margin: 0;
  1113. }
  1114. div.enchantment_panel span.enchantment_stat span.enchantment_stat_value{
  1115. display: block;
  1116. font-weight: bold;
  1117. margin: 0;
  1118. }
  1119. div.enchantment_panel span.enchantment_amount{
  1120. display: block;
  1121. position: absolute;
  1122. top: 0;
  1123. right: 0.2em;
  1124. text-align: right;
  1125. font-size: 90%;
  1126. font-weight: bold;
  1127. 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;
  1128. }
  1129. /* Help tooltips */
  1130. div.help_tooltip{
  1131. display: inline-block;
  1132. width: 1em;
  1133. height: 1em;
  1134. color: var(--section-title-background);
  1135. background-color: var(--ui-color-border);
  1136. border: 0.1em solid var(--section-title-background);
  1137. border-radius: 50%;
  1138. font-family: monospace;
  1139. font-weight: bold;
  1140. vertical-align: bottom;
  1141. position: relative;
  1142. text-align: center;
  1143. cursor: pointer;
  1144. }
  1145. div.help_tooltip:after{
  1146. content: '?';
  1147. }
  1148. div.help_tooltip p{
  1149. font-size: 100%;
  1150. font-family: initial;
  1151. font-weight: initial;
  1152. border: var(--section-border);
  1153. color: #ffffff;
  1154. display: none;
  1155. position: absolute;
  1156. top: 0%;
  1157. left: -5em;
  1158. width: 10em;
  1159. border: var(--section-border);
  1160. border-radius: 0.8em;
  1161. background-color: var(--section-background-list);
  1162. padding: 0.4em;
  1163. text-align: left;
  1164. line-height: 95%;
  1165. filter: drop-shadow(0 0 0.5em #000000) drop-shadow(0 0 0.2em #000000) drop-shadow(0 0 0.1em #000000);
  1166. z-index: 999;
  1167. }
  1168. div.help_tooltip:hover p{
  1169. display: block;
  1170. }