MediaWiki:Common.css: Difference between revisions

From MB Wiki
Jump to navigation Jump to search
m (Reverted edits by Tama07 (talk) to last revision by Admin coral island)
Tags: Rollback Reverted
(Undo revision 27367 by Tama07 (talk))
Tags: Undo Reverted
Line 21: Line 21:
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:CodeMirror.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:CodeMirror.css&action=raw&ctype=text/css");


body.skin-vector-dark {
/* ===== GLOBAL STYLES ===== */
background: url("https://coralwiki.stairwaygames.com/w/images/9/9a/Site-background-dark.png") no-repeat fixed center center / cover !important;
:root {
    --stardew-blue: #2c5aa0;
    --stardew-light-blue: #5a86c6;
    --stardew-gray: #f5f5f5;
    --stardew-border: #e0e0e0;
    --stardew-text: #333333;
    --stardew-green: #4caf50;
    --stardew-orange: #ff9800;
}
}


.mobileHide, .mobile-only, .no-desktop {
body {
display: none!important;
    background-color: #ffffff;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
}


/* || FIXES */
/* ===== HEADER RESTYLING ===== */
.wikiEditor-ui-text > .ui-resizable {
#mw-page-base {
width: 100% !important;
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
max-width: 100%;
    height: auto;
}
    min-height: 60px;
ul {
list-style: disc;
}
}


 
#mw-head {
h2 .mw-headline,
    background: #ffffff;
h3 .mw-headline,
    border-bottom: 3px solid var(--stardew-blue);
h4 .mw-headline {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
font-weight: 500;
    padding: 10px 0;
}
}


.vector-body h3 , .vector-body h4 , .vector-body h5 , .vector-body h6 {
#p-logo {
margin-bottom: 4px;
    text-align: center;
    margin: 10px 0;
}
}


a, a:visited, a:active,
#p-logo a {
.mw-parser-output a:is(.external, .external:visited, .external:active) {
    background: url('https://stardewvalleywiki.com/mediawiki/skins/stardew/images/logo.png') no-repeat center center;
color: var(--theme-link-color);
    background-size: contain;
}
    width: 300px;
#mw-head .vector-menu-content-list .mw-list-item :is(a, a:visited, a:active) {
    height: 80px;
color: var(--theme-page-text-color);
    display: block;
}
    margin: 0 auto;
#mw-panel .vector-menu-content-list .mw-list-item :is(a, a:visited, a:active) {
color: var(--theme-link-color);
}
}


.mw-parser-output a.external {
/* Custom logo if you want to keep MB logo */
padding-right: 0;
#p-logo a.mb-logo {
font-size: inherit;
    background: url('/wiki/Logo.png') no-repeat center center;
    background-size: contain;
    width: 300px;
    height: 80px;
}
}


.catlinks {
#p-search {
border-color: var(--theme-border-color);
    margin: 20px auto;
border-radius: 6px;
    max-width: 500px;
background-color: var(--gray-050);
}
}


.CodeMirror-lines span {
#simpleSearch {
font: 14px Consolas,Eupheima UCAS,Monaco,Menlo,monospace /* Source Editor */
    border: 2px solid var(--stardew-blue);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(44, 90, 160, 0.1);
}
}


.wikiEditor-ui .ace_editor * {
#searchInput {
font-size: 13px;
    border: none;
font-family: monospace, monospace; /* Module */
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px 0 0 25px;
}
}


.mw-input .mw-abusefilter-editor * {
#searchButton {
font-size: 13px;
    background: var(--stardew-blue);
font-family: monospace, monospace;
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}
}


/* Hide default TOOLBOX nav section on sidebar */
/* ===== SIDEBAR REDESIGN ===== */
#mw-navigation > #mw-panel > #p-tb {
#mw-panel {
display: none;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 20px 0;
    width: 230px;
}
}


/* Column template fix */
.portal {
.columntemplate ul,
    margin: 0 0 25px 0;
.columntemplate ol {
    padding: 0 15px;
margin-top: 0;
}
}


