MediaWiki:Common.css

From The Binding of Isaac Reshaken Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* Background */
body.mediawiki {
	background-color:#fff0fd;

}

#mw-page-base {
	background: none;
}

#content {
	background: url(https://tboireshaken.wiki.gg/images/5/57/Site-background.png) no-repeat;
	background-size: cover;
}

/* sidebar header color */
.vector-menu-portal .vector-menu-heading {
	color: #E567E5;
}


/*
	INFOBOX STUFF
*/
.portable-infobox {
    border: 30px solid;
    border-image: url(https://tboireshaken.wiki.gg/images/7/7f/Infobox_paper.png) 30 fill round;
    text-align: center;
    background: 0 0;
    border-bottom-color: #6f5b6e;
    border-color: #bb97bf
}

.portable-infobox .pi-data {
    align-items: center;
    justify-content: center ;
}

/*Not from the Isaac wiki*/
/*changes color*/
.portable-infobox.type-middletext {
   text-align: center;
   color:#000000;
}

.portable-infobox.type-accent-color-text-source {
   color:#000000;
}

/*changes infobox caption color*/
.portable-infobox .pi-caption {
    color:#000000;
}

/*supposed to make infobox text centered*/
.portable-infobox .pi-data {
    align-items: center; /* vertically align items or text */
    justify-content: center ; /* horizontally aligns items or text */
}

/*i dont know*/
.portable-infobox.type-middletext .pi-data-label ~ .pi-data-value {
    padding: 0;
}

.pi-data-label.pi-secondary-font, .pi-data-value, .pi-title, .pi-header {
    color: #372B2D;
}

.pi-secondary-background {
	background-color: #000000;	
}

/* Force all images to have crisp edges when scaled up */
img { 
  image-rendering:optimizeSpeed;             /* Legal fallback */
  image-rendering:-moz-crisp-edges;          /* Firefox        */
  image-rendering:-o-crisp-edges;            /* Opera          */
  image-rendering:-webkit-optimize-contrast; /* Safari         */
  image-rendering:optimize-contrast;         /* CSS3 Proposed  */
  -ms-interpolation-mode:nearest-neighbor;   /* IE8+           */
  image-rendering:pixelated;                 /* Chrome         */
}

li.gallerybox div.thumb,
div.thumbinner {
    background-color: #ffe6fb;
    border-radius: 5px;
}
div.thumb {
    background-color: #ffe6fb;
}

#toc {
	box-sizing  : content-box;
	border      : 24px solid;
	border-image: url( https://tboireshaken.wiki.gg/images/7/7f/Infobox_paper.png ) 24 fill round;
	text-align  : center;
	background: none;
	font-size: 1.05em;
}

/*
	TABLE STUFF
*/

table.wikitable {
    background-color: #ffe6fb;
    border: 1px solid #00000;
}

table.wikitable > tr > td,
table.wikitable > * > tr > td {
    border: 1px solid #000;
}

table.skin-vector .mw-datatable > tr > th,
table.skin-vector .mw-datatable > * > tr > th,
table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background: #ff7aee;
    border: 1px solid #000;
    font-size: large;
    color: #FFF;
    font-weight: bold;
    font-family: sans-serif;
}