MediaWiki:Common.css

From Another Chance Wiki
Revision as of 12:56, 18 March 2025 by Awsome2464 (talk | contribs)
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');

body {
    font-family: 'Arial' !important; /* DO UNDER NO CIRCUMSTANCES REMOVE "!important;" */
    color: #FFFFFF;
    background-image: url(https://anotherchancewiki.com/images/thumb/4/40/-AC-_Banner_Art_1.webp/781px--AC-_Banner_Art_1.webp.png);
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-color: #000000;
}

body, h1, h2, h3, h4, h5, h6, a, a:hover {
    font-family: 'Fresca' !important; /* DO UNDER NO CIRCUMSTANCES REMOVE "!important;" */
    color: #EF9000;
}

table, table th, table td {
    border: 2px solid #FDCE55 !important; /* DO UNDER NO CIRCUMSTANCES REMOVE "!important;" */
}

/* Add custom border to the entire infobox */
.portable-infobox {
    border: 2px solid #FDCE55;
    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;
}