/* RC */
.portal h3 {
.mw-changeslist table {
    font-size: 16px;
width: unset;
    color: var(--stardew-blue);
    border-bottom: 2px solid var(--stardew-blue);
    padding-bottom: 8px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
}


.gift-table .icon-list-container {
.portal .body {
width: auto;
    margin: 0;
    padding: 0;
}
}


/* Quote template */
.portal .body ul {
.quotetable {
    list-style: none;
width: auto;
    margin: 0;
    padding: 0;
}
}


.Bug6200 {
.portal .body li {
margin-bottom: 0.75em;
    margin: 5px 0;
    padding: 0;
}
}


/* Code block */
.portal .body li a {
code, pre {
    color: #495057;
background-color: var(--theme-page-background-color--secondary);
    text-decoration: none;
color: var(--theme-page-text-color);
    padding: 8px 12px;
border: 1px solid var(--theme-border-color);
    display: block;
border-radius: 2px;
    border-radius: 4px;
padding: 1px 4px;
    transition: all 0.2s;
font-family: Consolas,Eupheima UCAS,Monaco,Menlo,monospace;
    font-size: 14px;
}
 
code.code-block-table {
display: table;
line-height: 21px;
padding:8px;
}
 
.code-block-table * {
font: 14px Consolas,Eupheima UCAS,Monaco,Menlo,monospace;
}
 
.code-block {
display: inline-block;
line-height: 21px;
}
 
/* || MAIN PAGE */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
body.page-Main_Page.action-view .main-page-top {
background-image: url(https://coralwiki.stairwaygames.com/w/images/c/c2/441Cover_image_only.png);
background-repeat: no-repeat;
background-size: cover;
width: 100%;
display: flex;
flex-direction: column;
gap: 4px;
color: rgb(67, 64, 61); /*fixed color due to bg image*/
text-align: center;
align-items: center;
}
 
 
/* ||TABLE OF CONTENTS */
.toc {
padding: 8px 12px;
border-radius: 4px;
background-color: var(--theme-page-background-color--secondary);
border: 1px solid var(--theme-border-color);
margin-top: 16px;
}
.toctogglelabel {
color: var(--theme-link-color);
}
.tocnumber {
color: var(--theme-page-text-color);
}
 
.vector-body .toc h2 {
font-family: Fredoka, sans-serif;
}
 
/* TOC hide headings */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
 
/* For Template:Changelist */
.changelist-header {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 88%;
margin: 0.3em 0;
}
 
.changelist-content {
overflow: auto;
max-height: 384px;
padding: 1em;
box-sizing: border-box;
-moz-box-sizing: border-box;
-moz-border-radius-topleft: 0.5em;
background: transparent;
border-radius: 6px;
}
 
.changelist-border {
border: 1px solid var(--theme-border-color);
border-left: 6px solid var(--accent);
}
 
 
/* For Template:Chat */
.chat-wrapper {
display: flex;
flex-direction: column;
}
 
.chat-player,
.chat-npc {
display: flex;
flex-direction: row;
gap: 0.5em;
}
 
.chat-player-speaker {
white-space: nowrap;
min-width: 70px;
color: rgb(105, 172, 82);
}
 
.chat-npc-speaker {
white-space: nowrap;
min-width: 70px;
color: rgb(237, 123, 103);
}
 
/* Hatnote */
.hatnote {
display: flex;
align-items: center;
padding: 10px 15px;
margin-top: 0.6rem;
margin-bottom: 0.8rem;
background-color: var( --color-surface-2 );
border: 1px solid var( --border-color-base--darker );
border-radius: var( --border-radius-base );
color: var( --color-base--emphasized );
font-size: 0.875rem;
line-height: 1.4;
}
 
.hatnote-icon img {
width: 14px;
height: auto;
margin-right: 10px;
opacity: var( --opacity-icon-base );
}
 
.hatnote.hatnote-high {
background-color: var( --background-color-destructive-subtle );
border-color: var( --color-destructive );
}
 
.hatnote.hatnote-medium {
background-color: var( --background-color-warning-subtle );
border-color: var( --color-warning );
}
 
.hatnote.hatnote-low {
background-color: var( --color-surface-2 );
}
 
 
/* Dark mode */
html.skin-citizen-dark .hatnote-icon img {
filter: invert( 1 );
}
 
 
/* For [[Module:Formatting]] */
code.code-block {
display: inline-block;
line-height: 21px;
}
code.code-block-table {
display: table;
line-height: 21px;
}
span.variable {
opacity: 0.65;
}
span.variable::after {
opacity: 0.65;
content: ">";
}
span.variable::before {
opacity: 0.65;
content: "<";
}
 
/* Quote */
 
.pull-quote {
font-style: italic;
margin: 0;
padding: 0 30px 8px !important
}
 
.pull-quote::before {
color: var(--accent);
content: "“";
display: block;
font-size: 96px;
font-style: normal;
line-height: 72px;
margin: 4px 0 -45px -5px;;
}
 
.pull-quote__source::before {
content: "— ";
margin-bottom:8px;
}
 
.pull-quote__text {
margin-bottom:4px;
}
 
/* Gallery */
.gallerytext {
text-align: center;
font-size:100%;
}
}


/* Fix to Template Data */
.portal .body li a:hover {
.mw-templatedata-doc-params > * > tr > th {
    background: var(--stardew-blue);
width: 150px;
    color: white;
    transform: translateX(5px);
}
}


.mw-templatedata-doc-params {
/* ===== CONTENT AREA ===== */
width: auto;
#content {
max-width: 100%;
    background: #ffffff;
    border: none;
    margin: 20px 20px 20px 250px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}
}


/* Space sidebar arrows properly */
#firstHeading {
#mw-panel.collapsible-nav .portal:is(.collapsed, .expanded) .vector-menu-heading {
    color: var(--stardew-blue);
background-position: 95% center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--stardew-border);
}
}


/* Theme toggle */
/* ===== NAVIGATION BOXES (Stardew Style) ===== */
.wds-icon {
.mb-navigation-box {
align-self: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
margin: 0 6px;
     border: 1px solid #dee2e6;
pointer-events: none;
     border-radius: 8px;
fill: currentColor;
}
.wds-icon-small {
height: 18px;
min-width: 18px;
width: 18px;
}
#p-personal .vector-menu-content-list,
#p-personal .mw-list-item > a {
display: flex;
align-items: center;
}
.cols {
background-color: var(--theme-page-background-color--secondary);
}
#pagehistory li.selected {
  background-color: var(--theme-page-background-color--secondary);
  color: var(--theme-page-text-color);
  outline: 1px dashed var(--theme-border-color);
}
 
/* hebrew */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWs89XyHw.woff2) format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWg89XyHw.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWu89U.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* hebrew */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWs89XyHw.woff2) format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWg89XyHw.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fredoka/v14/X7n64b87HvSqjb_WIi2yDCRwoQ_k7367_DWu89U.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik_300";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFHU6f4L1kA.woff2)
    format("ttf");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}
 
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../Fredoka-Regular.ttf')
    format("ttf");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
     U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFHUzf4L1kA.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFHU1f4L1kA.woff2)
    format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFHU5f4L1kA.woff2)
    format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWbBXyIfDnIV7nEt3KSJbVDV49rz8uDFHU3f4I.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-FWkU1Z4Y.woff2)
    format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F,
    U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-FU0U1Z4Y.woff2)
    format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* hebrew */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-FVUU1Z4Y.woff2)
    format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-FWUU1Z4Y.woff2)
    format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/rubik/v21/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-2Y-FV0U1.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}
// FIXME: Is specific `.mw-body` even needed? Does `.mw-indicators` exist outside?
*,
body {
  font-family: Fredoka, sans-serif ;
}
.mw-headline{
  font-family: Fredoka,Rubik,Helvetica,Arial,sans-serif;
}
 
.hidden {
  display: none;
}
body {
  //  background-color: @background-color-secondary;
  background: url("https://mbwiki.stairwaygames.work/w/images/3/3d/384Web_background.png")
    no-repeat fixed center center / cover !important;
  background-color: rgba(0, 0, 0, 0.1) !important;
  overflow-y: scroll;
}
.mw-body, .parsoid-body{
  background-color: rgba(255, 255, 255, 0.98) !important;
}
// ul{
//  list-style: none;
// }
 
.wikitable,  .scheduletable {
  table-layout: auto;
  width: 100%;
 
}
 
.scheduletable {
  table-layout: auto;
  width: 30%;
 
}
 
