MediaWiki:Mbhh.css: Difference between revisions

From Against the Storm Official Wiki
Updating version message box border, graphics, formatting
Adding defaults to inner table styling to undo cascading from outside wikitables
 
(101 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* Temporary fixes, will be moved to theme in future */
.mw-scribunto-normalOutput {
  color: #fff;
}
/* All CSS here will be loaded for users of the MBHH skin. */
/* All CSS here will be loaded for users of the MBHH skin. */


Line 9: Line 15:


body {
body {
background-image: url(/wiki/Against_the_Storm/skins/MBHH/resources/images/shade-right.png?9ba42),  
background-image: url(/Against_the_Storm/skins/MBHH/resources/images/shade-right.png?9ba42),  
url(/wiki/Against_the_Storm/skins/MBHH/resources/images/shade-left.png?30070),  
url(/Against_the_Storm/skins/MBHH/resources/images/shade-left.png?30070),  
url(/wiki/Against_the_Storm/skins/MBHH/resources/images/shade-bottom.png?ff4a7),  
url(/Against_the_Storm/skins/MBHH/resources/images/shade-bottom.png?ff4a7),  
url(/wiki/Against_the_Storm/skins/MBHH/resources/images/game_bgs/main_AtS_bg.jpg?6e063);
url(/images/mbhh_ats/1/15/P15t2_21-10-2024.jpg?6e063);
}
}


Line 53: Line 59:
--ats-bright-blue-dim: #79d0fc;  /* approx. royalblue */
--ats-bright-blue-dim: #79d0fc;  /* approx. royalblue */
/*TODO REMOVE*/
/*YELLOWS AND BROWNS*/
--ats-bright-red: #f02a00;
--ats-color-green-leather-shadow: #17170D; /* dark, brownish-green in the blueprints leather background */
--ats-color-green-leather-shadow-lighter: #1C1C10; /*slightly lighter than above */
/*TANS*/
/*BROWNS*/
--ats-color-tan-headings-text: #c0a777; /* tan color of "The Queen's Envoy" header, tooltip subheadings, orders headings */
--ats-color-tan-headings-text: #c0a777; /* tan color of "The Queen's Envoy" header, tooltip subheadings, orders headings */
--ats-color-gold-names-text: #f0b022; /* yellow color of species' names, buildings' names, building types, cornerstone names */
--ats-color-gold-names-text: #f0b022; /* yellow color of species' names, buildings' names, building types, cornerstone names */
--ats-color-tan-widget-expand: #8F7B5C; /* tan of expand and collapse widgets on species and perks containers */
--ats-color-brown-wood-bright: #B0A880; /* outermost layer of blueprints window chrome */
--ats-color-brown-wood-light: #807755; /* top layer of blueprints window chrome */
--ats-color-brown-wood-medium: #66553B; /* middle layer of blueprints window chrome */
--ats-color-brown-wood-dark: #2A261F; /* dark layer of blueprints window chrome */
--ats-color-brown-wood-shadow: #211E19; /* bottommost layer of blueprints window chrome */
/*REDS*/
/*REDS*/
--ats-color-red-penalty-text: #f62800;
--ats-color-red-penalty-text: #f62800; /* bright red penalty text color */
--ats-color-red-warehouse: #b23b20;
/*REDS-BOLDS*/
--ats-color-red-toolbar: #884033; /* rusty color of base of construction toolbar icons */
--ats-color-red-effect-brilliant: #fe4520; /* brightest red in effects artwork */
--ats-color-red-button: #77311A; /* rusty color of "PICK" buttons for blueprints and cornerstones */
--ats-color-red-bold-building: #be2b20; /* bold roof of the main warehouse building */
--ats-color-red-effect-brilliant: #fe4520; /* brightest red in artwork */
--ats-color-red-effect-very-dark: #2C0000; /* very dark background red in effects artwork */
--ats-color-red-effect-dark: #2C0000; /* background red in artwork */
/*REDS-PALES*/
--ats-color-red-rusty-light: #884033; /* paleish rusty color of base of construction toolbar icons */
--ats-color-red-rusty: #77311A; /* medium rusty color of "PICK" buttons for blueprints and cornerstones */
--ats-color-red-faded: #521e25; /* dim, soft dark red color on "QUIT" card */
--ats-color-red-muted-dark: #351515; /* dark saturated background on home screen, color behind "NEWS" */
/*REDS-DARKS*/
--ats-color-red-faded-dark: #331f23; /* darker very unsaturated maroon on edges of "QUIT" card */
--ats-bright-green: #87cb64; /* approx. lightgreen */
/*BLUES AND CYANS */
--ats-bright-green-highlight: #bae1a7; /* approx. palegreen */
--ats-color-cyan-reputation-brilliant-lighter: #68D4F8; /* lighter version of the next color */
--ats-bright-green-dim: #53B522; /* approx. lawngreen */
--ats-color-cyan-reputation-brilliant: #10d1f4; /* bright cyan text and reputation effect color */
/*CYANS-BOLDS*/
--ats-color-cyan-resolve-text: #33aad0; /* bold color of text representing resolve */
--ats-color-cyan-resolve: #21728a; /* medium color of resolve meter filling up */
--ats-color-cyan-bold-medium: #1e3e5e; /* background of blue checkmark button (like in orders list) */
--ats-color-cyan-bold-dark: #071727; /* deep navy background of perk expand/collapse widget */
--ats-color-cyan-very-dark: #0b1520; /* deepest navy background behind green and blue villager resolve meter */
/*BLUES-MEDIUMS*/
--ats-color-blue-news-hyperlink: #40a0ff; /* hyperlink color on title screen, in news box */
--ats-color-blue-aesthetics: #6099f0; /* border color of aesthetics decorations */
--ats-color-blue-perk: #1166dd; /* border color of rare/blue perks */
/*AQUAS*/
--ats-color-aqua-hub-effect-brilliant: #92f0e2; /* brightest color of hub/encampment effect icon */
--ats-color-aqua-hub-effect: #5ccec6; /* aqua color of hub/encampment effect icon */
/*BLUE-GRAYS*/
--ats-color-bluegray-very-light: #acc7d1; /* very ligth blue-gray of the fog in the corner of the game */
--ats-color-bluegray-hearth: #4f7881; /* blue-gray of hearth building */
--ats-color-bluegray-medium: #2c435a; /* title screen blue card medium color */
--ats-color-bluegray-terrain: #202838; /* dark color of marshland terrain */
--ats-color-bluegray-dark: #1a222e; /* title screen blue card's dark background */
/*IMAGES*/
/*GREENS*/
--ats-image-background-green-leather: url('/wiki/images/mbhh_ats/2/2b/BG_Green_03.png');
--ats-color-green-title-brilliant: #c2fe14; /* brilliant yellow-green of the DLC title */
--ats-color-green-perk: #22cc00; /* bright, bold green of green perks */
/*GREENS-BOLDS*/
--ats-color-green-comfort: #44dd55; /* bright, softer green of comfort decoration borders */
--ats-color-green-effect-bright: #42bb31; /* bright background of green effects artwork */
--ats-color-green-status-text: #50b010; /* bold text color for species balance status, when neither in danger nor gaining reputation */
--ats-color-green-bold-medium: #204101; /* main color of green buttons */
--ats-color-green-effect-very-dark: #052009; /* deep background color in green effects artwork */
/*GREENS-MIDVALUES*/
--ats-color-green-mid-highlight-lightened: #b0e7a2; /* lighter version of the next color */
--ats-color-green-mid-highlight: #71c05c; /* the color of the cursor highlighting tile on the game map */
--ats-color-green-mid-medium: #223311; /* muted, semibrown of the green leather backgrounds */
--ats-color-green-mid-deep: #040d05; /* darkest green that's still clearly green, in the backgrounds of tabs and buttons */
/*GREENS-DIMS*/
--ats-color-green-dim-muted: #172011; /* dark brownish green behind the species status icons */
--ats-color-green-dim-very-muted: #141a12; /* dark grayish green behind the news and status tooltips */
/*IMAGES-BACKGROUNDS */
--ats-image-background-black-leather: url('/images/mbhh_ats/2/2e/BG_Black_01.png');
--ats-image-background-green-leather: url('/images/mbhh_ats/2/2b/BG_Green_03.png');
--ats-image-background-green-leather-worn: url('/images/mbhh_ats/7/7e/BG_Green_01.png');
--ats-image-background-tan-leather: url('/images/mbhh_ats/0/0f/BG_Skin.png');
/*IMAGES-BACKGROUNDS USED AS IMAGE BORDERS*/
--ats-image-background-tan-leather-two-panel: url('/images/mbhh_ats/6/6a/Skin_BG_Small_3.png');
--ats-image-background-tooltip: url('/images/mbhh_ats/b/b4/Popup_Tooltips_BG.png');
--ats-image-background-heavy-right-floating-window: url('/images/mbhh_ats/c/c3/Popup_RightPanel_BG.png');
/*IMAGES-BORDERS TINY AND TRANSPARENT BORDERS USED AS IMAGE BORDERS*/
--ats-image-border-header-with-double-line: url('/images/mbhh_ats/c/cd/Popup_SeperationBGPattern2_empty.png');
--ats-image-border-gold-thick-beveled: url('/images/mbhh_ats/0/06/FRAME_Tex_Square_Big_1.png');
--ats-image-border-brown-thick-beveled: url('/images/mbhh_ats/1/1b/FRAME_Tex_Square_Small_2.png');
--ats-image-border-circle-gold-thick-beveled: url('/images/mbhh_ats/f/f7/FRAME_Circle_84x84_RaceHud.png');
--ats-image-border-rectangle-cornercut-twotone: url('/images/mbhh_ats/0/02/Popup_BG_Panel_1.png');
--ats-image-border-brown-thin-filigree: url('/images/mbhh_ats/c/c3/Popup_Seperation8.png');
/*IMAGES-ICONS*/
--ats-image-icon-hourglass: url('/images/mbhh_ats/1/1f/Hourglass_Icon_.png');
}
}






.dark-mode {
/* Overrides for mini inner tables inside wikitables to restore defaults; early so it can be overwritten */
.ats-resource-list tr, .ats-resource-list td, .ats-resource-list th,
.ats-inner-list tr, .ats-inner-list td, .ats-inner-list th {
  border: 0 !important;
  background: transparent !important;
  padding: 1px 0;
}
 
 
 
body {


   /* Art */
   /* Art */
Line 87: Line 172:
   }
   }


  .wikitable {
table.wikitable {
    background-color: var(--ats-dark-brown, darkslategray);
    background-color: var(--ats-color-green-leather-shadow);
    border: none;
    border: none;
  }
}
 
table.wikitable > * > tr > th {
  .wikitable > * > tr > th {
background-color: var(--ats-color-cyan-very-dark);
    background-color: var(--ats-brown, dimgray);
border: 2px solid var(--ats-dark, black);
    border: 2px solid var(--ats-dark, black);
}
  }
