MediaWiki:Common.css: Difference between revisions

From Official Kynseed Wiki from PixelCount Studios
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");
.rootpage-Main_Page .firstHeading
{
display: none;
}


:root {
:root {
Line 13: Line 16:


@media only screen and (max-width: 1024px) {
@media only screen and (max-width: 1024px) {
   :root {
   :root{
    --side-panel-width: 250px;
  --side-panel-width: 250px;
    --side-panel-width-subtract: 278px;
  --side-panel-width-subtract: 278px;
   }
   }
}
}


/* Global styles */
a:link {
html, body {
   color: #1462b6;
   height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background: #4288ff url(/resources/assets/Wikibg_x3.png) repeat no-repeat fixed center bottom;
}
}
 
a:visited {
a:link, a:visited, a:active {
   color: #1462b6;
   color: #1462b6;
}
}
Line 35: Line 31:
   color: #1a6bc5;
   color: #1a6bc5;
}
}
 
a:active {
/* Layout */
  color: #1462b6;
.hidden { display: none; }
}
.no-padding { padding: 0; }
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");
.center { text-align: center; }
html,body{
.mobileOnly { display: none; }
    height:100%;
.desktopOnly { display: block; }
    width:100%;
 
    padding:0;
@media (min-width: 769px) {
    margin:0;
  .mobileOnly { display: none; }
    font-family:"Montserrat",sans-serif
}
body{
    background:#4288ff url(/resources/assets/Wikibg_x3.png) repeat no-repeat fixed center bottom
}
.box-right{
float: right;
clear: right;
}
.box-right.border-box{
    display: inline-block;
float: initial;
}
.border-box:has(img){
margin-top: 4px;
margin-left: auto;
margin-right: auto;
}
.no-padding{
    padding:0px
}
.hidden{
    display:none
}
.section-text ul{
    font-size:1.15em;
}
.section-text p, .mw-body-content p{
    font-size:1.15em;
    max-width:1000px;
    width: calc(100% - var(--side-panel-width-subtract));
}
.mw-body-content td p {
    font-size:1em;
    width: initial;
}
.section-text .styled-table,.section-text .styled-table ul{
    font-size:1em
}
.mw-collapsible-toggle{
float: right;
}
.section-text .mw-collapsible-text, .mw-collapsible-toggle{
color: var(--dark-text-color);
font-size: 0.75em;
}
}
@media (max-width: 768px) {
#mw-page-base{
  .desktopOnly { display: none; }
    background-color:transparent;
    background-image:none
}
}
 
.mw-body{
/* Box and table containers */
    background-color:rgba(255,255,255,0.5);
.box-right {
box-shadow: inset 100px 100px 200px 0 rgba(255, 255, 255, 0.5), 2px 2px 20px rgba(0,0,0,0.5);
  float: right;
border-radius: 8px;
  clear: right;
max-width: 1200px;
margin-left: 15%;
border-width: 0px;
backdrop-filter: blur(10px);
}
}
.box-right.border-box {
.border-box-inner table{
  display: inline-block;
margin-left: auto;
  float: initial;
margin-right: auto;
min-width: 50%;
text-align: center;
}
}
.border-box,
.border-box-inner.no-padding{
#main-page-logo-wrapper {
    padding:0px
  box-shadow: 1px 1px 2px rgba(0,0,0,0.75);
  border-radius: 5px;
}
}
.border-box-inner,
.section-text{
#main-page-logo-container {
    margin-bottom:25px
  box-shadow: inset 1px 0 1px rgba(255,255,255,0.5),
              inset 0 1px 1px rgba(255,255,255,0.5),
              inset -1px 0 1px rgba(255,255,255,0.2),
              inset 0 -1px 1px rgba(255,255,255,0.2);
  border-radius: 5px;
}
}
.border-box-inner {
ul.no-bullet{
  overflow: hidden;
    list-style-type:none;
  position: relative;
    list-style-image:none;
    padding:0px;
    margin:0px
}
}
.border-box-inner table {
 
  margin: 0 auto;
.info-box ul{
  min-width: 50%;
    list-style-type:none;
  text-align: center;
    list-style-image:none;
    padding:0px;
    margin:0px
}
}
.border-box-inner.no-padding { padding: 0; }


/* Headings */
 
h1 {
h1{
  color: var(--heading-color);
color: var(--heading-color);
  font-family: inherit !important;
font-family: inherit !important;  
  text-align: center;
text-align: center;
  padding-bottom: 10px;
border-width: 0;
   position: relative;
   position: relative;
   display: block;
   display: block;
  padding-bottom: 10px; /* Adjust as needed */
  border: 10px solid red;
  border-color: red;
    border-image-repeat:stretch stretch;
   border-image: url(/resources/assets/h1underline.png);
   border-image: url(/resources/assets/h1underline.png);
   border-image-slice: 100% 50% fill;
   border-image-slice: 100% 50% fill;
  border-image-repeat: stretch stretch;
border-width: 0 32px 16px 32px;
  border-width: 0 32px 16px 32px;
height: 26px;
  height: 26px;
  border-style: solid;
}
}
h1::after {
h1::after {
   content: '';
   content: '';
  height: 0; /* Adjust as needed */
   display: block;
   display: block;
   border-bottom: 2px solid var(--heading-underline-color);
   border-bottom: 2px solid var(--heading-underline-color);;
}
}


