MediaWiki:Common.css: Difference between revisions

From Another Chance Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 39: Line 39:


/* color: #473434;  Black alternative */
/* 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;
}

Revision as of 13:08, 18 March 2025

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