.fishtable {
table-layout: auto;
width: 100%;
 
}
.artisan-table{
  table-layout: auto;
  width: 60%;
  border-spacing: 0;
  max-width: 100%;
  margin: 15px 0
  // border: 1px solid gray;
}
 
.artisan-table > tr > th, .artisan-table > * > tr > th{
  background-color: #e7c361 !important;
  max-width: fit-content;
}
.artisan-table > tr > th, .artisan-table > tr > td, .artisan-table > * > tr > th, .artisan-table > * > tr > td{
  border: 1px solid #a2a9b1;
     padding: 0.2em 0.4em;
}
.quotetable{
  border-spacing: 0;
  width: 100%;
  max-width: 100%;
}
.quotetable > caption {
  text-align: left;
}
.heart{
  margin-left: -7px;
  margin-bottom: 5px;
}
.quotetable > tbody > tr > td {
  padding: 0;
}
blockquote {
  margin: 0 10px;
}
.detail-list ul {
  list-style: none;
}
caption .mw-collapsible-toggle, .mw-content-ltr caption .mw-collapsible-toggle, .mw-content-rtl caption .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr caption .mw-collapsible-toggle, .mw-content-ltr .mw-content-rtl caption .mw-collapsible-toggle {
  float: right;
}
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
.ci-letter-wrapper{
  border-radius: 20px;
     padding: 20px;
     padding: 20px;
     max-width: 35em;
     margin: 25px 0;
     font-weight: 700;
     box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background: #faf3ea;
}
.ci-letter-header{
  padding-bottom: 28px;
}
.ci-letter-content{
  font-weight: 400;
}
.ci-letter-footer{
  display: flex;
    padding-top: 28px;
    justify-content: space-between;
    font-weight: 700;
    align-items: center;
}
.ci-letter-attachment{
  max-width: 70%;
}
 
.card-list-container{
  display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.custom-card{
  display: inline-block;
    position: relative;
    width: fit-content;
    align-self: baseline;
}
.custom-card-body{
  display: inline-block;
    position: relative;
    width: fit-content;
    align-self: baseline;
    background: #f6e6cf;
    border-radius: 12px;
    text-align: center;
    overflow: hidden;
}
.custom-card-image{
  width: 60px;
    height: 60px;
    padding: 4px;
}
.custom-card-amount{
  background: #e9cda2;
    text-align: center;
    border-radius: 0 0 5px 5px;
    padding: 4px 0;
    white-space: nowrap;
    line-height: 1;
    font-size: 12px;
    hyphens: auto;
    overflow-wrap: break-word;
}
.custom-card-caption{
  width: 56px;
    text-align: center;
    line-height: 1;
    font-size: 12px;
    hyphens: auto;
    overflow-wrap: break-word
}
}
.wikitable{
  background-color: transparent !important;
  // min-width: -webkit-fill-available !important;
  // table-layout: fixed;


.mb-navigation-box-header {
    background: var(--stardew-blue);
    color: white;
    padding: 12px 20px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
    font-size: 18px;
    font-weight: 600;
}
}


.cost-template {
.mb-navigation-grid {
  display: flex;
    display: grid;
  justify-content: flex-start;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  align-items: center;
     gap: 15px;
  flex-direction: row;
  gap: 0.2rem
}
.cost-detail {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1rem
}
.client-js .sortable:not(.jquery-tablesorter) > * > tr:first-child > th:not(.unsortable), .jquery-tablesorter th.headerSort{
  font-size: 10px;
     white-space: normal;
}
}
.wikitable > tr > th, .wikitable > * > tr > th{
  background-color: #e7c361 !important;
  max-width: fit-content;


 
.mb-nav-item {
}
     background: white;
.heart-event-table {
     border: 1px solid #e0e0e0;
  width: 30%;
     border-radius: 6px;
}
     padding: 15px;
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
  // -ms-word-break: break-all;
  // word-break: break-all;
  // -webkit-hyphens: auto;
  // -moz-hyphens: auto;
  // hyphens: auto;
     width: 150px;
    white-space: break-space;
     margin-left: auto;
     margin-right: auto;
}
 
.artisan-table > tr > th, .artisan-table > tr > td, .artisan-table > * > tr > th, .artisan-table > * > tr > td:first-child {
  // -ms-word-break: break-all;
  // word-break: break-all;
  // -webkit-hyphens: auto;
  // -moz-hyphens: auto;
  // hyphens: auto;
  width: 150px;
     white-space: break-space;
    margin-left: auto;
    margin-right: auto;
     text-align: center;
     text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    display: block;
}
}


.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td:first-child {
.mb-nav-item:hover {
  // -ms-word-break: break-all;
    transform: translateY(-3px);
  // word-break: break-all;
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.1);
     border-color: var(--stardew-blue);
  // -webkit-hyphens: auto;
  // -moz-hyphens: auto;
  // hyphens: auto;
  width: min-content;
     white-space: break-space;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
}
.scheduletable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
  // -ms-word-break: break-all;
  // word-break: break-all;


 
.mb-nav-icon {
  // -webkit-hyphens: auto;
    font-size: 24px;
  // -moz-hyphens: auto;
    margin-bottom: 8px;
  // hyphens: auto;
    color: var(--stardew-blue);
}
}