table.wikitable > * > tr > td {
 
border: 2px solid var(--ats-dark, black);
  .wikitable > * > tr > td {
}
    border: 2px solid var(--ats-dark, black);
table.wikitable:not(.table-nobands):not(.ats-table-nobands) > * > tr:nth-child(odd) {
  }
background-color: var(--ats-color-green-leather-shadow-lighter);
 
}
  .wikitable:not(.ats-table-nobands) > * > tr:nth-child(odd) {
    background-color: var(--ats-dark-brown-alt, darkslategray);
  }


   pre {
   pre {
Line 121: Line 204:
   div.thumbinner {
   div.thumbinner {
     background-color: unset;
     background-color: unset;
     border-image-source: url('https://hoodedhorse.com/wiki/images/mbhh_ats/b/b4/Popup_Tooltips_BG.png');
     border-image-source: var(--ats-image-background-tooltip);
     border-image-slice: 19 31 31 31 fill;
     border-image-slice: 19 31 31 31 fill;
     border-image-width: auto;
     border-image-width: auto;
Line 133: Line 216:
     border-color: var(--ats-brown, dimgrey);
     border-color: var(--ats-brown, dimgrey);
   }
   }
 
/* MW 1.44 fix */
figure[typeof~="mw:File/Thumb"] {
    background-color: unset;
    border-image-source: var(--ats-image-background-tooltip);
    border-image-slice: 19 31 31 31 fill;
    border-image-width: auto;
    border-image-repeat: stretch;
    border-image-outset: 8px 16px 28px 16px;
    padding: 16px 8px 0;
    display: inline-block;
    box-sizing: border-box;
}
/*
Chrome/Blink quirk:
After an <a> that wraps a replaced element (<img>), <figcaption> may treat
width: 100% as min-content. Making the <a> a table-cell gives it a definite
intrinsic width (from the image), so <figcaption> spans fully.
*/
figure[typeof~="mw:File/Thumb"] > a.mw-file-description {
display: table-cell;
}
figure[typeof~="mw:File/Thumb"].mw-halign-right {
margin: 0px 4px 30px 49px;
}
figure[typeof~="mw:File/Thumb"].mw-halign-left {
margin: 0px 49px 30px 4px;
}
figure[typeof~="mw:File/Thumb"] img.mw-file-element {
    display: block; /* prevent inline gaps */
    margin: 0;
    padding: 0;
    border: 1px solid var(--ats-brown,dimgrey) !important;
}
figure[typeof~="mw:File/Thumb"] > figcaption {
    padding: 8px 8px 4px 8px;
    line-height: 1.4;
    /*width: 100%;*/
background-color: unset;
border: unset;
}
figure.mw-image-border img.mw-file-element {
    border: 1px solid var(--ats-brown,dimgrey) !important;
}


   div.ats-messagebox-stub {
   div.ats-messagebox-stub {
     border-image-source: url('https://hoodedhorse.com/wiki/images/mbhh_ats/b/b4/Popup_Tooltips_BG.png');
     border-image-source: var(--ats-image-background-tooltip);
     border-image-slice: 19 31 31 31 fill;
     border-image-slice: 19 31 31 31 fill;
     border-image-width: auto;
     border-image-width: auto;
Line 145: Line 278:


   div.ats-messagebox-stub p {
   div.ats-messagebox-stub p {
     background-image: url('/wiki/images/mbhh_ats/b/bf/Monitor_Icon_LowFood.png');
     background-image: url('/images/mbhh_ats/b/bf/Monitor_Icon_LowFood.png');
     background-size: 48px;
     background-size: 48px;
     background-repeat: no-repeat;
     background-repeat: no-repeat;
Line 153: Line 286:


   div.ats-infobox-border {
   div.ats-infobox-border {
     background: radial-gradient(circle, rgba(0,0,0,0.2),rgba(0,0,0,0.8)), url('/wiki/images/mbhh_ats/2/2b/BG_Green_03.png'), black;
     background: radial-gradient(circle, rgba(0,0,0,0.2),rgba(0,0,0,0.8)), url('/images/mbhh_ats/2/2b/BG_Green_03.png'), black;
     border: 0 solid transparent;
     border: 0 solid transparent;
     border-image-source: url('/wiki/images/mbhh_ats/c/c3/Popup_RightPanel_BG.png');
     border-image-source: var(--ats-image-background-heavy-right-floating-window);
     border-image-slice: 27 0 65 59;
     border-image-slice: 27 0 65 59;
     border-image-width: auto;
     border-image-width: auto;
Line 165: Line 298:
   div.ats-infobox-header-border  {
   div.ats-infobox-header-border  {
     border: 0px solid transparent;
     border: 0px solid transparent;
     border-image-source: url('/wiki/images/mbhh_ats/4/41/Popup_Seperation0.png');
     border-image-source: url('/images/mbhh_ats/4/41/Popup_Seperation0.png');
     border-image-slice: 16 fill;
     border-image-slice: 16 fill;
     border-image-width: auto;
     border-image-width: auto;
Line 176: Line 309:
   .ats-infobox-header-icon-border {
   .ats-infobox-header-icon-border {
     border: 0px solid transparent;
     border: 0px solid transparent;
     border-image-source: url('/wiki/images/mbhh_ats/0/06/FRAME_Tex_Square_Big_1.png');
     border-image-source: var(--ats-image-border-gold-thick-beveled);
     border-image-slice: 20;
     border-image-slice: 20;
     border-image-width: auto;
     border-image-width: auto;
Line 188: Line 321:
   .ats-infobox-innerinfo .ats-goods-category-icon {
   .ats-infobox-innerinfo .ats-goods-category-icon {
     border: 0px solid transparent;
     border: 0px solid transparent;
     border-image-source: url('/wiki/images/mbhh_ats/8/8a/Frame_Square.png');
     border-image-source: url('/images/mbhh_ats/8/8a/Frame_Square.png');
     border-image-slice: 15;
     border-image-slice: 15;
     border-image-width: auto;
     border-image-width: auto;
Line 198: Line 331:
     background-color: rgba(0,0,0,0.85);
     background-color: rgba(0,0,0,0.85);
     border: 0px solid transparent;
     border: 0px solid transparent;
     border-image-source: url('/wiki/images/mbhh_ats/7/71/Infobox-group-border.png');
     border-image-source: url('/images/mbhh_ats/7/71/Infobox-group-border.png');
     border-image-slice: 30 37 30 37;
     border-image-slice: 30 37 30 37;
     border-image-width: auto;
     border-image-width: auto;
Line 221: Line 354:
       left: 0;
       left: 0;
       top: 0;
       top: 0;
       background-image: url('/wiki/images/mbhh_ats/9/96/Box-separator.png');
       background-image: url('/images/mbhh_ats/9/96/Box-separator.png');
       width: 100%;
       width: 100%;
       background-position-y: center;
       background-position-y: center;
Line 230: Line 363:
     background: var(--ats-dark, black);
     background: var(--ats-dark, black);
     border: 0px solid transparent;
     border: 0px solid transparent;
     border-image-source: url('/wiki/images/mbhh_ats/6/6b/HUD_BG_for_text.png');
     border-image-source: url('/images/mbhh_ats/6/6b/HUD_BG_for_text.png');
     border-image-slice: 12 81 12 81 fill;
     border-image-slice: 12 81 12 81 fill;
     border-image-width: auto;
     border-image-width: auto;
Line 238: Line 371:
   .mw-body .toctitle {
   .mw-body .toctitle {
     border: none;
     border: none;
  }
  div.ats-container-recipe {
    display: inline-block;
    border: 0px solid transparent;
    border-image-source: url('/wiki/images/mbhh_ats/6/6a/Skin_BG_Small_3.png');
    border-image-slice: 42 14 15 14 fill;
    border-image-width: auto;
    border-image-repeat: round;
    border-image-outset: 0px 6px 0px 6px;
    padding: 0px 12px 0px 12px;
  }
  table.ats-table-recipe, table.ats-table-recipe th, table.ats-table-recipe td {
    border: none;
    background: none;
  }
  .ats-table-recipe .ats-building-icon img, .ats-table-recipe .ats-single-ingredient-icon img, .ats-table-recipe .ats-product-icon img {
    border-image-source: url('/wiki/images/mbhh_ats/0/06/FRAME_Tex_Square_Big_1.png');
    border-image-slice: 20;
    border-image-width: auto;
    border-image-repeat: stretch;
    border-image-outset: 7px;
    margin: 0 2px 0 2px;
  }
  .ats-optional-ingredient-icon img {
    border-radius: 50%;
  }
  .ats-optional-ingredient-icon > a:first-child::after {
    content:"";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-image-source: url('/wiki/images/mbhh_ats/7/79/FRAME_Swap_66x66.png');
    border-image-slice: 35;
    border-image-width: auto;
    border-image-repeat: round;
    border-image-outset: 7px;
  }
  .ats-optional-ingredient-icon > a {
    display: inline-block;
    position: relative;
    margin: 1px 5px 1px 5px;
  }
  .ats-table-recipe {
    border-collapse: separate;
    border-spacing: 0px 12px;
  }
  .ats-table-recipe > * > tr > td {
    border-top: 2px ridge var(--ats-brown, dimgray);
    border-bottom: 2px ridge var(--ats-brown, dimgray);
    border-right: none;
    background-color: rgba(0,0,0,0.20);
    padding: 4px 0 4px 0;
  }
  .ats-table-recipe > * > tr > td:first-of-type {
    border-left: 2px ridge var(--ats-brown, dimgray);
    padding-left: 12px;
  }
  .ats-table-recipe > * > tr > td:last-of-type {
    border-right: 2px ridge var(--ats-brown, dimgray);
    padding-right: 12px;
   }
   }


   .ats-mainbox {
   .ats-mainbox {
     border: 1px solid transparent;
     border: 1px solid transparent;
     border-image-source: url('https://hoodedhorse.com/wiki/images/mbhh_ats/9/97/CaravanSlot_Highlight.png');
     border-image-source: url('https://wiki.hoodedhorse.com/images/mbhh_ats/9/97/CaravanSlot_Highlight.png');
     border-image-slice: 18 93 28 135 fill;
     border-image-slice: 18 93 28 135 fill;
     border-image-width: auto;
     border-image-width: auto;
Line 324: Line 385:
   .ats-main-billboard {
   .ats-main-billboard {
     border: 1px solid red;
     border: 1px solid red;
     border-image-source: url('/wiki/images/mbhh_ats/3/35/Frame_News.png');
     border-image-source: url('/images/mbhh_ats/3/35/Frame_News.png');
     border-image-slice: 75;
     border-image-slice: 75;
     border-image-width: auto;
     border-image-width: auto;
Line 351: Line 412:


   .mw-editsection, #ca-edit {
   .mw-editsection, #ca-edit {
     background-image: url("https://hoodedhorse.com/wiki/images/mbhh_ats/thumb/1/10/Icon_Clear.png/15px-Icon_Clear.png");
     background-image: url("https://wiki.hoodedhorse.com/images/mbhh_ats/thumb/1/10/Icon_Clear.png/15px-Icon_Clear.png");
     background-repeat: no-repeat;
     background-repeat: no-repeat;
   }
   }


   .magnify {
   .magnify {
     background-image: url('https://hoodedhorse.com/wiki/images/mbhh_ats/thumb/c/c5/Popup_Icon_Expand.png/28px-Popup_Icon_Expand.png');
     background-image: url('https://wiki.hoodedhorse.com/images/mbhh_ats/thumb/c/c5/Popup_Icon_Expand.png/28px-Popup_Icon_Expand.png');
   }
   }


   li#ca-nstab-user {
   li#ca-nstab-user {
     background-image: url('/wiki/images/mbhh_ats/thumb/e/ea/Icon_Worker.png/20px-Icon_Worker.png');
     background-image: url('/images/mbhh_ats/thumb/e/ea/Icon_Worker.png/20px-Icon_Worker.png');
     background-repeat: no-repeat;
     background-repeat: no-repeat;
   }
   }


   li#ca-talk {
   li#ca-talk {
     background-image: url('/wiki/images/mbhh_ats/thumb/6/6b/HUD_Icon_Villigers.png/20px-HUD_Icon_Villigers.png');
     background-image: url('/images/mbhh_ats/thumb/6/6b/HUD_Icon_Villigers.png/20px-HUD_Icon_Villigers.png');
     background-repeat: no-repeat;
     background-repeat: no-repeat;
   }
   }
Line 373: Line 434:
   }
   }
   .tools-inline li.selected a {
   .tools-inline li.selected a {
     background-image: url('/wiki/images/mbhh_ats/thumb/0/01/Tab-Recipes.png/20px-Tab-Recipes.png');
     background-image: url('/images/mbhh_ats/thumb/0/01/Tab-Recipes.png/20px-Tab-Recipes.png');
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     color: var(--ats-gold, palegoldenrod);
     color: var(--ats-gold, palegoldenrod);
Line 379: Line 440:


   #ca-history a {
   #ca-history a {
     background-image: url('/wiki/images/mbhh_ats/thumb/4/4c/FlatIcon_Order_NeedForTime.png/16px-FlatIcon_Order_NeedForTime.png');
     background-image: url('/images/mbhh_ats/thumb/4/4c/FlatIcon_Order_NeedForTime.png/16px-FlatIcon_Order_NeedForTime.png');
     background-repeat: no-repeat;
     background-repeat: no-repeat;
   }
   }
Line 386: Line 447:
     border: 1px solid var(--ats-yellow, gold);
     border: 1px solid var(--ats-yellow, gold);
     margin-top: 2em;
     margin-top: 2em;
  }
 
  div.mw-message-box-error {
  background-color: var(--ats-color-red-effect-very-dark);
  border: 1px solid var(--ats-color-red-penalty-text);
  }
  div.mw-message-box-error p {
  /* Anything needed here? */
   }
   }


Line 402: Line 471:
     letter-spacing: 0.10em;
     letter-spacing: 0.10em;
     word-spacing: 0.06em;
     word-spacing: 0.06em;
  }
 
  .cdx-message p {
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: normal;
    word-spacing: normal;
}
 
  #id-mw-scribunto-console .mw-scribunto-error p {
  color: var(--ats-dark);
   }
   }


Line 418: Line 501:
     letter-spacing: 0.05em;
     letter-spacing: 0.05em;
     word-spacing: 0em;
     word-spacing: 0em;
  }
  .ats-table-recipe th, .ats-table-recipe td {
    font-family: var(--ats-condensed, sans-serif);
    font-size: 10.5pt;
    text-transform: uppercase;
  }
  .ats-table-recipe caption, dt {
    color: var(--ats-yellow, gold);
   }
   }


Line 434: Line 507:
   }
   }


   caption, .mw-headline, h1.mw-first-heading, #mw-toc-heading, .mw-portlet-body .mw-list-item, .ats-infobox-header-title {
   caption, .mw-headline, h1.mw-first-heading, .mw-portlet-body .mw-list-item, .ats-infobox-header-title {
     font-variant: small-caps;
     font-variant: small-caps;
   }
   }