h2 {
h2{
  background-image: url(/resources/assets/h2underline.png);
    background-image:url(/resources/assets/h2underline.png);
  background-position: 0 24px;
background-repeat:no-repeat;
  background-repeat: no-repeat;
background-position: 0px 24px;
  text-indent: 12px;
text-indent: 12px;
  height: 32px;
height: 32px;
  margin-bottom: 16px !important;
border-width: 0;
  font-family: inherit !important;
font-family: inherit !important;
margin-bottom: 16px !important;
}
body:not(:has(.spoiler-hidden)) h3{
text-decoration-line: underline;
text-decoration-color: #bb2748;
text-decoration-thickness: 2px;
text-underline-offset: 2px;
}
h3{
height: 32px;
border-width: 0;
font-size: 1.25em !important;
font-weight: normal !important;
font-family: inherit !important;
}
}


h3 {
.spoiler-hidden{
  height: 32px;
    background-color:rgba(200,200,230,0.45) !important;
  font-size: 1.25em !important;
box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  font-weight: normal !important;
border-radius: 8px;
  font-family: inherit !important;
backdrop-filter: blur(10px);
max-width: inherit !important;
cursor: pointer;
}
}
body:not(:has(.spoiler-hidden)) h3 {
 
  text-decoration: underline;
.fullwidth-table{
  text-decoration-color: var(--heading-underline-color);
width: 100%;
  text-decoration-thickness: 2px;
table-layout: fixed;
  text-underline-offset: 2px;
}
.fullwidth-table tr{
background-color: transparent;
}
.fullwidth-table td{
width: 0;
text-align: left !important;
background-color: transparent;
}
}


/* Sections */
 
.section-text {
.mw-body-content:has(.info-box, #toc) h2, .mw-body-content:has(.infobox, #toc) h2{
  margin-bottom: 25px;
    width: calc(100% - var(--side-panel-width-subtract));
}
.mw-body-content h2{
width: 100%;
}
.mw-body-content h2 .mw-editsection{
    display:block;
    position:absolute;
    right:50px;
    top:15px
}
#mw-head{
max-width: 1200px;
margin-left: 15%;
right: initial;
}
#left-navigation
{
display: none !important;
}
.mw-category-generated #mw-pages h2{
    text-align:inherit;
    width:inherit;
    height:inherit;
    background:inherit
}
table.main-page{
    font-size:1.1em;
    max-width:none
}
table.main-page td{
    vertical-align:text-top;
}
.table-header th{
    padding:5px
}
}
.section-text ul {
.table-row td{
  font-size: 1.15em;
    padding:5px
}
}
.section-text p,
table.main-page td{
.mw-body-content p {
    text-align:left
  font-size: 1.15em;
  max-width: 1000px;
  width: calc(100% - var(--side-panel-width-subtract));
}
}
.mw-body-content td p {
 
   font-size: 1em;
.border-box-inner {
  width: initial;
   position: relative;
  overflow: hidden;
border-radius: 3px;
}
 
#main-page-logo-wrapper{
margin-top: -54px;
}
 
.border-box, #main-page-logo-wrapper{
box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.75);
border-radius: 5px;
}
.border-box-inner, #main-page-logo-container{
box-shadow: inset 1px 0px 1px 0px rgba(255,255,255,0.5),
inset 0px 1px 1px 0px rgba(255,255,255,0.5),
inset -1px 0px 1px 0px rgba(255,255,255,0.2),
inset 0px -1px 1px 0px rgba(255,255,255,0.2);
border-radius: 5px;
}
.image img:not([src*="gif"]), #main-page-logo-container img{
border-radius: 5px;
position: relative;
top:0;
left:0;
height: 100%;
    z-index: -1;
}
 
.locationIconContainer{
background-color: #9a9f2b;
border-radius: 4px;
padding: 4px;
width: 48px;
height: 48px;
vertical-align: middle;
text-align: center;
line-height: 40px;
display: inline-block;
overflow: hidden;
}
.locationIconContainer.big{
border-radius: 16px;
width: 132px;
height: 132px;
line-height: 120px;
}
.locationIcon{
}
 
.styled-table{
    width: 100%;
}
.styled-table.narrow{
    width: calc(60% - 165px) !important;
margin-left: auto;
margin-right: auto;
}
.styled-table.narrow:has(.info-box, #toc){
margin-left: calc(25% - 165px);
}
.styled-table, .info-box, #toc ul{
    border: 2px solid var(--table-border-color);
border-radius: 5px;
border-collapse: separate;
background-color: var(--table-heading-color);
box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.75),
inset 1px 0px 1px 0px rgba(255,255,255,0.5),
inset 0px 1px 1px 0px rgba(255,255,255,0.5),
inset -1px 0px 1px 0px rgba(255,255,255,0.25),
inset 0px -1px 1px 0px rgba(255,255,255,0.25);
margin-bottom: 16px;
    table-layout: fixed;