.quotetable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
.mb-nav-title {
//  -ms-word-break: break-all;
    font-weight: 600;
//  word-break: break-all;
    margin-bottom: 5px;
 
    color: var(--stardew-blue);
//  -webkit-hyphens: auto;
//  -moz-hyphens: auto;
//  hyphens: auto;
}
}


 
.mb-nav-desc {
.vector-menu-content {
    font-size: 13px;
  margin-left: 10px;
    color: #666;
}
}
.vector-body p{
  // -ms-word-break: break-all;
  // word-break: break-all;


  /* Non standard for WebKit */
/* ===== INFOBOX STYLING ===== */
 
 
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
.mw-body,
.parsoid-body {
  // General background/foreground color definition as one exception to the rule.
  background-color: rgba(255, 255, 255, 0.9);
  color: @color-base;
  direction: ltr;
  padding: 1em;
}
.infobox {
.infobox {
  background: #e7c361 ;
    border: 2px solid var(--stardew-border);
  border: 1px solid #e7c361 ;
    border-radius: 8px;
  float: right;
    background: #f9f9f9;
  margin: 0 0 1em 1em;
    margin: 20px;
  padding: 1em;
    float: right;
  // min-width: 25%;
    width: 300px;
}
}
.infobox-title {
.infobox-title {
  font-size: 2em;
    background: linear-gradient(to right, var(--stardew-blue), var(--stardew-light-blue));
  text-align: center;
    color: white;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px 6px 0 0;
}
}


.infobox p {
  text-decoration: underline;
  font-size: 1.3em;
}
.infobox-image {
.infobox-image {
  text-align: center;
     padding: 15px;
}
.infobox-table {
width: 100%;
}
.infobox-table th {
  text-align: left;
  vertical-align: top;
  width: 120px;
}
.infobox-table td {
  vertical-align: top;
  text-align: right;
  // color: white;
}
.wikitable > caption{
  text-align: left;
}
.Bug6200 {
  font-style: italic;
  font-weight: normal;
  display: flex;
  flex-direction: row;
align-items: center;
white-space: normal;
}
.Bug6200 > img {
  width: 24px;
  height: 24px;
}
 
.scheduletable{
  text-align: center;
  margin: 10px 0;
  border-collapse: collapse;
}
 
.scheduletable > tbody > tr > td{
  border: 1px solid #a2a9b1;
  // text-align: left;
  // padding: 0.2em 0.4em;
}
 
// .scheduletable > tbody > tr > td:first-child{
//  width: 70px;
// }
.navbox-list{
  padding: 0 0 0 2px;
    font-size: 10pt;
}
.navbox{
  width: 100%;
    margin-top: 12px;
     border-spacing: 0;
}
.croptable > tbody > tr > td:first-child{
  width: 100px !important;
}
.navbox-title th {
  padding: 6px;
  border-radius: 4px;
  background:  #e7c361;
}
.navbox-group a{
  color:  black;
 
}
.alt .navbox-list {
  background-color: rgba(231, 195, 97, 0.35);
}
.navbox-subgroup {
  margin: 0;
  border-spacing: 0;
}
.navbox-subgroup .navbox-group{
  color:  black;
    background: rgba(231, 195, 97, 0.10);
    white-space: nowrap;
    text-align: left;
}
th.navbox-group{
  background-color: #e7c361;
  color:  black;
 
    font-size: 10pt;
    padding: 0.25em 1em;
}
.scheduletable > tbody > tr > td:first-child{
  width: 150px !important;
}
// td {
//  width: 100px;
// }
.scheduletable caption{
  background: #e7c361 ;
  border: 1px solid #e7c361;
  text-align: center;
}
.wikitable > caption > span{
  float: right !important;
}
 
.collapsible-header:before{
  float: right;
}
.ci-recipe-wrapper{
  display: flex;
    width: fit-content;
    position: relative;
    gap: 7px
}
.ci-recipe-timed{
  padding-bottom: 25px;
}
.ci-recipe-timed{
  border: 1px solid #e7c361;
  border-radius: 5px;
  position: relative;
  text-align: center;
  font-weight: 500;
  width: 100%;
  padding: 8px;
  max-width: 100px;
  overflow-wrap: break-word;
  hyphens: auto;
}
.ci-recipe-yield{
  border: 1px solid #e7c361;
    border-radius: 3px;
    padding: 8px;
    position: relative;
    width: 100%;
     text-align: center;
     text-align: center;
 
    border-bottom: 1px solid var(--stardew-border);
}
.ci-recipe-yield-amount {
  background: #e7c361;
  width: fit-content;
  border-radius: 3px;
  padding: 0 5px;
  position: absolute;
  bottom: 0;
  right: 0;
}
span.custom-icon {
  display: inline;
}
.ci-recipe-ingredient{
  border: 1px solid #e7c361;
    border-radius: 3px;
    padding: 5px;
    min-height: 100%;
}
.ci-recipe-medium::after{
  border: 1px solid #e7c361;
  background-color: #e7c361;
  border-radius: 3px;
  width: 5px;
  height: 5px;
  content: "";
  position: absolute;
  top: 50%;
  left: -7px;
}
}


.gifted-item{
.infobox-data {
     background-color: rgba(231, 195, 97, 0.2);
     padding: 15px;
}
.gifted-item > tbody > tr > th{
  background-color: rgba(231, 195, 97, 0.8);
  max-width: 100px;
}
.portable-infobox{
  margin: 0 0 15px 15px;
  max-width: 250px;
  width: 100%;
  border: 1px solid #e7c361;
  border-radius: 10px;
}
.portable-infobox .pi-header{
  padding: 0 5px;
  background: rgba(231, 195, 97, 0.2);
}
}
.portable-infobox .pi-title{
  background: #e7c361;
  padding: 5px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.portable-infobox .pi-data-label, .portable-infobox .pi-data-value {
  padding: 5px;
}
// .bg-trans {
//  background-color: transparent !important;
// }
// .portable-infobox {
//  clear: both !important;
//  float: none !important;
//  border: 5px solid #e7c361;
//  background-color: #e7c361;
//  color: white;
// }
// .portable-infobox .pi-header{
//  font-size: 0.75rem ;
// }


// .portable-infobox .pi-data-label{
.infobox-row {
//  background-color: #e7c361 ;
    display: flex;
//  min-width: 50%;
    border-bottom: 1px dashed #ddd;
// }
    padding: 8px 0;
// .pi-smart-group .pi-smart-data-label{
//  font-size: 0.5rem;
// }
// .portable-infobox .pi-title {
//  text-align: center;
//  font-weight: bold;
// }
 
.pi-image-thumbnail {
  max-width: 100%!important;
}
}


.content-table {
.infobox-row:last-child {
  background: transparent;
    border-bottom: none;
  padding: 10px 2%;
  width: 100%;
}
}


.content-table-basic {
.infobox-label {
  background: transparent;
    font-weight: bold;
  width: 100%;
    color: var(--stardew-blue);
    min-width: 120px;
}
}


.content-table-second {
/* ===== MAIN PAGE SPECIFIC ===== */
  background: transparent;
.mainpage-welcome {
  width: 100%;
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    border-left: 5px solid var(--stardew-blue);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}
}


.child-content-table {
.mainpage-section {
  display: flex;
    margin: 40px 0;
  justify-content: flex-start;
  gap: 10px;
  margin-left: 4px;
}
}
#p-personal {
  position: absolute;
  top: @top-personal-tools;
  right: 0.75em;
  z-index: @z-index-personal;


  ul {
.mainpage-section-title {
     padding-left: 10em; /* Keep from overlapping logo */
    color: var(--stardew-blue);
  }
    border-bottom: 2px solid var(--stardew-border);
     padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 24px;
}
}


.mw-body,
/* Featured Content */
#mw-data-after-content {
.featured-grid {
  margin-left: 10em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
}


.mw-body {
.featured-card {
  // Merge the border below with tabs' one (in their background image).
    background: white;
  margin-top: -@border-width-base;
    border: 1px solid var(--stardew-border);
  // Border on top, left, and bottom side.
    border-radius: 8px;
  //  border: @border-width-base @border-style-base @border-color-content;
    overflow: hidden;
  border: 10px solid azure;
     transition: transform 0.3s;
  border-radius: 5px;
  //  border-right-width: 0;
 
  .firstHeading {
     /* Change the default from mediawiki.skinning CSS to let indicators float into heading area */
    overflow: visible;
  }
}
}


.mw-indicators {
.featured-card:hover {
  z-index: @z-index-indicators;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
}


.vector-body {
.featured-image {
  position: relative;
    height: 180px;
  z-index: @z-index-base;
    overflow: hidden;
}
}


/* Head */
.featured-image img {
#mw-page-base {
    width: 100%;
  //  .vertical-gradient( @background-color-base, @background-color-secondary, 50%, 100% );
    height: 100%;
  background: transparent;
    object-fit: cover;
  background-position: bottom left;
    transition: transform 0.5s;
  height: 5em;
}
}


#mw-head-base {
.featured-card:hover .featured-image img {
  margin-top: -5em;
    transform: scale(1.05);
  margin-left: 10em;
  height: 5em;
  background: transparent;
}
}


