fishinthebox

CSS

Apr 14th, 2024
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.90 KB | None | 0 0
  1. /* CSS placed here will be applied to all skins */
  2.  
  3. @import url(https://calamitymod.wiki.gg/index.php?title=MediaWiki:Lernaean.css&action=raw&ctype=text/css);
  4.  
  5. .skin-vector {
  6. --template-background-color-1: #515151;
  7. --template-background-color-2: var(--theme-page-background-color);
  8. --template-background-color-3: #333;
  9. --template-heading-background-color-1: #373D40;
  10. --template-heading-background-color-2: #282828;
  11. --template-heading-text-color-1: #FFF;
  12. --template-accent-color:#8b221b;
  13. --note-color:#FFF;
  14. --theme-page-background-color: #202020;
  15. --theme-page-background-color--secondary: #414141;
  16. --theme-page-text-color: #E6E6E6;
  17. --theme-link-color: #5A93CC;
  18. --theme-border-color: #525252;
  19. --theme-page-redlink: #DD001A;
  20. --theme-page-green: #0D8134;
  21. --theme-diff-text: #FFF;
  22. --custom-template-journey-color: #E00B8F;
  23.  
  24. /*** vars, for infocard ***/
  25. --theme-widget-shadow: 0px 0px 15px 0px rgba(10,10,10, 0.7);
  26. --theme-widget-border-color: rgba(255,255,255, 0.1) rgba(13, 4, 2, 0.2) rgba(13, 4, 2, 0.2) rgba(255,255,255, 0.1);
  27. --theme-box-border-color: #AAA;
  28. --theme-box-background: rgba(51,51,51,0.6);
  29. }
  30.  
  31. #contentSub:empty {
  32. margin: 0 !important;
  33. }
  34.  
  35. table.jquery-tablesorter th.headerSort {
  36. background-repeat: no-repeat !important;
  37. background-position: center right !important;
  38. }
  39.  
  40. /* ------------------------------------------------------------------ */
  41. /* For Template:Key */
  42. div.key {
  43. pointer-events: none;
  44. }
  45. div.key span {
  46. cursor: pointer;
  47. white-space: nowrap;
  48. pointer-events: all;
  49. }
  50. div.key a:-webkit-any-link {
  51. text-decoration: none;
  52. }
  53. /* ------------------------------------------------------------------ */
  54.  
  55. /* DPL Tables */
  56. #dpl-table {
  57. text-align: center;
  58. }
  59. #dpl-table td:first-child {
  60. text-align: left;
  61. }
  62. #dpl-table td:last-child {
  63. text-align: right;
  64. }
  65. #dpl-table th {
  66. line-height: 1.25;
  67. }
  68.  
  69.  
  70. /* ========================================================================== */
  71. /* === New flex mainpage styles ============================================= */
  72. /* ========================================================================== */
  73. #mainpage-global-wrapper {
  74. min-width: 300px;
  75. background: var(--theme-page-background-color);
  76. }
  77.  
  78. #mf-wikiheader {
  79. color:var(--theme-page-text-color);
  80. background: var(--theme-page-background-color);
  81. border: 7px solid var(--template-accent-color);
  82. margin: 1px 3px 5px;
  83. border-radius: 5px;
  84. box-shadow: 0 0 0 1px var(--template-accent-color);
  85. position: relative;
  86. padding: 5px;
  87. /* this value shouldn't be greater then "right" and/or "top" of #mf-wikiheader-toggle-link */
  88. }
  89.  
  90. #mf-wikiheader * {
  91. transition: all 0.3s;
  92. }
  93.  
  94. #mf-wikiheader-toggle-link {
  95. position: absolute;
  96. z-index: 50;
  97. line-height: 1;
  98. right: 5px;
  99. top: 5px;
  100. cursor: pointer;
  101. font-size: 10px;
  102. display: none;
  103. }
  104.  
  105. #mf-wikiheader-toggle-link span:first-child::before {
  106. content: "";
  107. vertical-align: middle;
  108. display: inline-block;
  109. width: 4px;
  110. height: 4px;
  111. transform: rotate(45deg);
  112. position: relative;
  113. left: -3px;
  114. border-left: 0;
  115. border-top: 0;
  116. border-right: 2px solid #0645ad;
  117. border-bottom: 2px solid #0645ad;
  118. top: -2px;
  119. }
  120.  
  121. #mf-wikiheader-toggle-link span:last-child::before {
  122. content: "";
  123. vertical-align: middle;
  124. display: inline-block;
  125. width: 4px;
  126. height: 4px;
  127. transform: rotate(45deg);
  128. position: relative;
  129. left: -3px;
  130. border-left: 2px solid #0645ad;
  131. border-top: 2px solid #0645ad;
  132. border-right: 0;
  133. border-bottom: 0;
  134. top: 1px;
  135. }
  136.  
  137. #mf-wikiheader-toggle-link span:first-child {
  138. display: none;
  139. }
  140.  
  141. #mf-wikiheader .main-title {
  142. text-align: center;
  143. position: relative;
  144. z-index: 10;
  145. padding-bottom: 8px;
  146. }
  147.  
  148. #mf-wikiheader .related-info {
  149. position: relative;
  150. z-index: 100;
  151. background: #202020;
  152. overflow: hidden;
  153. padding-top: 5px;
  154. padding-bottom: 12px;
  155. }
  156.  
  157. #mf-wikiheader .related-info .i {
  158. margin: 0.25em 1em 1em;
  159. text-align: center;
  160. }
  161.  
  162. #mf-wikiheader .related-info .i:first-child {
  163. margin-bottom: 0;
  164. }
  165.  
  166. #latest-version {
  167. line-height: 1;
  168. display: -webkit-box;
  169. display: -webkit-flex;
  170. display: -moz-flex;
  171. display: -ms-flexbox;
  172. display: flex;
  173. -webkit-box-pack: center;
  174. -ms-flex-pack: center;
  175. -webkit-justify-content: center;
  176. -moz-justify-content: center;
  177. justify-content: center;
  178. -webkit-box-align: center;
  179. -ms-flex-align: center;
  180. -webkit-align-items: center;
  181. -moz-align-items: center;
  182. align-items: center;
  183. -ms-flex-wrap: wrap;
  184. -webkit-flex-wrap: wrap;
  185. -moz-flex-wrap: wrap;
  186. flex-wrap: wrap;
  187. margin: 0 auto;
  188. }
  189.  
  190. #latest-version * {
  191. vertical-align: middle;
  192. }
  193.  
  194. #latest-version a:hover {
  195. text-decoration: none;
  196. }
  197.  
  198. #latest-version a.external {
  199. padding: 0;
  200. background: none;
  201. color: #0645ad;
  202. }
  203.  
  204. #latest-version ul {
  205. display: -webkit-box;
  206. display: -webkit-flex;
  207. display: -moz-flex;
  208. display: -ms-flexbox;
  209. display: flex;
  210. -webkit-box-pack: center;
  211. -ms-flex-pack: center;
  212. -webkit-justify-content: center;
  213. -moz-justify-content: center;
  214. justify-content: center;
  215. -webkit-box-align: center;
  216. -ms-flex-align: center;
  217. -webkit-align-items: center;
  218. -moz-align-items: center;
  219. align-items: center;
  220. -ms-flex-wrap: wrap;
  221. -webkit-flex-wrap: wrap;
  222. -moz-flex-wrap: wrap;
  223. flex-wrap: wrap;
  224. margin: 0;
  225. }
  226.  
  227. #latest-version ul li {
  228. display: -webkit-box;
  229. display: -webkit-flex;
  230. display: -moz-flex;
  231. display: -ms-flexbox;
  232. display: flex;
  233. -webkit-box-pack: center;
  234. -ms-flex-pack: center;
  235. -webkit-justify-content: center;
  236. -moz-justify-content: center;
  237. justify-content: center;
  238. -webkit-box-align: center;
  239. -ms-flex-align: center;
  240. -webkit-align-items: center;
  241. -moz-align-items: center;
  242. align-items: center;
  243. margin: 0.25em 0.5em;
  244. }
  245.  
  246. #latest-version ul li > div {
  247. margin: auto auto auto 0.25em;
  248. text-align: left;
  249. }
  250.  
  251. #latest-version ul li > div > * {
  252. display: block;
  253. }
  254.  
  255. #latest-version ul li > div.pic > * {
  256. display: inline;
  257. }
  258.  
  259. #latest-version ul li > div > span {
  260. font-size: 10px;
  261. }
  262.  
  263. #latest-version ul li > div > strong {
  264. font-size: 16px;
  265. }
  266.  
  267. #latest-version ul li > div > small {
  268. font-size: 10px;
  269. color: #999;
  270. }
  271.  
  272. #latest-version div.pic {
  273. text-align: center;
  274. }
  275.  
  276. #mf-wikiheader.collapsed #mf-wikiheader-toggle-link span:first-child {
  277. display: inline;
  278. }
  279.  
  280. #mf-wikiheader.collapsed #mf-wikiheader-toggle-link span:last-child {
  281. display: none;
  282. }
  283.  
  284. #mf-wikiheader.collapsed .related-info {
  285. display: none !important;
  286. }
  287.  
  288. #mf-wikiheader.collapsed .main-title .statistics {
  289. display: none;
  290. }
  291.  
  292. @media(max-width: 600px) {
  293. #mf-wikiheader {
  294. padding: 15px;
  295. }
  296. }
  297.  
  298. .fp-box {
  299. border: 1px solid var(--template-accent-color);
  300. -moz-border-radius: 5px;
  301. border-radius: 5px;
  302. padding: 7px;
  303. box-sizing: border-box;
  304. margin: 0 2px 4px;
  305. }
  306.  
  307. .fake-bullet {
  308. padding: 1px 0;
  309. white-space: nowrap;
  310. }
  311.  
  312. .fake-bullet::before {
  313. content: url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20version%3D%221.1%22%20width%3D%225%22%20height%3D%2213%22%3E%0A%3Ccircle%20cx%3D%222.5%22%20cy%3D%229.5%22%20r%3D%222.5%22%20fill%3D%22%2300528c%22%2F%3E%0A%3C%2Fsvg%3E%0A);
  314. padding-right: 5px;
  315. }
  316.  
  317. #mainpage-global-wrapper .footer {
  318. text-align: center;
  319. margin: 0.5em 2px;
  320. }
  321.  
  322. #mainpage-global-wrapper .footer > div {
  323. border: 1px solid var(--template-accent-color);
  324. -moz-border-radius: 5px;
  325. border-radius: 5px;
  326. background: var(--theme-page-background-color);
  327. padding: 0.5em;
  328. max-width: 25em;
  329. margin: auto;
  330. }
  331.  
  332.  
  333. /* ========================================================================== */
  334. /* === New flex mainpage styles end ========================================= */
  335. /* ========================================================================== */
  336.  
  337.  
  338. /* For Template:Heading, mainly used in main page. */
  339. div.heading {
  340. padding: 5px;
  341. margin-bottom: 0.5em;
  342. font-weight: bold;
  343. text-align: center;
  344. font-size: 120%;
  345. position: relative;
  346. color:var(--theme-page-text-color);
  347. background:var(--template-heading-background-color-2);
  348. }
  349.  
  350. div.heading > span.rightimg {
  351. position: absolute;
  352. right: 5px;
  353. top: 5px;
  354. }
  355.  
  356. /* -- Removes redundant Cargo extension "Purge cache" link ---------- */
  357. div.menu li#ca-cargo-purge {
  358. display: none;
  359. }
  360.  
  361. /* itemlist */
  362. .itemlist > ul {
  363. list-style: none;
  364. margin: 0.25em 0 -0.25em 0;
  365. }
  366.  
  367. .itemlist > ul > li {
  368. width: 10em;
  369. /* default width */
  370. margin: auto 1em 0.5em auto;
  371. display: inline-block;
  372. }
  373.  
  374. /* {{diagram}} */
  375. table.diagram{
  376. border-spacing: 0;
  377. background: transparent;
  378. }
  379. table.diagram tr{
  380. height: 1px;
  381. text-align: center;
  382. }
  383. table.diagram td.l{
  384. border-style: none;
  385. border-width: 1px;
  386. border-color: #a0a0a0;
  387. padding: 0.5em;
  388. }
  389. table.diagram td.n{
  390. padding: 0;
  391. }
  392. table.diagram td.db{
  393. border-bottom-style: dashed;
  394. }
  395. table.diagram td.dr{
  396. border-right-style: dashed;
  397. }
  398. table.diagram td.sb{
  399. border-bottom-style: solid;
  400. }
  401. table.diagram td.sr{
  402. border-right-style: solid;
  403. }
  404. table.diagram td.nb{
  405. border-bottom-style: solid;
  406. border-bottom-color: transparent;
  407. }
  408. table.diagram td.nr{
  409. border-right-style: solid;
  410. border-right-color: transparent;
  411. }
  412. /*center dot fix*/
  413. table.diagram td.cf{
  414. position: relative;
  415. }
  416. table.diagram td.cf:after{
  417. content: "";
  418. display: block;
  419. position: absolute;
  420. width: 0.9px;
  421. height: 1px;
  422. border-bottom: 1px solid #a0a0a0;
  423. right: 0;
  424. bottom: 0;
  425. }
  426. .diagram-box{
  427. border-width: 2px;
  428. border-style: solid;
  429. border-color: #AFCFE2;
  430. border-radius: 7px;
  431. padding: 0.25em 0.5em;
  432. }
  433. table.diagram td.no-border{
  434. border: none;
  435. }
  436. table.diagram td.craft-station{
  437. border: none;
  438. padding: 2px 0;
  439. }
  440. .crafting-tree{
  441. overflow: auto;
  442. padding: 0.5em 0;
  443. }
  444. .crafting-tree .diagram{
  445. white-space: nowrap;
  446. }
  447.  
  448. /* ------------------------------------------------------------------ */
  449.  
  450.  
  451. /* ================================================================== */
  452. /* UCP fixes */
  453. /* ================================================================== */
  454.  
  455.  
  456. /* ------------------------------------------------------------------ */
  457.  
  458. /* ======================================= */
  459. /* UI: Orange color to blue */
  460. /* ======================================= */
  461.  
  462. /* ======================================= */
  463. /* Invisible checkboxes */
  464. /* ======================================= */
  465.  
  466. .oo-ui-image-invert.oo-ui-icon-check,
  467. .mw-ui-icon-check-invert:before {
  468. -webkit-mask: none;
  469. mask: none;
  470. }
  471.  
  472. .oo-ui-image-invert.oo-ui-icon-check,
  473. .mw-ui-icon-check-invert::before {
  474. background-image: linear-gradient(transparent, transparent),
  475. url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Echeck%3C/title%3E%3Cg fill=%22%23fff%22%3E%3Cpath d=%22M7 14.17L2.83 10l-1.41 1.41L7 17 19 5l-1.41-1.42z%22/%3E%3C/g%3E%3C/svg%3E");
  476. }
  477.  
  478. .oo-ui-icon-check,
  479. .mw-ui-icon-check::before {
  480. background-image: linear-gradient(transparent, transparent),
  481. url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3Echeck%3C/title%3E%3Cpath d=%22M7 14.17L2.83 10l-1.41 1.41L7 17 19 5l-1.41-1.42z%22/%3E%3C/svg%3E");
  482. }
  483.  
  484.  
  485. /* ======================================= */
  486. /* Extension:TemplateData */
  487. /* ======================================= */
  488.  
  489. .oo-ui-icon-template-format-inline,
  490. .oo-ui-icon-template-format-block,
  491. .oo-ui-icon-parameter-set {
  492. background-color: inherit;
  493. }
  494.  
  495. /* Template documentation */
  496. .documentation {
  497. margin: 0em auto 1em;
  498. border: 1px solid #AAAAAA;
  499. padding: 1em;
  500. background: var(--template-background-color-3);
  501. }
  502.  
  503. .documentation_title {
  504. padding-bottom: 3px;
  505. border-bottom: 1px solid #AAAAAA;
  506. margin-bottom: 1ex;
  507. }
  508.  
  509. /* Expert */
  510. .expert_value {
  511. color:#FFBA75;
  512. }
  513.  
  514. /* Revengeance */
  515. .revengeance_value {
  516. color:#D32A2A;
  517. }
  518.  
  519. /* Death Mode */
  520. .death_value {
  521. color:#C040DB;
  522. }
  523.  
  524. /* Defiled */
  525. .defiled_value {
  526. color:#DCFF84;
  527. }
  528.  
  529. /* Malice */
  530. .malice_value {
  531. color:#F08080;
  532. }
  533.  
  534. /* Master */
  535. .master_value {
  536. color:#44AD55;
  537. }
  538.  
  539. /* Rev Master Why */
  540. .revengeance_master_value {
  541. color:#7C99F2;
  542. }
  543.  
  544. /* Auto line separators for tables */
  545. table.lined td {
  546. border-bottom: 1px #666 solid;
  547. }
  548.  
  549. table.lined tr:last-of-type td {
  550. border-bottom: 0;
  551. }
  552.  
  553. table.lined tr:nth-last-of-type(2) td[rowspan="2"] {
  554. border-bottom: 0;
  555. }
  556.  
  557. table.lined tr:nth-last-of-type(3) td[rowspan="3"] {
  558. border-bottom: 0;
  559. }
  560.  
  561. table.lined tr:nth-last-of-type(7) td[rowspan="7"] {
  562. border-bottom: 0;
  563. }
  564.  
  565. table tr.bottomline td {
  566. border-bottom: 1px #AAA solid;
  567. }
  568.  
  569. table tr.topline td {
  570. border-top: 1px #AAA solid;
  571. }
  572.  
  573. table tr.bottomline:last-of-type td {
  574. border-bottom: 0;
  575. }
  576.  
  577. table tr.bottomline:nth-last-of-type(2) td[rowspan="2"] {
  578. border-bottom: 0;
  579. }
  580.  
  581. table tr.bottomline:nth-last-of-type(3) td[rowspan="3"] {
  582. border-bottom: 0;
  583. }
  584.  
  585. table tr.bottomline:nth-last-of-type(7) td[rowspan="7"] {
  586. border-bottom: 0;
  587. }
  588.  
  589. /* Crafts tables */
  590. table.crafts{
  591. border: 1px solid #aaa;
  592. border-radius: 8px;
  593. padding: 6px;
  594. background-color: var(--template-background-color-1);
  595. color: white;
  596. margin: auto 0 0.5em;
  597. }
  598. table.crafts table.inner {
  599. border-collapse: collapse;
  600. background:inherit;
  601. width:100%;
  602. }
  603. table.crafts table.inner th {
  604. border:2px solid var(--template-background-color-1);
  605. background: var(--template-heading-background-color-1);
  606. }
  607.  
  608. /* Main page */
  609. .mainInner {
  610. background:#333;
  611. border:#FFB0B0 1px solid;
  612. }
  613.  
  614. /* logo drop shadow */
  615. .mw-wiki-logo {
  616. background-image: url(/images/e/e6/Site-logo.png);
  617. }
  618.  
  619. /* Allows limiting TOCs to generate links for only header levels
  620. below a limit, for instance only level-3 (=== ===) and below.
  621. Use [[Template:Toc limit]] */
  622. .toclimit-2 .toclevel-1 ul,
  623. .toclimit-3 .toclevel-2 ul,
  624. .toclimit-4 .toclevel-3 ul,
  625. .toclimit-5 .toclevel-4 ul,
  626. .toclimit-6 .toclevel-5 ul,
  627. .toclimit-7 .toclevel-6 ul { display: none !important; }
  628.  
  629. /* Tabs */
  630. #left-navigation {
  631. margin-top: 206px !important;
  632. }
  633.  
  634. #right-navigation {
  635. margin-right: 0.5em;
  636. margin-top: 206px !important;
  637. }
  638.  
  639. /* Logo */
  640. #p-logo {
  641. height: 195px !important;
  642. padding: 0;
  643. position: absolute;
  644. width: 507px !important;
  645. z-index: 4;
  646. left: 50vw;
  647. margin-left: -244px;
  648. top: 50px;
  649. }
  650.  
  651. #p-logo a {
  652. height: 186px !important;
  653. width: 552px !important;
  654. }
  655.  
  656. /* Hide main page header */
  657. body.page-Calamity_Mod_Wiki h1.firstHeading {
  658. display:none;
  659. }
  660.  
  661. /* for "edit this page" tab and "discussion" tab etc */
  662. .pagetab {
  663. border-style: solid solid none;
  664. border-width: thin;
  665. border-color: #808080;
  666. padding: 0.25ex 1ex 0ex;
  667. font-size: 95%;
  668. }
  669.  
  670. .ambox {
  671. background-color: #282828;
  672. border-bottom-color: #383838;
  673. border-right-color: #383838;
  674. border-top-color: #383838;
  675. border-collapse: collapse;
  676. font-size: 95%;
  677. margin: 0 auto 2px auto;
  678. width: 80%;
  679. }
  680.  
  681. .ambox-gray {
  682. border-left-color: #383838;
  683. }
  684.  
  685. .ambox.ambox-tiny {
  686. font-size: 90%;
  687. margin: 2px 0;
  688. width: auto;
  689. }
  690.  
  691. .ambox + .ambox {
  692. margin-top: -2px;
  693. }
  694.  
  695. .ambox-text {
  696. padding: 0.25em 0.5em;
  697. }
  698.  
  699. .ambox-image {
  700. padding: 2px 0px 2px 0.5em;
  701. text-align: center;
  702. width: 60px;
  703. }
  704.  
  705. .ambox-tiny .ambox-image {
  706. padding: 2px 0.5em;
  707. text-align: left;
  708. width: auto;
  709. }
  710.  
  711. /* Ambox colors */
  712. .ambox-blue {
  713. border-left: 10px solid #1e90ff;
  714. }
  715.  
  716. .ambox-red {
  717. border-left: 10px solid #b22222;
  718. }
  719.  
  720. .ambox-orange {
  721. border-left: 10px solid #f28500;
  722. }
  723.  
  724. .ambox-yellow {
  725. border-left: 10px solid #f4c430;
  726. }
  727.  
  728. .ambox-purple {
  729. border-left: 10px solid #9932cc;
  730. }
  731.  
  732. .ambox-gray {
  733. border-left: 10px solid #bba;
  734. }
  735.  
  736. .ambox-green {
  737. border-left: 10px solid #228b22;
  738. }
  739.  
  740. /* Ambox small text */
  741. .amsmalltext {
  742. font-size: smaller;
  743. margin-left: 0.8em;
  744. margin-top: 0.5em;
  745. }
  746.  
  747. /* -- item link ----------------------------------------------------- */
  748. .i{
  749. white-space:nowrap;
  750. color: var(--theme-page-text-color);
  751. display: inline-block;
  752. }
  753. .i > a,
  754. .i > img{
  755. display: inline-block;
  756. line-height: 0.1;
  757. vertical-align: middle;
  758. margin-left: 2px;
  759. }
  760. .i > span{
  761. display: inline-block;
  762. margin-left: 3px;
  763. text-align: left;
  764. }
  765. .i > a:first-child,
  766. .i > img:first-child,
  767. .i > span:first-child{
  768. margin-left: auto;
  769. }
  770. .i.multi-line > span,
  771. .i.-w > span,
  772. .i.break > span {
  773. line-height: 1.25;
  774. vertical-align: middle;
  775. }
  776. .i.break > span{
  777. white-space: normal;
  778. }
  779. .i .note{
  780. color: var(--note-color);
  781. font-size: 85.7142%; /*12px/14px*/
  782. }
  783. .i div.note{ /*note2*/
  784. font-size: 100%;
  785. line-height: 1;
  786. }
  787. .i span.note{
  788. margin-left: 3px;
  789. }
  790. .i.-w span.note:last-child{
  791. display: block;
  792. margin-left: auto;
  793. line-height: 1;
  794. }
  795. .i.boldname >span span:first-child{
  796. font-weight: bold;
  797. }
  798. .i.notecolor span.note{
  799. color: inherit;
  800. }
  801. .i.note2color div.note{
  802. color: inherit;
  803. }
  804. .i.block,
  805. .i.block > span{
  806. display: block;
  807. }
  808. .i.notesize span.note{
  809. font-size: 100%;
  810. }
  811. .i.note2size div.note{
  812. font-size: 100%;
  813. font-size: 85.7142%; /*12px/14px*/
  814. }
  815. .i.alignleft{
  816. text-align: left;
  817. }
  818. .i.aligncenter{
  819. text-align: center;
  820. }
  821. .i.alignright{
  822. text-align: right;
  823. }
  824. .i.textleft>span{
  825. text-align: left;
  826. }
  827. .i.textcenter>span{
  828. text-align: center;
  829. }
  830. .i.textright>span{
  831. text-align: right;
  832. }
  833. /* ------------------------------------------------------------------ */
  834.  
  835.  
  836. /* -- Infobox & infobox wrapper template style ---------------------- */
  837. /* some rules just kept for "old" template. */
  838. .infobox td, .infobox th {
  839. vertical-align: top;
  840. }
  841. .infobox caption {
  842. font-size: larger;
  843. margin-left: inherit;
  844. }
  845. .infobox.bordered {
  846. border-collapse: collapse;
  847. }
  848. .infobox.bordered td,
  849. .infobox.bordered th {
  850. border: 1px #AAA solid;
  851. }
  852. .infobox.bordered .borderless td,
  853. .infobox.bordered .borderless th {
  854. border: 0;
  855. }
  856. /* styles for latest template */
  857. .infobox{
  858. border: 1px solid #aaa;
  859. border-radius: 8px;
  860. padding: 6px;
  861. float: right;
  862. font-size: 12px;
  863. background-color: var(--template-background-color-1);
  864. margin: 0 0 0.5em 1em;
  865. }
  866. @media(max-width:450px){
  867. .infobox{
  868. float: none;
  869. }
  870. }
  871. .infobox.float-right{
  872. float: right;
  873. margin: 0 0 0.5em 1em;
  874. }
  875. .infobox.float-left{
  876. float: left;
  877. margin:0 1em 0.5em 0;
  878. }
  879. .infobox.float-none{
  880. float: none;
  881. margin:0 1em 0.5em 0;
  882. }
  883. .infobox table{
  884. background-color: transparent;
  885. width: 100%;
  886. border-spacing: 0;
  887. }
  888. .infobox table th{
  889. white-space: nowrap;
  890. padding: 2px;
  891. text-align: right;
  892. border-right: 1px solid #515151;
  893. width: 5em;
  894. vertical-align: middle;
  895. }
  896. .infobox table td{
  897. padding: 2px;
  898. vertical-align: middle;
  899. }
  900. .infobox .title{
  901. background-color: var(--template-heading-background-color-1);
  902. color: var(--template-heading-text-color-1);
  903. font-weight: bold;
  904. text-align: center;
  905. padding: 2px 0;
  906. }
  907. .infobox > .title{
  908. font-size: 15px;
  909. padding: 8px 0;
  910. line-height: 1.2;
  911. }
  912. .infobox > .title span{
  913. display: block;
  914. font-size: 12px;
  915. color: slategray;
  916. font-style: italic;
  917. }
  918. .infobox > .title span::before{
  919. content: "(";
  920. font-style: normal;
  921. }
  922. .infobox > .title span::after{
  923. content: ")";
  924. font-style: normal;
  925. }
  926. .infobox .variant{
  927. background-color: var(--template-heading-background-color-1);
  928. color: var(--template-heading-text-color-1);
  929. font-weight: bold;
  930. text-align: center;
  931. font-size: 12px;
  932. padding: 4px 0;
  933. line-height: 1.2;
  934. }
  935. .infobox .images{
  936. position: relative;
  937. padding: 6px 0;
  938. min-height: 40px;
  939. text-align: center;
  940. display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;
  941. /* direction=column, for IE11 */
  942. -webkit-box-direction:normal;-webkit-box-orient:vertical;-moz-box-direction:normal;-moz-box-orient:vertical;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;
  943. -webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;-moz-justify-content:center;justify-content:center;
  944. -webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center;
  945. }
  946. .infobox ul{
  947. list-style: none;
  948. margin: auto;
  949. text-align: center;
  950. }
  951. .infobox .stat td > small{
  952. font-size: 10.5px;
  953. font-weight: bold;
  954. }
  955. .infobox .stat td > small::before{
  956. content: "(";
  957. }
  958. .infobox .stat td > small::after{
  959. content: ")";
  960. }
  961. .infobox tr.buff th, .infobox tr.buff td{
  962. background-color: var(--template-heading-background-color-1);
  963. border: 1px solid #515151;
  964. }
  965. .infobox tr.buff th{
  966. border-left: 0;
  967. }
  968. .infobox tr.buff td{
  969. border-right: 0;
  970. padding-left: 3px;
  971. }
  972. .infobox tr.buff td b{
  973. font-weight: bold;
  974. }
  975. .infobox .variant{
  976. margin-bottom: 2px;
  977. white-space: nowrap;
  978. }
  979. .infobox .drops td:first-child{
  980. text-align: left;
  981. }
  982. .infobox .drops td:last-child{
  983. text-align: right;
  984. }
  985. .infobox .drops th:first-child{
  986. text-align: left;
  987. border-right: 0;
  988. }
  989. .infobox .section.drops,
  990. .infobox .section.resistances{
  991. margin-top: 6px;
  992. margin-bottom: 6px;
  993. }
  994. .infobox .drops.money{
  995. margin: 2px auto;
  996. }
  997. .npc.infobox .map{
  998. text-align: center;
  999. padding-top: 3px;
  1000. margin-top: 6px;
  1001. border-top: 1px solid #aaa;
  1002. }
  1003. .infobox .image2{
  1004. text-align: center;
  1005. padding-top: 3px;
  1006. margin-top: 6px;
  1007. border-top: 1px solid #aaa;
  1008. }
  1009. .infobox .proj,
  1010. .infobox .ib_sound,
  1011. .infobox .cooldown {
  1012. text-align: center;
  1013. padding-top: 3px;
  1014. margin-top: 6px;
  1015. }
  1016. .infobox .drops.items{
  1017. margin-bottom: 1px;
  1018. }
  1019. .infobox .drops.items li{
  1020. border-bottom: 1px #AFCFE2 solid;
  1021. padding: 3px 0;
  1022. margin-bottom: auto;
  1023. display:-webkit-box;
  1024. display:-webkit-flex;
  1025. display:-moz-flex;
  1026. display:-ms-flexbox;
  1027. display:flex;
  1028. -ms-flex-wrap:nowrap;
  1029. -webkit-flex-wrap:nowrap;
  1030. -moz-flex-wrap:nowrap;
  1031. flex-wrap:nowrap;
  1032. -webkit-box-direction:normal;
  1033. -webkit-box-orient:horizontal;
  1034. -moz-box-direction:normal;
  1035. -moz-box-orient:horizontal;
  1036. -webkit-flex-direction:row;
  1037. -ms-flex-direction:row;
  1038. flex-direction:row;
  1039. -webkit-box-pack:justify;
  1040. -ms-flex-pack:justify;
  1041. -webkit-justify-content:space-between;
  1042. -moz-justify-content:space-between;
  1043. justify-content:space-between;
  1044. -webkit-box-align:center;
  1045. -ms-flex-align:center;
  1046. -webkit-align-items:center;
  1047. -moz-align-items:center;
  1048. align-items:center;
  1049. }
  1050. .infobox .drops.items li:first-child{
  1051. background-color: var(--template-heading-background-color-1);
  1052. color: var(--template-heading-text-color-1);
  1053. padding: 2px 3px 0;
  1054. }
  1055. .infobox .drops.items li > div{
  1056. display: block;
  1057. }
  1058. .infobox .drops.items li > div:first-child{
  1059. text-align: left;
  1060. }
  1061. .infobox .drops.items li > div:last-child{
  1062. text-align: right;
  1063. }
  1064.  
  1065. .infobox .drops.items li:last-child{
  1066. border-bottom: none;
  1067. }
  1068.  
  1069. .infobox .drops.items li.caption{
  1070. border-top:2px #AFCFE2 solid;
  1071. margin-top: 2px;
  1072. line-height:1;
  1073. text-align: center;
  1074. color:#ffffff;
  1075. font-size: 10.5px;
  1076. background:var(--template-heading-background-color-1);
  1077. padding-top: 5px;
  1078. display: block;
  1079. }
  1080. .infobox .drops.items li.group_end{
  1081. border-bottom:5px #AFCFE2 solid;
  1082. position: relative;
  1083. }
  1084. .infobox .drops.items li.group_end::after{
  1085. content: "";
  1086. display: block;
  1087. position: absolute;
  1088. left: 0;
  1089. bottom: -4px;
  1090. width: 100%;
  1091. height: 2px;
  1092. background-color: var(--template-background-color-1);
  1093. }
  1094. /* for item infobox */
  1095. .item.infobox{
  1096. width: 21em;
  1097. }
  1098. .item.infobox .images .auto, .infobox.item .images .stack{
  1099. position: absolute;
  1100. right: 3px;
  1101. }
  1102. .item.infobox .images .instrument {
  1103. position: absolute;
  1104. left: 3px;
  1105. }
  1106. .item.infobox .images .auto{
  1107. top: 3px;
  1108. }
  1109. .item.infobox .images .stack, .item.infobox .images .instrument{
  1110. bottom: 3px;
  1111. }
  1112. .item.infobox .images ul.inline li{
  1113. display: inline-block;
  1114. padding: 0 8px 0 9px;
  1115. margin: 2px auto;
  1116. position: relative;
  1117. }
  1118. .item.infobox .images ul.inline li::before{
  1119. content: "";
  1120. display: block;
  1121. width: 1px;
  1122. background: #ccc;
  1123. height: 80%;
  1124. position: absolute;
  1125. left: 0;
  1126. top: 10%;
  1127. }
  1128. .item.infobox .images ul.inline li:first-child::before{
  1129. display: none;
  1130. }
  1131. .item.infobox .images ul.block li{
  1132. display: block;
  1133. padding: 13px 0 0 0;
  1134. margin: auto;
  1135. position: relative;
  1136. }
  1137. .item.infobox .images ul.block li::before{
  1138. content: "";
  1139. display: block;
  1140. height: 1px;
  1141. background: #ccc;
  1142. width: 80%;
  1143. position: absolute;
  1144. left: 10%;
  1145. top: 6px;
  1146. }
  1147. .item.infobox .images ul.block li:first-child{
  1148. padding-top: 0;
  1149. }
  1150. .item.infobox .images ul.block li:first-child::before{
  1151. display: none;
  1152. }
  1153. .item.infobox ul.toolpower{
  1154. padding: 6px 0;
  1155. cursor: pointer;
  1156. }
  1157. .item.infobox ul.toolpower li{
  1158. display: inline-block;
  1159. padding: 0 0.5em;
  1160. }
  1161. /* for npc infobox */
  1162. .npc.infobox{
  1163. width: 23em;
  1164. }
  1165. .npc.infobox .statistics table th{
  1166. width: 6em;
  1167. }
  1168. /* infobox wrapper */
  1169. .infobox-wrapper.float-right{
  1170. float: right;
  1171. margin-left: 0.5em;
  1172. }
  1173. .infobox-wrapper.float-left{
  1174. float: left;
  1175. margin-right: 0.5em;
  1176. }
  1177. .infobox-wrapper.float-none{
  1178. float: none;
  1179. }
  1180. .infobox-wrapper.float-right.direction-row .infobox,
  1181. .infobox-wrapper.float-right.direction-row-reverse .infobox,
  1182. .infobox-wrapper.float-right.direction-row .infobox.float-left,
  1183. .infobox-wrapper.float-right.direction-row-reverse .infobox.float-left,
  1184. .infobox-wrapper.float-right.direction-row .infobox.float-right,
  1185. .infobox-wrapper.float-right.direction-row-reverse .infobox.float-right,
  1186. .infobox-wrapper.float-right.direction-row .infobox.float-none,
  1187. .infobox-wrapper.float-right.direction-row-reverse .infobox.float-none{
  1188. float: none;
  1189. margin: 0 0 0.5em 0.5em;
  1190. }
  1191. .infobox-wrapper.float-left.direction-row .infobox,
  1192. .infobox-wrapper.float-left.direction-row-reverse .infobox,
  1193. .infobox-wrapper.float-left.direction-row .infobox.float-left,
  1194. .infobox-wrapper.float-left.direction-row-reverse .infobox.float-left,
  1195. .infobox-wrapper.float-left.direction-row .infobox.float-none,
  1196. .infobox-wrapper.float-left.direction-row-reverse .infobox.float-none,
  1197. .infobox-wrapper.float-left.direction-row .infobox.float-right,
  1198. .infobox-wrapper.float-left.direction-row-reverse .infobox.float-right,
  1199. .infobox-wrapper.float-none.direction-row .infobox,
  1200. .infobox-wrapper.float-none.direction-row-reverse .infobox,
  1201. .infobox-wrapper.float-none.direction-row .infobox.float-left,
  1202. .infobox-wrapper.float-none.direction-row-reverse .infobox.float-left,
  1203. .infobox-wrapper.float-none.direction-row .infobox.float-none,
  1204. .infobox-wrapper.float-none.direction-row-reverse .infobox.float-none,
  1205. .infobox-wrapper.float-none.direction-row .infobox.float-right,
  1206. .infobox-wrapper.float-none.direction-row-reverse .infobox.float-right{
  1207. float: none;
  1208. margin: 0 0.5em 0.5em 0;
  1209. }
  1210. .infobox-wrapper.float-left.direction-column .infobox,
  1211. .infobox-wrapper.float-left.direction-column-reverse .infobox,
  1212. .infobox-wrapper.float-left.direction-column .infobox.float-left,
  1213. .infobox-wrapper.float-left.direction-column-reverse .infobox.float-left,
  1214. .infobox-wrapper.float-left.direction-column .infobox.float-none,
  1215. .infobox-wrapper.float-left.direction-column-reverse .infobox.float-none,
  1216. .infobox-wrapper.float-left.direction-column .infobox.float-right,
  1217. .infobox-wrapper.float-left.direction-column-reverse .infobox.float-right{
  1218. float: left;
  1219. margin: 0 0.5em 0.5em 0;
  1220. }
  1221. .infobox-wrapper.float-none.direction-column .infobox,
  1222. .infobox-wrapper.float-none.direction-column-reverse .infobox,
  1223. .infobox-wrapper.float-none.direction-column .infobox.float-right,
  1224. .infobox-wrapper.float-none.direction-column-reverse .infobox.float-right{
  1225. float: right;
  1226. margin: 0 0 0.5em 0.5em;
  1227. }
  1228. .infobox-wrapper.float-none.direction-column .infobox.float-left,
  1229. .infobox-wrapper.float-none.direction-column-reverse .infobox.float-left,
  1230. .infobox-wrapper.float-none.direction-column .infobox.float-none,
  1231. .infobox-wrapper.float-none.direction-column-reverse .infobox.float-none{
  1232. float: left;
  1233. margin: 0 0.5em 0.5em 0;
  1234. }
  1235. .infobox-wrapper.float-right.direction-column .infobox,
  1236. .infobox-wrapper.float-right.direction-column-reverse .infobox,
  1237. .infobox-wrapper.float-right.direction-column .infobox.float-left,
  1238. .infobox-wrapper.float-right.direction-column-reverse .infobox.float-left,
  1239. .infobox-wrapper.float-right.direction-column .infobox.float-none,
  1240. .infobox-wrapper.float-right.direction-column-reverse .infobox.float-none,
  1241. .infobox-wrapper.float-right.direction-column .infobox.float-right,
  1242. .infobox-wrapper.float-right.direction-column-reverse .infobox.float-right{
  1243. float: right;
  1244. margin: 0 0 0.5em 0.5em;
  1245. }
  1246. /* ------------------------------------------------------------------ */
  1247.  
  1248.  
  1249. /* interwiki table bg fix for active entries */
  1250. .mw-interwikitable-local,
  1251. .mw-interwikitable-trans {
  1252. text-shadow: 1px 1px 1px #000000;
  1253. }
  1254.  
  1255. .feature {
  1256. background: rgba(0, 0, 0, 0.05);
  1257. border: 2px solid darkred;
  1258. border-radius: 5px;
  1259. padding: 10px;
  1260. }
  1261.  
  1262. /* Navbox template style */
  1263. table.navbox {
  1264. border: 1px solid #aaa;
  1265. clear: both;
  1266. /*font-size: 12px;*/
  1267. margin-top: 0.75em !important;
  1268. /*text-align: center;*/
  1269. width: 100%;
  1270. border-radius: 8px;
  1271. padding: 6px;
  1272. background-color: var(--template-background-color-1);
  1273. }
  1274.  
  1275. /* Border between adjacent navboxes */
  1276. table.navbox + table.navbox {
  1277. margin-top: -1px;
  1278. }
  1279.  
  1280. .navbox-title,
  1281. .navbox-abovebelow,
  1282. table.navbox th {
  1283. padding-left: 1em;
  1284. padding-right: 1em;
  1285. text-align: center;
  1286. }
  1287.  
  1288. .navbox-group {
  1289. font-weight: bold;
  1290. padding-left: 1em;
  1291. padding-right: 1em;
  1292. white-space: nowrap;
  1293. }
  1294.  
  1295. /* Base background */
  1296. .navbox, .navbox-subgroup {
  1297. background: rgba(0, 0, 0, 0.1);
  1298. }
  1299.  
  1300. .navbox-list {
  1301. border-color: rgba(0, 0, 0, 0.1); /* Must match background color */
  1302. }
  1303.  
  1304. /* ------------------------------------------------------------------ */
  1305. /* For Template:Key */
  1306. div.key {
  1307. pointer-events: none;
  1308. }
  1309.  
  1310. div.key span {
  1311. cursor: pointer;
  1312. white-space: nowrap;
  1313. pointer-events: all;
  1314. }
  1315.  
  1316. div.key a:-webkit-any-link {
  1317. text-decoration: none;
  1318. }
  1319. /* ------------------------------------------------------------------ */
  1320.  
  1321. /* ------------------------------------------------------------------ */
  1322. /* For Template:Code */
  1323. .code-template {
  1324. background: var(--template-heading-background-color-1);
  1325. padding:2px;
  1326. }
  1327. /* ------------------------------------------------------------------ */
  1328.  
  1329. /* Level 1 color */
  1330. .navbox-title,
  1331. table.navbox th {
  1332. background: var(--template-heading-background-color-1);
  1333. color: var(--template-heading-text-color-1);
  1334. }
  1335.  
  1336. /* Level 2 styling */
  1337. .navbox-abovebelow,
  1338. .navbox-group,
  1339. .navbox-subgroup .navbox-title {
  1340. background: rgba(0, 0, 0, 0.2);
  1341. color: #fff;
  1342. }
  1343.  
  1344. /* Level 3 styling */
  1345. .navbox-subgroup .navbox-group,
  1346. .navbox-subgroup .navbox-abovebelow {
  1347. background: rgba(0, 0, 0, 0.1);
  1348. color: #fff;
  1349. }
  1350.  
  1351. /* Even row striping */
  1352. .navbox-even {
  1353. background: rgba(255, 255, 255, 0.1);
  1354. color: #fff;
  1355. }
  1356.  
  1357. /* Odd row striping */
  1358. .navbox-odd {
  1359. background: transparent;
  1360. }
  1361.  
  1362. .collapseButton {
  1363. font-weight: normal;
  1364. width: auto;
  1365. }
  1366.  
  1367. .navbox .collapseButton {
  1368. width: 6em;
  1369. }
  1370.  
  1371. .navbar {
  1372. font-size: 88%;
  1373. font-weight: normal;
  1374. }
  1375.  
  1376. .navbox .navbar {
  1377. font-size: 100%;
  1378. }
  1379.  
  1380. table.collapsed tr.collapsible {
  1381. display: none;
  1382. }
  1383. /* End of new Navbox styling */
  1384.  
  1385. /* -- "terraria" box style. ------------------------------------------*/
  1386. .terraria{
  1387. border: 1px #aaa solid;
  1388. padding: 8px;
  1389. -moz-border-radius: 6px;
  1390. -webkit-border-radius: 6px;
  1391. border-radius: 6px;
  1392. position: relative;
  1393. }
  1394. .terraria th{
  1395. background: var(--theme-page-background-color--secondary);
  1396. }
  1397. .terraria > .heading,
  1398. .terraria > .mw-collapsible-content > .heading {
  1399. background: var(--template-heading-background-color-1);
  1400. text-align: center;
  1401. font-weight: bold;
  1402. line-height: 2;
  1403. min-height: 1em;
  1404. margin: auto -4px;
  1405. padding: 0;
  1406. font-size: inherit;
  1407. margin-top: 8px;
  1408. }
  1409. .terraria > .heading:first-child,
  1410. .terraria > .mw-collapsible-content > .heading:first-child {
  1411. margin-top: auto;
  1412. }
  1413. .terraria > .heading + *,
  1414. .terraria > .mw-collapsible-content > .heading + * {
  1415. padding-top: 8px;
  1416. }
  1417. .terraria > .mw-collapsible-toggle {
  1418. position: absolute;
  1419. line-height: 1;
  1420. right: 12px;
  1421. top: 12px;
  1422. font-size: 12px;
  1423. }
  1424. .terraria > .mw-collapsible-toggle > .mw-collapsible-bracket {
  1425. display: none;
  1426. }
  1427. .terraria > .mw-collapsible-toggle:before {
  1428. content: "";
  1429. vertical-align: middle;
  1430. display: inline-block;
  1431. width: 4px;
  1432. height: 4px;
  1433. transform: rotate(45deg);
  1434. position: relative;
  1435. left: -3px;
  1436. border-left: 2px solid #aaa;
  1437. border-top: 2px solid #aaa;
  1438. border-right: 0;
  1439. border-bottom: 0;
  1440. top: 1px;
  1441. }
  1442. .terraria > .mw-collapsible-toggle.mw-collapsible-toggle-collapsed:before {
  1443. border-left: 0;
  1444. border-top: 0;
  1445. border-right: 2px solid #aaa;
  1446. border-bottom: 2px solid #aaa;
  1447. top: -2px;
  1448. }
  1449.  
  1450. #mw-page-base {
  1451. background-position: top left !important;
  1452. }
  1453.  
  1454. #mw-panel {
  1455. background-color: rgb(16, 16, 16, 0.7);
  1456. border: 1px solid #FF9900;
  1457. }
  1458.  
  1459. div.vectorTabs li.selected, div.vectorTabs ul li {
  1460. /* background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABkAQAAAABvV2fNAAAADElEQVR4AWNoGB4QAInlMgFKeRKBAAAAAElFTkSuQmCC); */
  1461. background-color: transparent !important;
  1462. }
  1463.  
  1464. /* Recipes tables */
  1465. div.crafts {
  1466. margin-bottom: 4px;
  1467. line-height: 1.5;
  1468. display: table;/*float fix*/
  1469. overflow: auto;
  1470. }
  1471.  
  1472. div.crafts.centered {
  1473. -webkit-box-pack:center;
  1474. -ms-flex-pack:center;
  1475. -webkit-justify-content:center;
  1476. -moz-justify-content:center;
  1477. justify-content:center;
  1478. }
  1479.  
  1480. div.crafts .wrap {
  1481. border: 1px solid #aaa;
  1482. border-radius: 8px;
  1483. padding: 6px 6px 2px 5px;
  1484. position: relative;
  1485. background: var(--template-background-color-1);
  1486. }
  1487.  
  1488. div.crafts .wrap::after {
  1489. content: "";
  1490. display: block;
  1491. height: 1px;
  1492. width: auto;
  1493. background: var(--template-background-color-1);
  1494. position: absolute;
  1495. bottom: 2px;
  1496. left: 6px;
  1497. right: 6px;
  1498. }
  1499.  
  1500. div.crafts table {
  1501. position: relative;
  1502. }
  1503.  
  1504. div.crafts table::after {
  1505. content: "";
  1506. display: block;
  1507. height: 100%;
  1508. width: 1px;
  1509. background: var(--template-background-color-1);
  1510. position: absolute;
  1511. top: 0;
  1512. left: 0;
  1513. }
  1514.  
  1515. div.crafts caption {
  1516. font-size: 1.17em;
  1517. background: var(--template-heading-background-color-1);
  1518. padding: 0.25em;
  1519. position: relative;
  1520. margin-bottom: 2px;
  1521. font-weight: bold;
  1522. }
  1523. div.crafts caption > i,div.crafts caption > b{
  1524. vertical-align: middle;
  1525. }
  1526.  
  1527. div.crafts caption div._nav {
  1528. position: absolute;
  1529. left: 1em;
  1530. top: 0.5em;
  1531. font-size: 10px;
  1532. font-weight: normal;
  1533. }
  1534.  
  1535. div.crafts caption div._nav s {
  1536. text-decoration: none;
  1537. }
  1538.  
  1539. div.crafts th {
  1540. background: var(--template-heading-background-color-1);
  1541. padding: 0.25em 0.5em;
  1542. border-right: 1px solid var(--template-background-color-1);
  1543. border-left: 1px solid var(--template-background-color-1);
  1544. }
  1545. div.crafts th:first-child {
  1546. border-left-width: 0px;
  1547. }
  1548.  
  1549. div.crafts th:last-child {
  1550. border-right: 0;
  1551. }
  1552.  
  1553. div.crafts td {
  1554. padding: 0.25em 0.5em;
  1555. border-top: 1px solid #aaa;
  1556. border-left: 1px solid #aaa;
  1557. }
  1558.  
  1559. div.crafts tr:first-child > td {
  1560. border-top: 0;
  1561. }
  1562.  
  1563. div.crafts td.result {
  1564. border-left: 0;
  1565. white-space: nowrap;
  1566. }
  1567.  
  1568. div.crafts td.ingredients {
  1569. white-space: nowrap;
  1570. }
  1571.  
  1572. div.crafts td.station {
  1573. text-align: center;
  1574. }
  1575.  
  1576. div.crafts td.station span.water {
  1577. display: inline-block;
  1578. vertical-align: middle;
  1579. }
  1580.  
  1581. div.crafts.nostation th.station,
  1582. div.crafts.nostation td.station {
  1583. display: none;
  1584. }
  1585.  
  1586. div.crafts table .ingredients ul,
  1587. .crafting-ingredients > ul {
  1588. margin: 0;
  1589. list-style: none;
  1590. }
  1591.  
  1592. div.crafts table .ingredients li,
  1593. .crafting-ingredients > ul > li {
  1594. margin: 3px auto;
  1595. }
  1596. /* itemlink default as multiline */
  1597. div.crafts .i > span,
  1598. div.crafts .i > span,
  1599. div.crafts .note-text {
  1600. line-height: 1.25;
  1601. vertical-align: middle;
  1602. }
  1603.  
  1604. /* references CSS */
  1605. ol.references li:target, sup.reference:target{
  1606. background-color: #121212;
  1607. }
  1608.  
  1609. /* generic background color classes */
  1610. .background-1 {
  1611. background-color: var(--template-background-color-1);
  1612. }
  1613.  
  1614. .background-2 {
  1615. background-color: var(--template-background-color-2);
  1616. }
  1617.  
  1618. .heading-1 {
  1619. background-color: var(--template-heading-background-color-1);
  1620. color: var(--template-heading-text-color-1);
  1621. }
  1622.  
  1623. .heading-2 {
  1624. background-color: var(--template-heading-background-color-2);
  1625. }
  1626.  
  1627. /*
  1628. * Tabber styles ([[Template:Tabber]])
  1629. */
  1630.  
  1631. .page-tabber {
  1632. display: -webkit-box;
  1633. display: -ms-flexbox;
  1634. display: flex;
  1635. overflow-x: auto;
  1636. margin-bottom: 20px;
  1637. }
  1638.  
  1639. .page-tabber-tab {
  1640. padding: .5em;
  1641. border: solid #a6a6a6;
  1642. white-space: nowrap;
  1643. line-height: .95em;
  1644. }
  1645.  
  1646. .page-tabber-tab.active-tab {
  1647. border-width: 2px 2px 0;
  1648. font-weight: bold;
  1649. }
  1650.  
  1651. .page-tabber-tab.inactive-tab {
  1652. border-width: 1px 1px 2px;
  1653. background-color: #e6e6e6;
  1654. }
  1655.  
  1656. .page-tabber-separator {
  1657. border-bottom: 2px solid #a6a6a6;
  1658. }
  1659.  
  1660. .page-tabber-separator.tail {
  1661. width: 100%;
  1662. }
  1663. /* Tabber image overlap fix */
  1664. div.thumb,
  1665. div.thumbinner,
  1666. .thumbimage{
  1667. max-width: 100%;
  1668. box-sizing: border-box;
  1669. }
  1670.  
  1671. /*
  1672. * Transparent background
  1673. */
  1674.  
  1675. #mw-head {
  1676. top: 40px;
  1677. }
  1678.  
  1679. /* -- Links colouring -- */
  1680. a.new:visited,
  1681. .vectorTabs li.new a:visited
  1682. {
  1683. color:#a63232
  1684. }
  1685.  
  1686. a.new,
  1687. .vectorTabs li.new a
  1688. {
  1689. color: var(--theme-page-redlink);
  1690. }
  1691.  
  1692. .mw-parser-output a.extiw,
  1693. .mw-parser-output a.extiw:active {
  1694. color: #36b !important;
  1695. }
  1696.  
  1697. #mw-panel .portal .body li a:visited,
  1698. a:visited,
  1699. a.external:visited,
  1700. .mw-parser-output a.external:visited,
  1701. a.extiw:visited,
  1702. .plaincollapse .mw-collapsible-toggle a:visited,
  1703. .vectorMenu li a:visited {
  1704. color:#666fff;
  1705. }
  1706. /* -- End visited links colouring -- */
  1707.  
  1708. span.mw-history-suppressed {
  1709. color: #DFDEDD;
  1710. }
  1711.  
  1712. /* -- These changes are made to help FD look more like Hydra -- */
  1713. /* Font changes */
  1714. :root {
  1715. --theme-page-headings-font: Arial, sans-serif !important;
  1716. }
  1717.  
  1718. .mw-body {
  1719. font-family: Arial, sans-serif;
  1720. font-size: 14px;
  1721. font-weight: normal;
  1722. margin-left: 12.5em;
  1723. padding-top: 3em;
  1724. border: 1.5px solid;
  1725. }
  1726.  
  1727. .mw-body-content {
  1728. font-size: 14px;
  1729. }
  1730.  
  1731. h1.firstHeading {
  1732. font-family: var(--theme-page-headings-font);
  1733. font-size: 36px;
  1734. font-weight: 300;
  1735. letter-spacing: .25px;
  1736. line-height: 1.25;
  1737. overflow-wrap: break-word;
  1738. word-break: break-word;
  1739. }
  1740.  
  1741. .mw-body-content h1 {
  1742. font-family: var(--theme-page-headings-font);
  1743. font-size: 36px;
  1744. font-weight: 300;
  1745. }
  1746.  
  1747. .mw-body-content h2 {
  1748. font-family: var(--theme-page-headings-font);
  1749. font-size: 24px;
  1750. font-weight: 500;
  1751. overflow: hidden;
  1752. padding: 6px 0;
  1753. }
  1754. .mw-body-content .mw-parser-output > h2{
  1755. clear: left;
  1756. }
  1757.  
  1758. .mw-body-content h3 {
  1759. font-size: 1.2em;
  1760. font-weight: 700;
  1761. }
  1762.  
  1763. .mw-body-content h3 a {
  1764. font-weight: 700;
  1765. }
  1766.  
  1767. .mw-body-content h4 {
  1768. font-size: 100%;
  1769. font-weight: 700;
  1770. }
  1771.  
  1772. .mw-body-content h4 a {
  1773. font-weight: 700;
  1774. }
  1775.  
  1776. .mw-body-content h5 {
  1777. font-size: 100%;
  1778. font-weight: 700;
  1779. }
  1780.  
  1781. .mw-body-content h5 a {
  1782. font-weight: 700;
  1783. }
  1784.  
  1785. th a {
  1786. font-weight: 700 !important;
  1787. }
  1788.  
  1789. a.mw-selflink.selflink {
  1790. font-weight: 700;
  1791. color: inherit;
  1792. text-decoration-color: inherit;
  1793. text-decoration-line: none;
  1794. }
  1795.  
  1796. .mw-parser-output p {
  1797. margin-block-start: 10px !important;
  1798. margin-block-end: 10px !important;
  1799. margin-top: 10px !important;
  1800. margin-bottom: 10px !important;
  1801. }
  1802.  
  1803. .mw-parser-output b a {
  1804. font-weight: bold;
  1805. }
  1806.  
  1807. /* Line underneath headers */
  1808. .page-header {
  1809. margin-bottom: 6px;
  1810. }
  1811.  
  1812. .page-header__bottom {
  1813. border-bottom: 1px solid var(--theme-border-color);
  1814. }
  1815. /* -- End Hydra-esque changes -- */
  1816.  
  1817. /* -- Tabber styles ([[Template: Tabber]]) -- */
  1818.  
  1819. .page-tabber-tab {
  1820. border: solid #666666
  1821. }
  1822. .page-tabber-tab.inactive-tab {
  1823. border-width: 1px 1px 2px;
  1824. background-color: #2a2a2a
  1825. }
  1826. .page-tabber-separator {
  1827. border-bottom: 2px solid #666666
  1828. }
  1829.  
  1830. .tabber__tab,
  1831. .tabber__tab:visited {
  1832. color: var(--theme-page-text-color);
  1833. }
  1834.  
  1835. .tabber__tab--active {
  1836. color: #36C !important;
  1837. }
  1838. /* -- End Tabber styles ([[Template: Tabber]]) -- */
  1839.  
  1840. /* ================================================================== */
  1841. /* Main page */
  1842. /* ================================================================== */
  1843.  
  1844. body.mainpage .page__main {
  1845. padding-top: 12px;
  1846. }
  1847. body.mainpage .page-header {
  1848. display: flex;
  1849. align-items: center;
  1850. justify-content: flex-end;
  1851. margin-bottom: 0;
  1852. }
  1853. body.mainpage .page-header__bottom {
  1854. border-bottom: 0;
  1855. justify-content: flex-end;
  1856. }
  1857. body.mainpage .page-header__title-wrapper {
  1858. display: none;
  1859. }
  1860. body.mainpage .page-header__languages .wds-dropdown__toggle,
  1861. body.mainpage .page-header__variants .wds-dropdown__toggle {
  1862. margin-bottom: 0;
  1863. }
  1864. body.mainpage .page-header__actions {
  1865. margin-left: 3px;
  1866. padding-top: 0;
  1867. }
  1868.  
  1869. body, .mw-body, #mw-page-base, .catlinks,
  1870. .vectorTabs ul li,
  1871. .vectorTabs li.selected
  1872. {
  1873. --theme-page-background-color: rgba(32,32,32,0.9);
  1874. background-color: var(--theme-page-background-color) !important;
  1875. }
  1876.  
  1877. p, h1, h2, h3, h4, h5, h6, li,
  1878. .mw-body,
  1879. .vectorTabs li.selected a,
  1880. .vectorTabs li.selected a:visited,
  1881. .vector-menu-dropdown .mw-list-item.selected a:visited
  1882. {
  1883. color: var(--theme-page-text-color);
  1884. }
  1885.  
  1886. a,
  1887. #mw-panel .portal .body li a,
  1888. .vectorTabs li a,
  1889. .vectorMenu li a,
  1890. .vector-menu-dropdown .mw-list-item a
  1891. {
  1892. color: var(--theme-link-color);
  1893. }
  1894.  
  1895. #mw-page-base,
  1896. #mw-head ul,
  1897. .vectorTabs li,
  1898. .vectorTabs li.selected,
  1899. .vectorTabs span,
  1900. .vectorTabs,
  1901. #p-namespaces,
  1902. #p-cactions-label,
  1903. #mw-head .vectorMenu .vector-menu-heading,
  1904. .vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading
  1905. {
  1906. background-image: none;
  1907. }
  1908.  
  1909. .toc ul li a .tocnumber {
  1910. color: rgba(224,224,224,.6);
  1911. }
  1912.  
  1913. .toc {
  1914. background-color: var(--theme-page-background-color);
  1915. }
  1916.  
  1917. .diff td.diff-context {
  1918. background: transparent;
  1919. border-color: var(--theme-border-color);
  1920. color: var(--theme-page-text-color);
  1921. }
  1922.  
  1923. .diff td.diff-deletedline {
  1924. border-color: var(--theme-page-redlink);
  1925. border-width: 1px 1px 1px 4px;
  1926. }
  1927.  
  1928. .diff td.diff-deletedline .diffchange {
  1929. background-color: var(--theme-page-redlink);
  1930. color: var(--theme-diff-text);
  1931. }
  1932.  
  1933. .diff td.diff-addedline {
  1934. border-color: var(--theme-page-green);
  1935. border-width: 1px 1px 1px 4px;
  1936. }
  1937.  
  1938. .diff td.diff-addedline .diffchange {
  1939. background-color: var(--theme-page-green);
  1940. color: var(--theme-diff-text);
  1941. }
  1942.  
  1943. .diff-addedline,
  1944. .diff-deletedline,
  1945. .diff-context {
  1946. font-size: 88%;
  1947. }
  1948.  
  1949. .diff-editfont-monospace .diff-addedline,
  1950. .diff-editfont-monospace .diff-deletedline,
  1951. .diff-editfont-monospace .diff-context {
  1952. font-family: Arial, sans-serif;
  1953. }
  1954.  
  1955. #pagehistory li {
  1956. border: none;
  1957. }
  1958.  
  1959. #pagehistory li.selected {
  1960. color: var(--theme-page-text-color);
  1961. background-color: var(--theme-page-background-color--secondary);
  1962. }
  1963.  
  1964. .mw-plusminus-neg {
  1965. color: var(--theme-page-redlink);
  1966. }
  1967.  
  1968. .mw-plusminus-pos {
  1969. color: var(--theme-page-green);
  1970. }
  1971.  
  1972. .not-patrolled,
  1973. #wpDestFile-warning,
  1974. .mw-destfile-warning {
  1975. background-color: var(--theme-page-background-color--secondary);
  1976. }
  1977.  
  1978. body {
  1979. background: url(/images/8/80/Site-background.jpg) center center / cover no-repeat fixed;
  1980. }
  1981.  
  1982. #footer ul li {
  1983. color: var(--theme-page-text-color);
  1984. }
  1985.  
  1986. #mw-head-base, #left-navigation, #footer {
  1987. margin-left: 12em;
  1988. }
  1989.  
  1990. table {
  1991. white-space: normal;
  1992. }
  1993.  
  1994. .main-container, .resizable-container {
  1995. -webkit-box-orient: vertical;
  1996. -webkit-box-direction: normal;
  1997. display: -webkit-box;
  1998. display: flex;
  1999. flex-direction: column;
  2000. }
  2001.  
  2002. code {
  2003. color: var(--theme-page-text-color);
  2004. background-color: var(--template-heading-background-color-1);
  2005. border: none;
  2006. padding: none;
  2007. }
  2008.  
  2009. #filetoc {
  2010. border: 1px solid;
  2011. border-color: var(--theme-border-color);
  2012. background-color: var(--theme-page-background-color--secondary);
  2013. }
  2014.  
  2015. ul {
  2016. list-style-image: none;
  2017. }
  2018.  
  2019. table {
  2020. display: table;
  2021. }
  2022.  
  2023. #footer-info {
  2024. background-color: rgba(32,32,32,0.5);
  2025. }
  2026.  
  2027. .editOptions {
  2028. background-color: var(--theme-page-background-color--secondary);
  2029. color: var(--theme-page-text-color);
  2030. }
  2031.  
  2032. #wpSummaryLabel,
  2033. .editCheckboxes,
  2034. .vectorMenu .vector-menu-heading span,
  2035. .wikitable,
  2036. #mw-panel .portal .vector-menu-heading {
  2037. color: var(--theme-page-text-color);
  2038. }
  2039.  
  2040. div#mw-panel div.portal div.body { background: none; }
  2041.  
  2042. #mw-panel .portal .vector-menu-heading {
  2043. background-image: linear-gradient(90deg,transparent,#F37F20,transparent);
  2044. background-position: center bottom;
  2045. background-repeat: no-repeat;
  2046. background-size: 100% 1px;
  2047. }
  2048.  
  2049. .codeEditor-status-worker {
  2050. color: #222;
  2051. }
  2052.  
  2053. div.thumbinner {
  2054. border: none;
  2055. background-color: var(--theme-page-background-color);
  2056. color: var(--theme-page-text-color);
  2057. }
  2058.  
  2059. html .thumbimage {
  2060. border: none;
  2061. }
  2062.  
  2063. table.cargoTable.noMerge tr:nth-child(odd),
  2064. .wikitable,
  2065. .mw-datatable td,
  2066. #mw-searchoptions,
  2067. table.mw-abuselog-details {
  2068. background-color: var(--theme-page-background-color);
  2069. }
  2070.  
  2071. table.cargoTable.noMerge tr:nth-child(even),
  2072. .mw-warning,
  2073. .warningbox,
  2074. .vectorMenu .menu,
  2075. .wikitable > tr > th,
  2076. .wikitable > * > tr > th,
  2077. .mw-datatable > tr > th,
  2078. .mw-datatable > * > tr > th,
  2079. table.mw-abuselog-details th {
  2080. background-color: var(--theme-page-background-color--secondary);
  2081. }
  2082.  
  2083. div#content {
  2084. border-color: #F37F20;
  2085. margin-top: 165px;
  2086. background-color: rgb(32, 32, 32, 0.9) !important;
  2087. }
  2088.  
  2089. .editOptions,
  2090. .warningbox {
  2091. border-color: var(--theme-page-border-color);
  2092. }
  2093.  
  2094. body, .mw-body, #mw-head, #mw-page-base {
  2095. background-color: transparent !important;
  2096. }
  2097.  
  2098. .infobox {
  2099. display: table;
  2100. }
  2101.  
  2102. .mwe-math-fallback-image-inline {
  2103. filter: invert(1);
  2104. -webkit-filter: invert(1);
  2105. }
  2106.  
  2107. #catlinks {
  2108. background-color: #181818;
  2109. border-color: #444;
  2110. }
  2111.  
  2112. .vector-menu-dropdown .vector-menu-heading:after {
  2113. filter: invert(100%);
  2114. }
  2115.  
  2116. .vector-menu-dropdown .vector-menu-content {
  2117. background-color: #303030;
  2118. border-color: #F37F20;
  2119. }
  2120.  
  2121. #searchInput {
  2122. background-color: transparent;
  2123. border-color: #404040;
  2124. }
  2125. #simpleSearch #searchButton {
  2126. background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMyI+IDxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzU0NTk1ZCIgc3Ryb2tlLXdpZHRoPSIyIj4gPHBhdGggZD0iTTExLjI5IDExLjcxbC00LTQiLz4gPGNpcmNsZSBjeD0iNSIgY3k9IjUiIHI9IjQiLz4gPC9nPiA8L3N2Zz4=);
  2127. }
  2128.  
  2129. #contentSub,
  2130. #contentSub2,
  2131. .vector-body {
  2132. font-size: inherit;
  2133. }
  2134.  
  2135. .errorbox p,
  2136. .errorbox li,
  2137. .mw-message-box p,
  2138. .mw-message-box li
  2139. {
  2140. color: #000;
  2141. }
  2142.  
  2143. /* Cargo */
  2144. div.cargo-table-diagram { fill: var(--theme-page-text-color); }
  2145. div.drilldown-filters-wrapper {
  2146. background: none;
  2147. color: var(--template-heading-text-color-1);
  2148. }
  2149. .mw-datatable th,
  2150. table.cargoTable.noMerge tr:nth-child(odd) { background: #202020; }
  2151. table.cargoTable.noMerge tr:nth-child(even) { background: unset; }
  2152. .mw-datatable th .oo-ui-iconWidget { filter: invert(1); }
  2153.  
  2154. .oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined {
  2155. background-color: transparent;
  2156. }
  2157.  
  2158. .oo-ui-messageWidget.oo-ui-messageWidget-block.oo-ui-flaggedElement-warning {
  2159. background-color: var(--template-background-color-1);
  2160. border-color: var(--theme-page-border-color);
  2161. }
  2162.  
  2163. .journey {
  2164. color: var(--custom-template-journey-color);
  2165. font-weight: bold;
  2166. }
  2167. abbr.journey {
  2168. text-decoration: none;
  2169. }
  2170.  
  2171. /* Template:Quotation */
  2172. blockquote.quotation {
  2173. --quotation-mark-color: var(--theme-page-text-color);
  2174. position: relative;
  2175. font-style: italic;
  2176. padding: 0 1em;
  2177. margin: 1em auto;
  2178. overflow: hidden;
  2179. }
  2180. blockquote.quotation > div.m {
  2181. display: block;
  2182. font: bold 5em Times New Roman, Times, Georgie, serif;
  2183. line-height: 0.8;
  2184. color: var(--quotation-mark-color);
  2185. position: absolute;
  2186. left: 0.2em;
  2187. top: 0;
  2188. }
  2189. blockquote.quotation > div.c {
  2190. padding: 0.25em 0 0 1em;
  2191. margin-left: 3em;
  2192. display: inline-block;
  2193. }
  2194. blockquote.quotation > div.c > p:last-child {
  2195. text-align: right;
  2196. font-size: 0.9em;
  2197. margin: 0;
  2198. }
  2199. @media (max-width: 640px) {
  2200. blockquote.quotation {
  2201. clear: both;
  2202. }
  2203. }
  2204.  
  2205. /*********************
  2206. * Mobile adjustments *
  2207. **********************/
  2208. @media screen and (max-width:720px) {
  2209. #left-navigation {
  2210. margin-left: 0;
  2211. }
  2212. }
  2213.  
  2214. /* History */
  2215. .history-collapsible .mw-collapsible-toggle {
  2216. float:left;
  2217. }
  2218.  
  2219.  
  2220.  
  2221. /* Template:History & Template:Version History */
  2222. .mw-collapsible.history{
  2223. display: flex;
  2224. flex-direction: column;
  2225. }
  2226. .mw-collapsible.history .mw-collapsible-toggle{
  2227. float: none;
  2228. order: 2;
  2229. align-self: flex-start;
  2230. }
  2231. .mw-collapsible.history .mw-collapsible-toggle::before,
  2232. .mw-collapsible.history .mw-collapsible-toggle::after{
  2233. display: none;
  2234. }
  2235. .history_section_hat_note{
  2236. display: flex;
  2237. }
  2238. .history_section_hat_note .history_page_link{
  2239. margin-left: 6px;
  2240. order: 2;
  2241. flex: 0 0 auto;
  2242. }
  2243. .history_section_hat_note .history_page_link::before{
  2244. content: "[";
  2245. }
  2246. .history_section_hat_note .history_page_link::after{
  2247. content: "]";
  2248. }
  2249. .history_section_hat_note .note-text{
  2250. font-style: italic;
  2251. flex: 1 1 auto;
  2252. }
  2253.  
  2254. /********* [[Template:Dotlist]] *********/
  2255. .dotlist {
  2256. margin: auto;
  2257. }
  2258. .dotlist > .title {
  2259. font-weight: bold;
  2260. }
  2261. .dotlist > .title::after {
  2262. content: "";
  2263. display: inline-block;
  2264. width: 0.25em;
  2265. }
  2266. .dotlist.nobold > .title {
  2267. font-weight: normal;
  2268. }
  2269. .dotlist > ul {
  2270. display: inline;
  2271. list-style: none;
  2272. margin: auto; /* please don't delete this line, we need it to remove default ul margin setting. */
  2273. }
  2274. .dotlist > ul > li {
  2275. display: inline-block;
  2276. }
  2277. .dotlist > ul > li::after {
  2278. content: "•";
  2279. padding: 0 0.25em;
  2280. word-break: break-all;
  2281. }
  2282. .dotlist > ul > li:last-child::after {
  2283. display: none;
  2284. }
  2285. .dotlist.nodot > ul > li::after {
  2286. content: " ";
  2287. padding: 0;
  2288. margin: 0;
  2289. }
  2290. .dotlist.inline {
  2291. display: inline;
  2292. }
  2293. .dotlist.inline > ul > li {
  2294. display: inline;
  2295. }
  2296. .dotlist.l > .title {
  2297. margin-right: 0.4em;
  2298. }
  2299. .dotlist.l > ul > li::after {
  2300. margin-left: 0.25em;
  2301. margin-right: 0.25em;
  2302. }
  2303. .dotlist.xl > .title {
  2304. margin-right: 0.8em;
  2305. }
  2306. .dotlist.xl > ul > li::after {
  2307. margin-left: 0.5em;
  2308. margin-right: 0.5em;
  2309. }
  2310. .dotlist.xxl > .title {
  2311. margin-right: 1.2em;
  2312. }
  2313. .dotlist.xxl > ul > li::after {
  2314. margin-left: 0.75em;
  2315. margin-right: 0.75em;
  2316. }
  2317. .dotlist.xxxl > .title {
  2318. margin-right: 1.6em;
  2319. }
  2320. .dotlist.xxxl > ul > li::after {
  2321. margin-left: 1em;
  2322. margin-right: 1em;
  2323. }
  2324. .dotlist.xxxxl > .title {
  2325. margin-right: 2em;
  2326. }
  2327. .dotlist.xxxxl > ul > li::after {
  2328. margin-left: 1.25em;
  2329. margin-right: 1.25em;
  2330. }
  2331.  
  2332. .clearfix::before,
  2333. .clearfix::after {
  2334. content: " ";
  2335. display: table;
  2336. }
  2337.  
  2338. .clearfix::after {
  2339. clear: both;
  2340. }
  2341.  
  2342.  
  2343. /********* [[Template:Infocard]] *********/
  2344. .infocard {
  2345. --infocard-padding: 1em;
  2346. --infocard-padding-negative: calc(var(--infocard-padding) * -1);
  2347. --infocard-padding-half: calc(var(--infocard-padding) * 0.5);
  2348. --infocard-padding-half-negative: calc(var(--infocard-padding-negative) * 0.5);
  2349. --infocard-icon-right-offset: -2em;
  2350. --infocard-box-title-font-size: 1.5em;
  2351. --infocard-box-title-font-weight: lighter;
  2352. --infocard-main-heading-font-size: 2em;
  2353. padding: var(--infocard-padding);
  2354. border: 1px solid var(--theme-box-border-color);
  2355. border-radius: 6px;
  2356. width: 100%;
  2357. min-width: 300px;
  2358. position: relative;
  2359. background: var(--template-background-color-1);
  2360. }
  2361. .infocard + .infocard {
  2362. /* gap between subsequent infocard elements */
  2363. margin-top: 0.5em;
  2364. }
  2365. .infocard.compact {
  2366. --infocard-padding: 0.5em;
  2367. --infocard-icon-right-offset: -2.5em;
  2368. --infocard-box-title-font-size: 100%;
  2369. --infocard-box-title-font-weight: bold;
  2370. --infocard-main-heading-font-size: 1.25em;
  2371. min-width: 240px;
  2372. }
  2373. .infocard > .intro {
  2374. margin: 1em 0;
  2375. min-width: 200px;
  2376. }
  2377. @media screen and (max-width: 720px) {
  2378. .infocard .outro .content {
  2379. overflow-x: auto;
  2380. }
  2381. }
  2382. .infocard .heading {
  2383. margin: 1em 0 var(--infocard-padding-half);
  2384. font-weight: bold;
  2385. }
  2386. .infocard .main-heading {
  2387. border-right: 3em solid transparent;
  2388. position: relative;
  2389. line-height: 1;
  2390. padding-left: var(--infocard-padding);
  2391. margin: var(--infocard-padding) var(--infocard-padding-negative);
  2392. background: var(--template-heading-background-color-1);
  2393. }
  2394. @media screen and (max-width: 450px) {
  2395. .infocard .main-heading {
  2396. padding-right: 0 !important;
  2397. }
  2398. }
  2399. .infocard .main-heading .hgroup {
  2400. display: inline-block;
  2401. margin-left: 4px;
  2402. padding: 0 var(--infocard-padding);
  2403. background: var(--template-background-color-1);
  2404. }
  2405. .infocard .main-heading .hgroup > .main {
  2406. font-size: var(--infocard-main-heading-font-size);
  2407. color: var(--theme-text-color-highlight);
  2408. }
  2409. .infocard .main-heading .hgroup > .main > .namenote {
  2410. font-size: 62.5%;
  2411. color: var(--theme-text-color-note);
  2412. }
  2413. .infocard .main-heading .icon {
  2414. position: absolute;
  2415. right: var(--infocard-icon-right-offset);
  2416. top: 50%;
  2417. transform: translateY(-50%);
  2418. z-index: 1;
  2419. display: flex;
  2420. flex-wrap: wrap;
  2421. align-items: center;
  2422. align-content: center;
  2423. justify-content: center;
  2424. width: var(--iconsize);
  2425. height: var(--iconsize);
  2426. }
  2427. .infocard .main-heading .icon.frame {
  2428. border: 1px solid var(--theme-box-border-color);
  2429. border-radius: 4px;
  2430. background: var(--theme-page-background-color);
  2431. }
  2432. .infocard .main-heading .icon.frame.round {
  2433. border-radius: 100%;
  2434. }
  2435. .infocard > .card {
  2436. float: right;
  2437. margin: -1em 1em 0.75em 0.75em;
  2438. border: solid 1px var(--theme-box-border-color);
  2439. box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
  2440. position: relative;
  2441. z-index: 5;
  2442. }
  2443. @media screen and (max-width: 450px) {
  2444. .infocard > .card {
  2445. float: none;
  2446. margin: 0;
  2447. }
  2448. }
  2449. .infocard > .card .image {
  2450. background: var(--theme-box-border-color);
  2451. box-shadow: var(--theme-widget-shadow);
  2452. }
  2453. @media screen and (max-width: 450px) {
  2454. .infocard > .card .image {
  2455. width: 100% !important;
  2456. text-align: center;
  2457. }
  2458. }
  2459. .infocard > .card .content {
  2460. border: 1px solid var(--theme-box-border-color);
  2461. border-top: 0;
  2462. background: var(--template-background-color-1);
  2463. border-radius: 0 0 4px 4px;
  2464. padding: 0 0.75em;
  2465. box-shadow: var(--theme-widget-shadow);
  2466. }
  2467. @media screen and (max-width: 450px) {
  2468. .infocard > .card .content {
  2469. width: 100% !important;
  2470. }
  2471. }
  2472. .infocard > .card .content > .intro {
  2473. margin-top: 0.75em;
  2474. }
  2475. .infocard > .card .content > dl {
  2476. margin: 0.75em 0;
  2477. }
  2478. .infocard > .card .content dt {
  2479. font-weight: bold;
  2480. margin-top: 0.75em;
  2481. }
  2482. .infocard > .card .content dd {
  2483. margin: 0;
  2484. }
  2485. .infocard > .card .content > .outro {
  2486. margin-bottom: 0.75em;
  2487. }
  2488. .infocard .box {
  2489. padding: var(--infocard-padding);
  2490. margin: 1em 0;
  2491. background-color: var(--theme-box-background);
  2492. border: 1px solid var(--theme-widget-border-color);
  2493. border-radius: 4px;
  2494. }
  2495. .infocard .box > .title {
  2496. line-height: 1;
  2497. display: inline-block;
  2498. margin-left: var(--infocard-padding-negative);
  2499. padding: 0 1em 0 var(--infocard-padding-half);
  2500. min-width: 5em;
  2501. border-left: var(--infocard-padding-half) solid transparent;
  2502. border-left-color: transparent;
  2503. }
  2504. .infocard .box > .title > span {
  2505. font-weight: var(--infocard-box-title-font-weight);
  2506. font-size: var(--infocard-box-title-font-size);
  2507. }
  2508. .infocard .box > .content {
  2509. margin-top: 4px;
  2510. }
  2511. .infocard.biome .main-heading + div {
  2512. display: flex;
  2513. flex-wrap: wrap;
  2514. margin: 0 var(--infocard-padding-half-negative) var(--infocard-padding-negative);
  2515. }
  2516. .infocard.biome .main-heading + div > .box {
  2517. margin: 0 var(--infocard-padding-half) var(--infocard-padding);
  2518. flex: 1 1 auto;
  2519. }
  2520. .infocard.biome .main-heading + div > .box:last-child, .infocard.biome .main-heading + div > .box.last {
  2521. flex: 10 10 auto;
  2522. }
  2523. .infocard.biome .main-heading + div > .box .dotlist {
  2524. margin-top: -2px;
  2525. }
  2526. .infocard.biome .main-heading + div > .box .dotlist li {
  2527. margin-top: 2px;
  2528. }
  2529.  
  2530. /* [[Template:Sound]] */
  2531. /* -- Make certain icons and logos more visible -- */
  2532. .sound-title::after {
  2533. filter: hue-rotate(180deg) invert(100%);
  2534. background-image: url(https://commons.wiki.gg/images/3/36/Audio.svg);
  2535. }
  2536.  
  2537. .sound-playing > .sound-title::after {
  2538. mask: url(https://commons.wiki.gg/images/3/36/Audio.svg);
  2539. }
  2540. .client-js .sound audio {
  2541. display: none;
  2542. }
Add Comment
Please, Sign In to add comment