MediaWiki:Common.css: Difference between revisions

From The Skullgirls Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 116: Line 116:


/*Tables*/
/*Tables*/
.wikitable {
.fandom-table {
     margin: 1em 0;
     margin: 1em 0;
     border-collapse: collapse;
     border-collapse: collapse;
Line 122: Line 122:
}
}


.wikitable th {
.fandom-table th {
     background-color: #edaa18 !important;
     background-color: #edaa18 !important;
     color: #7b54b0;
     color: #7b54b0;
Line 129: Line 129:
}
}


.wikitable td {
.fandom-table td {
     background-color: #7b54b0;
     background-color: #7b54b0;
     color: #edaa18;
     color: #edaa18;
Line 136: Line 136:
}
}


.wikitable tr:nth-child(even) {
.fandom-table tr:nth-child(even) {
     background-color: #4175a6;
     background-color: #4175a6;
}
}

Revision as of 06:17, 18 May 2024

/* CSS placed here will be applied to all skins */

/*Logo resize*/
.mw-wiki-logo {
    position: relative; 
    width: 150px;
    height: auto;
    max-height: none;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}


/*Background (generell)*/
body {
    background-image: url('https://skullgirlz.wiki/images/a/a4/Kylegayass.webp');
    background-size: 15%; 
    background-repeat: repeat; 
    background-position: top left; 
}

/*Page background*/
#content { 
	background:#d6d8ff;
	color:#343cd9;
}


/*The gif on the top*/
#mw-head {
    background-image: url('https://skullgirlz.wiki/images/b/b3/Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.gif');
    background-repeat: repeat-x;
    background-position: top left;
    background-size: 10%;
}

/*Tools and shit*/
#p-navigation {
    background-color: #ed8d1f;

}
#p-tb {
    background-color: #ed8d1f;

}

/*Kyle image down there*/
/* Position image at the bottom left corner */
.bottom-left-image {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
}

/*Infobox*/
.infobox {
    float: right;
    margin: 0.5em 0 0.5em 1em;
    border: 5px solid #2a296b;
    background-color: #f29224;
    width: 20em;
    border-radius: 25px;
    padding: 0.5em; 
}

/*this can be ignored but I keep it just in case*/
.infobox-header {
    background-color: #333;
    color: white;
    padding: 0.5em;
    font-weight: bold;
    border-radius: 25px;
}

.infobox th {
    background-color: #2f5ca1; 
    color: #c3d2ee;
    border-radius: 5px;
    width: 5em;
    font-size: 1.2em; 
    padding: 0.4em 0.4em; 
}

.infobox tr {
    background-color: #0b234a;
    color: #fafcff;
}

.infobox td {
    padding: 0.2em;
    vertical-align: top;
    font-size: 0.9em;
}

/* Style left labels */
.infobox tr td:first-child {
    background-color: #8acc58;
    color: #794fb0;
    border-bottom-left-radius: 5px; 
    border-top-left-radius: 5px; 
    width: 40%; 
    padding-left: 10px; 
}

/* Style right labels */
.infobox tr td:last-child {
    background-color: #794fb0;
    color: #8acc58;
    border-bottom-right-radius: 5px; 
    border-top-right-radius: 5px;
    width: 60%;
    padding-left: 10px;
}

/*Tables*/
.fandom-table {
    margin: 1em 0;
    border-collapse: collapse;
    width: 100%;
}

.fandom-table th {
    background-color: #edaa18 !important;
    color: #7b54b0;
    border: 1px solid #c5d8fa !important;
    padding: 8px;
}

.fandom-table td {
    background-color: #7b54b0;
    color: #edaa18;
    border: 1px solid #ddd;
    padding: 8px;
}

.fandom-table tr:nth-child(even) {
    background-color: #4175a6;
}

/*Admins etc*/
/* Admins names, gaybow test*/
@keyframes RainbowText {
    from {
        -webkit-filter: hue-rotate(15deg);
        filter: hue-rotate(15deg);
    }
    to {
        -webkit-filter: hue-rotate(360deg);
        filter: hue-rotate(360deg);
    }
}

/* Apply the rainbow animation, color, and font weight to the link text */
a[href$=":Nacho-dipsauce14"]::text,
a[href$="/Nacho-dipsauce14"]::text,
a[href$=":Ninespit"]::text,
a[href$="/Ninespit"]::text {
    animation: RainbowText 3s infinite;
    color: red !important;
    font-weight: bold !important;
}

/* Admin Icons */
/*removed since it doesnt work yet*/