/* Hide, but keep accessible for screen-readers */
.featured-content {
#mw-navigation h2 {
    padding: 20px;
  position: absolute;
  top: -9999px;
}
}


#mw-head {
.featured-title {
  position: absolute;
    color: var(--stardew-blue);
  top: 0;
    font-size: 18px;
  right: 0;
    margin: 0 0 10px 0;
  width: 100%;
}
}


/* Navigation Containers */
.featured-desc {
#left-navigation {
    color: #666;
  float: left;
    font-size: 14px;
  margin-left: 10em;
    line-height: 1.5;
  margin-top: 2.5em;
  /* When right nav would overlap left nav, it's placed below it
(normal CSS floats behavior). This rule ensures that no empty space
is shown between them due to right nav's margin-top. Page layout
is still broken, but at least the nav overlaps only the page title
instead of half the content. */
  margin-bottom: -2.5em;
}
}


#right-navigation {
/* ===== TABLES ===== */
  float: right;
.wikitable {
  margin-top: 2.5em;
    border: 1px solid var(--stardew-border);
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}
}


/* Search */
.wikitable th {
.vector-search-box {
    background: linear-gradient(to bottom, #f0f7ff, #e3f2fd);
  float: left;
    color: var(--stardew-blue);
  margin-right: 0.5em;
    border: 1px solid var(--stardew-border);
  margin-left: 0.5em;
    padding: 12px 15px;
 
    text-align: left;
  // FIXME: This selector requires knowledge of the internals of the search component
     font-weight: 600;
  // and should not be used here.
  form {
     margin: 0.5em 0 0;
  }
}
}


// Defined as `div`.
.wikitable td {
// Provide extra element for gadgets due to `form` already carrying an `id`.
    border: 1px solid var(--stardew-border);
// FIXME: This selector requires knowledge of the internals of the search component
    padding: 10px 15px;
.vector-search-box-inner {
    background: white;
  min-width: 5em;
  // Support: IE 8, Firefox 18-, Chrome 19-, Safari 5.1-, Opera 19-, Android 4.4.4-.
  width: 13.2em;
  // Support: Modern browsers, responsive width.
  width: 20vw;
  max-width: 20em;
}
}


/* Sidebar */
.wikitable tr:nth-child(even) td {
#mw-panel {
    background: #f9f9f9;
  position: absolute;
  top: 0;
  width: 10em;
  left: 0;
}
}


// hide the heading of the first menu
.wikitable tr:hover td {
#p-logo + .mw-portlet .vector-menu-heading {
    background: #f0f7ff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: white;
  color: black;
  font-weight: bold;
  padding: 0 5px;
  height: 20px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
}


