MediaWiki:Common.css: Difference between revisions

From The Skullgirls Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 52: Line 52:
     bottom: 0;
     bottom: 0;
     left: 0;
     left: 0;
     z-index: 9999; /* Ensure it appears above other content */
     z-index: 9999;
}
}


Line 60: Line 60:
     float: right;
     float: right;
     margin: 0.5em 0 0.5em 1em;
     margin: 0.5em 0 0.5em 1em;
     border: 5px solid #ebae44;
     border: 5px solid #d6b53c;
     background-color: #34eb9e
     background-color: rgba(3, 25, 57, 0.7);
     width: 20em;
     width: 20em;
    border-radius: 25px;
     padding: 0.5em;  
     padding: 0.5em;  
}
}


.infobox-header {
.infobox-header {
     background-color: #a44bbf;
     background-color: #333;
     color: white;
     color: white;
     padding: 0.5em;
     padding: 0.5em;
Line 75: Line 76:


.infobox th {
.infobox th {
     background-color: #a44bbf
     background-color: #2f5ca1;
     color: #b0cbf5;
     color: #c3d2ee;
     border-radius: 5px;
     border-radius: 5px;
     width: 5em;
     width: 5em;
     font-size: 1.2em; /* Adjust the font size of th elements */
     font-size: 1.2em;  
     padding: 0.4em 0.4em; /* Adjust the padding to increase the height */
     padding: 0.4em 0.4em;  
}
}


Line 96: Line 97:
/* Style left labels */
/* Style left labels */
.infobox tr td:first-child {
.infobox tr td:first-child {
     background-color: #e39c22;
     background-color: #4d7ebf;
     color: #9654a8;
     color: #ffffff;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;  
     width: 40%;  
     width: 40%;  
     padding-left: 10px;  
     padding-left: 10px;  
}
}
/* Style right labels */
/* Style right labels */
.infobox tr td:last-child {
.infobox tr td:last-child {
     background-color: #9654a8;
     background-color: #ebf2fc;
     color: #e39c22;
     color: #4d7ebf;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
     width: 60%;
     width: 60%;
     padding-left: 10px;  
     padding-left: 10px;
}
}



Revision as of 06:45, 17 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 {
    border-image: linear-gradient(to bottom #d6b53c, #a88d27);
    float: right;
    margin: 0.5em 0 0.5em 1em;
    border: 5px solid #d6b53c;
    background-color: rgba(3, 25, 57, 0.7);
    width: 20em;
    border-radius: 25px;
    padding: 0.5em; 
}

.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: #4d7ebf;
    color: #ffffff;
    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: #ebf2fc;
    color: #4d7ebf;
    border-bottom-right-radius: 5px; 
    border-top-right-radius: 5px;
    width: 60%;
    padding-left: 10px;
}

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