padding: 1px;
}
}


/* Styled Table */
.mw-body-content:has(.info-box, #toc) .styled-table, .mw-body-content:has(.infobox, #toc) .styled-table{
.styled-table {
    width: calc(100% - var(--side-panel-width-subtract));
  width: 100%;
}
  border: 2px solid var(--table-border-color);
.styled-table td{
  border-radius: 5px;
width: 0;
  background-color: var(--table-heading-color);
border-radius: 2px;
  border-collapse: separate;
padding: 4px;
  box-shadow:
}
    1px 1px 2px rgba(0,0,0,0.75),
.info-box td{
    inset 1px 0 1px rgba(255,255,255,0.5),
padding: 8px;
    inset 0 1px 1px rgba(255,255,255,0.5),
text-align: center;
    inset -1px 0 1px rgba(255,255,255,0.25),
border-radius: 2px;
     inset 0 -1px 1px rgba(255,255,255,0.25);
}
  margin-bottom: 16px;
.styled-table ul{
  padding: 1px;
list-style: none;
  table-layout: fixed;
margin: 0;
}
.styled-table th, .info-box th{
     background-color: var(--table-heading-color);
    padding: 6px;
    color: var(--dark-text-color);
}
}
.styled-table th,
.info-box th{
.info-box th {
width: 33%;
  background-color: var(--table-heading-color);
  padding: 6px;
  color: var(--dark-text-color);
}
}
.styled-table td {
.styled-table .table-header th{
  width: 0;
    min-width:100px
  border-radius: 2px;
  padding: 4px;
}
}
.styled-table ul {
.styled-table tr, .info-box  tr, #toc li{
  list-style: none;
    background-color:rgba(255,255,255,0.9);
  margin: 0;
}
}
.table-header th {
.item-price-box{
  min-width: 100px;
    float:right;
    clear:right;
width:334px;
margin-left: 15px;
font-size: 1.15em;
}
}
.table-row td {
.item-price-box-hidden{
  padding: 5px;
    display:none
}
}
.fullwidth-table {
.info-box{
  width: 100%;
    float:right;
  table-layout: fixed;
clear:right;
}
}
.fullwidth-table td,
.item-info-box{
.fullwidth-table tr {
    position:relative;
  background-color: transparent;
    width: var(--side-panel-width);
  text-align: left;
    margin-left:15px;
  width: 0;
    margin-bottom:16px;
}
}


/* Info Box */
.infobox .npc-icon,.infobox .pcs-icon{
.info-box,
    width:100%;
.conditionsBox,
    text-align:center;
.proverbsBox {
    margin-bottom:17px;
   width: var(--side-panel-width);
    margin-top:10px
  float: right;
}
  clear: right;
.infobox .pcs-icon img{
    width:100%
}
.npc-sprites-hidden,.npc-icon-hidden{
    display:none
}
.npc-sprites img{
   display: block;
  margin: 0 auto;
}
#toc ul::before{
font-weight: bold;
font-size: 1.15em;
    background-color:#d8b885;
content: "Contents";
display: block;
    padding: 6px;
    color: var(--dark-text-color);
text-align: center;
}
#toc{
    background:none;
    border:none;