Line 464: Line 537:
   }
   }


   caption {
   table caption {
     color: var(--ats-gold, palegoldenrod);
     color: var(--ats-gold, palegoldenrod);
     font-size: 150%;
     font-size: 150%;
    white-space: nowrap;
  }
 
  #mw-content dt {
  color: var(--ats-color-gold-names-text);
  font-size: 125%;
  font-weight: 600;
   }
   }


Line 489: Line 569:


   pre {
   pre {
     color: var(--ats-bright-green, gold);
     color: var(--ats-mid-highlight);
   }
   }


Line 502: Line 582:


   u {
   u {
     color: var(--ats-bright-green, lightgreen);
     color: var(--ats-color-red-penalty-text);
   }
   }


Line 526: Line 606:


   a.new {
   a.new {
     color: var(--ats-bright-red, red);
     color: var(--ats-color-red-penalty-text, red);
   }
   }
   a.external, a.external:link {
   a.external, a.external:link {
     color: var(--ats-bright-green, lightgreen);
     color: var(--ats-color-green-mid-highlight);
   }
   }
   a.external:active, a.external:hover, a.external:visited:hover {
   a.external:active, a.external:hover, a.external:visited:hover {
     color: var(--ats-bright-green-highlight, palegreen);
     color: var(--ats-color-green-mid-highlight-lightened);
     text-decoration: underline;
     text-decoration: underline;
   }
   }
   a.external:visited {
   a.external:visited {
     color: var(--ats-bright-green-dim, lawngreen);
     color: var(green-effect-bright);
   }
   }


Line 586: Line 665:
     margin-right: auto;
     margin-right: auto;
     max-width: 67%;
     max-width: 67%;
  }
  table.ats-table-recipe {
    margin-top: 8px;
  }
  table.ats-table-recipe caption {
    margin-top: -2px;
    margin-bottom: 2px;
    white-space: nowrap;
  }
  table.ats-table-recipe th {
    margin-top: 8px;
    padding-top: 6px;
   }
   }


Line 631: Line 695:




/*************************/
/*************************/
/** DARK MODE VERSION 2 **/
/** DARK MODE VERSION 2 **/
/*************************/
/*************************/
/*BASIC TEXT AND TAGS*/
pre {
    color: var(--ats-mid-highlight);
}
/*LINKS*/
a.new {
color: var(--ats-color-red-penalty-text, red);
}
a.external, a.external:link {
color: var(--ats-color-green-mid-highlight);
}
a.external:active, a.external:hover, a.external:visited:hover {
color: var(--ats-color-green-mid-highlight-lightened);
text-decoration: underline;
}
a.external:visited {
color: var(green-effect-bright);
}
/*BORDERS*/
/*BORDERS*/
/* Border art MUST be implemented with only border properties, like border-width. No margins or padding can be specified here. */
/* Border art MUST be implemented with only border properties, like border-width. No margins or padding can be specified here. */
div.ats-infobox-border {
border: 0 solid transparent;
border-image-source: url('/wiki/images/mbhh_ats/c/c3/Popup_RightPanel_BG.png');
border-image-slice: 27 0 65 59;
border-image-outset: 4px 0px 14px 9px;
border-image-width: auto;
border-width: 20px 0px 48px 19px;
}
.ats-thin-border {
.ats-thin-border {
border: 0 solid transparent;
border: 0 solid transparent;
border-image-source: url('/wiki/images/mbhh_ats/4/41/Popup_Seperation0.png');
border-image-source: url('/images/mbhh_ats/4/41/Popup_Seperation0.png');
border-image-slice: 7;
border-image-slice: 7;
border-image-outset: 4px;
border-image-outset: 4px;
Line 657: Line 734:
.ats-thin-border-bright {
.ats-thin-border-bright {
border: 0 solid transparent;
border: 0 solid transparent;
border-image-source: url('/wiki/images/mbhh_ats/0/06/FRAME_Tex_Square_Big_1.png');
border-image-source: var(--ats-image-border-gold-thick-beveled);
border-image-slice: 7;
border-image-slice: 7;
border-image-width: auto;
border-image-width: auto;
Line 663: Line 740:
border-width: 5px;
border-width: 5px;
}
}
div.ats-double-border-with-header {
.ats-double-border-with-header {
border: 0 solid transparent;
border: 0 solid transparent;
border-image-source: url('/wiki/images/mbhh_ats/d/d6/Popup_SeperationBGPattern2.png');
border-image-source: var(--ats-image-border-header-with-double-line);
border-image-slice: 36 46 15 46 fill;
border-image-slice: 39 46 20 46 fill;
border-image-outset: 3px 9px 9px 9px;
border-image-outset: 3px 9px 9px 9px;
border-image-width: auto;
border-image-width: auto;
Line 678: Line 755:
height: 0px;
height: 0px;
top: -38px;
top: -38px;
text-align: center;
}
table.ats-double-border-with-header {
min-width: 212px;
width: 100%;
}
table.ats-double-border-with-header > caption {
color: var(--ats-default, white);
font-family: var(--ats-heading, serif);
font-size: 11pt;
font-variant: small-caps;
margin: 0px 38px;
position: relative;
height: 0px;
top: 5px;
text-align: center;
text-align: center;
}
}
.ats-circle-border-thick {
.ats-circle-border-thick {
border: 0 solid transparent;
border: 0 solid transparent;
border-image-source: url('/wiki/images/mbhh_ats/d/db/FRAME_Circle_Thick3.png');
border-image-source: url('/images/mbhh_ats/d/db/FRAME_Circle_Thick3.png');
border-image-slice: 45;
border-image-slice: 45;
border-image-width: auto;
border-image-width: auto;
Line 690: Line 782:
.ats-cutout-border {
.ats-cutout-border {
border: 0 solid transparent;
border: 0 solid transparent;
border-image-source: url('/wiki/images/mbhh_ats/d/d9/Popup_Seperation1.png');
border-image-source: url('/images/mbhh_ats/d/d9/Popup_Seperation1.png');
border-image-slice: 23 23 8 23 fill;
border-image-slice: 23 23 8 23 fill;
border-image-width: auto;
border-image-width: auto;
border-image-outset: 3px;
border-image-outset: 3px;
border-width: 3px;
border-width: 3px;
}
.ats-messagebox-border {
border: 0 solid transparent;
border-image-source: url('/wiki/images/mbhh_ats/b/b4/Popup_Tooltips_BG.png');
border-image-slice: 22 30 30 30 fill;
border-image-width: auto;
border-image-outset: 12px;
border-width: 6px;
}
}
/*LINKS*/
/*ATS-LINKS*/
#mw-content a.mw-selflink.selflink {
color: var(--ats-color-gold-names-text);
}
.ats-link-species  a > img {
.ats-link-species  a > img {
border-radius: 50px;
border-radius: 50px;
border: 0px solid transparent;
border: 0px solid transparent;
border-image-source: url('/wiki/images/mbhh_ats/f/f7/FRAME_Circle_84x84_RaceHud.png');
border-image-source: var(--ats-image-border-circle-gold-thick-beveled);
border-image-width: auto;
border-image-width: auto;
border-image-slice: 45;
border-image-slice: 45;
Line 719: Line 806:
.ats-link-building a > img {
.ats-link-building a > img {
border: 0px solid transparent;
border: 0px solid transparent;
border-image-source: url('/wiki/images/mbhh_ats/0/06/FRAME_Tex_Square_Big_1.png');
border-image-source: var(--ats-image-border-gold-thick-beveled);
border-image-width: auto;
border-image-slice: 7 fill;
border-image-outset: 2px;
border-width: 4px;
}
.ats-link-building.ats-flag-small a > img {
border: 0px solid transparent;
border-image-source: var(--ats-image-border-brown-thick-beveled);
border-image-width: auto;
border-image-slice: 2 fill;
border-image-outset: 3px;
border-width: 3px;
}
.ats-link-resource a > img {
border: 0px solid transparent;
border-image-source: var(--ats-image-border-gold-thick-beveled);
border-image-width: auto;
border-image-width: auto;
border-image-slice: 7 fill;
border-image-slice: 7 fill;
border-image-outset: 3px;
border-image-outset: 4px;
border-width: 3px;
border-width: 4px;
}
}
.ats-link-resource.ats-flag-small a > img {
border: 0px solid transparent;
border-image-source: var(--ats-image-border-brown-thick-beveled);
border-image-width: auto;
border-image-slice: 2 fill;
border-image-outset: 3px;
border-width: 3px;
}
Line 735: Line 846:
.ats-green-leather-background {
.ats-green-leather-background {
background: radial-gradient(circle, rgba(0,0,0,0.2),rgba(0,0,0,0.8)), --ats-image-background-green-leather, black;
background: radial-gradient(circle, rgba(0,0,0,0.2),rgba(0,0,0,0.8)), --ats-image-background-green-leather, black;
}
/*TABLEOFCONTENTS*/
#toc {
background: var(--ats-dark, black);
border: 0px solid transparent;
border-image-source: var(--ats-image-border-brown-thin-filigree);
border-image-slice: 17 40 24 40;
border-image-width: auto;
border-image-outset: 7px 3px 3px 3px;
border-width: 3px;
margin-bottom: 1em;
margin-top: 3em;
padding: 10px 17px 13px;
}
}
Line 744: Line 872:
}
}
.error {
.error {
color: var(--ats-color-red-toolbar, #F62800);
color: var(--ats-color-red-rusty-light, #F62800);
font-family: var(--ats-font-monospace, monospace);
font-family: var(--ats-font-monospace, monospace);
font-size: inherit;
font-size: inherit;
font-weight: 500;
font-weight: 500;
letter-spacing: .05em;
letter-spacing: .05em;
}
.verticalaligntop td {
vertical-align: top;
}
}
Line 759: Line 890:
float: right;
float: right;
margin: 2em -2em 3em 2em; /* This pushes the styled infobox into the regular page margin so it sits right up against the edge of the content, like in the game */
margin: 2em -2em 3em 2em; /* This pushes the styled infobox into the regular page margin so it sits right up against the edge of the content, like in the game */
max-width: 350px;
padding: 5px 6px 5px 5px;
padding: 5px 6px 5px 5px;
}
}
div.ats-infobox-border {
border: 0 solid transparent;
border-image-source: var(--ats-image-background-heavy-right-floating-window);
border-image-slice: 27 0 65 59;
border-image-outset: 4px 0px 14px 9px;
border-image-width: auto;
border-width: 20px 0px 48px 19px;
}
div#ats-infobox > div {
div#ats-infobox > div {
margin-bottom: 14px;
margin-bottom: 14px;
Line 771: Line 911:
font-family: var(--ats-heading, serif);
font-family: var(--ats-heading, serif);
margin: auto;
margin: auto;
max-width: 85%;
}
}
div#ats-infobox-header > p#ats-infobox-header-title {
div#ats-infobox-header > p#ats-infobox-header-title {
Line 788: Line 927:
div#ats-infobox-header > p#ats-infobox-header-description {
div#ats-infobox-header > p#ats-infobox-header-description {
margin-bottom: 20px;
margin-bottom: 20px;
max-width: 300px; /* Don't let the description push the width out any more than this. */
max-width: 280px; /* Don't let the description push the width out any more than this. */
}
}
div#ats-infobox-header > p#ats-infobox-header-specialization {
div#ats-infobox-header > p#ats-infobox-header-specialization {
margin-bottom: 10px;
margin-bottom: 10px;
min-width: 260px; /* Need 256 to fit meat production spec on one line. */
min-width: 260px; /* Need 260 to fit meat production spec on one line. */
}
}
div#ats-infobox-header > div#ats-infobox-header-icon-container {
div#ats-infobox-header > div#ats-infobox-header-icon-container {
Line 818: Line 957:
/* This is a special situation where we want to override the list view, so put the border here, not apply the border class. */
/* This is a special situation where we want to override the list view, so put the border here, not apply the border class. */
border: 0 solid transparent;
border: 0 solid transparent;
border-image-source: url('/wiki/images/mbhh_ats/0/06/FRAME_Tex_Square_Big_1.png');
border-image-source: var(--ats-image-border-gold-thick-beveled);
border-image-slice: 7;
border-image-slice: 7;
border-image-width: auto;
border-image-width: auto;
Line 832: Line 971:
text-align: center;
text-align: center;
}
}
/*DEPOSITS*/
.ats-container-deposit {
display: inline-block;
background: var(--ats-image-background-green-leather-worn);
border-radius: 0px 39px 0px 40px;
border: 0px solid transparent;
border-image-source: var(--ats-image-border-rectangle-cornercut-twotone);
border-image-slice: 30 33 36 33 fill;
border-image-width: auto;
border-image-repeat: repeat;
border-image-outset: 7px 9px 11px 9px;
border-width: 6px;
margin: 12px 0px;
padding: 12px 18px 12px;
}
.ats-container-deposit > .ats-container-deposit-title {
font-family: var(--ats-heading, serif);
font-size: 15pt;
font-variant: small-caps;
letter-spacing: 1.5pt;
margin-top: 0;
margin-bottom: 0.75em;
}
.ats-container-deposit .ats-double-border-with-header {
margin-bottom: 24px;
}
.ats-container-deposit > .ats-double-border-with-header > .ats-double-border-with-header-title {
top: -30px;
}
.ats-container-deposit .ats-double-border-with-header:not(:first-of-type) {
padding-left: 14px;
}
.ats-table-deposit {
background-image: radial-gradient(circle,rgba(0,0,0,0.6),rgba(0,0,0,0.05));
border-collapse: collapse;
border: 1px var(--ats-brown) solid;
margin: 8px 8px 10px 8px;
}
.ats-table-deposit th.ats-table-deposit-biome {
padding-right: 6px;
}
.ats-table-deposit td {
border-top: 1px var(--ats-brown) solid;
padding: 10px 6px 2px 2px;
text-align: center;
vertical-align: top;
}
.ats-table-deposit td.ats-table-deposit-building {
padding-top: 4px;
}
.ats-table-deposit td.ats-table-deposit-bonus {
text-align: right;
}
/* First column after the rest of the columns */
.ats-table-deposit .ats-table-deposit-node {
padding-left: 12px;
text-align: left;
}
/*RECIPES*/
.ats-container-recipe {
display: inline-block;
border: 0px solid transparent;
border-image-source: var(--ats-image-background-tan-leather-two-panel);
border-image-slice: 43 15 15 15 fill;
border-image-width: auto;
border-image-repeat: repeat;
border-image-outset: 3px;
border-width: 9px;
}
.ats-table-recipe {
border-collapse: separate;
border-spacing: 0px 5px;
min-height: 35px; /* to prevent collapsing from covering the caption */
padding: 32px 8px 0px 8px;
}
table.ats-table-recipe caption {
color: var(--ats-yellow, gold);
font-size: 18px;
font-variant: small-caps;
margin: 0px 5px; /* to prevent collapsing from covering the caption */
white-space: nowrap;
/* move it up into the border and out of the way of the rest of the content */
position: relative;
height: 0px;
top: -3px;
text-align: center;
}
table.ats-table-recipe th, table.ats-table-recipe td {
font-family: var(--ats-condensed, sans-serif);
    text-transform: uppercase;
    padding: 4px 6px 4px 0px;
}
.ats-table-recipe > * > tr > td {
border-top: 2px ridge var(--ats-color-brown-wood-medium);
border-bottom: 2px ridge var(--ats-color-brown-wood-medium);
background-color: rgba(0,0,0,0.33);
}
.ats-table-recipe > * > tr > td:first-of-type {
border-left: 2px ridge var(--ats-color-brown-wood-medium);
padding-left: 6px;
}
.ats-table-recipe > * > tr > td:last-of-type {
border-right: 2px ridge var(--ats-color-brown-wood-medium);
padding-right: 6px;
}
.ats-table-recipe-ingredients-options td {
padding-top: 7px;
padding-bottom: 7px;
}
.ats-table-recipe-ingredients-options td:first-of-type {
padding-right: 7px;
text-align: right;
}
.ats-table-recipe .ats-building-icon img, .ats-table-recipe .ats-product-icon img {
border-image-source: var(--ats-image-border-gold-thick-beveled);
border-image-slice: 20;
border-image-width: auto;
border-image-repeat: stretch;
border-image-outset: 7px;
margin: 0 2px 0 2px;
}
.ats-table-recipe-ingredients-options .ats-single-ingredient-icon .ats-link-resource img {
border: 0px solid transparent;
border-image-source: var(--ats-image-border-brown-thick-beveled);
  border-image-slice: 7;
  border-image-width: auto;
  border-image-outset: 3px;
  border-width: 4px;
}
.ats-swappable-ingredient-icon img, .ats-optional-ingredient-icon img {
border-radius: 50%;
}
.ats-swappable-ingredient-icon > a, .ats-optional-ingredient-icon > a {
display: inline-block;
position: relative;
margin: 1px 5px 1px 5px;
}
/* DEPRECATED */
.ats-optional-ingredient-icon > a:first-child::after {
content:"";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
border-image-source: url('/images/mbhh_ats/7/79/FRAME_Swap_66x66.png');
border-image-slice: 35;
border-image-width: auto;
border-image-repeat: round;
border-image-outset: 7px;
}
.ats-swappable-ingredient-icon a > img {
border: 0 solid transparent;
/* for some reason, this is behind the circular icon, but it actually makes the icon itself easier to see. */
border-image-source: url('/images/mbhh_ats/7/79/FRAME_Swap_66x66.png');
border-image-slice: 36 fill;
border-image-outset: 9px;
}
/*MESSAGEBOX*/
/*MESSAGEBOX*/
.ats-messagebox {
.ats-messagebox {
}
}
.ats-messagebox-border {
border: 0 solid transparent;
border-image-source: var(--ats-image-background-tooltip);
border-image-slice: 22 30 30 30 fill;
border-image-width: auto;
border-image-outset: 12px;
border-width: 6px;
}
.ats-messagebox-version {
.ats-messagebox-version {
margin-left: 45%;
margin-left: 45%;
Line 847: Line 1,158:
.ats-messagebox-version p {
.ats-messagebox-version p {
font-size: 75%;
font-size: 75%;
background-image: url('/wiki/images/mbhh_ats/1/1f/Hourglass_Icon_.png');
background-image: var(--ats-image-icon-hourglass);
background-repeat: no-repeat;
background-repeat: no-repeat;
background-size: 60px;
background-size: 60px;
Line 853: Line 1,164:
}
}
/*EDITORS*/
.mw-json tr {
background-color: var(--ats-color-green-leather-shadow);
}
.mw-json th {
background-color: var(--ats-color-green-leather-shadow-lighter);
}
.mw-json-value {
background-color: var(--ats-color-cyan-very-dark);
}
#mw-scribunto-console #mw-scribunto-output p, #mw-scribunto-console #mw-scribunto-output .scribunto-trace li {
color: var(--ats-color-red-bold-building);
}
} /* end dark-mode */
} /* end dark-mode */

