MediaWiki:Common.css
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.
@import "/load.php?mode=articles&articles=u:dev:MediaWiki:SpoilerTags.css&only=styles";
@import url('https://fonts.googleapis.com/css2?family=Fresca&display=swap');
/* Article content across whole site */
#content {
background-color: #453534;
color: #ffffff;
font-size: 20px;
margin-bottom: 5em;}
#content ul {list-style: outside;}
#content a.external, a.extiw {
font-family: 'Fresca' !important; /* DO UNDER NO CIRCUMSTANCES REMOVE "!important;" */
color: #EF9000 !important;
}
#mw-panel { /* Leftside panel */
background-color: rgba(255, 255, 255, 0.7);
border: 2px solid #271c12;}
#mw-panel h3 {
color:#000000;
border-bottom: 1px solid #000000;
font-size: 20px;}
#mw-panel a {
color:#271c12;
font-size: 18px;}
.reference {color:#000000}
#toc { /* Table of Contents */
background-color: #291f1f;}
#toc ul { list-style: none; }
.tocnumber {color: #ef9000}
body {
font-family: 'Arial' !important; /* DO UNDER NO CIRCUMSTANCES REMOVE "!important;" */
font-size: 17px;
color: #ffffff;
background-image: url(https://anotherchancewiki.com/images/f/ff/Background.webp);
background-size: 100% auto;
background-position: bottom;
background-attachment: fixed;
background-color: #000000;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Fresca' !important; /* DO UNDER NO CIRCUMSTANCES REMOVE "!important;" */
color: #EF9000;
}
body, a, a:hover, a:visited {
font-family: 'Fresca' !important; /* DO UNDER NO CIRCUMSTANCES REMOVE "!important;" */
color: #EF9000;
}
.mw-body-content a:external { color: #EF9000; }
table, table th, table td {
border: 2px solid #ef9000 !important; /* DO UNDER NO CIRCUMSTANCES REMOVE "!important;" */
border-radius: 6px;
}
/* Add custom border to the entire infobox */
.portable-infobox {
border: 2px solid #ef9000;
border-radius: 8px; /* Rounded corners */
overflow: hidden; /* Ensures no overflow from child elements */
background-color: #291f1f;
}
/* Fills out the lines in a group inside of an infobox */
.pi-smart-group .pi-smart-data-value, .pi-smart-group h3.pi-smart-data-label{
margin: 0;
}
.pi-title {
font-size: 2em;
text-align: center;
}
.pi-media-collection-tabs {
color: #ef9000;
}
/* Change colors of highlighted gallery box in portable infobox */
.portable-infobox .pi-tab-link.current {
background-color: #ef9000;
color: #291f1f;
}
/* Removes the border from images in a gallery */
.wikia-gallery-item .thumb .gallery-image-wrapper {
border-style: none;
}
/* color: #473434; Black alternative */
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}
.zoom_img img{
transition:transform 0.1 ease-in;
}
.zoom_img img:hover{
transform:scale(2);
}
/* Highlight clicked reference to help navigation */
ol.references li:target,
sup.reference:target {background-color: #28292b;}
/* Changes "Recent Changes" list legend */
.skin-vector .mw-changeslist-legend {background-color: #28292b !important;}
/* Hides "Main Page" header on the homepage */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
/* Edits slideshow gallery thumbs */
.gallerybox {text-align: center;}
.mw-gallery-slideshow .gallerybox.slideshow-current {
background-color: #271c12 !important;
border-radius: 25px;
text-align: center;
}
/* Custom image spoiler code */
.spoiler-image {
cursor: pointer;
background-color: transparent !important;
border: none;
line-height: 7;
max-inline-size: 100%;
}
.spoiler-image img {
filter: blur(15px) grayscale(1);
transition: filter 0.3s;
background-color: transparent !important;
max-inline-size: 100%;
}
.spoiler-image.revealed img {
filter: none;
max-inline-size: 100%;
}
.spoiler-image .thumb,
.spoiler-image .thumbinner,
.spoiler-image .mw-file-description,
.spoiler-image .mw-parser-output,
.spoiler-image .mw-content.ltr {
background-color: transparent !important;
background-image: none !important;
border: none !important;
box-shadow: none !important;
padding: 0 !important;
margin: 0 !important;
}
/* img {max-inline-size: 100%;} */
/* Hides auto-generated columns in Category pages */
.page-Category_Main_Characters .mw-category-generated,
.page-Category_Side_Characters .mw-category-generated,
.page-Category_Minor_Characters .mw-category-generated,
.page-Category_Non-Human_Characters .mw-category-generated {
visibility: hidden;
display: none;
}
/* Hides auto-generated subcategory list in category page */
.page-Category_Characters #mw-subcategories,
.page-Category_Quests #mw-subcategories,
.page-Category_Locations #mw-subcategories {
visibility: hidden;
display: none;
}
/* Hides small tab on subpages to return to main page */
#contentSub {
visibility: hidden;
display: none;
}
/* Hides auto-generated header in alphabetical category list */
.mw-category-generated h2 {
visibility: hidden;
display: none;
}