width: var(--side-panel-width);
float: right;
clear: right;
z-index: -100;
margin: 0;
padding: 0;
}
#toc li{
border-radius: 2px;
padding: 4px;
margin: 2px;
}
#toc .toctitle{
display: none;
}
#toc .toctitle #mw-toc-heading{
}
#toc .toctitle .toctogglespan{
}
#toc .toclevel-1 ul{
    display:none
}
.infobox{
    width: var(--side-panel-width);
    margin-bottom:30px;
    margin-left:25px
}
.infobox .infobox-top{
    width: var(--side-panel-width);
    height:54px;
    background-image:url(/resources/assets/InfoBoxTop_x2.png)
}
.infobox .infobox-top .infobox-name{
    width:100%;
    height:100%;
    text-align:center;
    padding-top:13px;
    font-size:1.4em;
    font-weight:bold
}
.infobox .infobox-middle{
    width: var(--side-panel-width);
    background-image:url(/resources/assets/InfoBoxMiddle_x2.png);
    background-repeat:repeat-y
}
.infobox .infobox-middle .infobox-content{
    width:292px;
    padding-top:5px;
    padding-bottom:1px;
    padding-left:25px;
    padding-right:25px
}
.infobox .infobox-bottom{
    width: var(--side-panel-width);
    height:28px;
    background-image:url(/resources/assets/InfoBoxBottom_x2.png)
}
.infobox table{
    width:100%
}
.infobox table td.heading{
    background-color:rgba(160,111,50,0.5);
    font-weight:bold;
    text-align:center;
    min-width:100px
}
.official-link img{
    width:25px;
    margin-right:5px
}
#main-page-logo-container{
    text-align:center;
    margin-bottom:25px
}
#main-page-logo-container .main-logo{
    position:absolute;
    margin-left:95px;
    margin-top:-104px
}
#main-page-wrapper{
    text-align:center
}
#main-page-content{
    display:inline-block
}
#main-page-content h2{
    margin-left:auto;
    margin-right:auto
}
#welcome-p{
    font-size:1.2em;
    margin-bottom:30px;
    margin-top:20px;
}
@media (max-width: 1055px){
    .infobox.main-page{
        float:none;
        margin-left:auto;
        margin-right:auto
    }
}
.spoiler-hidden{
    background-color:#4288ff;
    padding:15px;
    max-width:1000px
}
}
.info-box td {
.spoiler-hidden h3{
  padding: 8px;
    padding-top:0px;
  text-align: center;
    margin-top:0px
  border-radius: 2px;
}
}
.info-box ul,
ul.no-bullet {
.non-styled-table tr{
  list-style: none;
    background-color:transparent;
  padding: 0;
  margin: 0;
}
}
.infobox {
.non-styled-table td{
  width: var(--side-panel-width);
padding: 0;
  margin: 0 0 30px 25px;
}
}
.infobox .infobox-top {
 
  height: 54px;
.center{
  background-image: url(/resources/assets/InfoBoxTop_x2.png);
text-align: center;
}
}
.infobox .infobox-top .infobox-name {
 
  padding-top: 13px;
.selflink{
  font-size: 1.4em;
color: #1c71c9 !important;
  font-weight: bold;
font-weight: normal !important;
  text-align: center;
  height: 100%;
}
}
.infobox .infobox-middle {
 
  background-image: url(/resources/assets/InfoBoxMiddle_x2.png);
.half-size-image {
   background-repeat: repeat-y;
    -moz-transform:scale(0.5);
    -webkit-transform:scale(0.5);
    transform:scale(0.5);
image-rendering: optimizeSpeed;
image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
  image-rendering: crisp-edges;
   }
 
.item-description{
font-style: italic;
padding-top: 8px;
}
}
.infobox .infobox-middle .infobox-content {
 
  width: 292px;
 
  padding: 5px 25px 1px;
.mw-parser-output:not(:has(h2)) .info-box
{
width: 400px;
float: none !important;
margin-left: auto;
margin-right: auto;
}
}
.infobox .infobox-bottom {
 
  height: 28px;
#footer
  background-image: url(/resources/assets/InfoBoxBottom_x2.png);
{
    background-color:rgba(200,200,230,0.45);
box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, 0.25), 2px 2px 10px rgba(0,0,0,0.5);
border-bottom-right-radius: 8px;
border-bottom-left-radius: 8px;
max-width: 1000px;
margin-left: 20%;
margin-top: 0;
border-width: 0px;
padding-bottom: 24px;
padding-top: 16px;
backdrop-filter: blur(10px);
z-index: 10;
text-align: center;
}
}
.infobox table {
 
  width: 100%;
#footer-places{
height: 16px;
}
}
.infobox table td.heading {
 
  background-color: rgba(160,111,50,0.5);
#footer-icons{
  font-weight: bold;
margin-top: -24px;
  min-width: 100px;
height: 150px;
  text-align: center;
}
}


/* Misc */
#mw-panel{
img {
padding-left: 0;
  max-width: 100%;
  max-height: 100%;
}
}
.image img:not([src*="gif"]),
#p-navigation, #p-tb{
#main-page-logo-container img {
margin-left: 0;
  border-radius: 5px;
    background-color:rgba(200,200,230,0.15);
  height: 100%;
box-shadow: inset 100px 100px 200px 0 rgba(255, 255, 255, 0.5), 2px 2px 5px rgba(0,0,0,0.5);
  left: 0;
  position: relative;
  top: 0;
  z-index: -1;
}
}


.item-price-box {
#p-navigation{
  float: right;
border-top-right-radius: 8px;
  clear: right;
border-bottom-right-radius: 8px;
  width: 334px;
margin-bottom: 8px;
  margin-left: 15px;
}
  font-size: 1.15em;
#p-tb{
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
}


.item-description {
.vector-menu-heading-label{
  font-style: italic;
color: black;
  padding-top: 8px;
font-weight: bold;
}
}


.spoiler-hidden {
 
  background-color: #4288ff;
.vector-menu-tabs{
  padding: 15px;
background: none;
  max-width: 1000px;
  backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  cursor: pointer;
}
}


#toc {
.vector-menu-tabs li
  background: none;
{
  border: none;
background-image: none;
  float: right;
    background-color:rgba(255,255,255,0.35);
  clear: right;
backdrop-filter: blur(10px);
  margin: 0;
  padding: 0;
  width: var(--side-panel-width);
  z-index: -100;
}
}
#toc ul::before {
.vector-menu-tabs li a{
  content: "Contents";
padding-top: 13px;
  display: block;
}
  background-color: #d8b885;
.vector-menu-tabs li:first-child {
  padding: 6px;
border-top-left-radius: 8px;
  color: var(--dark-text-color);
}
  text-align: center;