// ul {
/* ===== BUTTONS ===== */
//  list-style-type: none !important
.mb-button {
// }
    display: inline-block;
 
    background: linear-gradient(to bottom, var(--stardew-blue), #1e4a8a);
.vector-body blockquote{
    color: white;
  border: 0;
    padding: 10px 20px;
  padding: 0;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}
}


.vector-menu-portal .vector-menu-content li {
.mb-button:hover {
  padding: 5px;
    background: linear-gradient(to bottom, #1e4a8a, #163b6d);
}
    transform: translateY(-2px);
.vector-menu-portal .vector-menu-content ul {
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
  background: rgba(255, 255, 255, 0.8);
}
.vector-menu-portal .vector-menu-heading {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: white;
  color: black;
  font-weight: bold;
  padding: 0 5px;
  height: 20px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
}
}


.mw-footer {
.mb-button-secondary {
  margin-left: 10em;
    background: linear-gradient(to bottom, #6c757d, #545b62);
  margin-top: 1%;
  margin-bottom: 1%;
  padding: 0.75em;
  background: white;
  min-height: 120px;
  border-radius: 5px;
}
.social {
  display: flex;
  justify-content: center;
  flex-direction: row;
  width: auto;
  background: #474747;
  padding: 1rem 3rem;
  & .iconname {
    max-width: 20%;
    & .external-text {
      font-size: 12px;
    }
    & .floatleft {
      display: flex;
      justify-content: space-between;
      align-items: center;
      & a {
        font-size: 12px;
      }
      img {
        max-width: 20px;
        max-height: 20px;
      }
    }
  }
}
div.floatleft,
table.floatleft {
  margin: 0;
}
big{
  color: white;
}
}


.jumbotron {
.mb-button-success {
  //background-image: url("https://mbwiki.stairwaygames.work/w/images/1/13/manabreak-hero.png");
    background: linear-gradient(to bottom, var(--stardew-green), #3d8b40);
 
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
}
body.page-Main_Page.action-view .main-page-top{
background-color: #474747;
  padding: 1rem 0;
  background-image: url("https://mbwiki.stairwaygames.work/w/images/1/13/manabreak-hero.png") !important;
  height: 300px !important;
}
/* Vector screen styles for high definition displays. These rules cross the above components and are
grouped together here only for the sake of the media query common to each. */
.mw-body,
#mw-head-base,
#left-navigation,
#mw-data-after-content,
.mw-footer {
  margin-left: 11em;
}
}


.mw-body {
/* ===== FOOTER ===== */
  padding: 1.25em 1.5em 1.5em 1.5em;
#footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 5px solid var(--stardew-blue);
}
}


.mw-footer {
.footer-content {
  padding: 1.25em;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
}


#mw-panel {
.footer-section h3 {
  padding-left: 0.5em;
    color: var(--stardew-light-blue);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
}


.vector-search-box {
.footer-links {
  margin-right: 1em;
    list-style: none;
    padding: 0;
}
}


#p-personal {
.footer-links li {
  right: 1em;
    margin: 8px 0;
}
}


// Directionality styles previously provided by the deprecated `legacy` feature (T287410)
.footer-links a {
// for HTML elements which do not carry dir HTML attributes.
    color: #bdc3c7;
// These have been copied across to legacy Vector to minimize disruption caused by T287701.
    text-decoration: none;
// If you are reading this comment in 2022, please consider checking usage in wikitext and
    transition: color 0.3s;
// removing them both.
.mw-content-ltr {
  /* @noflip */
  direction: ltr;
}
}


.mw-content-rtl {
.footer-links a:hover {
  /* @noflip */
    color: white;
  direction: rtl;
}
}


.cols {
/* ===== MOBILE RESPONSIVENESS ===== */
  text-align: left;
@media (max-width: 768px) {
  word-break: break-all;
    #mw-panel {
  // padding: 1em 0;
        display: none;
  background-color: rgba(255, 255, 255, 0.8);
    }
  border-radius: 5px;
   
  font-weight: 600;
    #content {
  // text-transform: uppercase;
        margin: 10px;
  // letter-spacing: 1px;
        padding: 15px;
    }
   
    #p-logo a {
        width: 200px;
        height: 60px;
    }
   
    .mb-navigation-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
   
    .featured-grid {
        grid-template-columns: 1fr;
    }
   
    .infobox {
        float: none;
        width: 100%;
        margin: 20px 0;
    }
}
}


.forest {
/* ===== TOOLTIPS ===== */
  margin-top: -25px;
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--stardew-blue);
    cursor: help;
}
}


.forest2 {
.tooltip .tooltiptext {
  margin-top: 0;
    visibility: hidden;
}
    width: 200px;
 
    background-color: var(--stardew-blue);
/* grid styling */
    color: white;
 
    text-align: center;
.grid {
    border-radius: 6px;
  display: grid !important;
    padding: 10px;
  grid-template-columns: repeat(12, 1fr);
    position: absolute;
  // background: white;
    z-index: 1000;
  margin: 10px 0;
    bottom: 125%;
}
    left: 50%;
.specification-table {
    transform: translateX(-50%);
  font-size: 10px;
    opacity: 0;
  padding: 0 5%;
    transition: opacity 0.3s;
}
    font-size: 14px;
 
.content {
  padding: 10px;
  font-size: 12px;
}
 
.grid--gap10 {
  grid-gap: 5px;
}
 
.grid__col1 {
  grid-column: span 1;
}
.grid__col2 {
  grid-column: span 2;
}
.grid__col3 {
  grid-column: span 3;
}
.grid__col4 {
  grid-column: span 4;
}
.grid__col5 {
  grid-column: span 5;
}
.grid__col6 {
  grid-column: span 6;
}
.grid__col7 {
  grid-column: span 7;
}
.grid__col8 {
  grid-column: span 8;
}
.grid__col9 {
  grid-column: span 9;
}
.grid__col10 {
  grid-column: span 10;
}
.grid__col11 {
  grid-column: span 11;
}
.grid__col12 {
  grid-column: span 12;
}
.mw-parser-output a.external {
  background-image: none !important;
  font-size: 14px;
  font-weight: 400;
}
 
.wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}
.auto-grid {
  --auto-grid-min-size: 13rem;
}
 
.auto-grid > * {
  max-width: 160px;
  font-size: 16px;
}
}


.auto-grid > * + * {
.tooltip:hover .tooltiptext {
  font-size: 16px;
    visibility: visible;
    opacity: 1;
}
}


.heading-char {
/* ===== CODE BLOCKS ===== */
  font-style: italic;
pre, code {
  text-decoration: underline;
    background: #f4f4f4;
  font-weight: bold;
    border: 1px solid #ddd;
  padding: 0.5em;
    border-radius: 4px;
  font-size: 18px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  text-align: left;
}
}


