MediaWiki:Common.css

From Another Chance 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.
@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 {
    font-family: 'Fresca' !important; /* DO UNDER NO CIRCUMSTANCES REMOVE "!important;" */
    color: #EF9000;
}

#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/f1/Background2.webp);
    background-size: cover;
    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;" */
}

/* 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 */
}

/* 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;
}

/* 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);
}