.vector-menu-tabs li:last-child {
  font-weight: bold;
border-top-right-radius: 8px;
  font-size: 1.15em;
}
.vector-menu-tabs .selected{
background-image: none;
    background-color:rgba(255,255,255,0.55);
}
}
#toc li {
 
  border-radius: 2px;
#searchform{
  margin: 2px;
margin-top: 5px;
  padding: 4px;
margin-left: 6px;
box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
}
#toc .toctitle {
#searchform input{
  display: none;
border-radius: 4px;
    background-color:rgba(255,255,255,0.55);
border: none;
}
}
#toc .toclevel-1 ul {
#searchform input:focus{
  display: none;
background-color: #fff;
}
}


.selflink {
#catlinks{
  color: #1c71c9 !important;
    background-color:rgba(255,255,255,0.5) !important;
  font-weight: normal !important;
box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
border-radius: 4px;
border: none;
}
}


/* Footer */
.proverbsBox{
#footer {
width: var(--side-panel-width);
  background-color: rgba(200,200,230,0.45);
float: right;
  border-bottom-left-radius: 8px;
clear: right;
  border-bottom-right-radius: 8px;
  box-shadow: inset 0 2px 2px rgba(0,0,0,0.25), 2px 2px 10px rgba(0,0,0,0.5);
  margin-left: 20%;
  max-width: 1000px;
  padding: 16px 0 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  z-index: 10;
}
}
#footer-places {
.conditionsBox{
  height: 16px;
width: var(--side-panel-width);
float: right;
clear: right;
}
}
#footer-icons {
 
  height: 150px;
img{
  margin-top: -24px;
max-width: 100%;
max-height:100%;
}
}


/* Media Queries */
@media only screen and (max-width: 1024px) {
@media only screen and (max-width: 1024px) {
  #mw-panel {
#mw-panel{
    width: 15%;
width: 15%;
  }
}
  #footer {
p{
    margin-left: 18%;
width: auto !important;
    width: 76%;
}
    height: 128px;
#mw-head-base, #mw-head
  }
{
margin-left: 0;
}
#p-logo a{
background-position: top center;
margin-top: -40px;
}
#toc, .info-box, .conditionsBox, .proverbsBox{
}
.styled-table{
width: 100%;
}
#footer{
margin: 0;
height: 128px;
margin-left: 18%;
width: 76%;
}
}
 
@media only screen and (min-width: 769px) {
.mobileOnly{display: none;}
}
}


@media only screen and (max-width: 768px) {
@media only screen and (max-width: 768px) {
  #footer {
    width: 96%;
.desktopOnly{display: none;}
    margin: 0;
 
    height: 128px;
#right-navigation{
  }
width: 50%;
  #footer li {
}
    display: block;
#p-search{
    float: none;
width:  
  }
}
  #footer-icons {
#toc, .info-box, .conditionsBox, .proverbsBox, .styled-table{
    height: 0;
margin-left: 0;
  }
float: none;
  .mw-body {
width: 100% !important;
    margin-left: 0;
}
    padding: 0.5em;
.vector-search-box-inner{
  }
width: auto;
  #toc,
}
  .info-box,
.mw-portlet{
  .conditionsBox,
display: none;
  .proverbsBox,
}
  .styled-table {
.mw-body{
    margin-left: 0;
margin-left: 0;
    float: none;
}
    width: 100% !important;
#toc, .info-box, .conditionsBox, .proverbsBox, .styled-table{
  }
margin-left: 0;
float: none;
width: 100% !important;
}
h2{
width: auto !important;
}
.mw-body{
padding: 0.5em;
}
#footer{
width: 96%;
margin: 0;
height: 128px;
}
#footer li{
display: block;
float: none;
}
#footer-icons{
height: 0;
}
}
}

Latest revision as of 11:10, 28 August 2025

.rootpage-Main_Page .firstHeading
{
display: none;
}

:root {
  --side-panel-width: 342px;
  --side-panel-width-subtract: 370px;
  --heading-color: #000;
  --heading-underline-color: #bb2748;
  --table-heading-color: #d8b885;
  --table-border-color: #a06f32;
  --table-empty-color: #d8b885;
  --dark-text-color: #3c2913;
}

@media only screen and (max-width: 1024px) {
  :root{
	  --side-panel-width: 250px;
	  --side-panel-width-subtract: 278px;
  }
}