Latest revision as of 01:52, 26 September 2026

/* Temporary fixes, will be moved to theme in future */

.mw-scribunto-normalOutput {
  color: #fff;
}

/* All CSS here will be loaded for users of the MBHH skin. */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:[email protected]&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:[email protected]&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wdth,[email protected],100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Asap+Condensed:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
	background-image: url(/Against_the_Storm/skins/MBHH/resources/images/shade-right.png?9ba42), 
	url(/Against_the_Storm/skins/MBHH/resources/images/shade-left.png?30070), 
	url(/Against_the_Storm/skins/MBHH/resources/images/shade-bottom.png?ff4a7), 
	url(/images/mbhh_ats/1/15/P15t2_21-10-2024.jpg?6e063);
}

/*VARIABLES*/
:root {
	/*FONTS*/
	--ats-body:      'Noto Sans'; /*TODO REMOVE*/
	--ats-heading:   'EB Garamond'; /*TODO REMOVE*/
	--ats-mono:      'Noto Sans Mono'; /*TODO REMOVE*/
	--ats-condensed: 'Asap Condensed'; /*TODO REMOVE*/
	
	--ats-font-body: 'Noto Sans';
	--ats-font-heading: 'EB Garamond';
	--ats-font-monospace: 'Noto Sans Mono';
	--ats-font-condensed: 'Asap Condensed';
	
	/*COLORS*/
	--ats-default: #dedede; /*TODO REMOVE*/
	--ats-color-white: #dedede;
	
	--ats-dark: #0e0f0a; /* approx. black */
	
	--ats-yellow: #e1aa46;  /* approx. gold */
  
	--ats-gold: #a79372;  /* approx. palegoldenrod */
	--ats-bright-gold: #e2cd9d;  /* approx. khaki */
	
	--ats-brown: #59482d;  /* approx. dimgray */
	--ats-dark-brown: #302513;  /* approx black */
	--ats-dark-brown-alt: #261d0f;  /* approx black */
	
	--ats-green: #53b522;  /* approx. lawngreen */
	--ats-dark-green: #0e1b0d;  /* approx. darkslategray */
	--ats-dark-green-alt: #122411;  /* approx. darkslategray */
	
	--ats-blue: #31b7fa; /* approx. deepskyblue */
	--ats-bright-blue: #92d8fc;  /* approx. deepskyblue */
	--ats-bright-blue-highlight: #b4e5fd;  /* approx. skyblue */
	--ats-bright-blue-brighest: #e1f5fe;  /* approx. lightblue */
	--ats-bright-blue-dim: #79d0fc;  /* approx. royalblue */
	
	/*YELLOWS AND BROWNS*/
	--ats-color-green-leather-shadow: #17170D; /* dark, brownish-green in the blueprints leather background */
	--ats-color-green-leather-shadow-lighter: #1C1C10; /*slightly lighter than above */
	
	/*BROWNS*/
	--ats-color-tan-headings-text: #c0a777; /* tan color of "The Queen's Envoy" header, tooltip subheadings, orders headings */
	--ats-color-gold-names-text: #f0b022; /* yellow color of species' names, buildings' names, building types, cornerstone names */
	--ats-color-tan-widget-expand: #8F7B5C; /* tan of expand and collapse widgets on species and perks containers */
	--ats-color-brown-wood-bright: #B0A880; /* outermost layer of blueprints window chrome */
	--ats-color-brown-wood-light: #807755; /* top layer of blueprints window chrome */
	--ats-color-brown-wood-medium: #66553B; /* middle layer of blueprints window chrome */
	--ats-color-brown-wood-dark: #2A261F; /* dark layer of blueprints window chrome */
	--ats-color-brown-wood-shadow: #211E19; /* bottommost layer of blueprints window chrome */
	
	/*REDS*/
	--ats-color-red-penalty-text: #f62800; /* bright red penalty text color */
		/*REDS-BOLDS*/
		--ats-color-red-effect-brilliant: #fe4520; /* brightest red in effects artwork */
		--ats-color-red-bold-building: #be2b20; /* bold roof of the main warehouse building */
		--ats-color-red-effect-very-dark: #2C0000; /* very dark background red in effects artwork */
			/*REDS-PALES*/
			--ats-color-red-rusty-light: #884033; /* paleish rusty color of base of construction toolbar icons */
			--ats-color-red-rusty: #77311A; /* medium rusty color of "PICK" buttons for blueprints and cornerstones */
			--ats-color-red-faded: #521e25; /* dim, soft dark red color on "QUIT" card */
			--ats-color-red-muted-dark: #351515; /* dark saturated background on home screen, color behind "NEWS" */
				/*REDS-DARKS*/
				--ats-color-red-faded-dark: #331f23; /* darker very unsaturated maroon on edges of "QUIT" card */
	
	/*BLUES AND CYANS */
	--ats-color-cyan-reputation-brilliant-lighter: #68D4F8; /* lighter version of the next color */
	--ats-color-cyan-reputation-brilliant: #10d1f4; /* bright cyan text and reputation effect color */
		/*CYANS-BOLDS*/
		--ats-color-cyan-resolve-text: #33aad0; /* bold color of text representing resolve */
		--ats-color-cyan-resolve: #21728a; /* medium color of resolve meter filling up */
		--ats-color-cyan-bold-medium: #1e3e5e; /* background of blue checkmark button (like in orders list) */
		--ats-color-cyan-bold-dark: #071727; /* deep navy background of perk expand/collapse widget */
		--ats-color-cyan-very-dark: #0b1520; /* deepest navy background behind green and blue villager resolve meter */
			/*BLUES-MEDIUMS*/
			--ats-color-blue-news-hyperlink: #40a0ff; /* hyperlink color on title screen, in news box */
			--ats-color-blue-aesthetics: #6099f0; /* border color of aesthetics decorations */
			--ats-color-blue-perk: #1166dd; /* border color of rare/blue perks */
				/*AQUAS*/
				--ats-color-aqua-hub-effect-brilliant: #92f0e2; /* brightest color of hub/encampment effect icon */
				--ats-color-aqua-hub-effect: #5ccec6; /* aqua color of hub/encampment effect icon */
					/*BLUE-GRAYS*/
					--ats-color-bluegray-very-light: #acc7d1; /* very ligth blue-gray of the fog in the corner of the game */
					--ats-color-bluegray-hearth: #4f7881; /* blue-gray of hearth building */
					--ats-color-bluegray-medium: #2c435a; /* title screen blue card medium color */
					--ats-color-bluegray-terrain: #202838; /* dark color of marshland terrain */
					--ats-color-bluegray-dark: #1a222e; /* title screen blue card's dark background */
	
	/*GREENS*/
	--ats-color-green-title-brilliant: #c2fe14; /* brilliant yellow-green of the DLC title */
	--ats-color-green-perk: #22cc00; /* bright, bold green of green perks */
		/*GREENS-BOLDS*/
		--ats-color-green-comfort: #44dd55; /* bright, softer green of comfort decoration borders */
		--ats-color-green-effect-bright: #42bb31; /* bright background of green effects artwork */
		--ats-color-green-status-text: #50b010; /* bold text color for species balance status, when neither in danger nor gaining reputation */
		--ats-color-green-bold-medium: #204101; /* main color of green buttons */
		--ats-color-green-effect-very-dark: #052009; /* deep background color in green effects artwork */
			/*GREENS-MIDVALUES*/
			--ats-color-green-mid-highlight-lightened: #b0e7a2; /* lighter version of the next color */
			--ats-color-green-mid-highlight: #71c05c; /* the color of the cursor highlighting tile on the game map */
			--ats-color-green-mid-medium: #223311; /* muted, semibrown of the green leather backgrounds */
			--ats-color-green-mid-deep: #040d05; /* darkest green that's still clearly green, in the backgrounds of tabs and buttons */
				/*GREENS-DIMS*/
				--ats-color-green-dim-muted: #172011; /* dark brownish green behind the species status icons */
				--ats-color-green-dim-very-muted: #141a12; /* dark grayish green behind the news and status tooltips */
	
	/*IMAGES-BACKGROUNDS */
	--ats-image-background-black-leather: url('/images/mbhh_ats/2/2e/BG_Black_01.png');
	--ats-image-background-green-leather: url('/images/mbhh_ats/2/2b/BG_Green_03.png');
	--ats-image-background-green-leather-worn: url('/images/mbhh_ats/7/7e/BG_Green_01.png');
	--ats-image-background-tan-leather: url('/images/mbhh_ats/0/0f/BG_Skin.png');
	
	/*IMAGES-BACKGROUNDS USED AS IMAGE BORDERS*/
	--ats-image-background-tan-leather-two-panel: url('/images/mbhh_ats/6/6a/Skin_BG_Small_3.png');
	--ats-image-background-tooltip: url('/images/mbhh_ats/b/b4/Popup_Tooltips_BG.png');
	--ats-image-background-heavy-right-floating-window: url('/images/mbhh_ats/c/c3/Popup_RightPanel_BG.png');
	
	/*IMAGES-BORDERS TINY AND TRANSPARENT BORDERS USED AS IMAGE BORDERS*/
	--ats-image-border-header-with-double-line: url('/images/mbhh_ats/c/cd/Popup_SeperationBGPattern2_empty.png');
	--ats-image-border-gold-thick-beveled: url('/images/mbhh_ats/0/06/FRAME_Tex_Square_Big_1.png');
	--ats-image-border-brown-thick-beveled: url('/images/mbhh_ats/1/1b/FRAME_Tex_Square_Small_2.png');
	--ats-image-border-circle-gold-thick-beveled: url('/images/mbhh_ats/f/f7/FRAME_Circle_84x84_RaceHud.png');
	--ats-image-border-rectangle-cornercut-twotone: url('/images/mbhh_ats/0/02/Popup_BG_Panel_1.png');
	--ats-image-border-brown-thin-filigree: url('/images/mbhh_ats/c/c3/Popup_Seperation8.png');
	
	/*IMAGES-ICONS*/
	--ats-image-icon-hourglass: url('/images/mbhh_ats/1/1f/Hourglass_Icon_.png');
}