@supports (display: grid) {
pre {
  .mw-content-ltr ul,
     padding: 15px;
  .mw-content-rtl .mw-content-ltr ul {
     overflow-x: auto;
    // margin: 0 !important;
  }
  .social .iconname .floatleft {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .social {
    gap: 30px;
  }
 
  .croptable > tbody > tr >td > a > img{
    max-width: 40px;
    max-height: 40px;
  }
 
  .exceptable > tbody > tr >td > a > img{
    max-width: 70px;
    max-height: 70px;
  }
  .floatleft > a > img {
    // width: 24px;
    // height: 24px;
  }
  .iconname {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    -ms-word-break: break-all;
    word-break: break-all;
 
    /* Non standard for WebKit */
    word-break: break-word;
 
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
 
  .auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 5px;
  }
 
  .auto-grid > * {
    max-width: unset;
    list-style: none;
  }
 
  .auto-grid > * + * {
    margin-top: unset;
  }
  .auto-grid > li > ul {
    margin-left: 10px !important;
  }
  .auto-grid > li > ul > li {
    list-style: none;
    margin: 0;
     padding-left: 15px;
     list-style: none;
    background-image: url("https://www.svgrepo.com/show/165220/diamond.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 10px;
    -ms-word-break: break-all;
    word-break: break-all;
 
    /* Non standard for WebKit */
    word-break: break-word;
 
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}
.minus-ten {
margin-top:0;
}
.minus-fifty {
margin-top:-55%;
}
}
#footer-info li{
  color:white !important
}
@media (max-width: 1024px) {
  .minus-fifty {
margin-top:-5%;
}
.minus-ten {
margin-top:-10%;
}
  .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
  font-size: 0.7em;
  }
  .scheduletable > tbody > tr > td:first-child{
    width: 40px;
  }
  .wikitable, .quotetable, .scheduletable {
    table-layout: fixed;
    width: 100%;
 
  }
  .croptable > tbody > tr >td > a > img{
    max-width: 24px;
    max-height: 24px;
  }
  .infobox{
    float: none;
    margin: 0
  }
  .forest2 {
    margin-top: -5px;
  }
  .content {
    font-size: 10px;
  }
  .social {
    flex-direction: column;
    padding: 1rem;
    & .iconname {
      max-width: 100%;
    }
  }
  .mw-parser-output a.external {
    -ms-word-break: break-all;
    word-break: break-all;
    /* Non standard for WebKit */
    word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
  #mw-panel {
    width: -webkit-fill-available;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100px;
  }
  .vector-search-box {
    min-width: 90vw;
    margin-top: 0px;
  }
  .vector-search-box-input {
    width: 80vw;
  }
  #mw-content-text
    > div.mw-parser-output
    > div
    > div
    > div.content
    > table
    > tbody
    > tr
    > td
    > a {
    font-size: 8px;
  }
  #mw-content-text
    > div.mw-parser-output
    > div
    > div
    > div.content
    > table
    > tbody
    > tr
    > th
    > div
    > div
    > a
    > img {
    width: 16px;
    height: 16px;
  }
  #mw-content-text
    > div.mw-parser-output
    > div
    > div
    > div.content
    > table
    > tbody
    > tr
    > td
    > div
    > div
    > a
    > img {
    width: 16px;
    height: 16px;
  }
  #mw-content-text
    > div.mw-parser-output
    > table.jumbotron
    > tbody
    > tr
    > th
    > a
    > img {
    max-width: 100%;
    object-fit: contain;
  }
  footer,
  .vector-menu-content,
  #p-navigation,
  #p-tb {
    display: none;
  }
  #p-logo {
    display: block;
    justify-content: center;
  }
  #p-logo a {
    width: 5em;
  }
  table {
    width: 100%;
  }
  .mw-body,
  #mw-data-after-content {
    margin: 10% 10px;
  }
  .grid__col1 {
    grid-column: span 1;
  }
  .grid__col2 {
    grid-column: span 2;
  }
  .grid__col3 {
    grid-column: span 6;
  }
  .grid__colsm1 {
    grid-column: span 1;
  }
  .grid__colsm2 {
    grid-column: span 2;
  }
  .grid__colsm3 {
    grid-column: span 12;
  }
  .grid__colsm4 {
    grid-column: span 12;
  }
  .grid__colsm5 {
    grid-column: span 5;
  }
  .grid__colsm6 {
    grid-column: span 6;
  }
  .grid__colsm7 {
    grid-column: span 7;
  }
  .grid__colsm8 {
    grid-column: span 12;
  }
  .grid__colsm9 {
    grid-column: span 9;
  }
  .grid__colsm10 {
    grid-column: span 10;
  }
  .grid__colsm11 {
    grid-column: span 11;
  }
  .grid__colsm12 {
    grid-column: span 12;
  }
  .content-table-basic > tbody {
    display: grid;
  }
  .content-table-basic > tbody > tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(50px, 1fr));
    width: fit-content;
  }
  .content-table-basic > tbody > tr > th {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45vw;
  }
    .content-table-basic > tbody > tr > th > .iconname > .floatleft > a > img{
width:14px;
height: 14px;
  }


  .forest {
code {
     margin-top: 0;
     padding: 2px 6px;
  }
     color: #d63384;
 
  .content-table-second {
    background: transparent;
     width: 100%;
  }
  .auto-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .mw-body,
  #mw-data-after-content {
    padding: 0;
  }
}
@media screen and (max-width: 1920px) {
  .mw-parser-output a.external {
    font-size: 14px;
  }
}
}


@media screen and (min-width: 2000px) {
/* ===== ALERTS AND NOTICES ===== */
  .mw-parser-output a.external {
.notice {
     font-size: 20px;
     background: #e3f2fd;
     font-weight: 400;
     border-left: 4px solid var(--stardew-blue);
  }
     padding: 15px;
  .floatleft > a > img {
     margin: 20px 0;
     width: 48px;
    border-radius: 0 4px 4px 0;
     height: 48px;
  }
}
.header-column > span > a > img{
width: 14px;
    height: 14px;
}
}


.header-column >  a > img{
.notice-success {
width: 14px;
    background: #e8f5e9;
     height: 14px;
     border-left-color: var(--stardew-green);
}
}


.heading-char{
.notice-warning {
  color:#deb76c !important
    background: #fff3cd;
    border-left-color: #ffc107;
}
}


#footer {
.notice-error {
background: #fff;
    background: #f8d7da;
color: #000;
    border-left-color: #dc3545;
margin-top: 1em;
border-top: 1pt solid #aaa;
padding-top: 5px;
direction: ltr;
}
}

Revision as of 11:14, 9 December 2025

.class { }/* needed for some reason for the @imports to work */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600&display=swap');

/* Imports caching */
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Colors.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Module:Documentation.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Documentation.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Infobox.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Tables.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:MessageBox.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:CustomTabs.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Navbox.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Icons.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Dialogue.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Cards.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Tabbers.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Mobile.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Recipe.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:Modal.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:AceEditor.css&action=raw&ctype=text/css");
@import url("https://coralwiki.stairwaygames.com/w/index.php?title=MediaWiki:CodeMirror.css&action=raw&ctype=text/css");

/* ===== GLOBAL STYLES ===== */
:root {
    --stardew-blue: #2c5aa0;
    --stardew-light-blue: #5a86c6;
    --stardew-gray: #f5f5f5;
    --stardew-border: #e0e0e0;
    --stardew-text: #333333;
    --stardew-green: #4caf50;
    --stardew-orange: #ff9800;
}