a:link {
  color: #1462b6;
}
a:visited {
  color: #1462b6;
}
a:hover {
  color: #1a6bc5;
}
a:active {
  color: #1462b6;
}
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");
html,body{
    height:100%;
    width:100%;
    padding:0;
    margin:0;
    font-family:"Montserrat",sans-serif
}
body{
    background:#4288ff url(/resources/assets/Wikibg_x3.png) repeat no-repeat fixed center bottom
}
.box-right{
	float: right;
	clear: right;
}
.box-right.border-box{
    display: inline-block;
	float: initial;
}
.border-box:has(img){
	margin-top: 4px;
	margin-left: auto;
	margin-right: auto;
}
.no-padding{
    padding:0px
}
.hidden{
    display:none
}
.section-text ul{
    font-size:1.15em;
}
.section-text p, .mw-body-content p{
    font-size:1.15em;
    max-width:1000px;
    width: calc(100% - var(--side-panel-width-subtract));
}
.mw-body-content td p {
    font-size:1em;
    width: initial;
}
.section-text .styled-table,.section-text .styled-table ul{
    font-size:1em
}
.mw-collapsible-toggle{
	float: right;
}
.section-text .mw-collapsible-text, .mw-collapsible-toggle{
	color: var(--dark-text-color);
	font-size: 0.75em;
}
#mw-page-base{
    background-color:transparent;
    background-image:none
}
.mw-body{
    background-color:rgba(255,255,255,0.5);
	box-shadow: inset 100px 100px 200px 0 rgba(255, 255, 255, 0.5), 2px 2px 20px rgba(0,0,0,0.5);
	border-radius: 8px;
	max-width: 1200px;
	margin-left: 15%;
	border-width: 0px;
	backdrop-filter: blur(10px);
}
.border-box-inner table{
	margin-left: auto;
	margin-right: auto;
	min-width: 50%;
	text-align: center;
}
.border-box-inner.no-padding{
    padding:0px
}
.section-text{
    margin-bottom:25px
}
ul.no-bullet{
    list-style-type:none;
    list-style-image:none;
    padding:0px;
    margin:0px
}

.info-box ul{
    list-style-type:none;
    list-style-image:none;
    padding:0px;
    margin:0px
}


h1{
	color: var(--heading-color);
	font-family: inherit !important; 
	text-align: center;
	border-width: 0;
  position: relative;
  display: block;
  padding-bottom: 10px; /* Adjust as needed */
  border: 10px solid red;
  border-color: red;
    border-image-repeat:stretch stretch;
  border-image: url(/resources/assets/h1underline.png);
  border-image-slice: 100% 50% fill;
	border-width: 0 32px 16px 32px;
	height: 26px;
}

h1::after {
  content: '';
  height: 0; /* Adjust as needed */
  display: block;
  border-bottom: 2px solid var(--heading-underline-color);;
}

h2{
    background-image:url(/resources/assets/h2underline.png);
	background-repeat:no-repeat;
	background-position: 0px 24px;
	text-indent: 12px;
	height: 32px;
	border-width: 0;
	font-family: inherit !important;
	margin-bottom: 16px !important;
}
body:not(:has(.spoiler-hidden)) h3{
	text-decoration-line: underline;
	text-decoration-color: #bb2748;
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}
h3{
	height: 32px;
	border-width: 0;
	font-size: 1.25em !important;
	font-weight: normal !important;
	font-family: inherit !important;
}

.spoiler-hidden{
    background-color:rgba(200,200,230,0.45) !important;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
	border-radius: 8px;
	backdrop-filter: blur(10px);
	max-width: inherit !important;
	cursor: pointer;
}

.fullwidth-table{
	width: 100%;
	table-layout: fixed;
}
.fullwidth-table tr{
	background-color: transparent;
}
.fullwidth-table td{
	width: 0;
	text-align: left !important;
	background-color: transparent;
}


.mw-body-content:has(.info-box, #toc) h2, .mw-body-content:has(.infobox, #toc) h2{
    width: calc(100% - var(--side-panel-width-subtract));
}
.mw-body-content h2{
	width: 100%;
}
.mw-body-content h2 .mw-editsection{
    display:block;
    position:absolute;
    right:50px;
    top:15px
}
#mw-head{
	max-width: 1200px;
	margin-left: 15%;
	right: initial;
}
#left-navigation
{
	display: none !important;
}
.mw-category-generated #mw-pages h2{
    text-align:inherit;
    width:inherit;
    height:inherit;
    background:inherit
}
table.main-page{
    font-size:1.1em;
    max-width:none
}
table.main-page td{
    vertical-align:text-top;
}
.table-header th{
    padding:5px
}
.table-row td{
    padding:5px
}
table.main-page td{
    text-align:left
}

.border-box-inner {
  position: relative;
  overflow: hidden;
	border-radius: 3px;
}

#main-page-logo-wrapper{
margin-top: -54px;	
}

.border-box, #main-page-logo-wrapper{
	box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.75);
	border-radius: 5px;
}
.border-box-inner, #main-page-logo-container{
	box-shadow: inset 1px 0px 1px 0px rgba(255,255,255,0.5),
				inset 0px 1px 1px 0px rgba(255,255,255,0.5),
				inset -1px 0px 1px 0px rgba(255,255,255,0.2),
				inset 0px -1px 1px 0px rgba(255,255,255,0.2);
	border-radius: 5px;
}
.image img:not([src*="gif"]), #main-page-logo-container img{
	border-radius: 5px;
	position: relative;
	top:0;
	left:0;
	height: 100%;
    z-index: -1;
}