/* Overrides for mini inner tables inside wikitables to restore defaults; early so it can be overwritten */
.ats-resource-list tr, .ats-resource-list td, .ats-resource-list th,
.ats-inner-list tr, .ats-inner-list td, .ats-inner-list th {
  border: 0 !important;
  background: transparent !important;
  padding: 1px 0;
}



body {

  /* Art */

  div#mw-content {
    background-color: var(--ats-dark, black);
    border: 2px solid var(--ats-brown, dimgray);
  }

	table.wikitable {
	    background-color: var(--ats-color-green-leather-shadow);
	    border: none;
	}
		table.wikitable > * > tr > th {
			background-color: var(--ats-color-cyan-very-dark);
			border: 2px solid var(--ats-dark, black);
		}
		table.wikitable > * > tr > td {
			border: 2px solid var(--ats-dark, black);
		}
			table.wikitable:not(.table-nobands):not(.ats-table-nobands) > * > tr:nth-child(odd) {
				background-color: var(--ats-color-green-leather-shadow-lighter);
			}
	

  pre {
    background-color: var(--ats-dark-green, black);
    border: 1px solid var(--ats-dark-green-alt, dimgray);
  }

  code {
    background-color: var(--ats-default, white);
    border: 1px solid var(--ats-bright-gold, black);
  }

  .mw-body .mw-parser-output h1::after, .mw-body .mw-parser-output h2::after {
    border-bottom: 1px solid var(--ats-gold, palegoldenrod);
  }

  div.thumbinner {
    background-color: unset;
    border-image-source: var(--ats-image-background-tooltip);
    border-image-slice: 19 31 31 31 fill;
    border-image-width: auto;
    border-image-repeat: stretch;
    border-image-outset: 19px 31px 31px 31px;
    margin: 10px 18px 30px 18px;
    padding: 8px 0px 0px 2px;
  }

  .thumbinner .thumbimage, .thumbborder {
    border-color: var(--ats-brown, dimgrey);
  }
  
	/* MW 1.44 fix */
	figure[typeof~="mw:File/Thumb"] {
	    background-color: unset;
	    border-image-source: var(--ats-image-background-tooltip);
	    border-image-slice: 19 31 31 31 fill;
	    border-image-width: auto;
	    border-image-repeat: stretch;
	    border-image-outset: 8px 16px 28px 16px;
	    padding: 16px 8px 0;
	    display: inline-block;
	    box-sizing: border-box;
	}
	
	/*
		Chrome/Blink quirk:
		After an <a> that wraps a replaced element (<img>), <figcaption> may treat
		width: 100% as min-content. Making the <a> a table-cell gives it a definite
		intrinsic width (from the image), so <figcaption> spans fully.
	*/
	figure[typeof~="mw:File/Thumb"] > a.mw-file-description {
		display: table-cell;
	}
	
	figure[typeof~="mw:File/Thumb"].mw-halign-right {
		margin: 0px 4px 30px 49px;
	}
	
	figure[typeof~="mw:File/Thumb"].mw-halign-left {
		margin: 0px 49px 30px 4px;
	}
	
	figure[typeof~="mw:File/Thumb"] img.mw-file-element {
	    display: block; /* prevent inline gaps */
	    margin: 0;
	    padding: 0;
	    border: 1px solid var(--ats-brown,dimgrey) !important;
	}
	
	figure[typeof~="mw:File/Thumb"] > figcaption {
	    padding: 8px 8px 4px 8px;
	    line-height: 1.4;
	    /*width: 100%;*/
		background-color: unset;
		border: unset;
	}
	
	figure.mw-image-border img.mw-file-element {
	    border: 1px solid var(--ats-brown,dimgrey) !important;
	}

  div.ats-messagebox-stub {
    border-image-source: var(--ats-image-background-tooltip);
    border-image-slice: 19 31 31 31 fill;
    border-image-width: auto;
    border-image-repeat: stretch;
    border-image-outset: 19px 31px 31px 31px;
    margin: 30px 18px 30px 18px;
    padding: 8px 0px 0px 2px;
  }

  div.ats-messagebox-stub p {
    background-image: url('/images/mbhh_ats/b/bf/Monitor_Icon_LowFood.png');
    background-size: 48px;
    background-repeat: no-repeat;
    padding-left: 58px;
    padding-bottom: 8px;
  }

  div.ats-infobox-border {
    background: radial-gradient(circle, rgba(0,0,0,0.2),rgba(0,0,0,0.8)), url('/images/mbhh_ats/2/2b/BG_Green_03.png'), black;
    border: 0 solid transparent;
    border-image-source: var(--ats-image-background-heavy-right-floating-window);
    border-image-slice: 27 0 65 59;
    border-image-width: auto;
    border-image-outset: 17px 0 26px 22px;
    margin: 13px 0 13px 13px;
    padding: 9px 0 9px 9px;
  }

  div.ats-infobox-header-border  {
    border: 0px solid transparent;
    border-image-source: url('/images/mbhh_ats/4/41/Popup_Seperation0.png');
    border-image-slice: 16 fill;
    border-image-width: auto;
    border-image-repeat: round;
    border-image-outset: 8px;
    margin: 6px 8px 6px 6px;
    padding: 8px;
  }

  .ats-infobox-header-icon-border {
    border: 0px solid transparent;
    border-image-source: var(--ats-image-border-gold-thick-beveled);
    border-image-slice: 20;
    border-image-width: auto;
    border-image-repeat: stretch;
    border-image-outset: 7px;
    display: inline-block;
    margin: 5px;
    padding: 0;
  }

  .ats-infobox-innerinfo .ats-goods-category-icon {
    border: 0px solid transparent;
    border-image-source: url('/images/mbhh_ats/8/8a/Frame_Square.png');
    border-image-slice: 15;
    border-image-width: auto;
    border-image-repeat: round;
    border-image-outset: 5px;
  }

  table.ats-infobox-innerinfo-border {
    background-color: rgba(0,0,0,0.85);
    border: 0px solid transparent;
    border-image-source: url('/images/mbhh_ats/7/71/Infobox-group-border.png');
    border-image-slice: 30 37 30 37;
    border-image-width: auto;
    border-image-repeat: round;
    border-image-outset: 14px;
    margin: 6px;
    padding: 5px;
  }

  .ats-infobox-separator th, .ats-infobox-separator td {
      border-top: 10px solid transparent;
  }

  .ats-infobox-separator {
    position: relative;
    border: none;
  }
  .ats-infobox-separator::after {
      content: '';
      height: 8px;
      position: absolute;
      left: 0;
      top: 0;
      background-image: url('/images/mbhh_ats/9/96/Box-separator.png');
      width: 100%;
      background-position-y: center;
      background-size: 100% 100%;
  }

  div.toc {
    background: var(--ats-dark, black);
    border: 0px solid transparent;
    border-image-source: url('/images/mbhh_ats/6/6b/HUD_BG_for_text.png');
    border-image-slice: 12 81 12 81 fill;
    border-image-width: auto;
    border-image-repeat: stretch;
  }

  .mw-body .toctitle {
    border: none;
  }

  .ats-mainbox {
    border: 1px solid transparent;
    border-image-source: url('https://wiki.hoodedhorse.com/images/mbhh_ats/9/97/CaravanSlot_Highlight.png');
    border-image-slice: 18 93 28 135 fill;
    border-image-width: auto;
    border-image-repeat: round;
    margin-left: -30px;
    padding: 0 80px 30px 30px;
  }

  .ats-main-billboard {
    border: 1px solid red;
    border-image-source: url('/images/mbhh_ats/3/35/Frame_News.png');
    border-image-slice: 75;
    border-image-width: auto;
    border-image-repeat: round;
    border-image-outset: 40px;
    margin: 40px 10px 60px 10px;
  }
  .ats-main-billboard span {
    display: inline-block;
    width: 32%;
    text-align: center;
  }
  .ats-main-billboard-text {
    color: var(--ats-bright-gold, khaki);
    font-size: 150%;
    font-variant: small-caps;
  }

  h1:after, h2:after {
    border-bottom: 1px solid var(--ats-gold);
  }

  .toctitle {
    border-bottom: none;
  }

  .mw-editsection, #ca-edit {
    background-image: url("https://wiki.hoodedhorse.com/images/mbhh_ats/thumb/1/10/Icon_Clear.png/15px-Icon_Clear.png");
    background-repeat: no-repeat;
  }

  .magnify {
    background-image: url('https://wiki.hoodedhorse.com/images/mbhh_ats/thumb/c/c5/Popup_Icon_Expand.png/28px-Popup_Icon_Expand.png');
  }

  li#ca-nstab-user {
    background-image: url('/images/mbhh_ats/thumb/e/ea/Icon_Worker.png/20px-Icon_Worker.png');
    background-repeat: no-repeat;
  }

  li#ca-talk {
    background-image: url('/images/mbhh_ats/thumb/6/6b/HUD_Icon_Villigers.png/20px-HUD_Icon_Villigers.png');
    background-repeat: no-repeat;
  }

  .tools-inline li:hover {
    border-bottom-color: var(--ats-bright-blue-brightest, lightblue);
  }
  .tools-inline li.selected a {
    background-image: url('/images/mbhh_ats/thumb/0/01/Tab-Recipes.png/20px-Tab-Recipes.png');
    background-repeat: no-repeat;
    color: var(--ats-gold, palegoldenrod);
  }

  #ca-history a {
    background-image: url('/images/mbhh_ats/thumb/4/4c/FlatIcon_Order_NeedForTime.png/16px-FlatIcon_Order_NeedForTime.png');
    background-repeat: no-repeat;
  }

  div .header {
    border: 1px solid var(--ats-yellow, gold);
    margin-top: 2em;
  }
  
  div.mw-message-box-error {
  	background-color: var(--ats-color-red-effect-very-dark);
  	border: 1px solid var(--ats-color-red-penalty-text);
  }
  div.mw-message-box-error p {
  	/* Anything needed here? */
  }





  /* Type and color */

  p, td, th, li, dd, caption, .mw-headline, h1.mw-first-heading, .thumbcaption, .toc, .usermessage, .ats-infobox-header-title {
    color: var(--ats-default, white);
    font-family: var(--ats-body, sans-serif);
    font-weight: 400;
    font-size: 11pt;
    line-height: 1.7em;
    letter-spacing: 0.10em;
    word-spacing: 0.06em;
  }
  
  .cdx-message p {
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: normal;
    word-spacing: normal;
}
  
  #id-mw-scribunto-console .mw-scribunto-error p {
  	color: var(--ats-dark);
  }

  caption, dt, .ats-flavor-text, .ats-flavor-text p, .mw-headline, h1.mw-first-heading, #mw-toc-heading, .mw-portlet-body .mw-list-item, .ats-infobox-header-title, #ats-infobox-header-subtitle {
    font-family: var(--ats-heading, serif);
    font-size: 12pt;
    font-weight: 500;
    letter-spacing: 0.6pt;
    line-height: 1.4em;
  }

  pre, code {
    font-family: var(--ats-mono, monospaced);
    font-size: 95%;
    font-weight: 500;
    letter-spacing: 0.05em;
    word-spacing: 0em;
  }

  .ats-building-icon img {
    display: block;
  }

  caption, .mw-headline, h1.mw-first-heading, .mw-portlet-body .mw-list-item, .ats-infobox-header-title {
    font-variant: small-caps;
  }

  caption .mw-collapsible-toggle {
    color: var(--ats-default, white);
  }

  #contentSub {
    color: var(--ats-gold, palegoldenrod);
  }

  h1.mw-first-heading, .mw-headline, .tocnumber, #mw-toc-heading, #ca-nstab-user, .mw-changeslist > h4 {
    color: var(--ats-color-tan-headings-text, palegoldenrod);
  }

  h1.mw-first-heading {
    font-size: 250%;
    letter-spacing: 0.07em;
  }

  h2 .mw-headline {
    font-size: 120%;
    letter-spacing: 0.10em;
  }

  h3 .mw-headline, h4 .mw-headline, h5 .mw-headline, h6 .mw-headline, h7 .mw-headline {
    font-size: 120%;
  }

  table caption {
    color: var(--ats-gold, palegoldenrod);
    font-size: 150%;
    white-space: nowrap;
  }
  
  #mw-content dt {
  	color: var(--ats-color-gold-names-text);
  	font-size: 125%;
  	font-weight: 600;
  }

  th {
    color: var(--ats-default, white);
    font-weight: 400;
  }

  .ats-infobox-header-title {
    font-size: 16pt;
  }

  blockquote.ats-flavor-text p {
    color: var(--ats-bright-gold, khaki);
    font-size: 90%;
    margin-right: 33%;
  }

  li::marker {
    color: var(--ats-gold, palegoldenrod);
  }

  pre {
    color: var(--ats-mid-highlight);
  }

  code {
    color: var(--ats-dark, black);
    font-weight: 500;
  }

  strike {
    color: var(--ats-gold, palegoldenrod);
  }

  u {
    color: var(--ats-color-red-penalty-text);
  }

  b {
    color: var(--ats-bright-gold, khaki);
  }

  a, a:link, .toctogglelabel {
    color: var(--ats-bright-blue, deepskyblue);
  }
  a:active, a:hover, a:visited:hover, .toctogglelabel:hover {
    color: var(--ats-bright-blue-brightest, lightblue);
    text-decoration: underline;
  }
  a:visited {
    color: var(--ats-bright-blue-dim, dodgerblue);
  }
  /* This needs 2 ids and at least 3 types specificity to win over the broadly defined filter. */
  #mw-content #toc ul a :not(img) {
    color: var(--ats-bright-blue, deepskyblue);
    filter: none;
  }

  a.new {
    color: var(--ats-color-red-penalty-text, red);
  }
  a.external, a.external:link {
    color: var(--ats-color-green-mid-highlight);
  }
  a.external:active, a.external:hover, a.external:visited:hover {
    color: var(--ats-color-green-mid-highlight-lightened);
    text-decoration: underline;
  }
  a.external:visited {
    color: var(green-effect-bright);
  }





  /* Layout and spacing */

  div.ats-infobox {
    clear: both;
    float: right;
    margin: 2em -2em 3em 2em;
    max-width: 320px;
  }

  div.ats-infobox-header {
    margin-bottom: 1.5em;
    padding: 0.5em;
    padding-bottom: 0.75em;
    text-align: center;
  }

  div.ats-infobox-header img {
    width: 200px;
  }

  div.ats-infobox-header p {
    margin: auto;
    margin-bottom: 6pt;
  }

  table.ats-infobox-innerinfo {
    margin: 2.3em 1.3em 2.3em 1.3em;
  }

  div.ats-infobox th {
    text-align: left;
    padding-right: 0.5em;
  }

  .ats-infobox-separator {
    margin: auto;
  }

  div.ats-messagebox-stub {
    margin-left: auto;
    margin-right: auto;
    max-width: 67%;
  }

  div.ats-product-icon {
    display: inline;
  }

  td:has(> div.ats-product-icon) {
    padding-left: 10px;
    white-space: nowrap;
  }

  td:has(> div.ats-building-icon) {
    padding-right: 10px;
  }

  ul#filetoc {
    background-color: var(--ats-dark, black);
    border: 1px solid var(--ats-brown);
  }

  div.mw-message-box-warning {
    background-color: var(--ats-gold, deepskyblue);
    border: 1px solid var(--ats-brown);
  }
  div.mw-message-box-warning p, div.mw-message-box-warning .mw-continue-editing a {
    color: var(--ats-dark, black);
  }