body {
    background-color: #ffffff;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* ===== HEADER RESTYLING ===== */
#mw-page-base {
    background: linear-gradient(to bottom, #ffffff 0%, #f9f9f9 100%);
    height: auto;
    min-height: 60px;
}

#mw-head {
    background: #ffffff;
    border-bottom: 3px solid var(--stardew-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

#p-logo {
    text-align: center;
    margin: 10px 0;
}

#p-logo a {
    background: url('https://stardewvalleywiki.com/mediawiki/skins/stardew/images/logo.png') no-repeat center center;
    background-size: contain;
    width: 300px;
    height: 80px;
    display: block;
    margin: 0 auto;
}

/* Custom logo if you want to keep MB logo */
#p-logo a.mb-logo {
    background: url('/wiki/Logo.png') no-repeat center center;
    background-size: contain;
    width: 300px;
    height: 80px;
}

#p-search {
    margin: 20px auto;
    max-width: 500px;
}

#simpleSearch {
    border: 2px solid var(--stardew-blue);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(44, 90, 160, 0.1);
}

#searchInput {
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px 0 0 25px;
}

#searchButton {
    background: var(--stardew-blue);
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 0 25px 25px 0;
    cursor: pointer;
}

/* ===== SIDEBAR REDESIGN ===== */
#mw-panel {
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 20px 0;
    width: 230px;
}

.portal {
    margin: 0 0 25px 0;
    padding: 0 15px;
}

.portal h3 {
    font-size: 16px;
    color: var(--stardew-blue);
    border-bottom: 2px solid var(--stardew-blue);
    padding-bottom: 8px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portal .body {
    margin: 0;
    padding: 0;
}

.portal .body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.portal .body li {
    margin: 5px 0;
    padding: 0;
}

.portal .body li a {
    color: #495057;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 14px;
}

.portal .body li a:hover {
    background: var(--stardew-blue);
    color: white;
    transform: translateX(5px);
}

/* ===== CONTENT AREA ===== */
#content {
    background: #ffffff;
    border: none;
    margin: 20px 20px 20px 250px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

#firstHeading {
    color: var(--stardew-blue);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--stardew-border);
}

/* ===== NAVIGATION BOXES (Stardew Style) ===== */
.mb-navigation-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.mb-navigation-box-header {
    background: var(--stardew-blue);
    color: white;
    padding: 12px 20px;
    margin: -20px -20px 20px -20px;
    border-radius: 8px 8px 0 0;
    font-size: 18px;
    font-weight: 600;
}

.mb-navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.mb-nav-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    display: block;
}

.mb-nav-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.1);
    border-color: var(--stardew-blue);
}

.mb-nav-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--stardew-blue);
}

.mb-nav-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--stardew-blue);
}

.mb-nav-desc {
    font-size: 13px;
    color: #666;
}

/* ===== INFOBOX STYLING ===== */
.infobox {
    border: 2px solid var(--stardew-border);
    border-radius: 8px;
    background: #f9f9f9;
    margin: 20px;
    float: right;
    width: 300px;
}

.infobox-title {
    background: linear-gradient(to right, var(--stardew-blue), var(--stardew-light-blue));
    color: white;
    padding: 12px 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 6px 6px 0 0;
}

.infobox-image {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--stardew-border);
}

.infobox-data {
    padding: 15px;
}

.infobox-row {
    display: flex;
    border-bottom: 1px dashed #ddd;
    padding: 8px 0;
}

.infobox-row:last-child {
    border-bottom: none;
}

.infobox-label {
    font-weight: bold;
    color: var(--stardew-blue);
    min-width: 120px;
}

/* ===== MAIN PAGE SPECIFIC ===== */
.mainpage-welcome {
    background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
    border-left: 5px solid var(--stardew-blue);
    padding: 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.mainpage-section {
    margin: 40px 0;
}

.mainpage-section-title {
    color: var(--stardew-blue);
    border-bottom: 2px solid var(--stardew-border);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Featured Content */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.featured-card {
    background: white;
    border: 1px solid var(--stardew-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.featured-image {
    height: 180px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-content {
    padding: 20px;
}

.featured-title {
    color: var(--stardew-blue);
    font-size: 18px;
    margin: 0 0 10px 0;
}

.featured-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== TABLES ===== */
.wikitable {
    border: 1px solid var(--stardew-border);
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

.wikitable th {
    background: linear-gradient(to bottom, #f0f7ff, #e3f2fd);
    color: var(--stardew-blue);
    border: 1px solid var(--stardew-border);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.wikitable td {
    border: 1px solid var(--stardew-border);
    padding: 10px 15px;
    background: white;
}

.wikitable tr:nth-child(even) td {
    background: #f9f9f9;
}

.wikitable tr:hover td {
    background: #f0f7ff;
}

/* ===== BUTTONS ===== */
.mb-button {
    display: inline-block;
    background: linear-gradient(to bottom, var(--stardew-blue), #1e4a8a);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.mb-button:hover {
    background: linear-gradient(to bottom, #1e4a8a, #163b6d);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.mb-button-secondary {
    background: linear-gradient(to bottom, #6c757d, #545b62);
}

.mb-button-success {
    background: linear-gradient(to bottom, var(--stardew-green), #3d8b40);
}

/* ===== FOOTER ===== */
#footer {
    background: #2c3e50;
    color: white;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 5px solid var(--stardew-blue);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h3 {
    color: var(--stardew-light-blue);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin: 8px 0;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    #mw-panel {
        display: none;
    }
    
    #content {
        margin: 10px;
        padding: 15px;
    }
    
    #p-logo a {
        width: 200px;
        height: 60px;
    }
    
    .mb-navigation-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .infobox {
        float: none;
        width: 100%;
        margin: 20px 0;
    }
}

/* ===== TOOLTIPS ===== */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--stardew-blue);
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: var(--stardew-blue);
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* ===== CODE BLOCKS ===== */
pre, code {
    background: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
}

pre {
    padding: 15px;
    overflow-x: auto;
}

code {
    padding: 2px 6px;
    color: #d63384;
}

/* ===== ALERTS AND NOTICES ===== */
.notice {
    background: #e3f2fd;
    border-left: 4px solid var(--stardew-blue);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 4px 4px 0;
}

.notice-success {
    background: #e8f5e9;
    border-left-color: var(--stardew-green);
}

.notice-warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.notice-error {
    background: #f8d7da;
    border-left-color: #dc3545;
}