.locationIconContainer{
	background-color: #9a9f2b; 
	border-radius: 4px;
	padding: 4px;
	width: 48px;
	height: 48px;
	vertical-align: middle;
	text-align: center;
	line-height: 40px;
	display: inline-block;
	overflow: hidden;
}
.locationIconContainer.big{
	border-radius: 16px;
	width: 132px;
	height: 132px;
	line-height: 120px;
}
.locationIcon{
}

.styled-table{
    width: 100%;
}
.styled-table.narrow{
    width: calc(60% - 165px) !important;
	margin-left: auto;
	margin-right: auto;
}
.styled-table.narrow:has(.info-box, #toc){
	margin-left: calc(25% - 165px);
}
.styled-table, .info-box, #toc ul{
    border: 2px solid var(--table-border-color);
	border-radius: 5px;
	border-collapse: separate;
	background-color: var(--table-heading-color);
	box-shadow: 1px 1px 2px 0px rgba(0,0,0,0.75),
				inset 1px 0px 1px 0px rgba(255,255,255,0.5),
				inset 0px 1px 1px 0px rgba(255,255,255,0.5),
				inset -1px 0px 1px 0px rgba(255,255,255,0.25),
				inset 0px -1px 1px 0px rgba(255,255,255,0.25);
	margin-bottom: 16px;
    table-layout: fixed;
	padding: 1px;
}

.mw-body-content:has(.info-box, #toc) .styled-table, .mw-body-content:has(.infobox, #toc) .styled-table{
    width: calc(100% - var(--side-panel-width-subtract));
}
.styled-table td{
	width: 0;
	border-radius: 2px;
	padding: 4px;
}
.info-box td{
	padding: 8px;
	text-align: center;
	border-radius: 2px;
}
.styled-table ul{
	list-style: none;
	margin: 0;
}
.styled-table th, .info-box th{
    background-color: var(--table-heading-color);
    padding: 6px;
    color: var(--dark-text-color);
}
.info-box th{
	width: 33%;
}
.styled-table .table-header th{
    min-width:100px
}
.styled-table tr, .info-box  tr, #toc li{
    background-color:rgba(255,255,255,0.9);
}
.item-price-box{
    float:right;
    clear:right;
	width:334px;
	margin-left: 15px;
	font-size: 1.15em;
}
.item-price-box-hidden{
    display:none
}
.info-box{
    float:right;
	clear:right;
}
.item-info-box{
    position:relative;
    width: var(--side-panel-width);
    margin-left:15px;
    margin-bottom:16px;
}

.infobox .npc-icon,.infobox .pcs-icon{
    width:100%;
    text-align:center;
    margin-bottom:17px;
    margin-top:10px
}
.infobox .pcs-icon img{
    width:100%
}
.npc-sprites-hidden,.npc-icon-hidden{
    display:none
}
.npc-sprites img{
  display: block;
  margin: 0 auto;
}
#toc ul::before{
	font-weight: bold;
	font-size: 1.15em;
    background-color:#d8b885;
	content: "Contents";
	display: block;
    padding: 6px;
    color: var(--dark-text-color);
	text-align: center;
}
#toc{
    background:none;
    border:none;
	width: var(--side-panel-width);
	float: right;
	clear: right;
	z-index: -100;
	margin: 0;
	padding: 0;
}
#toc li{
	border-radius: 2px;
	padding: 4px;
	margin: 2px;
}
#toc .toctitle{
	display: none;
}
#toc .toctitle #mw-toc-heading{
}
#toc .toctitle .toctogglespan{
}
#toc .toclevel-1 ul{
    display:none
}
.infobox{
    width: var(--side-panel-width);
    margin-bottom:30px;
    margin-left:25px
}
.infobox .infobox-top{
    width: var(--side-panel-width);
    height:54px;
    background-image:url(/resources/assets/InfoBoxTop_x2.png)
}
.infobox .infobox-top .infobox-name{
    width:100%;
    height:100%;
    text-align:center;
    padding-top:13px;
    font-size:1.4em;
    font-weight:bold
}
.infobox .infobox-middle{
    width: var(--side-panel-width);
    background-image:url(/resources/assets/InfoBoxMiddle_x2.png);
    background-repeat:repeat-y
}
.infobox .infobox-middle .infobox-content{
    width:292px;
    padding-top:5px;
    padding-bottom:1px;
    padding-left:25px;
    padding-right:25px
}
.infobox .infobox-bottom{
    width: var(--side-panel-width);
    height:28px;
    background-image:url(/resources/assets/InfoBoxBottom_x2.png)
}
.infobox table{
    width:100%
}
.infobox table td.heading{
    background-color:rgba(160,111,50,0.5);
    font-weight:bold;
    text-align:center;
    min-width:100px
}
.official-link img{
    width:25px;
    margin-right:5px
}
#main-page-logo-container{
    text-align:center;
    margin-bottom:25px
}
#main-page-logo-container .main-logo{
    position:absolute;
    margin-left:95px;
    margin-top:-104px
}
#main-page-wrapper{
    text-align:center
}
#main-page-content{
    display:inline-block
}
#main-page-content h2{
    margin-left:auto;
    margin-right:auto
}
#welcome-p{
    font-size:1.2em;
    margin-bottom:30px;
    margin-top:20px;
}
@media (max-width: 1055px){
    .infobox.main-page{
        float:none;
        margin-left:auto;
        margin-right:auto
    }
}
.spoiler-hidden{
    background-color:#4288ff;
    padding:15px;
    max-width:1000px
}
.spoiler-hidden h3{
    padding-top:0px;
    margin-top:0px
}
 