/*************************/
/** DARK MODE VERSION 2 **/
/*************************/
	
	
	/*BASIC TEXT AND TAGS*/
	pre {
    	color: var(--ats-mid-highlight);
	}
	
	/*LINKS*/
	a.new {
		color: var(--ats-color-red-penalty-text, red);
	}
	
	a.external, a.external:link {
		color: var(--ats-color-green-mid-highlight);
	}
		a.external:active, a.external:hover, a.external:visited:hover {
			color: var(--ats-color-green-mid-highlight-lightened);
			text-decoration: underline;
		}
		a.external:visited {
			color: var(green-effect-bright);
		}
	
	
	/*BORDERS*/
	/* Border art MUST be implemented with only border properties, like border-width. No margins or padding can be specified here. */
	.ats-thin-border {
		border: 0 solid transparent;
		border-image-source: url('/images/mbhh_ats/4/41/Popup_Seperation0.png');
		border-image-slice: 7;
		border-image-outset: 4px;
		border-image-width: auto;
		border-width: 3px;
	}
	.ats-thin-border-bright {
		border: 0 solid transparent;
		border-image-source: var(--ats-image-border-gold-thick-beveled);
		border-image-slice: 7;
		border-image-width: auto;
		border-image-outset: 2px;
		border-width: 5px;
	}
	.ats-double-border-with-header {
		border: 0 solid transparent;
		border-image-source: var(--ats-image-border-header-with-double-line);
		border-image-slice: 39 46 20 46 fill;
		border-image-outset: 3px 9px 9px 9px;
		border-image-width: auto;
		border-width: 32px 5px 5px 5px;
	}
		div.ats-double-border-with-header > p.ats-double-border-with-header-title {
			font-family: var(--ats-heading, serif);
			font-variant: small-caps;
			margin: 0;
			position: relative;
			height: 0px;
			top: -38px;
			text-align: center;
		}
		table.ats-double-border-with-header {
			min-width: 212px;
			width: 100%;
		}
		table.ats-double-border-with-header > caption {
			color: var(--ats-default, white);
			font-family: var(--ats-heading, serif);
			font-size: 11pt;
			font-variant: small-caps;
			margin: 0px 38px;
			position: relative;
			height: 0px;
			top: 5px;
			text-align: center;
		}
	.ats-circle-border-thick {
		border: 0 solid transparent;
		border-image-source: url('/images/mbhh_ats/d/db/FRAME_Circle_Thick3.png');
		border-image-slice: 45;
		border-image-width: auto;
		border-image-outset: 0px;
		border-width: 6px;
	}
	.ats-cutout-border {
		border: 0 solid transparent;
		border-image-source: url('/images/mbhh_ats/d/d9/Popup_Seperation1.png');
		border-image-slice: 23 23 8 23 fill;
		border-image-width: auto;
		border-image-outset: 3px;
		border-width: 3px;
	}
	
	
	
	/*ATS-LINKS*/
	#mw-content a.mw-selflink.selflink {
		color: var(--ats-color-gold-names-text);
	}
	.ats-link-species  a > img {
		border-radius: 50px;
		border: 0px solid transparent;
		border-image-source: var(--ats-image-border-circle-gold-thick-beveled);
		border-image-width: auto;
		border-image-slice: 45;
		border-image-outset: 1px;
		border-width: 3px;
	}
	.ats-link-building a > img {
		border: 0px solid transparent;
		border-image-source: var(--ats-image-border-gold-thick-beveled);
		border-image-width: auto;
		border-image-slice: 7 fill;
		border-image-outset: 2px;
		border-width: 4px;
	}
		.ats-link-building.ats-flag-small a > img {
			border: 0px solid transparent;
			border-image-source: var(--ats-image-border-brown-thick-beveled);
			border-image-width: auto;
			border-image-slice: 2 fill;
			border-image-outset: 3px;
			border-width: 3px;
		}
	.ats-link-resource a > img {
		border: 0px solid transparent;
		border-image-source: var(--ats-image-border-gold-thick-beveled);
		border-image-width: auto;
		border-image-slice: 7 fill;
		border-image-outset: 4px;
		border-width: 4px;
	}
		.ats-link-resource.ats-flag-small a > img {
			border: 0px solid transparent;
			border-image-source: var(--ats-image-border-brown-thick-beveled);
			border-image-width: auto;
			border-image-slice: 2 fill;
			border-image-outset: 3px;
			border-width: 3px;
		}
	
	
	
	/*BACKGROUNDS*/
	.ats-semitransparent-background {
		background-color: #000;
		background-color: rgba(0, 0, 0, 0.5);
	}
	.ats-green-leather-background {
		background: radial-gradient(circle, rgba(0,0,0,0.2),rgba(0,0,0,0.8)), --ats-image-background-green-leather, black;
	}
	
	
	
	/*TABLEOFCONTENTS*/
	#toc {
		background: var(--ats-dark, black);
		border: 0px solid transparent;
		border-image-source: var(--ats-image-border-brown-thin-filigree);
		border-image-slice: 17 40 24 40;
		border-image-width: auto;
		border-image-outset: 7px 3px 3px 3px;
		border-width: 3px;
		
		margin-bottom: 1em;
		margin-top: 3em;
		padding: 10px 17px 13px;
	}
	
	
	
	/*OVERRIDES*/
	.nowrap {
		white-space: nowrap;
	}
	.error {
		color: var(--ats-color-red-rusty-light, #F62800);
		font-family: var(--ats-font-monospace, monospace);
		font-size: inherit;
		font-weight: 500;
		letter-spacing: .05em;
	}
	.verticalaligntop td {
		vertical-align: top;
	}
	
	
	
	/*INFOBOX*/
	/* Infoboxes are intended to be unique on a page, so these can be selected mostly with IDs. */
	div#ats-infobox {
		clear: right;
		float: right;
		margin: 2em -2em 3em 2em; /* This pushes the styled infobox into the regular page margin so it sits right up against the edge of the content, like in the game */
		max-width: 350px;
		padding: 5px 6px 5px 5px;
	}
		div.ats-infobox-border {
			border: 0 solid transparent;
			border-image-source: var(--ats-image-background-heavy-right-floating-window);
			border-image-slice: 27 0 65 59;
			border-image-outset: 4px 0px 14px 9px;
			border-image-width: auto;
			border-width: 20px 0px 48px 19px;
		}
		div#ats-infobox > div {
			margin-bottom: 14px;
			padding: 8px 20px 10px 20px;
		}
		div#ats-infobox-header {
			text-align: center;
		}
			div#ats-infobox-header > p {
				font-family: var(--ats-heading, serif);
				margin: auto;
			}
				div#ats-infobox-header > p#ats-infobox-header-title {
					font-size: 15pt;
					font-variant: small-caps;
					letter-spacing: 1.5pt;
					margin-bottom: 0;
				}
				div#ats-infobox-header > p#ats-infobox-header-subtitle {
					color: var(--ats-color-gold-names-text, #F0B022);
					font-size: 11pt;
					letter-spacing: 0.4pt;
					margin-bottom: 14px;
					text-transform: uppercase;
				}
				div#ats-infobox-header > p#ats-infobox-header-description {
					margin-bottom: 20px;
					max-width: 280px; /* Don't let the description push the width out any more than this. */
				}
				div#ats-infobox-header > p#ats-infobox-header-specialization {
					margin-bottom: 10px;
					min-width: 260px; /* Need 260 to fit meat production spec on one line. */
				}
			div#ats-infobox-header > div#ats-infobox-header-icon-container {
				display: inline-block;
			}
		div#ats-infobox > div#ats-infobox-workplaces, div#ats-infobox > div#ats-infobox-preferences {
			padding: 0;
		}
			div#ats-infobox-workplaces > p, div#ats-infobox-preferences > p {
				margin: 0;
				text-align: center;
			}
		div.ats-infobox-section {
			margin-left: 10px;
			margin-right: 10px;
		}
			div.ats-infobox-section > ul {
				margin: 8px 0 0 0;
			}
				div.ats-infobox-section > ul > li {
					list-style-type: none;
					margin-bottom: 2px;
				}
					div.ats-infobox-section > ul > li > a > img {
						/* This is a special situation where we want to override the list view, so put the border here, not apply the border class. */
						border: 0 solid transparent;
						border-image-source: var(--ats-image-border-gold-thick-beveled);
						border-image-slice: 7;
						border-image-width: auto;
						border-image-outset: 2px;
						border-width: 5px;
						vertical-align: middle;
						width: 30px;
					}
		p#ats-infobox-id {
			font-family: var(--ats-heading, serif);
			font-size: 9.5pt;
			margin-bottom: 0;
			text-align: center;
		}



	/*DEPOSITS*/
	.ats-container-deposit {
		display: inline-block;
		background: var(--ats-image-background-green-leather-worn);
		border-radius: 0px 39px 0px 40px;
		border: 0px solid transparent;
		border-image-source: var(--ats-image-border-rectangle-cornercut-twotone);
		border-image-slice: 30 33 36 33 fill;
		border-image-width: auto;
		border-image-repeat: repeat;
		border-image-outset: 7px 9px 11px 9px;
		border-width: 6px;
		margin: 12px 0px;
		padding: 12px 18px 12px;
	}
		.ats-container-deposit > .ats-container-deposit-title {
			font-family: var(--ats-heading, serif);
			font-size: 15pt;
			font-variant: small-caps;
			letter-spacing: 1.5pt;
			margin-top: 0;
			margin-bottom: 0.75em;
		}
		.ats-container-deposit .ats-double-border-with-header {
			margin-bottom: 24px;
		}
			.ats-container-deposit > .ats-double-border-with-header > .ats-double-border-with-header-title {
				top: -30px;
			}
			.ats-container-deposit .ats-double-border-with-header:not(:first-of-type) {
				padding-left: 14px;
			}
	.ats-table-deposit {
		background-image: radial-gradient(circle,rgba(0,0,0,0.6),rgba(0,0,0,0.05));
		border-collapse: collapse;
		border: 1px var(--ats-brown) solid;
		margin: 8px 8px 10px 8px;
	}
		.ats-table-deposit th.ats-table-deposit-biome {
			padding-right: 6px;
		}
		.ats-table-deposit td {
			border-top: 1px var(--ats-brown) solid;
			padding: 10px 6px 2px 2px;
			text-align: center;
			vertical-align: top;
		}
			.ats-table-deposit td.ats-table-deposit-building {
				padding-top: 4px;
			}
			.ats-table-deposit td.ats-table-deposit-bonus {
				text-align: right;
			}
			/* First column after the rest of the columns */
			.ats-table-deposit .ats-table-deposit-node {
				padding-left: 12px;
				text-align: left;
			}
	
	
	
	/*RECIPES*/
	.ats-container-recipe {
		display: inline-block;
		border: 0px solid transparent;
		border-image-source: var(--ats-image-background-tan-leather-two-panel);
		border-image-slice: 43 15 15 15 fill;
		border-image-width: auto;
		border-image-repeat: repeat;
		border-image-outset: 3px;
		border-width: 9px;
	}
	.ats-table-recipe {
		border-collapse: separate;
		border-spacing: 0px 5px;
		min-height: 35px; /* to prevent collapsing from covering the caption */
		padding: 32px 8px 0px 8px;
	}
		table.ats-table-recipe caption {
			color: var(--ats-yellow, gold);
			font-size: 18px;
			font-variant: small-caps;
			margin: 0px 5px; /* to prevent collapsing from covering the caption */
			white-space: nowrap;
			/* move it up into the border and out of the way of the rest of the content */
			position: relative;
			height: 0px;
			top: -3px;
			text-align: center;
		}
		table.ats-table-recipe th, table.ats-table-recipe td {
			font-family: var(--ats-condensed, sans-serif);
    		text-transform: uppercase;
    		padding: 4px 6px 4px 0px;
		}
		.ats-table-recipe > * > tr > td {
			border-top: 2px ridge var(--ats-color-brown-wood-medium);
			border-bottom: 2px ridge var(--ats-color-brown-wood-medium);
			background-color: rgba(0,0,0,0.33);
		}
			.ats-table-recipe > * > tr > td:first-of-type {
				border-left: 2px ridge var(--ats-color-brown-wood-medium);
				padding-left: 6px;
			}
			.ats-table-recipe > * > tr > td:last-of-type {
				border-right: 2px ridge var(--ats-color-brown-wood-medium);
				padding-right: 6px;
			}
				.ats-table-recipe-ingredients-options td {
					padding-top: 7px;
					padding-bottom: 7px;
				}
					.ats-table-recipe-ingredients-options td:first-of-type {
						padding-right: 7px;
						text-align: right;
					}
			.ats-table-recipe .ats-building-icon img, .ats-table-recipe .ats-product-icon img {
				border-image-source: var(--ats-image-border-gold-thick-beveled);
				border-image-slice: 20;
				border-image-width: auto;
				border-image-repeat: stretch;
				border-image-outset: 7px;
				margin: 0 2px 0 2px;
			}
			.ats-table-recipe-ingredients-options .ats-single-ingredient-icon .ats-link-resource img {
				border: 0px solid transparent;
				border-image-source: var(--ats-image-border-brown-thick-beveled);
				  border-image-slice: 7;
				  border-image-width: auto;
				  border-image-outset: 3px;
				  border-width: 4px;
			}
			.ats-swappable-ingredient-icon img, .ats-optional-ingredient-icon img {
				border-radius: 50%;
			}
			.ats-swappable-ingredient-icon > a, .ats-optional-ingredient-icon > a {
				display: inline-block;
				position: relative;
				margin: 1px 5px 1px 5px;
			}
				/* DEPRECATED */
				.ats-optional-ingredient-icon > a:first-child::after {
					content:"";
					position: absolute;
					top: 0;
					left: 0;
					height: 100%;
					width: 100%;
					border-image-source: url('/images/mbhh_ats/7/79/FRAME_Swap_66x66.png');
					border-image-slice: 35;
					border-image-width: auto;
					border-image-repeat: round;
					border-image-outset: 7px;
				}
				.ats-swappable-ingredient-icon a > img {
					border: 0 solid transparent;
					/* for some reason, this is behind the circular icon, but it actually makes the icon itself easier to see. */
					border-image-source: url('/images/mbhh_ats/7/79/FRAME_Swap_66x66.png');
					border-image-slice: 36 fill;
					border-image-outset: 9px;
				}



	/*MESSAGEBOX*/
	.ats-messagebox {
		
	}
		.ats-messagebox-border {
			border: 0 solid transparent;
			border-image-source: var(--ats-image-background-tooltip);
			border-image-slice: 22 30 30 30 fill;
			border-image-width: auto;
			border-image-outset: 12px;
			border-width: 6px;
		}
		.ats-messagebox-version {
			margin-left: 45%;
			margin-top: 1em;
			margin-bottom: 1em;
			padding: 4px 14px;
		}
			.ats-messagebox-version p {
				font-size: 75%;
				background-image: var(--ats-image-icon-hourglass);
				background-repeat: no-repeat;
				background-size: 60px;
				padding-left: 74px;
			}
	
	
	
	/*EDITORS*/
	.mw-json tr {
		background-color: var(--ats-color-green-leather-shadow);
	}
		.mw-json th {
			background-color: var(--ats-color-green-leather-shadow-lighter);
		}
			.mw-json-value {
				background-color: var(--ats-color-cyan-very-dark);
			}
	#mw-scribunto-console #mw-scribunto-output p, #mw-scribunto-console #mw-scribunto-output .scribunto-trace li {
		color: var(--ats-color-red-bold-building);
	}
} /* end dark-mode */