.non-styled-table tr{
    background-color:transparent;
}
.non-styled-table td{
	padding: 0;
}

.center{
	text-align: center;
}

.selflink{
	color: #1c71c9 !important;
	font-weight: normal !important;
}

.half-size-image {
    -moz-transform:scale(0.5);
    -webkit-transform:scale(0.5);
    transform:scale(0.5);
	image-rendering: optimizeSpeed;
	image-rendering: pixelated;
	  -ms-interpolation-mode: nearest-neighbor;
	  image-rendering: crisp-edges;
  }
  
.item-description{
	font-style: italic;
	padding-top: 8px;
}


.mw-parser-output:not(:has(h2)) .info-box
{
	width: 400px;
	float: none !important;
	margin-left: auto;
	margin-right: auto;
}

#footer
{
    background-color:rgba(200,200,230,0.45);
	box-shadow: inset 0 2px 2px 0 rgba(0, 0, 0, 0.25), 2px 2px 10px rgba(0,0,0,0.5);
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
	max-width: 1000px;
	margin-left: 20%;
	margin-top: 0;
	border-width: 0px;
	padding-bottom: 24px;
	padding-top: 16px;
	backdrop-filter: blur(10px);
	z-index: 10;
	text-align: center;
}

#footer-places{
	height: 16px;
}

#footer-icons{
	margin-top: -24px;
	height: 150px;
}

#mw-panel{
	padding-left: 0;
}
#p-navigation, #p-tb{
	margin-left: 0;
    background-color:rgba(200,200,230,0.15);
	box-shadow: inset 100px 100px 200px 0 rgba(255, 255, 255, 0.5), 2px 2px 5px rgba(0,0,0,0.5);
}

#p-navigation{
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	margin-bottom: 8px;
}
#p-tb{
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
}

.vector-menu-heading-label{
	color: black;
	font-weight: bold;
}


.vector-menu-tabs{
	background: none;
}

.vector-menu-tabs li
{
	background-image: none;
    background-color:rgba(255,255,255,0.35);
	backdrop-filter: blur(10px);
}
.vector-menu-tabs li a{
	padding-top: 13px;
}
.vector-menu-tabs li:first-child {
	border-top-left-radius: 8px;
}
.vector-menu-tabs li:last-child {
	border-top-right-radius: 8px;
}
.vector-menu-tabs .selected{
	background-image: none;
    background-color:rgba(255,255,255,0.55);
}

#searchform{
	margin-top: 5px;
	margin-left: 6px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
#searchform input{
	border-radius: 4px;
    background-color:rgba(255,255,255,0.55);
	border: none;
}
#searchform input:focus{
	background-color: #fff;
}

#catlinks{
    background-color:rgba(255,255,255,0.5) !important;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.25);
	border-radius: 4px;
	border: none;
}

.proverbsBox{
	width: var(--side-panel-width);
	float: right;
	clear: right;
}
.conditionsBox{
	width: var(--side-panel-width);
	float: right;
	clear: right;
}

img{
	max-width: 100%;
	max-height:100%;
}

@media only screen and (max-width: 1024px) {
	#mw-panel{
		width: 15%;
	}
	p{
		width: auto !important;
	}
	#mw-head-base, #mw-head
	{
		margin-left: 0;
	}
	#p-logo a{
		background-position: top center;
		margin-top: -40px;
	}
	#toc, .info-box, .conditionsBox, .proverbsBox{
	
	}
	.styled-table{
		width: 100%;
	}
	#footer{
		margin: 0;
		height: 128px;
		margin-left: 18%;
		width: 76%;
	}
}

@media only screen and (min-width: 769px) {
	.mobileOnly{display: none;}
}

@media only screen and (max-width: 768px) {
	
	.desktopOnly{display: none;}

	#right-navigation{
		width: 50%;
	}
	#p-search{
		width: 
	}
	#toc, .info-box, .conditionsBox, .proverbsBox, .styled-table{
		margin-left: 0;
		float: none;
		width: 100% !important;
	}
	.vector-search-box-inner{
		width: auto;
	}
	.mw-portlet{
		display: none;
	}
	.mw-body{
		margin-left: 0;
	}
	#toc, .info-box, .conditionsBox, .proverbsBox, .styled-table{
		margin-left: 0;
		float: none;
		width: 100% !important;
	}
	h2{
		width: auto !important;
	}
	.mw-body{
		padding: 0.5em;
	}
	#footer{ 
		width: 96%;
		margin: 0;
		height: 128px;
	}
	#footer li{
		display: block;
		float: none;
	}
	#footer-icons{
		height: 0;
	}
}